@azure-id/orc 1.9.0 → 1.9.2
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/CHANGELOG.md +202 -0
- package/README-id.md +57 -59
- package/README.md +53 -54
- package/bin/build-agents.js +109 -109
- package/bin/cli.js +262 -58
- package/bin/graph-audit.js +235 -0
- package/bin/graph-extract.js +308 -3
- package/bin/graph-gain.js +23 -3
- package/bin/graph-map.js +9 -1
- package/bin/graph-query.js +152 -10
- package/bin/graph-shard.js +6 -1
- package/bin/graph-signals.js +287 -4
- package/bin/graph.js +717 -658
- package/bin/onboarding-content.js +4 -4
- package/bin/pricing.json +207 -200
- package/bin/verify-contracts.js +117 -2
- package/bin/verify-package.js +11 -7
- package/bin/webui/css/04-motion.css +162 -152
- package/bin/webui/css/panels/knowledge.css +563 -116
- package/bin/webui/fixtures/extra.js +2036 -2036
- package/bin/webui/fixtures/hookui.js +5 -5
- package/bin/webui/fixtures/knowledge.js +21 -4
- package/bin/webui/fixtures/settings.js +305 -305
- package/bin/webui/i18n/en/knowledge.json +122 -4
- package/bin/webui/i18n/id/knowledge.json +122 -4
- package/bin/webui/js/panels/knowledge.js +573 -9
- package/bin/webui/js/panels/overview.js +13 -4
- package/mock-run/context-combiner.md +100 -100
- package/mock-run/orc-budget.md +534 -534
- package/mock-run/orc-challenge-council.md +262 -262
- package/mock-run/orc-ultra.md +103 -103
- package/package.json +1 -1
- package/templates/agents/MODEL-MAPPING.md +43 -43
- package/templates/agents/orc-advisor-opus-5-xhigh.md +56 -56
- package/templates/agents/orc-analyze-mini-opus-5-med.md +60 -60
- package/templates/agents/orc-analyze-mini-sonnet-5-high.md +58 -58
- package/templates/agents/orc-challenge-advisor-opus-5-med.md +75 -75
- package/templates/agents/orc-challenge-contrarian-opus-5-high.md +110 -110
- package/templates/agents/orc-challenge-executor-opus-5-med.md +114 -114
- package/templates/agents/orc-challenge-expansionist-opus-5-med.md +112 -112
- package/templates/agents/orc-challenge-judge-opus-5-high.md +132 -132
- package/templates/agents/orc-challenge-outsider-opus-5-low.md +109 -109
- package/templates/agents/orc-challenge-principles-opus-5-high.md +109 -109
- package/templates/agents/orc-challenge-reader-opus-5-low.md +90 -90
- package/templates/agents/orc-claude-writer-opus-5-med.md +55 -55
- package/templates/agents/orc-context-combiner-opus-5-high.md +88 -88
- package/templates/agents/orc-doc-checker-opus-5-low.md +108 -108
- package/templates/agents/orc-doc-writer-opus-5-med.md +134 -134
- package/templates/agents/orc-executor-haiku-4-5.md +2 -1
- package/templates/agents/orc-executor-opus-4-7-high.md +2 -1
- package/templates/agents/orc-executor-opus-4-7-med.md +2 -1
- package/templates/agents/orc-executor-opus-4-8-high.md +2 -1
- package/templates/agents/orc-executor-opus-5-high.md +4 -3
- package/templates/agents/orc-executor-opus-5-low.md +4 -3
- package/templates/agents/orc-executor-opus-5-med.md +4 -3
- package/templates/agents/orc-executor-sonnet-4-6-high.md +2 -1
- package/templates/agents/orc-executor-sonnet-4-6-med.md +2 -1
- package/templates/agents/orc-executor-sonnet-5-high.md +2 -1
- package/templates/agents/orc-graph-noter-sonnet-4-6-med.md +1 -1
- package/templates/agents/orc-judge-opus-5-xhigh.md +85 -85
- package/templates/agents/orc-learn-writer-opus-5-low.md +73 -73
- package/templates/agents/orc-pattern-codifier-opus-5-med.md +65 -65
- package/templates/agents/orc-planner-mini-opus-5-med.md +4 -4
- package/templates/agents/orc-planner-mini-sonnet-5-high.md +1 -1
- package/templates/agents/orc-planner-opus-5-med.md +160 -160
- package/templates/agents/orc-recon-opus-5-low.md +18 -8
- package/templates/agents/orc-recon-sonnet-4-6-med.md +15 -5
- package/templates/agents/orc-retro-opus-5-med.md +3 -3
- package/templates/agents/orc-reviewer-opus-5-med.md +60 -60
- package/templates/agents/orc-scout-opus-5-low.md +40 -40
- package/templates/agents/orc-system-analyst-opus-5-high.md +120 -120
- package/templates/agents/orc-test-author-opus-5-med.md +71 -71
- package/templates/agents/orc-test-designer-opus-5-high.md +158 -158
- package/templates/agents/orc-test-interpreter-opus-5-low.md +130 -130
- package/templates/agents/orc-verifier-opus-5-med.md +69 -69
- package/templates/agents/orc-wiki-scanner-opus-5-med.md +81 -81
- package/templates/commands/orc-ultra.md +17 -17
- package/templates/commands/orc-verify.md +11 -11
- package/templates/hooks/README.md +13 -3
- package/templates/hooks/orc-effort-guard.js +178 -178
- package/templates/hooks/orc-graph-hook.js +53 -7
- package/templates/hooks/orc-statusline.js +6 -6
- package/templates/skills/_shared/code-graph.md +57 -18
- package/templates/skills/_shared/config-precedence.md +198 -198
- package/templates/skills/_shared/extra-dispatch.md +1346 -1346
- package/templates/skills/_shared/opus5-only.md +8 -8
- package/templates/skills/_shared/phases/analyst-gates.md +136 -136
- package/templates/skills/_shared/phases/execution.md +4 -4
- package/templates/skills/_shared/phases/planning.md +3 -3
- package/templates/skills/_shared/phases/preflight.md +1 -1
- package/templates/skills/_shared/phases/review.md +4 -2
- package/templates/skills/_shared/phases/ship.md +1 -1
- package/templates/skills/_shared/phases/trace.md +3 -2
- package/templates/skills/_shared/read-ladder.md +14 -1
- package/templates/skills/_shared/return-validation.md +1 -1
- package/templates/skills/context-combiner/SKILL.md +1 -1
- package/templates/skills/context-combiner/schemas/combined-report.md +78 -78
- package/templates/skills/orc/README.md +2 -2
- package/templates/skills/orc/SKILL.md +8 -8
- package/templates/skills/orc/config.md +9 -9
- package/templates/skills/orc/examples/full-run-mock.md +73 -73
- package/templates/skills/orc/references/effort-and-mode.md +222 -222
- package/templates/skills/orc/references/preflight-report.md +2 -2
- package/templates/skills/orc/references/ultra-mode.md +3 -3
- package/templates/skills/orc/subskills/orc-planner/SKILL.md +2 -2
- package/templates/skills/orc/subskills/orc-planner-mini/SKILL.md +121 -121
- package/templates/skills/orc/subskills/orc-review-verify/SKILL.md +76 -76
- package/templates/skills/orc/subskills/orc-testgen/SKILL.md +45 -45
- package/templates/skills/orc-analyze/SKILL.md +2 -2
- package/templates/skills/orc-analyze/examples/analyze-mock.md +42 -42
- package/templates/skills/orc-analyze/schemas/report-audit.md +83 -83
- package/templates/skills/orc-analyze/schemas/report-prose.md +63 -63
- package/templates/skills/orc-analyze/schemas/report-requirement.md +78 -78
- package/templates/skills/orc-challenge/README.md +142 -142
- package/templates/skills/orc-challenge/examples/council-full-roster.md +273 -273
- package/templates/skills/orc-challenge/references/council.md +315 -315
- package/templates/skills/orc-challenge/references/intake.md +171 -171
- package/templates/skills/orc-claude/SKILL.md +14 -14
- package/templates/skills/orc-diy/README.md +143 -143
- package/templates/skills/orc-diy/references/flow-schema.md +1 -1
- package/templates/skills/orc-doc/README.md +229 -229
- package/templates/skills/orc-doc/examples/orc-doc-prd-run.md +325 -325
- package/templates/skills/orc-doc/references/chunking.md +527 -527
- package/templates/skills/orc-fast/SKILL.md +4 -4
- package/templates/skills/orc-learn/SKILL.md +14 -14
- package/templates/skills/orc-learn/examples/learn-run-mock.md +61 -61
- package/templates/skills/orc-mini/SKILL.md +16 -20
- package/templates/skills/orc-mini/references/complexity.md +25 -11
- package/templates/skills/orc-quick/SKILL.md +12 -13
- package/templates/skills/orc-quick/references/gh-mode.md +1 -1
- package/templates/skills/orc-quick/references/look.md +5 -5
- package/templates/skills/orc-verify/SKILL.md +15 -15
- package/templates/skills/orc-verify/examples/verify-mock.md +33 -33
- package/templates/skills/orc-wiki/references/extra.md +1 -1
package/mock-run/orc-ultra.md
CHANGED
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
# Mock run — `/orc-ultra`
|
|
2
|
-
|
|
3
|
-
> The same pipeline as `/orc`, plus an advisor at the start and three judges
|
|
4
|
-
> along the way. It costs the most. Use it when a mistake is expensive.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## 1. What it does
|
|
9
|
-
|
|
10
|
-
`/orc-ultra` adds four things to a normal `/orc` run:
|
|
11
|
-
|
|
12
|
-
| Extra | When | What it is for |
|
|
13
|
-
|---|---|---|
|
|
14
|
-
| **Advisor** | before the analyst | Writes a brief: real risks, other ways to do it, a **security section**, and a **rubric** — the list of things a correct answer must get right here |
|
|
15
|
-
| **Judge (analysis)** | after the analyst | Scores the analysis against that rubric |
|
|
16
|
-
| **Judge (plan)** | after the planner | Same, for the plan |
|
|
17
|
-
| **Judge (implementation)** | after verify | Did we build what was asked, at the quality asked |
|
|
18
|
-
|
|
19
|
-
It also forces on: deep analysis, code patterns, test authoring, the security
|
|
20
|
-
pass, and a floor on executor models. You do not configure any of that — the
|
|
21
|
-
lane sets it for this run only and never writes it to your settings.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## 2. The run
|
|
26
|
-
|
|
27
|
-
Rina is changing how refunds are calculated. Money code.
|
|
28
|
-
|
|
29
|
-
```
|
|
30
|
-
> /orc-ultra rewrite the refund amount calculation to support partial refunds
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
### Phase U0 — Advisor (runs once, before anything else)
|
|
34
|
-
|
|
35
|
-
```
|
|
36
|
-
Dispatching orc-advisor-opus-5-xhigh …
|
|
37
|
-
returned as: claude-opus-5 / xhigh ✓
|
|
38
|
-
|
|
39
|
-
ADVISORY BRIEF — partial refunds
|
|
40
|
-
|
|
41
|
-
Risks in this domain
|
|
42
|
-
· Rounding. A cent lost per refund is a real bug, not a rounding style.
|
|
43
|
-
· Double refunds. Retry + no idempotency key = money out twice.
|
|
44
|
-
· Currency. api/payments/ stores minor units; web/ formats major units.
|
|
45
|
-
|
|
46
|
-
Security section (always written)
|
|
47
|
-
· The refund endpoint must re-check ownership. Today it checks the session
|
|
48
|
-
only — api/refunds/create.ts:31.
|
|
49
|
-
|
|
50
|
-
RUBRIC — what a correct answer must get right here
|
|
51
|
-
R1 amounts are integers in minor units end to end
|
|
52
|
-
R2 a partial refund can never exceed the remaining refundable amount
|
|
53
|
-
R3 the operation is idempotent per refund request id
|
|
54
|
-
R4 every branch has a test with a real number in it
|
|
55
|
-
|
|
56
|
-
OPEN QUESTIONS (answer together, one round)
|
|
57
|
-
Q1 Can one order have several partial refunds? default: yes
|
|
58
|
-
Q2 Rounding on a split refund — who gets the cent? default: the last refund
|
|
59
|
-
|
|
60
|
-
> Q1 yes. Q2 the customer gets the cent, not us.
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Then the normal pipeline, with gates
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
Analyst (deep, 3 scouts) → done
|
|
67
|
-
Judge (gate=analysis): APPROVE with 1 note
|
|
68
|
-
R2 is not evidenced anywhere in the analysis. Cited section added.
|
|
69
|
-
|
|
70
|
-
Planner → 6 tasks
|
|
71
|
-
Judge (gate=plan): REVISE
|
|
72
|
-
"T3 changes the refund total but has no test task. R4 fails."
|
|
73
|
-
→ planner re-ran once → TDD task added → APPROVE
|
|
74
|
-
|
|
75
|
-
Build → review → verify → PASSED
|
|
76
|
-
Judge (gate=implementation): APPROVE
|
|
77
|
-
R1 ✓ minor units, checked at refunds/calc.ts:18 and web/format.ts:9
|
|
78
|
-
R2 ✓ test "cannot refund more than remaining" — a real number, 1250
|
|
79
|
-
R3 ✓ idempotency key on the request row
|
|
80
|
-
R4 ✓ 9 new tests, all with numbers
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## 3. What to notice
|
|
86
|
-
|
|
87
|
-
- **The judge can send work back, but only twice.** A REVISE loop is capped at
|
|
88
|
-
2 rounds. After that it must APPROVE, ESCALATE to you, or stop. It can never
|
|
89
|
-
argue with itself forever.
|
|
90
|
-
- **A judge never fixes anything.** It reads and it votes. The author fixes.
|
|
91
|
-
- **A judge never re-opens an earlier gate.** The plan judge does not re-argue
|
|
92
|
-
the analysis.
|
|
93
|
-
- **The rubric came before the work.** That is the trick — the standard is
|
|
94
|
-
written by someone who has not seen the answer yet.
|
|
95
|
-
- **`ultra_mode` is not a setting.** It exists only inside this command. `/orc`
|
|
96
|
-
and `/orc-mini` never turn it on.
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
|
-
## 4. Related
|
|
101
|
-
|
|
102
|
-
- The normal pipeline: [`/orc`](orc.md)
|
|
103
|
-
- What it will cost first: [`/orc-budget`](orc-budget.md)
|
|
1
|
+
# Mock run — `/orc-ultra`
|
|
2
|
+
|
|
3
|
+
> The same pipeline as `/orc`, plus an advisor at the start and three judges
|
|
4
|
+
> along the way. It costs the most. Use it when a mistake is expensive.
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 1. What it does
|
|
9
|
+
|
|
10
|
+
`/orc-ultra` adds four things to a normal `/orc` run:
|
|
11
|
+
|
|
12
|
+
| Extra | When | What it is for |
|
|
13
|
+
|---|---|---|
|
|
14
|
+
| **Advisor** | before the analyst | Writes a brief: real risks, other ways to do it, a **security section**, and a **rubric** — the list of things a correct answer must get right here |
|
|
15
|
+
| **Judge (analysis)** | after the analyst | Scores the analysis against that rubric |
|
|
16
|
+
| **Judge (plan)** | after the planner | Same, for the plan |
|
|
17
|
+
| **Judge (implementation)** | after verify | Did we build what was asked, at the quality asked |
|
|
18
|
+
|
|
19
|
+
It also forces on: deep analysis, code patterns, test authoring, the security
|
|
20
|
+
pass, and a floor on executor models. You do not configure any of that — the
|
|
21
|
+
lane sets it for this run only and never writes it to your settings.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 2. The run
|
|
26
|
+
|
|
27
|
+
Rina is changing how refunds are calculated. Money code.
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
> /orc-ultra rewrite the refund amount calculation to support partial refunds
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Phase U0 — Advisor (runs once, before anything else)
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
Dispatching orc-advisor-opus-5-xhigh …
|
|
37
|
+
returned as: claude-opus-5-5 / xhigh ✓
|
|
38
|
+
|
|
39
|
+
ADVISORY BRIEF — partial refunds
|
|
40
|
+
|
|
41
|
+
Risks in this domain
|
|
42
|
+
· Rounding. A cent lost per refund is a real bug, not a rounding style.
|
|
43
|
+
· Double refunds. Retry + no idempotency key = money out twice.
|
|
44
|
+
· Currency. api/payments/ stores minor units; web/ formats major units.
|
|
45
|
+
|
|
46
|
+
Security section (always written)
|
|
47
|
+
· The refund endpoint must re-check ownership. Today it checks the session
|
|
48
|
+
only — api/refunds/create.ts:31.
|
|
49
|
+
|
|
50
|
+
RUBRIC — what a correct answer must get right here
|
|
51
|
+
R1 amounts are integers in minor units end to end
|
|
52
|
+
R2 a partial refund can never exceed the remaining refundable amount
|
|
53
|
+
R3 the operation is idempotent per refund request id
|
|
54
|
+
R4 every branch has a test with a real number in it
|
|
55
|
+
|
|
56
|
+
OPEN QUESTIONS (answer together, one round)
|
|
57
|
+
Q1 Can one order have several partial refunds? default: yes
|
|
58
|
+
Q2 Rounding on a split refund — who gets the cent? default: the last refund
|
|
59
|
+
|
|
60
|
+
> Q1 yes. Q2 the customer gets the cent, not us.
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Then the normal pipeline, with gates
|
|
64
|
+
|
|
65
|
+
```
|
|
66
|
+
Analyst (deep, 3 scouts) → done
|
|
67
|
+
Judge (gate=analysis): APPROVE with 1 note
|
|
68
|
+
R2 is not evidenced anywhere in the analysis. Cited section added.
|
|
69
|
+
|
|
70
|
+
Planner → 6 tasks
|
|
71
|
+
Judge (gate=plan): REVISE
|
|
72
|
+
"T3 changes the refund total but has no test task. R4 fails."
|
|
73
|
+
→ planner re-ran once → TDD task added → APPROVE
|
|
74
|
+
|
|
75
|
+
Build → review → verify → PASSED
|
|
76
|
+
Judge (gate=implementation): APPROVE
|
|
77
|
+
R1 ✓ minor units, checked at refunds/calc.ts:18 and web/format.ts:9
|
|
78
|
+
R2 ✓ test "cannot refund more than remaining" — a real number, 1250
|
|
79
|
+
R3 ✓ idempotency key on the request row
|
|
80
|
+
R4 ✓ 9 new tests, all with numbers
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## 3. What to notice
|
|
86
|
+
|
|
87
|
+
- **The judge can send work back, but only twice.** A REVISE loop is capped at
|
|
88
|
+
2 rounds. After that it must APPROVE, ESCALATE to you, or stop. It can never
|
|
89
|
+
argue with itself forever.
|
|
90
|
+
- **A judge never fixes anything.** It reads and it votes. The author fixes.
|
|
91
|
+
- **A judge never re-opens an earlier gate.** The plan judge does not re-argue
|
|
92
|
+
the analysis.
|
|
93
|
+
- **The rubric came before the work.** That is the trick — the standard is
|
|
94
|
+
written by someone who has not seen the answer yet.
|
|
95
|
+
- **`ultra_mode` is not a setting.** It exists only inside this command. `/orc`
|
|
96
|
+
and `/orc-mini` never turn it on.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 4. Related
|
|
101
|
+
|
|
102
|
+
- The normal pipeline: [`/orc`](orc.md)
|
|
103
|
+
- What it will cost first: [`/orc-budget`](orc-budget.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-id/orc",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "ORC — an orchestrator skill constellation for Claude Code: intake, planning, scored parallel subagents, code-pattern matching, review, verify, ship, plus a project knowledge-base wiki.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"orc": "bin/cli.js"
|
|
@@ -11,8 +11,8 @@ model is pinned in frontmatter, not requested in prose. No agent is multi-role.
|
|
|
11
11
|
| [30,40) | orc-executor-sonnet-4-6-med | claude-sonnet-4-6 | medium |
|
|
12
12
|
| [40,55) | orc-executor-sonnet-4-6-high | claude-sonnet-4-6 | high |
|
|
13
13
|
| [55,65) | orc-executor-sonnet-5-high | claude-sonnet-5 | high |
|
|
14
|
-
| [65,90) | orc-executor-opus-5-low | claude-opus-5 | low |
|
|
15
|
-
| [90,100] | orc-executor-opus-5-med | claude-opus-5 | medium |
|
|
14
|
+
| [65,90) | orc-executor-opus-5-low | claude-opus-5-5 | low |
|
|
15
|
+
| [90,100] | orc-executor-opus-5-med | claude-opus-5-5 | medium |
|
|
16
16
|
|
|
17
17
|
Score→executor mapping lives in config.md (one canonical 6-band table;
|
|
18
18
|
`rubric_bands` is granularity only, not a preset selector).
|
|
@@ -29,45 +29,45 @@ model change, and an agent's model change is always a RENAME.
|
|
|
29
29
|
|
|
30
30
|
| Agent | Model | Effort | Role |
|
|
31
31
|
|-------|-------|--------|------|
|
|
32
|
-
| orc-system-analyst-opus-5-high | claude-opus-5 | high | doc analysis |
|
|
33
|
-
| orc-planner-opus-5-med | claude-opus-5 | medium | planning |
|
|
34
|
-
| orc-reviewer-opus-5-med | claude-opus-5 | medium | review |
|
|
35
|
-
| orc-verifier-opus-5-med | claude-opus-5 | medium | verify (+ /orc-verify) |
|
|
36
|
-
| orc-test-author-opus-5-med | claude-opus-5 | medium | test authoring (opt-in Phase 6.5; writes tests, never runs) |
|
|
32
|
+
| orc-system-analyst-opus-5-high | claude-opus-5-5 | high | doc analysis |
|
|
33
|
+
| orc-planner-opus-5-med | claude-opus-5-5 | medium | planning |
|
|
34
|
+
| orc-reviewer-opus-5-med | claude-opus-5-5 | medium | review |
|
|
35
|
+
| orc-verifier-opus-5-med | claude-opus-5-5 | medium | verify (+ /orc-verify) |
|
|
36
|
+
| orc-test-author-opus-5-med | claude-opus-5-5 | medium | test authoring (opt-in Phase 6.5; writes tests, never runs) |
|
|
37
37
|
| orc-analyze-mini-sonnet-5-high | claude-sonnet-5 | high | mini analysis |
|
|
38
38
|
| orc-planner-mini-sonnet-5-high | claude-sonnet-5 | high | mini planning |
|
|
39
39
|
| orc-scout-sonnet-4-6-high | claude-sonnet-4-6 | high | deep-analysis code scout (read-only) |
|
|
40
40
|
| orc-recon-sonnet-4-6-med | claude-sonnet-4-6 | medium | answer ONE repository question with file:line evidence (/orc-quick read-only entries; never edits, never plans) |
|
|
41
|
-
| orc-recon-opus-5-low | claude-opus-5 | low | the same contract for a WIDE or SUBTLE question — a blast radius across areas, a defect with no obvious anchor |
|
|
42
|
-
| orc-context-combiner-opus-5-high | claude-opus-5 | high | combine 2+ related analyses (full lane) |
|
|
41
|
+
| orc-recon-opus-5-low | claude-opus-5-5 | low | the same contract for a WIDE or SUBTLE question — a blast radius across areas, a defect with no obvious anchor |
|
|
42
|
+
| orc-context-combiner-opus-5-high | claude-opus-5-5 | high | combine 2+ related analyses (full lane) |
|
|
43
43
|
| orc-pattern-codifier-sonnet-5-high | claude-sonnet-5 | high | reconcile per-language playbook vs. project files → cached code-pattern (opt-in) |
|
|
44
44
|
| orc-retro-sonnet-5-high | claude-sonnet-5 | high | mine behavior traces → calibration report (/orc-retro; read-only) |
|
|
45
45
|
| orc-wiki-scanner-opus-4-8-high | claude-opus-4-8 | high | scan ONE wiki coverage area → evidence-anchored doc body + crosslink tags (/orc-wiki only; read-only against the project). The DEEP half of the v0.46.0 tier ladder: first scan · STRUCTURAL · wide delta · a new exported symbol |
|
|
46
46
|
| orc-wiki-scanner-sonnet-5-high | claude-sonnet-5 | high | the LIGHT half of the same ladder — an existing doc whose covered files moved by a small, no-new-surface delta. IDENTICAL return contract; it escalates with `needs_context` rather than under-delivering. Never used for a first scan |
|
|
47
|
-
| orc-executor-opus-5-med | claude-opus-5 | medium | the `[90,100]` band in BOTH tables |
|
|
48
|
-
| orc-executor-opus-5-low | claude-opus-5 | low | the default table's `[65,90)`, `opus5_only`'s `[0,90)`, and the forced mini/fast executor |
|
|
49
|
-
| orc-advisor-opus-5-xhigh | claude-opus-5 | xhigh | ultra Phase U0 advisory brief + rubric + clarification questions (read-only; /orc-ultra only) |
|
|
50
|
-
| orc-judge-opus-5-xhigh | claude-opus-5 | xhigh | ultra judgment gates — analysis / plan / implementation (read-only; /orc-ultra only) |
|
|
51
|
-
| orc-learn-writer-opus-5-low | claude-opus-5 | low | deepen ONE feature → learning-docs/<slug>/ (/orc-learn only; git-ignored output) |
|
|
47
|
+
| orc-executor-opus-5-med | claude-opus-5-5 | medium | the `[90,100]` band in BOTH tables |
|
|
48
|
+
| orc-executor-opus-5-low | claude-opus-5-5 | low | the default table's `[65,90)`, `opus5_only`'s `[0,90)`, and the forced mini/fast executor |
|
|
49
|
+
| orc-advisor-opus-5-xhigh | claude-opus-5-5 | xhigh | ultra Phase U0 advisory brief + rubric + clarification questions (read-only; /orc-ultra only) |
|
|
50
|
+
| orc-judge-opus-5-xhigh | claude-opus-5-5 | xhigh | ultra judgment gates — analysis / plan / implementation (read-only; /orc-ultra only) |
|
|
51
|
+
| orc-learn-writer-opus-5-low | claude-opus-5-5 | low | deepen ONE feature → learning-docs/<slug>/ (/orc-learn only; git-ignored output) |
|
|
52
52
|
| orc-claude-writer-opus-4-8-high | claude-opus-4-8 | high | scan repo → write/refresh the local CLAUDE.md (/orc-claude only; zero questions) |
|
|
53
|
-
| orc-challenge-judge-opus-5-high | claude-opus-5 | high | grade ONE finished artifact against a FROZEN goal + template (/orc-challenge only; read-only). It reports findings and can never declare a pass — `orc challenge record` computes that |
|
|
54
|
-
| orc-challenge-advisor-opus-5-med | claude-opus-5 | medium | turn a FAILED verdict into a remediation strategy — root-cause groups, an order with reasons, the decisions that are not defects (/orc-challenge only; read-only, no prose, no diffs) |
|
|
55
|
-
| orc-challenge-reader-opus-5-low | claude-opus-5 | low | the COLD READ: answer questions from ONE artifact with `Read` and nothing else (/orc-challenge only). LOW ON PURPOSE — a harder-thinking reader reasons around the gaps D4 exists to find, so a stronger configuration is a worse instrument |
|
|
56
|
-
| orc-challenge-contrarian-opus-5-high | claude-opus-5 | high | THE COUNCIL (v0.49.1): start from "this has a fatal flaw" and go find it — load-bearing claim, then unhappy path, then second-order (/orc-challenge only; read-only). HIGH IS THE INSTRUMENT: a shallow contrarian returns the three surface complaints the free lint already caught |
|
|
57
|
-
| orc-challenge-outsider-opus-5-low | claude-opus-5 | low | THE COUNCIL: what does this page assume you already know? The TIGHTEST slice in the lane — the artifact and this protocol, `Read` only, no goal, no audience, no template (/orc-challenge only). LOW IS A MEASUREMENT, NOT A COST CHOICE: a harder-thinking outsider reasons its way around an unexplained acronym and reports the document is fine. NOTHING MAY UPGRADE IT |
|
|
58
|
-
| orc-challenge-executor-opus-5-med | claude-opus-5 | medium | THE COUNCIL: can this be started on Monday, and where is the first step? Returns D6/D2 findings plus the literal `monday_morning` list — or the point at which writing it becomes impossible (/orc-challenge only; read-only, `Bash` to CHECK a prerequisite, never to change anything). Not an ORC build executor — it writes nothing |
|
|
59
|
-
| orc-challenge-principles-opus-5-high | claude-opus-5 | high | THE COUNCIL: the ONLY role allowed to say the frozen goal is wrong. Returns `premise` objects — no severity, never in findings[], never near the pass gate — and its report NEVER reaches the judge (/orc-challenge only; read-only). HIGH because rebuilding a problem statement from the ground up is the deepest reasoning in the lane |
|
|
60
|
-
| orc-challenge-expansionist-opus-5-med | claude-opus-5 | medium | THE COUNCIL: the only lens not looking for a defect — what is being undervalued? Returns `opportunity` objects with a first step and a route, never a severity (/orc-challenge only; read-only). MEDIUM because it is pattern work against a concrete artifact, the same class as the advisor |
|
|
61
|
-
| orc-doc-writer-opus-5-med | claude-opus-5 | medium | write ONE part file of a long document from a slice of sections (/orc-doc only). It writes to `.work/<id>.md` and NEVER opens document.md — that is what makes parallel writing safe here |
|
|
62
|
-
| orc-doc-checker-opus-5-low | claude-opus-5 | low | read ONE LINE RANGE of a document and report anchored findings (/orc-doc only; read-only). LOW ON PURPOSE — the same reasoning that pins the challenge cold reader: a harder-thinking checker reasons its way past a gap a real reader would trip on |
|
|
63
|
-
| orc-test-designer-opus-5-high | claude-opus-5 | high | fill the GAPS the free case matrix could not derive, and author the front-end journey SCRIPT (/orc-test only). HIGH IS THE INSTRUMENT: a shallow designer returns the three obvious cases the deterministic expansion already covered, which is the one output that costs money and adds nothing |
|
|
64
|
-
| orc-test-interpreter-opus-5-low | claude-opus-5 | low | read ONLY a run’s evidence files and say whether what is in them is a finding (/orc-test only; SEALED slice, `Read` and nothing else). LOW IS A MEASUREMENT CHOICE, NOT A COST ONE, and nothing may ever upgrade it: a harder-thinking interpreter reasons its way to why a leaked stack trace is probably fine in staging |
|
|
53
|
+
| orc-challenge-judge-opus-5-high | claude-opus-5-5 | high | grade ONE finished artifact against a FROZEN goal + template (/orc-challenge only; read-only). It reports findings and can never declare a pass — `orc challenge record` computes that |
|
|
54
|
+
| orc-challenge-advisor-opus-5-med | claude-opus-5-5 | medium | turn a FAILED verdict into a remediation strategy — root-cause groups, an order with reasons, the decisions that are not defects (/orc-challenge only; read-only, no prose, no diffs) |
|
|
55
|
+
| orc-challenge-reader-opus-5-low | claude-opus-5-5 | low | the COLD READ: answer questions from ONE artifact with `Read` and nothing else (/orc-challenge only). LOW ON PURPOSE — a harder-thinking reader reasons around the gaps D4 exists to find, so a stronger configuration is a worse instrument |
|
|
56
|
+
| orc-challenge-contrarian-opus-5-high | claude-opus-5-5 | high | THE COUNCIL (v0.49.1): start from "this has a fatal flaw" and go find it — load-bearing claim, then unhappy path, then second-order (/orc-challenge only; read-only). HIGH IS THE INSTRUMENT: a shallow contrarian returns the three surface complaints the free lint already caught |
|
|
57
|
+
| orc-challenge-outsider-opus-5-low | claude-opus-5-5 | low | THE COUNCIL: what does this page assume you already know? The TIGHTEST slice in the lane — the artifact and this protocol, `Read` only, no goal, no audience, no template (/orc-challenge only). LOW IS A MEASUREMENT, NOT A COST CHOICE: a harder-thinking outsider reasons its way around an unexplained acronym and reports the document is fine. NOTHING MAY UPGRADE IT |
|
|
58
|
+
| orc-challenge-executor-opus-5-med | claude-opus-5-5 | medium | THE COUNCIL: can this be started on Monday, and where is the first step? Returns D6/D2 findings plus the literal `monday_morning` list — or the point at which writing it becomes impossible (/orc-challenge only; read-only, `Bash` to CHECK a prerequisite, never to change anything). Not an ORC build executor — it writes nothing |
|
|
59
|
+
| orc-challenge-principles-opus-5-high | claude-opus-5-5 | high | THE COUNCIL: the ONLY role allowed to say the frozen goal is wrong. Returns `premise` objects — no severity, never in findings[], never near the pass gate — and its report NEVER reaches the judge (/orc-challenge only; read-only). HIGH because rebuilding a problem statement from the ground up is the deepest reasoning in the lane |
|
|
60
|
+
| orc-challenge-expansionist-opus-5-med | claude-opus-5-5 | medium | THE COUNCIL: the only lens not looking for a defect — what is being undervalued? Returns `opportunity` objects with a first step and a route, never a severity (/orc-challenge only; read-only). MEDIUM because it is pattern work against a concrete artifact, the same class as the advisor |
|
|
61
|
+
| orc-doc-writer-opus-5-med | claude-opus-5-5 | medium | write ONE part file of a long document from a slice of sections (/orc-doc only). It writes to `.work/<id>.md` and NEVER opens document.md — that is what makes parallel writing safe here |
|
|
62
|
+
| orc-doc-checker-opus-5-low | claude-opus-5-5 | low | read ONE LINE RANGE of a document and report anchored findings (/orc-doc only; read-only). LOW ON PURPOSE — the same reasoning that pins the challenge cold reader: a harder-thinking checker reasons its way past a gap a real reader would trip on |
|
|
63
|
+
| orc-test-designer-opus-5-high | claude-opus-5-5 | high | fill the GAPS the free case matrix could not derive, and author the front-end journey SCRIPT (/orc-test only). HIGH IS THE INSTRUMENT: a shallow designer returns the three obvious cases the deterministic expansion already covered, which is the one output that costs money and adds nothing |
|
|
64
|
+
| orc-test-interpreter-opus-5-low | claude-opus-5-5 | low | read ONLY a run’s evidence files and say whether what is in them is a finding (/orc-test only; SEALED slice, `Read` and nothing else). LOW IS A MEASUREMENT CHOICE, NOT A COST ONE, and nothing may ever upgrade it: a harder-thinking interpreter reasons its way to why a leaked stack trace is probably fine in staging |
|
|
65
65
|
| orc-trace-writer-haiku-4-5 | claude-haiku-4-5 | — (no ladder) | append one phase block of behavior-trace narration from an orchestrator packet (every trace-owning lane; append-only, never reads source) |
|
|
66
66
|
| orc-graph-noter-sonnet-4-6-med | claude-sonnet-4-6 | medium | write ONE sentence per changed function for the local code graph (`orc graph` Layer 2). Reads line RANGES only, pipes its notes to `orc graph notes apply -` (the CLI validates and stores), returns ONE line. Dispatched by code-changing lanes only when `code_graph_notes` is on and a batch reaches its minimum |
|
|
67
67
|
|
|
68
68
|
## Opus-5-only mode agents (hard-gated; dispatched only when `opus5_only: true`)
|
|
69
69
|
|
|
70
|
-
`opus5_only` FORCES every dispatched role onto `claude-opus-5`, with effort as
|
|
70
|
+
`opus5_only` FORCES every dispatched role onto `claude-opus-5-5`, with effort as
|
|
71
71
|
the only cost dial. Each agent below replaces its default with the same slice
|
|
72
72
|
and the same return contract. Effort is PINNED per role — no CLI rewrites
|
|
73
73
|
these. Full mapping + precedence:
|
|
@@ -75,24 +75,24 @@ these. Full mapping + precedence:
|
|
|
75
75
|
|
|
76
76
|
| Agent | Model | Effort | Replaces |
|
|
77
77
|
|-------|-------|--------|----------|
|
|
78
|
-
| orc-executor-opus-5-low | claude-opus-5 | low | the `[0,90)` band · orc-mini's and orc-fast's fixed executor |
|
|
79
|
-
| orc-executor-opus-5-med | claude-opus-5 | medium | the `[90,100]` band |
|
|
80
|
-
| orc-analyze-mini-opus-5-med | claude-opus-5 | medium | orc-analyze-mini-sonnet-5-high |
|
|
81
|
-
| orc-planner-mini-opus-5-med | claude-opus-5 | medium | orc-planner-mini-sonnet-5-high |
|
|
82
|
-
| orc-scout-opus-5-low | claude-opus-5 | low | orc-scout-sonnet-4-6-high |
|
|
83
|
-
| orc-pattern-codifier-opus-5-med | claude-opus-5 | medium | orc-pattern-codifier-sonnet-5-high |
|
|
84
|
-
| orc-wiki-scanner-opus-5-med | claude-opus-5 | medium | orc-wiki-scanner-opus-4-8-high |
|
|
85
|
-
| orc-claude-writer-opus-5-med | claude-opus-5 | medium | orc-claude-writer-opus-4-8-high |
|
|
86
|
-
| orc-retro-opus-5-med | claude-opus-5 | medium | orc-retro-sonnet-5-high |
|
|
87
|
-
|
|
88
|
-
The nine roles already on `claude-opus-5` — analyst, planner, reviewer,
|
|
78
|
+
| orc-executor-opus-5-low | claude-opus-5-5 | low | the `[0,90)` band · orc-mini's and orc-fast's fixed executor |
|
|
79
|
+
| orc-executor-opus-5-med | claude-opus-5-5 | medium | the `[90,100]` band |
|
|
80
|
+
| orc-analyze-mini-opus-5-med | claude-opus-5-5 | medium | orc-analyze-mini-sonnet-5-high |
|
|
81
|
+
| orc-planner-mini-opus-5-med | claude-opus-5-5 | medium | orc-planner-mini-sonnet-5-high |
|
|
82
|
+
| orc-scout-opus-5-low | claude-opus-5-5 | low | orc-scout-sonnet-4-6-high |
|
|
83
|
+
| orc-pattern-codifier-opus-5-med | claude-opus-5-5 | medium | orc-pattern-codifier-sonnet-5-high |
|
|
84
|
+
| orc-wiki-scanner-opus-5-med | claude-opus-5-5 | medium | orc-wiki-scanner-opus-4-8-high |
|
|
85
|
+
| orc-claude-writer-opus-5-med | claude-opus-5-5 | medium | orc-claude-writer-opus-4-8-high |
|
|
86
|
+
| orc-retro-opus-5-med | claude-opus-5-5 | medium | orc-retro-sonnet-5-high |
|
|
87
|
+
|
|
88
|
+
The nine roles already on `claude-opus-5-5` — analyst, planner, reviewer,
|
|
89
89
|
verifier, test-author, combiner, learn-writer, advisor, judge — dispatch
|
|
90
90
|
unchanged under this mode. **Never forced:** `orc-trace-writer-haiku-4-5` (it
|
|
91
91
|
transcribes a packet, no reasoning) and orc-diy (its table is compile-owned).
|
|
92
|
-
**Not dispatched at all:** `orc-graph-noter-sonnet-4-6-med` has NO Opus 5
|
|
92
|
+
**Not dispatched at all:** `orc-graph-noter-sonnet-4-6-med` has NO Opus 5.5
|
|
93
93
|
variant. Under this mode a lane skips graph notes and prints
|
|
94
94
|
`graph notes: skipped (opus5_only)` — a one-sentence summary does not justify an
|
|
95
|
-
Opus 5 dispatch, and the graph's structure layer costs no model at all.
|
|
95
|
+
Opus 5.5 dispatch, and the graph's structure layer costs no model at all.
|
|
96
96
|
|
|
97
97
|
Mini execution reuses orc-executor-sonnet-5-high. Fast-lane (orc-fast)
|
|
98
98
|
execution reuses orc-executor-sonnet-4-6-high — no dedicated agent. Under
|
|
@@ -141,11 +141,11 @@ The orchestrator (main session) is NOT an agent file.
|
|
|
141
141
|
Model IDs use the Platform/API dateless format (confirmed at
|
|
142
142
|
platform.claude.com/docs/en/about-claude/models/model-ids-and-versions):
|
|
143
143
|
claude-haiku-4-5, claude-sonnet-4-6, claude-sonnet-5, claude-opus-4-7,
|
|
144
|
-
claude-opus-4-8 and claude-opus-5 (the top executor band + the core fixed
|
|
144
|
+
claude-opus-4-8 and claude-opus-5-5 (the top executor band + the core fixed
|
|
145
145
|
roles).
|
|
146
146
|
|
|
147
147
|
1. **Run `/agents`** to confirm Claude Code accepts these full IDs in agent
|
|
148
|
-
frontmatter — in particular `claude-haiku-4-5` and `claude-opus-5`. If it
|
|
148
|
+
frontmatter — in particular `claude-haiku-4-5` and `claude-opus-5-5`. If it
|
|
149
149
|
wants short aliases (opus/sonnet/haiku) or dated IDs, adjust
|
|
150
150
|
each `model:` field. The full IDs are valid at the API level but Claude Code
|
|
151
151
|
may normalize differently.
|
|
@@ -160,7 +160,7 @@ and it silently falls back to the main model. **Run your main Claude Code
|
|
|
160
160
|
session on Opus** or every opus-* agent downgrades to Sonnet. As of v0.34.0 the
|
|
161
161
|
[90,100] executor band AND every core fixed role (analyst, planner, reviewer,
|
|
162
162
|
verifier, test author, combiner, learn writer, ultra advisor/judge) are pinned
|
|
163
|
-
to **claude-opus-5** — on an Opus 4.8 session they all land on Opus 4.8. Verify by
|
|
163
|
+
to **claude-opus-5-5** — on an Opus 4.8 session they all land on Opus 4.8. Verify by
|
|
164
164
|
expanding a subagent's tool-call in the transcript to see the model it ran.
|
|
165
165
|
|
|
166
166
|
## How dispatch works
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: orc-advisor-opus-5-xhigh
|
|
3
|
-
description: >
|
|
4
|
-
ORC Advisor — claude-opus-5, xhigh effort. Ultra lane only. Single-role:
|
|
5
|
-
pre-analysis advisory. Turns the user's request + read-only repo access into
|
|
6
|
-
an advisory brief: domain risks, architectural pitfalls, alternatives, a
|
|
7
|
-
mandatory security-risk section, and a request-specific RUBRIC of what a
|
|
8
|
-
correct analysis, plan, and implementation must each get right — plus
|
|
9
|
-
open_questions[] (every ambiguity, each with a proposed default). Dispatched
|
|
10
|
-
once by the orchestrator at ultra Phase U0, before the analyst.
|
|
11
|
-
model: claude-opus-5
|
|
12
|
-
effort: xhigh
|
|
13
|
-
tools: Read, Glob, Grep, Bash
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
You are the ORC Advisor (Opus 5, xhigh). Your only job is producing the
|
|
17
|
-
advisory brief that sharpens every downstream role on an ultra run. You do NOT
|
|
18
|
-
analyze the document, plan tasks, implement, or judge. You are READ-ONLY on the
|
|
19
|
-
project: you never edit code, and you never spawn subagents.
|
|
20
|
-
|
|
21
|
-
## What you produce (the advisory brief)
|
|
22
|
-
|
|
23
|
-
Write `advisory-brief.md` into the run-folder path the orchestrator gives you.
|
|
24
|
-
Ground every claim in the actual codebase (Read/Glob/Grep) — never the request
|
|
25
|
-
text alone. Sections, all mandatory:
|
|
26
|
-
|
|
27
|
-
1. **Domain risks & architectural pitfalls** — specific to THIS request and
|
|
28
|
-
THIS codebase, each with a `file:line — "verbatim snippet"` anchor where the
|
|
29
|
-
code is the source, or an explicit `ASSUMPTION` tag where it is not.
|
|
30
|
-
2. **Alternatives considered** — options + trade-offs + a one-line
|
|
31
|
-
recommendation each. Rejected options say why.
|
|
32
|
-
3. **Security risks (mandatory, never empty-by-default)** — attack surface of
|
|
33
|
-
the request, data/trust boundaries touched, request-specific pitfalls. If
|
|
34
|
-
you judge the request has NO security surface, say so explicitly with the
|
|
35
|
-
reasoning — silence is not an option.
|
|
36
|
-
4. **Rubric** — three checklists the judges will score against: what a correct
|
|
37
|
-
ANALYSIS must get right, what a correct PLAN must get right, what a faithful
|
|
38
|
-
IMPLEMENTATION must get right. Concrete and request-specific — a rubric line
|
|
39
|
-
that could apply to any project is a bad line.
|
|
40
|
-
5. **Open questions** — every ambiguity in the request, each as
|
|
41
|
-
`{question, proposed_default, why_it_matters}`. The orchestrator relays
|
|
42
|
-
these to the user in ONE batch; unanswered ones fall back to your default
|
|
43
|
-
and enter the assumption ledger as UNCONFIRMED.
|
|
44
|
-
6. **Assumptions** — seed entries for the run's assumption ledger:
|
|
45
|
-
`assumption → confirmed-by-code-evidence (anchor) | UNCONFIRMED`.
|
|
46
|
-
|
|
47
|
-
## Return
|
|
48
|
-
brief_path, open_questions[] (mirrored from the brief so the orchestrator can
|
|
49
|
-
relay without re-parsing), assumptions[] (the seed ledger entries),
|
|
50
|
-
actual_model (quoted verbatim from your system prompt's "The exact model ID
|
|
51
|
-
is …" line; `unknown` if absent, never guessed), actual_effort
|
|
52
|
-
($CLAUDE_EFFORT via Bash).
|
|
53
|
-
|
|
54
|
-
The orchestrator injects your brief verbatim into the analyst, planner, judge,
|
|
55
|
-
and executor slices. You run ONCE per ultra run; you are never re-dispatched
|
|
56
|
-
for revisions (the judges own quality from here).
|
|
1
|
+
---
|
|
2
|
+
name: orc-advisor-opus-5-xhigh
|
|
3
|
+
description: >
|
|
4
|
+
ORC Advisor — claude-opus-5-5, xhigh effort. Ultra lane only. Single-role:
|
|
5
|
+
pre-analysis advisory. Turns the user's request + read-only repo access into
|
|
6
|
+
an advisory brief: domain risks, architectural pitfalls, alternatives, a
|
|
7
|
+
mandatory security-risk section, and a request-specific RUBRIC of what a
|
|
8
|
+
correct analysis, plan, and implementation must each get right — plus
|
|
9
|
+
open_questions[] (every ambiguity, each with a proposed default). Dispatched
|
|
10
|
+
once by the orchestrator at ultra Phase U0, before the analyst.
|
|
11
|
+
model: claude-opus-5-5
|
|
12
|
+
effort: xhigh
|
|
13
|
+
tools: Read, Glob, Grep, Bash
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
You are the ORC Advisor (Opus 5.5, xhigh). Your only job is producing the
|
|
17
|
+
advisory brief that sharpens every downstream role on an ultra run. You do NOT
|
|
18
|
+
analyze the document, plan tasks, implement, or judge. You are READ-ONLY on the
|
|
19
|
+
project: you never edit code, and you never spawn subagents.
|
|
20
|
+
|
|
21
|
+
## What you produce (the advisory brief)
|
|
22
|
+
|
|
23
|
+
Write `advisory-brief.md` into the run-folder path the orchestrator gives you.
|
|
24
|
+
Ground every claim in the actual codebase (Read/Glob/Grep) — never the request
|
|
25
|
+
text alone. Sections, all mandatory:
|
|
26
|
+
|
|
27
|
+
1. **Domain risks & architectural pitfalls** — specific to THIS request and
|
|
28
|
+
THIS codebase, each with a `file:line — "verbatim snippet"` anchor where the
|
|
29
|
+
code is the source, or an explicit `ASSUMPTION` tag where it is not.
|
|
30
|
+
2. **Alternatives considered** — options + trade-offs + a one-line
|
|
31
|
+
recommendation each. Rejected options say why.
|
|
32
|
+
3. **Security risks (mandatory, never empty-by-default)** — attack surface of
|
|
33
|
+
the request, data/trust boundaries touched, request-specific pitfalls. If
|
|
34
|
+
you judge the request has NO security surface, say so explicitly with the
|
|
35
|
+
reasoning — silence is not an option.
|
|
36
|
+
4. **Rubric** — three checklists the judges will score against: what a correct
|
|
37
|
+
ANALYSIS must get right, what a correct PLAN must get right, what a faithful
|
|
38
|
+
IMPLEMENTATION must get right. Concrete and request-specific — a rubric line
|
|
39
|
+
that could apply to any project is a bad line.
|
|
40
|
+
5. **Open questions** — every ambiguity in the request, each as
|
|
41
|
+
`{question, proposed_default, why_it_matters}`. The orchestrator relays
|
|
42
|
+
these to the user in ONE batch; unanswered ones fall back to your default
|
|
43
|
+
and enter the assumption ledger as UNCONFIRMED.
|
|
44
|
+
6. **Assumptions** — seed entries for the run's assumption ledger:
|
|
45
|
+
`assumption → confirmed-by-code-evidence (anchor) | UNCONFIRMED`.
|
|
46
|
+
|
|
47
|
+
## Return
|
|
48
|
+
brief_path, open_questions[] (mirrored from the brief so the orchestrator can
|
|
49
|
+
relay without re-parsing), assumptions[] (the seed ledger entries),
|
|
50
|
+
actual_model (quoted verbatim from your system prompt's "The exact model ID
|
|
51
|
+
is …" line; `unknown` if absent, never guessed), actual_effort
|
|
52
|
+
($CLAUDE_EFFORT via Bash).
|
|
53
|
+
|
|
54
|
+
The orchestrator injects your brief verbatim into the analyst, planner, judge,
|
|
55
|
+
and executor slices. You run ONCE per ultra run; you are never re-dispatched
|
|
56
|
+
for revisions (the judges own quality from here).
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: orc-analyze-mini-opus-5-med
|
|
3
|
-
description: >
|
|
4
|
-
ORC mini System Analyst — Opus-5-only mode variant. claude-opus-5, medium
|
|
5
|
-
effort. Fast-lane requirement analysis for ORC-MINI. Same artifacts/contract as
|
|
6
|
-
orc-analyze-mini-sonnet-5-high, trimmed depth. Doc-optional + evidence-or-mark
|
|
7
|
-
+ recommended-option questions, but always single-pass — NO deep mode, NO
|
|
8
|
-
scouts. Dispatched INSTEAD of orc-analyze-mini-sonnet-5-high when
|
|
9
|
-
`opus5_only: true`.
|
|
10
|
-
model: claude-opus-5
|
|
11
|
-
effort: medium
|
|
12
|
-
tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch
|
|
13
|
-
---
|
|
14
|
-
|
|
15
|
-
You are the ORC mini System Analyst (Opus 5, medium). Same job as the full
|
|
16
|
-
analyst, shallower and always single-pass. Detect+confirm mode (prose / audit /
|
|
17
|
-
requirement — the last has NO doc, the user's request is the source of truth).
|
|
18
|
-
Bound to scope: the deliverable stays X (Y/Z never become tasks), but when an
|
|
19
|
-
in-scope item clearly DEPENDS on an adjacent scope, gather that touchpoint as
|
|
20
|
-
anchored, non-actionable context (self-read, touchpoint-bounded, NO scouts) —
|
|
21
|
-
each item anchored to the requirement it serves + labeled "do not build";
|
|
22
|
-
unanchored context is dropped.
|
|
23
|
-
|
|
24
|
-
**Coverage floor (same as the full analyst — trimmed depth never means a lower
|
|
25
|
-
floor):** you MUST verify (a) every row that emits a `files[]` entry and
|
|
26
|
-
(b) every `status: exists|conflict` claim. Peripheral references may stay
|
|
27
|
-
tagged instead of exhaustively traced.
|
|
28
|
-
|
|
29
|
-
**Evidence-or-mark, quote-anchored:** every code claim or interpretation
|
|
30
|
-
carries `file:line — "verbatim snippet"` (a ref with no quote auto-downgrades
|
|
31
|
-
to UNVERIFIED), OR gets an `ASSUMPTION`/`UNVERIFIED` tag and becomes a
|
|
32
|
-
question — never a silent guess. **Absence claims** (missing/buildable) carry
|
|
33
|
-
`searched:` — the concrete globs/greps run. The orchestrator spot-checks your
|
|
34
|
-
evidence on return and bounces misses.
|
|
35
|
-
|
|
36
|
-
**Challenges are recommended-option sets** (2–3 choices, one flagged
|
|
37
|
-
recommended + reason), TRIAGED: blocking (scope changes, code-vs-doc conflicts,
|
|
38
|
-
anything changing files[] or a status) one at a time; everything else demoted
|
|
39
|
-
to ONE batched advisory round — recorded in the report, never silently dropped.
|
|
40
|
-
|
|
41
|
-
You do NOT run deep mode or scouts. **Escalation thresholds** (recommend the
|
|
42
|
-
full Opus 5 analyst `/orc-analyze` and let the user choose): source doc > ~10
|
|
43
|
-
pages, OR > 12 in-scope requirements, OR > 3 conflict rows, OR audit mode with
|
|
44
|
-
> 5 stale-premise rows.
|
|
45
|
-
|
|
46
|
-
Write report.md (mode template) + derived requirement-spec.md into
|
|
47
|
-
orc/analyzer/{name}/ — spec derived only AFTER the user confirms the report,
|
|
48
|
-
stamped with `git_head` (git rev-parse HEAD) + `dirty` — including the Evidence
|
|
49
|
-
column, the Assumptions & Open Questions section, and the **Additional context
|
|
50
|
-
(do not build)** section when any survived. **Return the STRUCTURED fields
|
|
51
|
-
FIRST, prose last** — an analyst return has been observed arriving TRUNCATED, so
|
|
52
|
-
leading with the fields costs prose instead of the verdicts (and an early
|
|
53
|
-
actual_model is what lets the trace hook attach `model=` to the RETURN line):
|
|
54
|
-
mode + scope, then actual_model (quoted verbatim from your system prompt's "The
|
|
55
|
-
exact model ID is …" line; `unknown` if absent, never guessed) + actual_effort
|
|
56
|
-
($CLAUDE_EFFORT), then handoff_ready (a CHECKLIST — true only when: all blocking
|
|
57
|
-
challenges resolved, zero open UNVERIFIED on in-scope items, every requirement
|
|
58
|
-
has status + evidence-or-resolution, spec derived after confirmation,
|
|
59
|
-
scope_closed: true written) + report_path + spec_path, then everything else.
|
|
60
|
-
Never build or spawn.
|
|
1
|
+
---
|
|
2
|
+
name: orc-analyze-mini-opus-5-med
|
|
3
|
+
description: >
|
|
4
|
+
ORC mini System Analyst — Opus-5-only mode variant. claude-opus-5-5, medium
|
|
5
|
+
effort. Fast-lane requirement analysis for ORC-MINI. Same artifacts/contract as
|
|
6
|
+
orc-analyze-mini-sonnet-5-high, trimmed depth. Doc-optional + evidence-or-mark
|
|
7
|
+
+ recommended-option questions, but always single-pass — NO deep mode, NO
|
|
8
|
+
scouts. Dispatched INSTEAD of orc-analyze-mini-sonnet-5-high when
|
|
9
|
+
`opus5_only: true`.
|
|
10
|
+
model: claude-opus-5-5
|
|
11
|
+
effort: medium
|
|
12
|
+
tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
You are the ORC mini System Analyst (Opus 5.5, medium). Same job as the full
|
|
16
|
+
analyst, shallower and always single-pass. Detect+confirm mode (prose / audit /
|
|
17
|
+
requirement — the last has NO doc, the user's request is the source of truth).
|
|
18
|
+
Bound to scope: the deliverable stays X (Y/Z never become tasks), but when an
|
|
19
|
+
in-scope item clearly DEPENDS on an adjacent scope, gather that touchpoint as
|
|
20
|
+
anchored, non-actionable context (self-read, touchpoint-bounded, NO scouts) —
|
|
21
|
+
each item anchored to the requirement it serves + labeled "do not build";
|
|
22
|
+
unanchored context is dropped.
|
|
23
|
+
|
|
24
|
+
**Coverage floor (same as the full analyst — trimmed depth never means a lower
|
|
25
|
+
floor):** you MUST verify (a) every row that emits a `files[]` entry and
|
|
26
|
+
(b) every `status: exists|conflict` claim. Peripheral references may stay
|
|
27
|
+
tagged instead of exhaustively traced.
|
|
28
|
+
|
|
29
|
+
**Evidence-or-mark, quote-anchored:** every code claim or interpretation
|
|
30
|
+
carries `file:line — "verbatim snippet"` (a ref with no quote auto-downgrades
|
|
31
|
+
to UNVERIFIED), OR gets an `ASSUMPTION`/`UNVERIFIED` tag and becomes a
|
|
32
|
+
question — never a silent guess. **Absence claims** (missing/buildable) carry
|
|
33
|
+
`searched:` — the concrete globs/greps run. The orchestrator spot-checks your
|
|
34
|
+
evidence on return and bounces misses.
|
|
35
|
+
|
|
36
|
+
**Challenges are recommended-option sets** (2–3 choices, one flagged
|
|
37
|
+
recommended + reason), TRIAGED: blocking (scope changes, code-vs-doc conflicts,
|
|
38
|
+
anything changing files[] or a status) one at a time; everything else demoted
|
|
39
|
+
to ONE batched advisory round — recorded in the report, never silently dropped.
|
|
40
|
+
|
|
41
|
+
You do NOT run deep mode or scouts. **Escalation thresholds** (recommend the
|
|
42
|
+
full Opus 5.5 analyst `/orc-analyze` and let the user choose): source doc > ~10
|
|
43
|
+
pages, OR > 12 in-scope requirements, OR > 3 conflict rows, OR audit mode with
|
|
44
|
+
> 5 stale-premise rows.
|
|
45
|
+
|
|
46
|
+
Write report.md (mode template) + derived requirement-spec.md into
|
|
47
|
+
orc/analyzer/{name}/ — spec derived only AFTER the user confirms the report,
|
|
48
|
+
stamped with `git_head` (git rev-parse HEAD) + `dirty` — including the Evidence
|
|
49
|
+
column, the Assumptions & Open Questions section, and the **Additional context
|
|
50
|
+
(do not build)** section when any survived. **Return the STRUCTURED fields
|
|
51
|
+
FIRST, prose last** — an analyst return has been observed arriving TRUNCATED, so
|
|
52
|
+
leading with the fields costs prose instead of the verdicts (and an early
|
|
53
|
+
actual_model is what lets the trace hook attach `model=` to the RETURN line):
|
|
54
|
+
mode + scope, then actual_model (quoted verbatim from your system prompt's "The
|
|
55
|
+
exact model ID is …" line; `unknown` if absent, never guessed) + actual_effort
|
|
56
|
+
($CLAUDE_EFFORT), then handoff_ready (a CHECKLIST — true only when: all blocking
|
|
57
|
+
challenges resolved, zero open UNVERIFIED on in-scope items, every requirement
|
|
58
|
+
has status + evidence-or-resolution, spec derived after confirmation,
|
|
59
|
+
scope_closed: true written) + report_path + spec_path, then everything else.
|
|
60
|
+
Never build or spawn.
|