Improve workflow UI, retain stage diffs, and add portable pipeline transfers

Make OpenCode authoring responsive and expand the managed skill references. Add conflict-aware import/export, real-provider reference workflows, and tracked V2 generation for reliable budget accounting.
This commit is contained in:
2026-10-10 20:55:42 +01:00
parent a66d540125
commit c42a19f7d3
81 changed files with 5593 additions and 539 deletions
+18 -7
View File
@@ -60,6 +60,12 @@ to this stage in the same run. Omit either budget to leave that resource unlimit
Both budgets must be positive; tokens include input, output, reasoning and cache
reads/writes. Accounting failures stop budget-limited stages. In-flight requests
may exceed limits before usage is reported; these are not provider-side hard caps.
In current source, budgeted OpenCode V2 text-only calls use tracked prompting with
all tools denied, rather than the usage-less `/generate` path. Completed
token-budgeted responses reporting zero tokens fail closed. This is an execution
implementation detail, not a new Markdown field: never add backend/format/API
settings to definitions. Read `references/verification.md` for the dated live
accounting result and its provider/deployment limitations when relevant.
The run has no additional wall-clock deadline; step/visit caps and cancellation
still apply. A native ntfy stage accepts `timeout` but never automatically retries
delivery and has no model budget.
@@ -86,9 +92,14 @@ permission policy. Keep ordinary workflows language-neutral and unrestricted
within their run directory unless the user asks for a narrower scope.
Malformed final JSON has bounded, syntax-only recovery even with `retries=0`;
it never replays stage tools or changes verdict/evidence. The native stable API
requests schema output; V2 still requires local envelope validation. Do not
promise recovery of truncated strings, missing evidence or invalid outcomes.
it never replays stage tools or changes verdict/evidence. Compatible native stable
backends request schema output with schema retries disabled; a retained deny-all,
no-inference compatibility probe identifies known format incompatibility. Incompatible
native backends and V2 require strict local envelope validation. Do not promise
recovery of truncated strings, missing evidence or invalid outcomes.
Return the strict `{ "outcome": "declared-edge-key", "output": { ... } }`
envelope. Do not treat tool-call/DSML markup, plain prose or flattened output as
success, or rerun tool work to fix a response's formatting.
## Scheduling
@@ -104,9 +115,9 @@ are not approved. Warn explicitly before adding/changing schedules.
Stage hooks use the global phone connection, never store credentials. Optional
fenced `notify` block: `on=success,failure`, `artifacts=markdown`.
The legacy destination field does not select a per-stage phone. For a native
publisher, use `type=ntfy` and `destination=system`; its type-specific blocks
differ from model stages. See the project's `docs/ntfy.md` for native publisher
configuration and output fields. Bundled starters are generic and manual-only.
Read this skill's `references/notifications.md` for the minimal terminal-path
recipe and optional native publisher format. Prefer hooks for ordinary success/error
alerts; a request to notify is not a request for a new delivery stage. Do not scan
the user's repository for Pipelines docs. Bundled starters are generic and manual-only.
Notification attachment/report support and model availability need real runtime
tests; structural validation alone cannot confirm delivery.