docs: fix remaining stale provider references in quick-reference and authoring guide

- quick-reference.md: per-node provider type changed from enum to string
- quick-reference.md: model mismatch guidance updated for registry pattern
- authoring-workflows.md: provider comment says 'any registered provider'
This commit is contained in:
Rasmus Widing 2026-04-13 21:26:43 +03:00
parent 9e07e95889
commit 6cb467bef1
2 changed files with 3 additions and 3 deletions

View file

@ -128,7 +128,7 @@ All nodes share these base fields:
| `depends_on` | No | string[] | Node IDs that must complete before this node runs |
| `when` | No | string | Condition expression; node is skipped if false |
| `trigger_rule` | No | string | Join semantics when multiple upstreams exist (see Trigger Rules) |
| `provider` | No | `claude` \| `codex` | Per-node provider override |
| `provider` | No | string | Per-node provider override (any registered provider) |
| `model` | No | string | Per-node model override |
| `context` | No | `fresh` \| `shared` | Session context — `fresh` starts a new conversation, `shared` inherits from prior node |
| `output_format` | No | JSON Schema | Enforce structured JSON output from this node |
@ -272,7 +272,7 @@ defaults:
| `Routing unclear — falling back to archon-assist` | No workflow matched the input | Use an explicit workflow name: `archon workflow run my-workflow "..."` |
| `Worktree already exists for branch X` | Prior run left a worktree | Run `archon complete X` or `archon isolation cleanup` |
| `Not a git repository` | Running outside a repo | `cd` into a git repo first — workflow and isolation commands require one |
| `Model X is not valid for provider Y` | Provider/model mismatch | Use Claude models (`sonnet`, `opus`, `haiku`) with `provider: claude`; use other models with `provider: codex` |
| `Model X is not valid for provider Y` | Provider/model mismatch | Each provider accepts specific models — check the provider's `isModelCompatible` rules. Claude accepts `sonnet`, `opus`, `haiku`, `claude-*`; Codex accepts other models. |
| `$BASE_BRANCH referenced but could not be detected` | No base branch set and auto-detection failed | Set `worktree.baseBranch` in `.archon/config.yaml` or ensure `main`/`master` exists |
| Workflow hangs with no output | Node idle timeout hit | Increase `idle_timeout` on the node (milliseconds) |

View file

@ -542,7 +542,7 @@ Model and options are resolved in this order:
```yaml
name: my-workflow
provider: claude # 'claude' or 'codex' (default: from config)
provider: claude # Any registered provider (default: from config)
model: sonnet # Model override (default: from config assistants.claude.model)
```