Run pipeline stages on Claude Code (harness=claude)

A model stage with harness=claude, provider=anthropic and a Claude model id
runs one claude -p process per visit with the server user's Claude sign-in.
Only the declared tools exist (--tools) and nothing else is approved
(--permission-mode dontAsk); edits are approved only below the run directory
and the stage's artifacts directory. A permissions block, run write paths,
delivery=true and reasoning_effort none/minimal are refused, not widened.

Usage comes from the CLI's final result and counts toward budgets. Failures
are fixed text; billing, quota and rate-limit refusals map to
ErrProviderQuota. The redacted stream is the session export and evidence.
provider-check --harness claude and model overrides are covered.
This commit is contained in:
2026-11-11 10:30:37 +00:00
parent 16643b9f1b
commit bd07abcde8
19 changed files with 1448 additions and 16 deletions
@@ -4,7 +4,8 @@ Authoring needs only the `harness=` config (`references/format.md`). The rest is
for an operator setting up or debugging the execution computer.
OpenCode and Pi run interactive authoring, debugging and model stages; Claude Code
and Codex are chat backends. nvim is a file editor/read-only debug packet viewer,
is a chat backend that also runs model stages (`harness=claude`,
`provider=anthropic`, declared tools only); Codex is a chat backend. nvim is a file editor/read-only debug packet viewer,
not a stage backend. Only configured harnesses appear in pickers, default first.
CLI `new/edit/debug --harness opencode|pi|nvim` overrides the default, and
`pipelines harness` launches the configured default in the invocation directory.