@vocdoni/skills 0.5.3 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +29 -27
- package/CHANGELOG.md +38 -0
- package/README.md +66 -41
- package/bin/install.js +13 -2
- package/package.json +1 -1
- package/plugins/agentic-dev/.claude-plugin/plugin.json +2 -2
- package/plugins/agentic-dev/agents/model-router.md +105 -0
- package/plugins/agentic-dev/skills/subagent-driven-development/SKILL.md +25 -13
- package/plugins/agentic-dev/skills/subagent-driven-development/references/audits.md +20 -13
- package/plugins/agentic-dev/skills/subagent-driven-development/references/dispatch.md +42 -1
- package/plugins/agentic-dev/skills/subagent-driven-development/references/ledger.md +11 -6
- package/plugins/agentic-dev/skills/subagent-driven-development/references/model-catalog.md +118 -0
- package/plugins/agentic-dev/skills/subagent-driven-development/references/models.md +126 -71
- package/plugins/agentic-dev/skills/subagent-driven-development/scripts/init-workspace.sh +2 -1
- package/plugins/agentic-dev/skills/subagent-driven-development/scripts/model-inventory.sh +142 -0
- package/plugins/claude-pi-subagent/plugins/pi-subagent/package-lock.json +4 -3
- package/plugins/vocdoni-comments/.claude-plugin/plugin.json +2 -2
- package/plugins/vocdoni-comments/hooks/hooks.json +28 -0
- package/plugins/vocdoni-comments/hooks/session-start.sh +45 -0
- package/plugins/vocdoni-contributing/.claude-plugin/plugin.json +3 -2
- package/plugins/vocdoni-contributing/hooks/hooks.json +14 -2
- package/plugins/vocdoni-contributing/hooks/session-start.sh +18 -6
- package/plugins/vocdoni-contributing/skills/contributing/SKILL.md +41 -7
- package/plugins/vocdoni-go/.claude-plugin/plugin.json +2 -2
- package/plugins/vocdoni-go/skills/vocdoni-backend-review/SKILL.md +522 -0
- package/plugins/vocdoni-go/skills/vocdoni-backend-review/references/prompts.md +260 -0
- package/plugins/vocdoni-go/skills/vocdoni-backend-review/scripts/untracked-list.sh +35 -0
- package/plugins/vocdoni-sdk/.claude-plugin/plugin.json +4 -5
- package/plugins/vocdoni-sdk/skills/vocdoni-ballot-protocol/SKILL.md +61 -38
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/SKILL.md +35 -21
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/approval-vote.ts +3 -3
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/basic-poll.ts +6 -6
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/csp-vote.ts +12 -7
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/multichoice-vote.ts +3 -3
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/quadratic-vote.ts +3 -3
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/ranked-vote.ts +3 -3
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/weighted-census.ts +3 -3
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/accounts.md +26 -15
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/census.md +9 -10
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/client.md +15 -13
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/csp.md +43 -18
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/elections.md +4 -4
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/errors.md +24 -21
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/removed-features.md +98 -0
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/results.md +0 -1
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/voting.md +30 -34
- package/plugins/vocdoni-sequencer/.claude-plugin/plugin.json +21 -0
- package/plugins/vocdoni-sequencer/skills/vocdoni-sequencer/SKILL.md +169 -0
- package/plugins/vocdoni-sequencer/skills/vocdoni-sequencer/references/removed-routes.md +60 -0
- package/plugins/davinci-sdk/.claude-plugin/plugin.json +0 -13
- package/plugins/davinci-sdk/skills/davinci-sdk/SKILL.md +0 -120
- package/plugins/davinci-sdk/skills/davinci-sdk/recipes/bootstrap.ts +0 -61
- package/plugins/davinci-sdk/skills/davinci-sdk/recipes/cast-vote.ts +0 -78
- package/plugins/davinci-sdk/skills/davinci-sdk/recipes/create-process.ts +0 -102
- package/plugins/davinci-sdk/skills/davinci-sdk/recipes/full-election.ts +0 -128
- package/plugins/davinci-sdk/skills/davinci-sdk/recipes/read-results.ts +0 -73
- package/plugins/davinci-sdk/skills/davinci-sdk/recipes/token-census.ts +0 -111
- package/plugins/davinci-sdk/skills/davinci-sdk/references/ballot-modes.md +0 -125
- package/plugins/davinci-sdk/skills/davinci-sdk/references/census.md +0 -168
- package/plugins/davinci-sdk/skills/davinci-sdk/references/contracts.md +0 -133
- package/plugins/davinci-sdk/skills/davinci-sdk/references/errors.md +0 -83
- package/plugins/davinci-sdk/skills/davinci-sdk/references/process.md +0 -225
- package/plugins/davinci-sdk/skills/davinci-sdk/references/protocol.md +0 -65
- package/plugins/davinci-sdk/skills/davinci-sdk/references/sequencer.md +0 -135
- package/plugins/davinci-sdk/skills/davinci-sdk/references/setup.md +0 -123
- package/plugins/davinci-sdk/skills/davinci-sdk/references/voting.md +0 -128
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/anonymous-vote.ts +0 -108
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/recipes/token-census.ts +0 -121
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/anonymous.md +0 -183
- package/plugins/vocdoni-sdk/skills/vocdoni-sdk/references/census3.md +0 -308
- package/plugins/vocdoni-stripe/.claude-plugin/plugin.json +0 -22
- package/plugins/vocdoni-stripe/skills/stripe-subscription/SKILL.md +0 -276
- package/plugins/vocdoni-stripe/skills/stripe-subscription/references/backend-contract.md +0 -142
- package/plugins/vocdoni-stripe/skills/stripe-subscription/references/product-templates.md +0 -132
- package/plugins/vocdoni-stripe/skills/stripe-subscription/references/stripe-cli.md +0 -212
- package/plugins/vocdoni-stripe/skills/stripe-subscription/scripts/clone-product.sh +0 -247
- package/plugins/vocdoni-stripe/skills/stripe-subscription/scripts/stripe-json.sh +0 -223
|
@@ -46,12 +46,15 @@ continue.
|
|
|
46
46
|
|
|
47
47
|
## 2. Roles and models
|
|
48
48
|
|
|
49
|
-
This skill names **model roles**, not models, so it keeps working as new models ship.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
This skill names **model roles**, not models, so it keeps working as new models ship. In phase 1
|
|
50
|
+
the `model-router` agent that ships with this plugin resolves the four model roles from the
|
|
51
|
+
models and agents available right now. Write its answer on the ledger's `Models:` line, and the
|
|
52
|
+
thinking effort for each model role on the `Effort:` line next to it. Every dispatch takes its
|
|
53
|
+
target from the first and its `effort` from the second, so an implementer does not think as hard
|
|
54
|
+
as an auditor. [references/models.md](references/models.md) defines the lines and the defaults, and
|
|
55
|
+
how to resolve by hand when the router is not installed.
|
|
56
|
+
[references/dispatch.md](references/dispatch.md) says how to dispatch each kind of target and
|
|
57
|
+
when to re-route a role to its fallback.
|
|
55
58
|
|
|
56
59
|
| Role | Model role | Agent type | Use for |
|
|
57
60
|
|---|---|---|---|
|
|
@@ -63,9 +66,10 @@ line. Every dispatch then sets the Agent tool's `model` from that line, explicit
|
|
|
63
66
|
| Mechanical implementer | fast model | general-purpose | fully specified code to transcribe, vendoring, single-file edits, renames |
|
|
64
67
|
| Code mapper | standard model | Explore | read-only maps of the code with `file:line`, before designing or planning |
|
|
65
68
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
When the `Models:` line names an agent for a model role, that agent replaces the Agent type
|
|
70
|
+
column for the role. Otherwise use a more specialised agent type when one is installed and fits
|
|
71
|
+
the job, such as a language-specific reviewer or a cheaper worker for mechanical edits. Keep the
|
|
72
|
+
same role boundaries.
|
|
69
73
|
|
|
70
74
|
**Subagents never dispatch subagents.** Say so in every prompt, because nested delegation hides
|
|
71
75
|
work from your review.
|
|
@@ -89,11 +93,17 @@ go. Phases marked † are skipped for Bounded work.
|
|
|
89
93
|
|
|
90
94
|
**1. Explore and brainstorm.** Map the code read-only first, using Explore agents that return
|
|
91
95
|
`file:line` maps. An Explore map tells you *where* code is, not *what* it does; read the code
|
|
92
|
-
that matters yourself. Then work out the design with the owner.
|
|
96
|
+
that matters yourself. Then work out the design with the owner. Before you propose it, compare
|
|
97
|
+
the design and the existing code it builds on against well-known implementations of the same
|
|
98
|
+
problem (mature open-source projects, standards, published designs), and bring what they handle
|
|
99
|
+
that yours doesn't. Survey widely and report the sources that disagree with your draft, not
|
|
100
|
+
only the ones that confirm it. Where the current code falls short of them, be bold: offer to
|
|
101
|
+
widen the scope and align it now, or to track it in a separate issue, and let the owner choose;
|
|
102
|
+
re-size the work if the scope grows. Ask one question at a time with
|
|
93
103
|
AskUserQuestion, as multiple choice with your recommended option first. Show numbers (sizes,
|
|
94
104
|
latencies, costs, line counts) before asking the owner to choose. Resolve the model roles with
|
|
95
105
|
[references/models.md](references/models.md); once the workspace exists, write them on the
|
|
96
|
-
ledger's `Models:`
|
|
106
|
+
ledger's `Models:` and `Effort:` lines.
|
|
97
107
|
|
|
98
108
|
**2. Spec.** Write `docs/specs/YYYY-MM-DD-<topic>-design.md`, or use the place the repo already
|
|
99
109
|
keeps design docs. Start from [templates/spec.md](templates/spec.md). The spec states what must
|
|
@@ -274,7 +284,7 @@ formats and the recovery procedure are in [references/ledger.md](references/ledg
|
|
|
274
284
|
|
|
275
285
|
| File | Read it when |
|
|
276
286
|
|---|---|
|
|
277
|
-
| [references/models.md](references/models.md) | resolving the model roles in phase 1
|
|
287
|
+
| [references/models.md](references/models.md), [references/model-catalog.md](references/model-catalog.md) | resolving the model roles in phase 1 or re-routing one, checking a model family's tier, or classifying an unknown model ID |
|
|
278
288
|
| [references/audits.md](references/audits.md) | dispatching any audit or consult, or triaging its findings |
|
|
279
289
|
| [references/dispatch.md](references/dispatch.md) | writing an implementer, fixer or task-reviewer prompt, or handling a report |
|
|
280
290
|
| [references/ledger.md](references/ledger.md) | starting the workspace, writing rulings, or recovering after compaction |
|
|
@@ -283,4 +293,6 @@ formats and the recovery procedure are in [references/ledger.md](references/ledg
|
|
|
283
293
|
|
|
284
294
|
Related skills: for Go repos, give reviewers and auditors [[go-code-quality]] and
|
|
285
295
|
[[go-best-practices]] as their checklist. The `pi-subagent` plugin can run mechanical tasks on
|
|
286
|
-
other models; treat its diffs like any implementer's diff.
|
|
296
|
+
other models; treat its diffs like any implementer's diff. The `model-router` agent is a Claude
|
|
297
|
+
Code plugin agent, so an npx install resolves the model roles by hand as
|
|
298
|
+
[references/models.md](references/models.md) describes.
|
|
@@ -11,19 +11,22 @@
|
|
|
11
11
|
|
|
12
12
|
## Ground rules for every audit dispatch
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
|
|
16
|
-
audit.
|
|
17
|
-
- If the auditor
|
|
18
|
-
it
|
|
19
|
-
|
|
14
|
+
- Target: the auditor on the ledger's `Models:` line, dispatched as
|
|
15
|
+
[dispatch.md](dispatch.md#dispatching-to-a-target) says (an alias runs as `general-purpose`).
|
|
16
|
+
The result arrives as a notification. While it runs, touch nothing under audit.
|
|
17
|
+
- If the auditor target has no Write tool, it returns the full report in its reply, and you
|
|
18
|
+
write it unchanged to the report file the prompt names.
|
|
19
|
+
- If the auditor target fails, re-route it as [dispatch.md](dispatch.md#re-routing-a-role) says,
|
|
20
|
+
send the fallback the same prompt and record `Audit <kind>: run on <target> (auditor model
|
|
21
|
+
unavailable)` in the ledger.
|
|
20
22
|
- Give the auditor **paths, not pastes**. It reads the spec, plan, code and diffs itself, so it audits
|
|
21
23
|
what is really there and not your summary of it.
|
|
22
24
|
- Say what is already decided and must not be relitigated, such as owner rulings and approved
|
|
23
25
|
spec sections. Otherwise the audit spends its effort on settled questions.
|
|
24
|
-
- Audits are **read-only**. The auditor writes its report to the workspace path you give it
|
|
25
|
-
no other file, makes no commits and runs
|
|
26
|
-
(`git log`, `grep`, running existing tests)
|
|
26
|
+
- Audits are **read-only**. The auditor writes its report to the workspace path you give it, or
|
|
27
|
+
returns it for the controller to write, and changes no other file, makes no commits and runs
|
|
28
|
+
nothing that alters state. Read-only commands (`git log`, `grep`, running existing tests)
|
|
29
|
+
are fine.
|
|
27
30
|
- The auditor does not dispatch subagents.
|
|
28
31
|
- An owner decision is not re-argued. But if following it produces a Critical defect, the
|
|
29
32
|
auditor reports that as a finding titled `Escalation:` with the evidence. You carry it to the owner
|
|
@@ -71,10 +74,12 @@ Check:
|
|
|
71
74
|
and writers, rollout order, rollback.
|
|
72
75
|
4. Failure modes: untrusted input, partial failure, concurrency, restarts, resource limits.
|
|
73
76
|
5. Security: secrets, auth, trust boundaries, replay, injection.
|
|
74
|
-
6. Anything simpler that meets the same goals
|
|
77
|
+
6. Anything simpler that meets the same goals, and anything well-known implementations of the
|
|
78
|
+
same problem handle that this design misses.
|
|
75
79
|
7. Missing decisions an implementer would have to guess.
|
|
76
80
|
|
|
77
|
-
Write the report to <workspace>/audit-spec.md
|
|
81
|
+
Write the report to <workspace>/audit-spec.md, or return it in your reply
|
|
82
|
+
if you have no Write tool:
|
|
78
83
|
- Verdict: APPROVE | APPROVE WITH CHANGES | REWORK
|
|
79
84
|
- Findings using the F<n> block format, most severe first
|
|
80
85
|
- "Verified" list: claims you checked and found correct (brief)
|
|
@@ -104,7 +109,8 @@ Produce:
|
|
|
104
109
|
4. Global Constraints: each one is either respected by every task or the plan says why not.
|
|
105
110
|
5. Merge and release section: complete, in the right order, and with owner OK points marked.
|
|
106
111
|
|
|
107
|
-
Write the report to <workspace>/preflight.md
|
|
112
|
+
Write the report to <workspace>/preflight.md, or return it in your reply
|
|
113
|
+
if you have no Write tool:
|
|
108
114
|
- Verdict: EXECUTE | EXECUTE AFTER FIXES | REPLAN
|
|
109
115
|
- The conflict table
|
|
110
116
|
- Findings using the F<n> block format. Put the owning task in "Where" and give verbatim
|
|
@@ -138,7 +144,8 @@ Check:
|
|
|
138
144
|
commits.
|
|
139
145
|
6. Leftovers: TODOs, debug code, dead code, untracked generated files.
|
|
140
146
|
|
|
141
|
-
Write the report to <workspace>/gate.md
|
|
147
|
+
Write the report to <workspace>/gate.md, or return it in your reply
|
|
148
|
+
if you have no Write tool:
|
|
142
149
|
- Verdict: MERGE | MERGE AFTER FIXES | DO NOT MERGE
|
|
143
150
|
- Findings using the F<n> block format
|
|
144
151
|
- A "Residual risk" paragraph: what could still go wrong after the fixes, and how we would notice
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
4
|
- Choosing the model role for a task
|
|
5
|
+
- Dispatching to a target
|
|
6
|
+
- Re-routing a role
|
|
5
7
|
- Implementer prompt contract
|
|
6
8
|
- Project constraints block
|
|
7
9
|
- Report contract
|
|
@@ -12,7 +14,8 @@
|
|
|
12
14
|
## Choosing the model role for a task
|
|
13
15
|
|
|
14
16
|
This applies the roles table in SKILL.md section 2 to a single task. The ledger's `Models:` line
|
|
15
|
-
turns the model role into
|
|
17
|
+
turns the model role into a dispatch target ([models.md](models.md#the-models-line)), dispatched
|
|
18
|
+
as the next section says.
|
|
16
19
|
|
|
17
20
|
| The task is… | Model role |
|
|
18
21
|
|---|---|
|
|
@@ -31,6 +34,44 @@ it, not the task's original complexity:
|
|
|
31
34
|
When in doubt, pick the cheaper model role and let the escalation ladder catch failures. The
|
|
32
35
|
exception is security-sensitive code, which starts at the strong model.
|
|
33
36
|
|
|
37
|
+
## Dispatching to a target
|
|
38
|
+
|
|
39
|
+
Read the role's target from the `Models:` line and dispatch it one of two ways. Pass the role's
|
|
40
|
+
level from the `Effort:` line as `effort` ([models.md](models.md#the-effort-line)). Omit it when
|
|
41
|
+
the level is `inherit`, and for an agent whose file sets its own `effort` (the last column of
|
|
42
|
+
`scripts/model-inventory.sh`'s Agents section, `(none)` when unset): as with `model`, a passed
|
|
43
|
+
value would override the agent's file. Left out, a subagent runs at its agent file's effort, or
|
|
44
|
+
else at the session's.
|
|
45
|
+
|
|
46
|
+
| Target | `subagent_type` | `model` |
|
|
47
|
+
|---|---|---|
|
|
48
|
+
| `general-purpose@<alias>` | the agent type SKILL.md's roles table names for the job | `<alias>`, always: left out, the subagent inherits the session's model |
|
|
49
|
+
| an agent name, such as `glm-worker` | `<name>` | omitted: a passed alias overrides the model in the agent's file |
|
|
50
|
+
|
|
51
|
+
The code mapper stays read-only, so it always runs as `Explore` on an alias: the standard role's
|
|
52
|
+
target when that is an alias, otherwise its fallback. The prompt contract below applies to both
|
|
53
|
+
kinds of target; an agent's own instructions do not replace it.
|
|
54
|
+
|
|
55
|
+
## Re-routing a role
|
|
56
|
+
|
|
57
|
+
Switch a role to its fallback, without stopping the delivery, when its target:
|
|
58
|
+
|
|
59
|
+
- fails with a model error (unknown model, no access, overloaded after one retry);
|
|
60
|
+
- has not reported within this bound when you next look: 20 minutes for a fast-role task, 45 for
|
|
61
|
+
a standard or strong one, 90 for an audit. Do not set timers for it. Stop the agent (TaskStop)
|
|
62
|
+
and check `git status` for partial edits before you re-dispatch;
|
|
63
|
+
- returns an empty or garbled report twice in a row.
|
|
64
|
+
|
|
65
|
+
Then:
|
|
66
|
+
|
|
67
|
+
1. Log `Model: <role> -> <fallback> (<reason>)` and make the fallback the role's target on the
|
|
68
|
+
`Models:` line.
|
|
69
|
+
2. Send the same brief to the fallback. A re-route is not a fix round and does not climb the
|
|
70
|
+
escalation ladder.
|
|
71
|
+
3. Run the router for that role again ([models.md](models.md#resolving-the-roles-with-the-router))
|
|
72
|
+
so it has a new fallback, and dispatch from its answer from then on. If the fallback fails too
|
|
73
|
+
and the router has nothing left, tell the owner.
|
|
74
|
+
|
|
34
75
|
## Implementer prompt contract
|
|
35
76
|
|
|
36
77
|
Every implementer prompt has these parts, in this order. Implementers start with no context, so
|
|
@@ -43,7 +43,8 @@ Plan: docs/plans/2026-10-13-session-resume-plan.md
|
|
|
43
43
|
Class: architectural Branch: feat/session-resume
|
|
44
44
|
Repos: ~/src/server @ 1a2b3c4, ~/src/client @ 5d6e7f8
|
|
45
45
|
Budget: 25 dispatches / 3 audits Used: 9 / 3
|
|
46
|
-
Models: auditor
|
|
46
|
+
Models: auditor=general-purpose@fable (claude-fable-5-2[1m]; fallback astra-auditor) strong=general-purpose@opus (claude-opus-5-5[1m]; fallback general-purpose@fable) standard=glm-worker (claude-glm-5.3; fallback general-purpose@sonnet) fast=general-purpose@haiku (claude-haiku-5-5[1m]; fallback qwen-worker)
|
|
47
|
+
Effort: auditor=high strong=high standard=medium fast=low
|
|
47
48
|
|
|
48
49
|
## Lifecycle
|
|
49
50
|
- [x] 1. Explore and brainstorm; class stated to the owner; model roles resolved
|
|
@@ -62,6 +63,8 @@ Task 1: dispatched (mechanical implementer, fast model, BASE 1a2b3c4)
|
|
|
62
63
|
Task 1: reviewed by controller (clean)
|
|
63
64
|
Task 1: complete (9f8e7d6, review clean)
|
|
64
65
|
Task 2: dispatched (implementer, standard model, BASE 9f8e7d6)
|
|
66
|
+
Model: standard -> glm-worker (model error: sonnet overloaded after one retry)
|
|
67
|
+
Task 2: dispatched (implementer, standard model, BASE 9f8e7d6)
|
|
65
68
|
Task 2: reviewed by controller (2 Important -> fix round 1)
|
|
66
69
|
Task 2: fix round 1 sent (same implementer)
|
|
67
70
|
Task 2: complete (4c5d6e7, review clean after 1 fix round)
|
|
@@ -75,8 +78,8 @@ Merged: server main @ 0d1e2f3, tag v1.4.0
|
|
|
75
78
|
```
|
|
76
79
|
|
|
77
80
|
Keep each entry on one physical line. `task-brief.sh` greps the `Ruling` lines, and you will grep
|
|
78
|
-
the rest during recovery. Add a `Plan:` header line once the plan exists, fill in `Models:`
|
|
79
|
-
[models.md](models.md) describes, and update `Used:` whenever you dispatch.
|
|
81
|
+
the rest during recovery. Add a `Plan:` header line once the plan exists, fill in `Models:` and
|
|
82
|
+
`Effort:` as [models.md](models.md) describes, and update `Used:` whenever you dispatch.
|
|
80
83
|
|
|
81
84
|
## Writing rulings
|
|
82
85
|
|
|
@@ -96,9 +99,11 @@ the rest during recovery. Add a `Plan:` header line once the plan exists, fill i
|
|
|
96
99
|
|
|
97
100
|
1. Find the workspace: `ls .delivery/` in the repo, or search for `progress.md` files.
|
|
98
101
|
2. Read `progress.md` in full. The header names the spec, the plan and the resolved models, and
|
|
99
|
-
the lifecycle shows the phase. Keep dispatching
|
|
100
|
-
|
|
101
|
-
before any dispatch.
|
|
102
|
+
the lifecycle shows the phase. Keep dispatching to the targets on the `Models:` line, at the
|
|
103
|
+
levels on the `Effort:` line. If either line still shows `<target>` or `<level>`
|
|
104
|
+
placeholders, resolve it again with [models.md](models.md) before any dispatch. If there is
|
|
105
|
+
no `Effort:` line (a ledger from before it existed), write one under `Models:` as
|
|
106
|
+
[models.md](models.md#the-effort-line) says.
|
|
102
107
|
3. Check each repo's `git log --oneline <base>..HEAD` against the ledger:
|
|
103
108
|
- a commit with no `complete` line means the task finished but was never reviewed, so
|
|
104
109
|
review it now;
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# Model catalog
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
- How to read this file
|
|
5
|
+
- Anthropic
|
|
6
|
+
- OpenAI
|
|
7
|
+
- Z.AI GLM
|
|
8
|
+
- Google Gemini
|
|
9
|
+
- Local and other
|
|
10
|
+
- Unknown IDs
|
|
11
|
+
- Keeping this file current
|
|
12
|
+
|
|
13
|
+
Classify every model ID by its family in this file before it fills a role. A family's **tiers** are
|
|
14
|
+
the only roles it may fill. An ID whose family is not listed is never used. The gateway's model
|
|
15
|
+
list carries names and dates but no capability data, so the tiers here come from the owner and
|
|
16
|
+
from what deliveries observed, never from a model's name or release date alone.
|
|
17
|
+
|
|
18
|
+
## How to read this file
|
|
19
|
+
|
|
20
|
+
- **Tiers** name the model roles a family may fill: `auditor`, `strong`, `standard`, `fast`. What
|
|
21
|
+
each role does and the capability order between them are in [models.md](models.md).
|
|
22
|
+
- **Version order**: the newest version in a family wins. Compare the numbers after the family
|
|
23
|
+
name component by component (`5-2` > `5-1` > `5`, `6.2` > `6.1` > `6`). An 8-digit date suffix
|
|
24
|
+
(`-20251001`) is not part of the version. Older versions are fallbacks only.
|
|
25
|
+
- **Variants of one version are not newer versions.** `[1m]` is the same model with a 1M-token
|
|
26
|
+
context. `-gw` is a second gateway route to the same model (same display name); use the plain
|
|
27
|
+
ID and keep `-gw` as a fallback. A named variant (`-flash`, `-turbo`, `-lite`) is its own row.
|
|
28
|
+
- **Prefer the `[1m]` variant for whole-branch gate audits**, where the spec, the plan and the
|
|
29
|
+
full diff must fit in one context. Elsewhere use the plain ID unless a brief needs the room.
|
|
30
|
+
- **Evidence** says where each claim comes from: `owner 2026-11-30` (the owner's judgement),
|
|
31
|
+
`observed <date>` (measured in a delivery), or `unknown`. Traits marked `unknown` are not
|
|
32
|
+
guessed; weigh them only once a delivery has observed them.
|
|
33
|
+
|
|
34
|
+
## Anthropic
|
|
35
|
+
|
|
36
|
+
| Family | ID pattern | Tiers | Traits | Version order | Evidence |
|
|
37
|
+
|---|---|---|---|---|---|
|
|
38
|
+
| Fable | `claude-fable-<n>[-<n>]`, `[1m]` | auditor; implements only cryptography or core algorithms | 1M with `[1m]`; highest cost; latency unknown; tool use reliable | 5-2 > 5-1 > 5 | tiers owner 2026-11-30; tool use observed 2026-11-30 |
|
|
39
|
+
| Opus | `claude-opus-<n>[-<n>]`, `[1m]`, `-gw` | strong (plans, complex implementation) | 1M with `[1m]`; high cost; latency unknown; tool use reliable | 5-5 > 5 > 4-8 > 4-7 > 4-6 > 4-5 | tiers owner 2026-11-30; tool use observed 2026-11-30 |
|
|
40
|
+
| Sonnet | `claude-sonnet-<n>[-<n>]`, `[1m]`, `-gw` | standard, fast | 1M with `[1m]`; medium cost; latency unknown; tool use reliable | 5-5 > 5 > 4-6 > 4-5 | tiers owner 2026-11-30; tool use observed 2026-11-30 |
|
|
41
|
+
| Haiku | `claude-haiku-<n>[-<n>]`, `[1m]` | standard, fast | 1M with `[1m]`; low cost; about 6 s for a one-line reply; tool use reliable | 5-5 > 4-5 | tiers owner 2026-11-30; latency observed 2026-11-30 |
|
|
42
|
+
|
|
43
|
+
Known IDs on 2026-11-30: `claude-fable-5-2`, `claude-fable-5-1`, `claude-fable-5`,
|
|
44
|
+
`claude-opus-5-5`, `claude-opus-5`, `claude-sonnet-5-5`, `claude-sonnet-5`, `claude-haiku-5-5`, each
|
|
45
|
+
with a `[1m]` variant, plus `-gw` routes for Opus and Sonnet and older 4.x versions.
|
|
46
|
+
|
|
47
|
+
## OpenAI
|
|
48
|
+
|
|
49
|
+
Served through the gateway as "OpenAI Codex". Only Astra has a tier from the owner.
|
|
50
|
+
|
|
51
|
+
| Family | ID pattern | Tiers | Traits | Version order | Evidence |
|
|
52
|
+
|---|---|---|---|---|---|
|
|
53
|
+
| GPT Astra | `claude-gpt-<n>[.<n>]-astra` | auditor; implements only cryptography or core algorithms | context, latency, cost and tool use unknown; `claude-gpt-6-astra` listed by the gateway but returned 404 model_not_found on dispatch | 6.2 > 6 | tiers owner 2026-11-30; 404 observed 2026-11-30 |
|
|
54
|
+
| GPT Sol | `claude-gpt-<n>[.<n>]-sol` | unknown, ask the owner | unknown | 6.2 > 6.1 > 6 > 5.6 | unknown |
|
|
55
|
+
| GPT Terra | `claude-gpt-<n>[.<n>]-terra` | unknown, ask the owner | unknown | 6.1 > 5.6 | unknown |
|
|
56
|
+
| GPT Luna | `claude-gpt-<n>[.<n>]-luna` | unknown, ask the owner | unknown | 6 > 5.6 | unknown |
|
|
57
|
+
| GPT Chat Thinking | `claude-gpt-<n>-chat-thinking` | unknown, ask the owner | unknown | 6 | unknown |
|
|
58
|
+
| GPT Image | `claude-gpt-image-<n>[.<n>]` | none: image generation, not a coding model | not applicable | 2 > 1.5 | display name |
|
|
59
|
+
|
|
60
|
+
Known IDs on 2026-11-30: `claude-gpt-6.2-astra`, `claude-gpt-6-astra`, `claude-gpt-6.2-sol`,
|
|
61
|
+
`claude-gpt-6.1-sol`, `claude-gpt-6-sol`, `claude-gpt-6.1-terra`, `claude-gpt-6-luna`,
|
|
62
|
+
`claude-gpt-5.6-sol`, `claude-gpt-5.6-terra`, `claude-gpt-5.6-luna`, `claude-gpt-6-chat-thinking`.
|
|
63
|
+
|
|
64
|
+
## Z.AI GLM
|
|
65
|
+
|
|
66
|
+
| Family | ID pattern | Tiers | Traits | Version order | Evidence |
|
|
67
|
+
|---|---|---|---|---|---|
|
|
68
|
+
| GLM | `claude-glm-<n>[.<n>]` | standard, fast | about 170 s for a one-line reply on 5.3, too slow for most fast-tier work; context, cost and tool use unknown | 5.4 > 5.3 > 5.2 > 5.1 > 5 > 4.7 > 4.6 > 4.5 | tiers owner 2026-11-30; latency observed 2026-11-30 |
|
|
69
|
+
| GLM Flash | `claude-glm-<n>[.<n>]-flash` | standard, fast | unknown | 5.3 | tiers owner 2026-11-30 |
|
|
70
|
+
| GLM FlashX | `claude-glm-<n>[.<n>]-flashx` | standard, fast | unknown | 5.3 | tiers owner 2026-11-30 |
|
|
71
|
+
| GLM Turbo | `claude-glm-<n>[.<n>]-turbo` | standard, fast | unknown | 5 | tiers owner 2026-11-30 |
|
|
72
|
+
| GLM Air | `claude-glm-<n>[.<n>]-air` | standard, fast | unknown | 4.5 | tiers owner 2026-11-30 |
|
|
73
|
+
| GLM FlashX Legal | `claude-glm-<n>[.<n>]-flashx-legal` | unknown, ask the owner | unknown | 5.3 | unknown |
|
|
74
|
+
|
|
75
|
+
The owner's tier covers the GLM family as a whole. The variants inherit it, but none has been
|
|
76
|
+
observed yet, so weigh the base GLM's latency against them until one has.
|
|
77
|
+
|
|
78
|
+
## Google Gemini
|
|
79
|
+
|
|
80
|
+
| Family | ID pattern | Tiers | Traits | Version order | Evidence |
|
|
81
|
+
|---|---|---|---|---|---|
|
|
82
|
+
| Gemini Flash | `claude-gemini-<n>[.<n>]-flash[-high\|-tiered]`, `[1m]` | unknown, ask the owner | 1M with `[1m]`; rest unknown | 3.8 > 3 | unknown |
|
|
83
|
+
| Gemini Flash Lite | `claude-gemini-<n>[.<n>]-flash-lite`, `[1m]` | unknown, ask the owner | 1M with `[1m]`; rest unknown | 3.5 > 3.1 | unknown |
|
|
84
|
+
|
|
85
|
+
Known IDs on 2026-11-30: `claude-gemini-3.8-flash-high`, `claude-gemini-3.8-flash-tiered`,
|
|
86
|
+
`claude-gemini-3-flash`, `claude-gemini-3.5-flash-lite`, `claude-gemini-3.1-flash-lite`, each with a
|
|
87
|
+
`[1m]` variant.
|
|
88
|
+
|
|
89
|
+
## Local and other
|
|
90
|
+
|
|
91
|
+
| Family | ID pattern | Tiers | Traits | Version order | Evidence |
|
|
92
|
+
|---|---|---|---|---|---|
|
|
93
|
+
| Qwen | `claude-openai-qwen<n>-<size>b` | standard, fast | self-hosted behind a custom OpenAI-compatible host; context, latency and tool use unknown | 38 (only version known) | tiers owner 2026-11-30 |
|
|
94
|
+
|
|
95
|
+
Known IDs on 2026-11-30: `claude-openai-qwen38-27b`.
|
|
96
|
+
|
|
97
|
+
## Unknown IDs
|
|
98
|
+
|
|
99
|
+
An ID is unknown when no ID pattern above matches it. A new version of a listed family is not
|
|
100
|
+
unknown: it matches the pattern and the version order ranks it.
|
|
101
|
+
|
|
102
|
+
1. Try to classify it by family name: `claude-<family>-...` against the patterns above.
|
|
103
|
+
2. If no family matches, do not use it for any role, not even as a fallback.
|
|
104
|
+
3. Name it to the owner in the next status, with a proposed catalog line whose tier is
|
|
105
|
+
`unknown, ask the owner`, and record the owner's answer here.
|
|
106
|
+
|
|
107
|
+
A family whose tier is `unknown, ask the owner` is treated the same way: it is never chosen until
|
|
108
|
+
the owner gives it a tier.
|
|
109
|
+
|
|
110
|
+
## Keeping this file current
|
|
111
|
+
|
|
112
|
+
- **A new version of a listed family** needs no edit. The version order picks it up.
|
|
113
|
+
- **A new family or provider** gets a row with the tier the owner gives it, `unknown, ask the
|
|
114
|
+
owner` until then.
|
|
115
|
+
- **An observation from a delivery** (a latency, a timeout, a garbled report, a reliable run)
|
|
116
|
+
goes into Traits with `observed <date>` in Evidence. One data point is enough to record, not
|
|
117
|
+
to change a tier.
|
|
118
|
+
- **A tier changes only on the owner's word.** Write the date in Evidence.
|
|
@@ -2,93 +2,148 @@
|
|
|
2
2
|
|
|
3
3
|
## Contents
|
|
4
4
|
- The four model roles
|
|
5
|
-
- Resolving
|
|
6
|
-
-
|
|
5
|
+
- Resolving the roles with the router
|
|
6
|
+
- The Models line
|
|
7
|
+
- The Effort line
|
|
8
|
+
- Resolving by hand
|
|
7
9
|
- Keeping this file current
|
|
8
10
|
|
|
9
11
|
The rest of the skill names **model roles**, never models, so it outlives any one model release.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
survives context compaction.
|
|
12
|
+
The `model-router` agent maps each role to a concrete dispatch target once, at the start of a
|
|
13
|
+
delivery (phase 1), and again when a role has to be re-routed. Write the result on the ledger's
|
|
14
|
+
`Models:` line and dispatch from that line until the delivery ends. A fixed mapping keeps audits
|
|
15
|
+
and reviews comparable, and it survives context compaction.
|
|
14
16
|
|
|
15
17
|
## The four model roles
|
|
16
18
|
|
|
17
|
-
| Model role | What the model must be good at | Skill roles that use it | Default |
|
|
18
|
-
|
|
19
|
-
| **auditor model** | The strongest reasoning available: holding a spec, a plan and a whole-branch diff in mind at once, finding what the author missed, arguing soundness, concurrency and security. Speed and cost matter least. | Auditor and consultant | Fable 5.2 | `fable` |
|
|
20
|
-
| **strong model** | Deep coding and reasoning at a moderate cost: long plans written against real code, subtle fixes, concurrency, cryptography, security paths. | Plan drafter, Hard fixer, implementers of security-sensitive tasks | Opus 5.5 | `opus` |
|
|
21
|
-
| **standard model** | Reliable multi-file implementation and code reading at a low cost, following a precise brief. | Implementer, Code mapper | Sonnet 5.5 | `sonnet` |
|
|
22
|
-
| **fast model** | Quick, cheap execution of fully specified edits: transcribing given code, renames, vendoring, single-file changes. | Mechanical implementer | Haiku 5.5 | `haiku` |
|
|
19
|
+
| Model role | What the model must be good at | Skill roles that use it | Default | Default target | Effort |
|
|
20
|
+
|---|---|---|---|---|---|
|
|
21
|
+
| **auditor model** | The strongest reasoning available: holding a spec, a plan and a whole-branch diff in mind at once, finding what the author missed, arguing soundness, concurrency and security. Speed and cost matter least. | Auditor and consultant | Fable 5.2 | `general-purpose@fable` | high |
|
|
22
|
+
| **strong model** | Deep coding and reasoning at a moderate cost: long plans written against real code, subtle fixes, concurrency, cryptography, security paths. | Plan drafter, Hard fixer, implementers of security-sensitive tasks | Opus 5.5 | `general-purpose@opus` | high |
|
|
23
|
+
| **standard model** | Reliable multi-file implementation and code reading at a low cost, following a precise brief. | Implementer, Code mapper | Sonnet 5.5 | `general-purpose@sonnet` | medium |
|
|
24
|
+
| **fast model** | Quick, cheap execution of fully specified edits: transcribing given code, renames, vendoring, single-file changes. | Mechanical implementer | Haiku 5.5 | `general-purpose@haiku` | low |
|
|
23
25
|
|
|
24
26
|
Capability order: auditor ≥ strong > standard > fast. The escalation ladder in
|
|
25
|
-
[dispatch.md](dispatch.md) climbs this order, and every
|
|
26
|
-
|
|
27
|
-
move the upper role to that model. The auditor always ends on the most capable model you have.
|
|
28
|
-
|
|
29
|
-
The controller is the session's own model and is not resolved here.
|
|
30
|
-
|
|
31
|
-
## Resolving a role to a model
|
|
32
|
-
|
|
33
|
-
Work through these steps for each role and stop at the first one that gives an answer. If none
|
|
34
|
-
applies, the Default column is the answer: steps 2 and 3 only move a role to something newer or
|
|
35
|
-
stronger, and steps 4 and 5 only apply when the default cannot be used.
|
|
36
|
-
|
|
37
|
-
1. **The owner or the repo names a model.** An instruction from the owner, or a rule in the
|
|
38
|
-
repo's CLAUDE.md or CONTRIBUTING, wins over everything below.
|
|
39
|
-
2. **A newer version of the default exists.** Use the newest version in the default's family
|
|
40
|
-
(Fable 5.5 once it ships replaces Fable 5.2, Opus 6 replaces Opus 5.5). Family aliases such as
|
|
41
|
-
`fable` or `opus` in Claude Code's Agent tool normally resolve to the newest version the
|
|
42
|
-
harness offers, so prefer the alias to a pinned model ID. Where the harness only takes full
|
|
43
|
-
IDs, pick the highest version in the family. Check the model list in your environment or
|
|
44
|
-
system prompt: if it names a newer version than the defaults above, that version is the
|
|
45
|
-
default now.
|
|
46
|
-
3. **A newer family supersedes the default.** If the provider documents a new model as the
|
|
47
|
-
successor to the default, or as stronger in the same price band, use it for that role.
|
|
48
|
-
4. **The default is not available.** The family is missing from the Agent tool's `model` values,
|
|
49
|
-
the dispatch fails with a model error, or the account has no access. Pick the available model
|
|
50
|
-
whose strengths best match the role's column above, judged by capability, not by name or
|
|
51
|
-
release date. Then:
|
|
52
|
-
- **auditor model:** use the most capable model available. If that is the controller's own
|
|
53
|
-
model, the audits still run, but they are less independent because the same model wrote
|
|
54
|
-
and audits the work. Tell the owner once, and say so in the ledger.
|
|
55
|
-
- **any other role:** never use a model weaker than the role below it. If no model fits, take
|
|
56
|
-
the next role up (auditor for strong, strong for standard, standard for fast). That costs
|
|
57
|
-
more but stays safe.
|
|
58
|
-
- Two roles may resolve to the same model. Keep the role boundaries anyway: the auditor stays
|
|
59
|
-
read-only and implementers keep their prompt contract.
|
|
60
|
-
- **no per-subagent choice:** if the harness cannot set a model for each subagent, every
|
|
61
|
-
subagent runs on the session's model. Write `Models: all=<session model> (no per-agent model
|
|
62
|
-
selection)` and apply the auditor note above.
|
|
63
|
-
5. **Other providers and local models.** If the harness offers models from other providers or
|
|
64
|
-
local runtimes, map them by the same characteristics. The `pi-subagent` plugin can run tasks
|
|
65
|
-
on such models; treat them as candidates for the fast or standard role unless the owner says
|
|
66
|
-
they are stronger.
|
|
27
|
+
[dispatch.md](dispatch.md) climbs this order, and every resolution must keep it. The auditor
|
|
28
|
+
always ends on the most capable model available.
|
|
67
29
|
|
|
68
|
-
|
|
69
|
-
|
|
30
|
+
The controller is the session's own model and is not resolved here. Which model family may fill
|
|
31
|
+
which role is in [model-catalog.md](model-catalog.md).
|
|
32
|
+
|
|
33
|
+
## Resolving the roles with the router
|
|
34
|
+
|
|
35
|
+
Dispatch the `model-router` agent that ships with the agentic-dev plugin, as `subagent_type:
|
|
36
|
+
agentic-dev:model-router` with no `model` ([dispatch.md](dispatch.md#dispatching-to-a-target)).
|
|
37
|
+
It runs `scripts/model-inventory.sh` to see which gateway models, aliases and agent files exist
|
|
38
|
+
right now, reads [model-catalog.md](model-catalog.md), and returns a `Models:` line with a reason
|
|
39
|
+
and a fallback for every role.
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
Resolve the model roles for <delivery topic>. You do not dispatch subagents and edit no file.
|
|
43
|
+
Roles needed: auditor, strong, standard, fast (on a re-route: <role>, failed because <reason>)
|
|
44
|
+
Class: <bounded | architectural> Critical code: <no | yes: cryptography or core algorithm, which>
|
|
45
|
+
Controller model: <the session's model ID>
|
|
46
|
+
Owner and repo rules: <quoted from the owner, CLAUDE.md or CONTRIBUTING, or "none">
|
|
47
|
+
Dispatchable agent types: <every name in the Agent tool's list of agent types>
|
|
48
|
+
Catalog: <skill-dir>/references/model-catalog.md
|
|
49
|
+
Inventory: bash <skill-dir>/scripts/model-inventory.sh
|
|
50
|
+
Current Models line: <on a re-route only>
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Run it in phase 1, again whenever [dispatch.md](dispatch.md#re-routing-a-role) re-routes a role,
|
|
54
|
+
and when the owner asks or a newer model shows up. Then:
|
|
55
|
+
|
|
56
|
+
- Copy its `Models:` line into the ledger header, replacing the whole line. Until the ledger
|
|
57
|
+
exists, keep it in the status you send the owner.
|
|
58
|
+
- Send the owner its table in the next status, with any `Stale:` or `Unknown:` note. A stale alias
|
|
59
|
+
and an unknown model are the owner's to fix. Agent files and environment changes take effect
|
|
60
|
+
in the next session.
|
|
61
|
+
- If the only auditor is the controller's own model, the audits still run but are less
|
|
62
|
+
independent. Tell the owner once and note it in the ledger.
|
|
63
|
+
|
|
64
|
+
## The Models line
|
|
65
|
+
|
|
66
|
+
The ledger's `Models:` line is the single source for every dispatch. Its grammar, stated once
|
|
67
|
+
here:
|
|
70
68
|
|
|
71
|
-
|
|
69
|
+
```
|
|
70
|
+
Models: <role>=<target>[ (<note>)] <role>=<target>[ (<note>)] ...
|
|
71
|
+
```
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
- `<role>` is `auditor`, `strong`, `standard` or `fast`. Roles are separated by two spaces, and
|
|
74
|
+
the whole line stays on one physical line.
|
|
75
|
+
- `<target>` is either `general-purpose@<alias>`, where `<alias>` is `fable`, `opus`, `sonnet` or
|
|
76
|
+
`haiku`, or the name of an agent the session can dispatch, such as `glm-worker` or
|
|
77
|
+
`agentic-dev:model-router`.
|
|
78
|
+
- `<note>` holds the concrete model ID when known, then `; fallback <target>`. The router always
|
|
79
|
+
writes a fallback.
|
|
77
80
|
|
|
78
81
|
```
|
|
79
|
-
Models: auditor=
|
|
82
|
+
Models: auditor=astra-auditor (claude-gpt-6.2-astra; fallback general-purpose@fable) strong=general-purpose@opus (claude-opus-5-5[1m]; fallback general-purpose@fable) standard=general-purpose@sonnet (claude-sonnet-5-5[1m]; fallback glm-worker) fast=general-purpose@haiku (claude-haiku-5-5[1m]; fallback qwen-worker)
|
|
80
83
|
```
|
|
81
84
|
|
|
82
|
-
|
|
83
|
-
the
|
|
85
|
+
How each kind of target is dispatched is in [dispatch.md](dispatch.md#dispatching-to-a-target).
|
|
86
|
+
A change mid-delivery, a re-route or the owner's request, gets a `Model:` log line as
|
|
87
|
+
[dispatch.md](dispatch.md#re-routing-a-role) shows, and the line is updated.
|
|
88
|
+
|
|
89
|
+
If the harness cannot choose a model per subagent, every subagent runs on the session's model.
|
|
90
|
+
Write `Models: all=<session model> (no per-agent model selection)` and apply the auditor note
|
|
91
|
+
above.
|
|
84
92
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
93
|
+
## The Effort line
|
|
94
|
+
|
|
95
|
+
Effort is how hard a subagent thinks, set with the Agent tool's `effort`. Left out, a subagent
|
|
96
|
+
thinks as hard as its agent file says, or else as the session does, so on a high session a
|
|
97
|
+
rename costs as much thinking as a gate audit, on every task and every fix round. The ledger
|
|
98
|
+
records it per model role, next to `Models:`:
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
Effort: auditor=high strong=high standard=medium fast=low
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
- Same grammar as the `Models:` line: `<role>=<level>`, two spaces apart, on one physical line.
|
|
105
|
+
`<level>` is `low`, `medium`, `high`, `xhigh`, `max`, or `inherit`: dispatch with no `effort`,
|
|
106
|
+
so the subagent thinks as hard as the session.
|
|
107
|
+
- Start from the Effort column of the table. An owner or repo rule that sets an effort wins, as
|
|
108
|
+
it does for models. Otherwise the defaults save on implementers, never on audits: if the
|
|
109
|
+
session runs above `high`, raise the auditor and strong roles to its level, and if you cannot
|
|
110
|
+
tell the session's level, write `inherit` for both. A session below a role's default does not
|
|
111
|
+
lower it; only an owner or repo rule does. Never write `max` unless the owner, the repo or the
|
|
112
|
+
session's own level asks for it.
|
|
113
|
+
- Write the line yourself when you copy the router's `Models:` line; the router does not set it.
|
|
114
|
+
A re-route keeps the role's effort.
|
|
115
|
+
- Every dispatch passes the role's level as `effort`, unless the level is `inherit` or the
|
|
116
|
+
target is an agent whose file sets its own: the last column of the inventory's Agents section
|
|
117
|
+
([dispatch.md](dispatch.md#dispatching-to-a-target)). A skill built on this one
|
|
118
|
+
states only the roles whose effort it changes.
|
|
119
|
+
- A change mid-delivery, at the owner's request or yours, gets a log line such as
|
|
120
|
+
`Effort change: standard medium -> high (owner asked)`, and the header line is updated.
|
|
121
|
+
- If the harness cannot set effort per subagent, write `Effort: all=<session effort> (no
|
|
122
|
+
per-agent effort)`.
|
|
123
|
+
|
|
124
|
+
## Resolving by hand
|
|
125
|
+
|
|
126
|
+
Use this only when the router agent is not available: an npx install (which copies the skill but
|
|
127
|
+
not the plugin's agents), a harness without plugin agents, or a router dispatch that failed. Tell
|
|
128
|
+
the owner the roles were resolved without the router.
|
|
129
|
+
|
|
130
|
+
1. **The owner or the repo names a model.** That wins over everything below.
|
|
131
|
+
2. **Start from the Default target** in the table above.
|
|
132
|
+
3. **Check the aliases.** Run `scripts/model-inventory.sh`. If its Aliases section flags an alias
|
|
133
|
+
as stale, tell the owner. The Agent tool's `model` accepts only the four aliases, so you
|
|
134
|
+
cannot pin a newer ID yourself.
|
|
135
|
+
4. **The default is not available** (a model error, or the account has no access). Pick a
|
|
136
|
+
substitute the catalog places in the role's tier, newest version first. If none fits, take
|
|
137
|
+
the next role up (auditor for strong, strong for standard, standard for fast). Never use a
|
|
138
|
+
model weaker than the role below it, and never an ID the catalog does not classify.
|
|
139
|
+
5. **Give every role a fallback** by the same rules, and write the line in the grammar above.
|
|
140
|
+
|
|
141
|
+
Never pick an older version than the default to save money. If cost is the concern, use a
|
|
142
|
+
cheaper role for the task instead.
|
|
88
143
|
|
|
89
144
|
## Keeping this file current
|
|
90
145
|
|
|
91
|
-
The Default column is a snapshot of the best models when this file was last edited.
|
|
92
|
-
|
|
93
|
-
the capability order of the defaults changes, update the table
|
|
94
|
-
|
|
146
|
+
The Default column is a snapshot of the best models when this file was last edited. The router
|
|
147
|
+
and the alias check pick up newer versions without an edit. When a new family replaces a
|
|
148
|
+
default, or the capability order of the defaults changes, update the table. Model families,
|
|
149
|
+
tiers and observations belong in [model-catalog.md](model-catalog.md), not here.
|
|
@@ -49,7 +49,8 @@ else
|
|
|
49
49
|
Class: ${class:-<spike|bounded|architectural>} Branch: ${branch:-<detached>}
|
|
50
50
|
Repos: $root @ $base
|
|
51
51
|
Budget: <dispatches> dispatches / <audits> audits Used: 0 / 0
|
|
52
|
-
Models: auditor=<
|
|
52
|
+
Models: auditor=<target> strong=<target> standard=<target> fast=<target> (resolve with the model-router agent, see references/models.md)
|
|
53
|
+
Effort: auditor=<level> strong=<level> standard=<level> fast=<level> (defaults, owner rules and the session's level: see references/models.md)
|
|
53
54
|
Created: $(date +%F)
|
|
54
55
|
|
|
55
56
|
## Lifecycle
|