@azure-id/orc 2.1.0 → 2.2.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.
Files changed (153) hide show
  1. package/CHANGELOG.md +374 -0
  2. package/README.md +49 -36
  3. package/bin/build-agents.js +7 -5
  4. package/bin/cli.js +1006 -235
  5. package/bin/fix.js +21 -18
  6. package/bin/graph-extract.js +314 -6
  7. package/bin/graph-gain.js +83 -2
  8. package/bin/graph-map.js +23 -1
  9. package/bin/graph-notes.js +1 -1
  10. package/bin/graph-query.js +1362 -37
  11. package/bin/graph-resolve.js +1 -1
  12. package/bin/graph-shard.js +29 -6
  13. package/bin/graph-signals.js +5 -3
  14. package/bin/graph.js +7 -3
  15. package/bin/habit.js +1 -1
  16. package/bin/pricing.json +8 -1
  17. package/bin/trace-write.js +40 -11
  18. package/bin/verify-contracts.js +169 -60
  19. package/bin/verify-package.js +3 -3
  20. package/bin/webui/api.js +8 -0
  21. package/bin/webui/fixtures/extra.js +9 -9
  22. package/bin/webui/fixtures/flow.js +1 -1
  23. package/bin/webui/fixtures/index.js +2 -2
  24. package/bin/webui/fixtures/knowledge.js +8 -1
  25. package/bin/webui/fixtures/pact.js +112 -111
  26. package/bin/webui/fixtures/stats.js +2 -2
  27. package/bin/webui/i18n/en/knowledge.json +2 -0
  28. package/bin/webui/i18n/id/knowledge.json +2 -0
  29. package/bin/webui/js/panels/knowledge.js +17 -0
  30. package/guides/code-graph-benefit.md +116 -0
  31. package/guides/configuration.md +150 -0
  32. package/guides/documents.md +262 -0
  33. package/guides/extra-models.md +448 -0
  34. package/guides/habits-and-gotchas.md +152 -0
  35. package/guides/knowledge-reads.md +190 -0
  36. package/guides/model-selection.md +186 -0
  37. package/guides/rules.md +305 -0
  38. package/guides/status-line.md +344 -0
  39. package/mock-run/a-normal-day.md +2 -2
  40. package/mock-run/extra-slots.md +177 -177
  41. package/mock-run/orc-cli.md +3 -2
  42. package/mock-run/orc-doc.md +452 -448
  43. package/mock-run/orc-fast.md +2 -2
  44. package/mock-run/orc-quick.md +146 -146
  45. package/mock-run/orc.md +4 -4
  46. package/package.json +2 -1
  47. package/templates/agents/MODEL-MAPPING.md +12 -12
  48. package/templates/agents/{orc-executor-haiku-4-5.md → orc-executor-haiku-5-high.md} +21 -8
  49. package/templates/agents/orc-executor-opus-4-7-high.md +17 -5
  50. package/templates/agents/orc-executor-opus-4-7-med.md +17 -5
  51. package/templates/agents/orc-executor-opus-4-8-high.md +17 -5
  52. package/templates/agents/orc-executor-opus-5-high.md +17 -5
  53. package/templates/agents/orc-executor-opus-5-low.md +17 -5
  54. package/templates/agents/orc-executor-opus-5-med.md +17 -5
  55. package/templates/agents/orc-executor-sonnet-4-6-high.md +17 -5
  56. package/templates/agents/orc-executor-sonnet-5-high.md +17 -5
  57. package/templates/agents/orc-executor-sonnet-5-low.md +17 -5
  58. package/templates/agents/orc-executor-sonnet-5-med.md +17 -5
  59. package/templates/agents/{orc-graph-noter-sonnet-4-6-med.md → orc-graph-noter-haiku-5-high.md} +4 -4
  60. package/templates/agents/orc-planner-mini-opus-5-med.md +3 -1
  61. package/templates/agents/orc-planner-mini-sonnet-5-high.md +3 -1
  62. package/templates/agents/orc-planner-opus-5-med.md +3 -1
  63. package/templates/agents/{orc-recon-sonnet-4-6-med.md → orc-recon-sonnet-5-med.md} +4 -4
  64. package/templates/agents/{orc-trace-writer-haiku-4-5.md → orc-trace-writer-haiku-5-high.md} +4 -3
  65. package/templates/commands/orc-doc.md +128 -128
  66. package/templates/commands/orc-export.md +51 -46
  67. package/templates/commands/orc-fast.md +10 -10
  68. package/templates/hooks/README.md +8 -3
  69. package/templates/hooks/orc-effort-guard.js +105 -27
  70. package/templates/hooks/orc-graph-hook.js +252 -4
  71. package/templates/hooks/orc-statusline.js +13 -6
  72. package/templates/hooks/orc-trace.js +1 -1
  73. package/templates/skills/_shared/README.md +2 -2
  74. package/templates/skills/_shared/code-graph.md +185 -251
  75. package/templates/skills/_shared/extra-dispatch.md +4 -4
  76. package/templates/skills/_shared/lane-contract.md +7 -3
  77. package/templates/skills/_shared/opus5-only.md +3 -3
  78. package/templates/skills/_shared/phases/execution.md +13 -11
  79. package/templates/skills/_shared/phases/planning.md +27 -9
  80. package/templates/skills/_shared/phases/preflight.md +3 -3
  81. package/templates/skills/_shared/phases/review.md +4 -3
  82. package/templates/skills/_shared/phases/ship.md +7 -10
  83. package/templates/skills/_shared/phases/summary.md +2 -3
  84. package/templates/skills/_shared/phases/trace-verbs.md +21 -16
  85. package/templates/skills/_shared/phases/trace.md +3 -3
  86. package/templates/skills/_shared/phases/wiki-consult.md +2 -2
  87. package/templates/skills/_shared/pr-templates.md +108 -106
  88. package/templates/skills/_shared/read-ladder.md +8 -2
  89. package/templates/skills/_shared/return-validation.md +10 -6
  90. package/templates/skills/_shared/review-slice.md +1 -1
  91. package/templates/skills/_shared/stack-plan.md +135 -135
  92. package/templates/skills/_shared/wait.md +14 -2
  93. package/templates/skills/context-combiner/SKILL.md +2 -2
  94. package/templates/skills/orc/SKILL.md +7 -7
  95. package/templates/skills/orc/config.md +2 -2
  96. package/templates/skills/orc/examples/full-run-mock.md +7 -7
  97. package/templates/skills/orc/references/effort-and-mode.md +222 -222
  98. package/templates/skills/orc/schemas/planning-output.md +3 -0
  99. package/templates/skills/orc-aftermath/SKILL.md +15 -15
  100. package/templates/skills/orc-analyze/SKILL.md +2 -2
  101. package/templates/skills/orc-analyze-mini/SKILL.md +2 -2
  102. package/templates/skills/orc-boundary/SKILL.md +15 -15
  103. package/templates/skills/orc-boundary/references/card.md +81 -78
  104. package/templates/skills/orc-boundary/references/gate.md +113 -113
  105. package/templates/skills/orc-brainstorm/SKILL.md +15 -15
  106. package/templates/skills/orc-budget/SKILL.md +15 -15
  107. package/templates/skills/orc-challenge/README.md +1 -1
  108. package/templates/skills/orc-challenge/SKILL.md +16 -16
  109. package/templates/skills/orc-challenge/examples/council-full-roster.md +1 -1
  110. package/templates/skills/orc-claude/SKILL.md +4 -4
  111. package/templates/skills/orc-claude/examples/claude-run-mock.md +1 -1
  112. package/templates/skills/orc-diy/SKILL.md +2 -2
  113. package/templates/skills/orc-diy/references/blocks/wiki.md +26 -26
  114. package/templates/skills/orc-diy/references/flow-schema.md +2 -2
  115. package/templates/skills/orc-doc/README.md +2 -2
  116. package/templates/skills/orc-doc/SKILL.md +501 -490
  117. package/templates/skills/orc-doc/examples/orc-doc-prd-run.md +12 -1
  118. package/templates/skills/orc-doc/references/chunking.md +6 -4
  119. package/templates/skills/orc-doc/references/gates.md +311 -311
  120. package/templates/skills/orc-doc/references/resume-protocol.md +229 -228
  121. package/templates/skills/orc-explain/SKILL.md +88 -88
  122. package/templates/skills/orc-export/SKILL.md +190 -187
  123. package/templates/skills/orc-fast/SKILL.md +17 -14
  124. package/templates/skills/orc-grill/SKILL.md +16 -16
  125. package/templates/skills/orc-grill/references/grill-doc.md +1 -1
  126. package/templates/skills/orc-handoff/SKILL.md +11 -11
  127. package/templates/skills/orc-learn/SKILL.md +13 -13
  128. package/templates/skills/orc-learn/examples/learn-run-mock.md +2 -2
  129. package/templates/skills/orc-mini/SKILL.md +12 -12
  130. package/templates/skills/orc-mini/examples/mini-run-mock.md +4 -5
  131. package/templates/skills/orc-pact/SKILL.md +15 -15
  132. package/templates/skills/orc-pact/references/gate.md +70 -70
  133. package/templates/skills/orc-pattern/SKILL.md +3 -3
  134. package/templates/skills/orc-poly/SKILL.md +4 -4
  135. package/templates/skills/orc-poly/examples/poly-run-mock.md +51 -51
  136. package/templates/skills/orc-pr-driver/SKILL.md +4 -3
  137. package/templates/skills/orc-pr-driver/references/orc-run-split.md +108 -99
  138. package/templates/skills/orc-pr-setup/SKILL.md +2 -2
  139. package/templates/skills/orc-quick/README.md +11 -12
  140. package/templates/skills/orc-quick/SKILL.md +29 -32
  141. package/templates/skills/orc-quick/references/context-doc.md +5 -5
  142. package/templates/skills/orc-quick/references/dispatch-gate.md +10 -10
  143. package/templates/skills/orc-quick/references/gh-mode.md +2 -1
  144. package/templates/skills/orc-quick/references/look.md +34 -12
  145. package/templates/skills/orc-retro/SKILL.md +2 -2
  146. package/templates/skills/orc-retro/examples/retro-mock.md +2 -2
  147. package/templates/skills/orc-route/SKILL.md +2 -2
  148. package/templates/skills/orc-test/SKILL.md +6 -3
  149. package/templates/skills/orc-verify/SKILL.md +2 -2
  150. package/templates/skills/orc-wait/SKILL.md +10 -2
  151. package/templates/skills/orc-wiki/SKILL.md +4 -4
  152. package/templates/skills/orc-wiki/references/pattern-prewarm.md +19 -19
  153. package/templates/agents/orc-executor-sonnet-4-6-med.md +0 -155
@@ -42,7 +42,7 @@ const CONTRACTS = [
42
42
  "agents/orc-context-combiner-opus-5-high.md",
43
43
  "agents/orc-doc-checker-opus-5-low.md",
44
44
  "agents/orc-doc-writer-opus-5-med.md",
45
- "agents/orc-executor-haiku-4-5.md",
45
+ "agents/orc-executor-haiku-5-high.md",
46
46
  "agents/orc-executor-opus-4-7-high.md",
47
47
  "agents/orc-executor-opus-4-7-med.md",
48
48
  "agents/orc-executor-opus-4-8-high.md",
@@ -50,7 +50,6 @@ const CONTRACTS = [
50
50
  "agents/orc-executor-opus-5-low.md",
51
51
  "agents/orc-executor-opus-5-med.md",
52
52
  "agents/orc-executor-sonnet-4-6-high.md",
53
- "agents/orc-executor-sonnet-4-6-med.md",
54
53
  "agents/orc-executor-sonnet-5-high.md",
55
54
  "agents/orc-executor-sonnet-5-low.md",
56
55
  "agents/orc-executor-sonnet-5-med.md",
@@ -62,7 +61,7 @@ const CONTRACTS = [
62
61
  "agents/orc-planner-mini-sonnet-5-high.md",
63
62
  "agents/orc-planner-opus-5-med.md",
64
63
  "agents/orc-recon-opus-5-low.md",
65
- "agents/orc-recon-sonnet-4-6-med.md",
64
+ "agents/orc-recon-sonnet-5-med.md",
66
65
  "agents/orc-retro-opus-5-med.md",
67
66
  "agents/orc-retro-sonnet-5-high.md",
68
67
  "agents/orc-reviewer-opus-5-low.md",
@@ -70,7 +69,7 @@ const CONTRACTS = [
70
69
  "agents/orc-scout-sonnet-4-6-high.md",
71
70
  "agents/orc-system-analyst-opus-5-high.md",
72
71
  "agents/orc-test-author-opus-5-med.md",
73
- "agents/orc-trace-writer-haiku-4-5.md",
72
+ "agents/orc-trace-writer-haiku-5-high.md",
74
73
  "agents/orc-verifier-opus-5-med.md",
75
74
  "agents/orc-wiki-scanner-opus-5-low.md",
76
75
  "agents/orc-wiki-scanner-sonnet-5-high.md",
@@ -109,7 +108,7 @@ const CONTRACTS = [
109
108
  "skills/orc/schemas/checkpoint.md",
110
109
  "skills/orc/subskills/orc-planner-mini/SKILL.md",
111
110
  // v1.8.0 — the graph noter reports its model like every other role.
112
- "agents/orc-graph-noter-sonnet-4-6-med.md",
111
+ "agents/orc-graph-noter-haiku-5-high.md",
113
112
  "skills/_shared/phases/trace-verbs.md",
114
113
  ],
115
114
  },
@@ -117,7 +116,7 @@ const CONTRACTS = [
117
116
  name: "pattern invariants_checked attestation (executor return)",
118
117
  token: "invariants_checked",
119
118
  files: [
120
- "agents/orc-executor-haiku-4-5.md",
119
+ "agents/orc-executor-haiku-5-high.md",
121
120
  "agents/orc-executor-opus-4-7-high.md",
122
121
  "agents/orc-executor-opus-4-7-med.md",
123
122
  "agents/orc-executor-opus-4-8-high.md",
@@ -125,7 +124,6 @@ const CONTRACTS = [
125
124
  "agents/orc-executor-opus-5-low.md",
126
125
  "agents/orc-executor-opus-5-med.md",
127
126
  "agents/orc-executor-sonnet-4-6-high.md",
128
- "agents/orc-executor-sonnet-4-6-med.md",
129
127
  "agents/orc-executor-sonnet-5-high.md",
130
128
  "agents/orc-executor-sonnet-5-low.md",
131
129
  "agents/orc-executor-sonnet-5-med.md",
@@ -142,7 +140,7 @@ const CONTRACTS = [
142
140
  name: "house_rules standing card (slice injection)",
143
141
  token: "house_rules",
144
142
  files: [
145
- "agents/orc-executor-haiku-4-5.md",
143
+ "agents/orc-executor-haiku-5-high.md",
146
144
  "agents/orc-executor-opus-4-7-high.md",
147
145
  "agents/orc-executor-opus-4-7-med.md",
148
146
  "agents/orc-executor-opus-4-8-high.md",
@@ -150,7 +148,6 @@ const CONTRACTS = [
150
148
  "agents/orc-executor-opus-5-low.md",
151
149
  "agents/orc-executor-opus-5-med.md",
152
150
  "agents/orc-executor-sonnet-4-6-high.md",
153
- "agents/orc-executor-sonnet-4-6-med.md",
154
151
  "agents/orc-executor-sonnet-5-high.md",
155
152
  "agents/orc-executor-sonnet-5-low.md",
156
153
  "agents/orc-executor-sonnet-5-med.md",
@@ -171,7 +168,7 @@ const CONTRACTS = [
171
168
  "skills/_shared/review-slice.md",
172
169
  "skills/orc/subskills/orc-review-verify/core.md",
173
170
  "agents/orc-reviewer-opus-5-low.md",
174
- "agents/orc-executor-haiku-4-5.md",
171
+ "agents/orc-executor-haiku-5-high.md",
175
172
  "agents/orc-executor-opus-4-7-high.md",
176
173
  "agents/orc-executor-opus-4-7-med.md",
177
174
  "agents/orc-executor-opus-4-8-high.md",
@@ -179,7 +176,6 @@ const CONTRACTS = [
179
176
  "agents/orc-executor-opus-5-low.md",
180
177
  "agents/orc-executor-opus-5-med.md",
181
178
  "agents/orc-executor-sonnet-4-6-high.md",
182
- "agents/orc-executor-sonnet-4-6-med.md",
183
179
  "agents/orc-executor-sonnet-5-high.md",
184
180
  "agents/orc-executor-sonnet-5-low.md",
185
181
  "agents/orc-executor-sonnet-5-med.md",
@@ -200,7 +196,7 @@ const CONTRACTS = [
200
196
  files: [
201
197
  // v2.0.0 W5a — the ONE review slice (`_shared/review-slice.md`).
202
198
  "skills/_shared/review-slice.md",
203
- "agents/orc-executor-haiku-4-5.md",
199
+ "agents/orc-executor-haiku-5-high.md",
204
200
  "agents/orc-executor-opus-4-7-high.md",
205
201
  "agents/orc-executor-opus-4-7-med.md",
206
202
  "agents/orc-executor-opus-4-8-high.md",
@@ -208,7 +204,6 @@ const CONTRACTS = [
208
204
  "agents/orc-executor-opus-5-low.md",
209
205
  "agents/orc-executor-opus-5-med.md",
210
206
  "agents/orc-executor-sonnet-4-6-high.md",
211
- "agents/orc-executor-sonnet-4-6-med.md",
212
207
  "agents/orc-executor-sonnet-5-high.md",
213
208
  "agents/orc-executor-sonnet-5-low.md",
214
209
  "agents/orc-executor-sonnet-5-med.md",
@@ -229,7 +224,7 @@ const CONTRACTS = [
229
224
  name: "executor evidence contract (v0.7.0 — verbatim build/test proof)",
230
225
  token: "no_runner_detected",
231
226
  files: [
232
- "agents/orc-executor-haiku-4-5.md",
227
+ "agents/orc-executor-haiku-5-high.md",
233
228
  "agents/orc-executor-opus-4-7-high.md",
234
229
  "agents/orc-executor-opus-4-7-med.md",
235
230
  "agents/orc-executor-opus-4-8-high.md",
@@ -237,7 +232,6 @@ const CONTRACTS = [
237
232
  "agents/orc-executor-opus-5-low.md",
238
233
  "agents/orc-executor-opus-5-med.md",
239
234
  "agents/orc-executor-sonnet-4-6-high.md",
240
- "agents/orc-executor-sonnet-4-6-med.md",
241
235
  "agents/orc-executor-sonnet-5-high.md",
242
236
  "agents/orc-executor-sonnet-5-low.md",
243
237
  "agents/orc-executor-sonnet-5-med.md",
@@ -252,7 +246,7 @@ const CONTRACTS = [
252
246
  // v0.40.0: a verifier unmet[] the same run CLOSED is a recordable gotcha.
253
247
  "skills/_shared/extra-dispatch.md",
254
248
  "skills/_shared/gotchas.md",
255
- "agents/orc-executor-haiku-4-5.md",
249
+ "agents/orc-executor-haiku-5-high.md",
256
250
  "agents/orc-executor-opus-4-7-high.md",
257
251
  "agents/orc-executor-opus-4-7-med.md",
258
252
  "agents/orc-executor-opus-4-8-high.md",
@@ -260,7 +254,6 @@ const CONTRACTS = [
260
254
  "agents/orc-executor-opus-5-low.md",
261
255
  "agents/orc-executor-opus-5-med.md",
262
256
  "agents/orc-executor-sonnet-4-6-high.md",
263
- "agents/orc-executor-sonnet-4-6-med.md",
264
257
  "agents/orc-executor-sonnet-5-high.md",
265
258
  "agents/orc-executor-sonnet-5-low.md",
266
259
  "agents/orc-executor-sonnet-5-med.md",
@@ -631,7 +624,7 @@ const CONTRACTS = [
631
624
  "agents/orc-analyze-mini-opus-5-med.md",
632
625
  "agents/orc-analyze-mini-sonnet-5-high.md",
633
626
  "agents/orc-recon-opus-5-low.md",
634
- "agents/orc-recon-sonnet-4-6-med.md",
627
+ "agents/orc-recon-sonnet-5-med.md",
635
628
  "agents/orc-system-analyst-opus-5-high.md",
636
629
  "skills/orc-analyze-mini/SKILL.md",
637
630
  "skills/orc-analyze/SKILL.md",
@@ -800,13 +793,13 @@ const CONTRACTS = [
800
793
  // The v0.19.0 fix for "the trace only got one line": every trace-owning
801
794
  // lane states the running-record cadence + this self-check inline, so a
802
795
  // lane cannot quietly treat the trace as an end-of-run summary. v0.32.0
803
- // moved the PEN to orc-trace-writer-haiku-4-5, so the writer's own
796
+ // moved the PEN to orc-trace-writer-haiku-5-high, so the writer's own
804
797
  // self-check carries the token too — the cadence is now a dispatch
805
798
  // obligation, not a memory one.
806
799
  name: "behavior-trace write cadence (v0.19.0 — append per event, never batched at the end)",
807
800
  token: "zero new trace lines is a protocol violation",
808
801
  files: [
809
- "agents/orc-trace-writer-haiku-4-5.md",
802
+ "agents/orc-trace-writer-haiku-5-high.md",
810
803
  "skills/orc-aftermath/SKILL.md",
811
804
  "skills/orc-analyze/SKILL.md",
812
805
  "skills/orc-boundary/SKILL.md",
@@ -914,7 +907,7 @@ const CONTRACTS = [
914
907
  // v2.1.0 W6: /orc-fix states that it never WRITES the pointer — `orc fix
915
908
  // record` only reads it to find the host run.
916
909
  "skills/orc-fix/SKILL.md",
917
- "agents/orc-trace-writer-haiku-4-5.md",
910
+ "agents/orc-trace-writer-haiku-5-high.md",
918
911
  "hooks/orc-trace.js",
919
912
  // v1.6.0: the read gate READS the pointer to decide whether an ORC run
920
913
  // is open at all. Outside a run it refuses nothing — the gate constrains
@@ -982,11 +975,11 @@ const CONTRACTS = [
982
975
  // one-packet obligation from _shared/phases/trace.md's canonical section, so they
983
976
  // are DELIBERATELY not in this set — do not add them.
984
977
  name: "trace narration writer (v0.32.0 — every phase close dispatches the writer)",
985
- token: "orc-trace-writer-haiku-4-5",
978
+ token: "orc-trace-writer-haiku-5-high",
986
979
  files: [
987
980
  "skills/orc-test/SKILL.md",
988
981
  "agents/MODEL-MAPPING.md",
989
- "agents/orc-trace-writer-haiku-4-5.md",
982
+ "agents/orc-trace-writer-haiku-5-high.md",
990
983
  "hooks/orc-trace.js",
991
984
  "skills/_shared/opus5-only.md",
992
985
  "skills/orc-boundary/references/gate.md",
@@ -1006,7 +999,7 @@ const CONTRACTS = [
1006
999
  token: "orc trace write --packet -",
1007
1000
  binFiles: ["bin/cli.js", "bin/trace-write.js"],
1008
1001
  files: [
1009
- "agents/orc-trace-writer-haiku-4-5.md",
1002
+ "agents/orc-trace-writer-haiku-5-high.md",
1010
1003
  "skills/orc/SKILL.md",
1011
1004
  "skills/orc-test/SKILL.md",
1012
1005
  // v2.0.0 W3 — quick and mini pipe their packets to the CLI too.
@@ -1066,7 +1059,7 @@ const CONTRACTS = [
1066
1059
  files: [
1067
1060
  "agents/orc-retro-opus-5-med.md",
1068
1061
  "agents/orc-retro-sonnet-5-high.md",
1069
- "agents/orc-trace-writer-haiku-4-5.md",
1062
+ "agents/orc-trace-writer-haiku-5-high.md",
1070
1063
  "hooks/orc-trace.js",
1071
1064
  "skills/orc-retro/SKILL.md",
1072
1065
  "skills/_shared/phases/trace.md",
@@ -1854,7 +1847,7 @@ const CONTRACTS = [
1854
1847
  "agents/MODEL-MAPPING.md",
1855
1848
  // v1.8.0 — the graph noter has no Opus 5.5 variant; under the mode a lane
1856
1849
  // skips notes. Both the agent and the canonical contract say so.
1857
- "agents/orc-graph-noter-sonnet-4-6-med.md",
1850
+ "agents/orc-graph-noter-haiku-5-high.md",
1858
1851
  "skills/_shared/code-graph.md",
1859
1852
  "agents/orc-analyze-mini-opus-5-med.md",
1860
1853
  "agents/orc-pattern-codifier-opus-5-med.md",
@@ -2417,7 +2410,7 @@ const CONTRACTS = [
2417
2410
  // v0.40.0: a tdd_spec test driven red -> green is the primary record trigger.
2418
2411
  "skills/_shared/extra-dispatch.md",
2419
2412
  "skills/_shared/gotchas.md",
2420
- "agents/orc-executor-haiku-4-5.md",
2413
+ "agents/orc-executor-haiku-5-high.md",
2421
2414
  "agents/orc-executor-opus-4-7-high.md",
2422
2415
  "agents/orc-executor-opus-4-7-med.md",
2423
2416
  "agents/orc-executor-opus-4-8-high.md",
@@ -2425,7 +2418,6 @@ const CONTRACTS = [
2425
2418
  "agents/orc-executor-opus-5-low.md",
2426
2419
  "agents/orc-executor-opus-5-med.md",
2427
2420
  "agents/orc-executor-sonnet-4-6-high.md",
2428
- "agents/orc-executor-sonnet-4-6-med.md",
2429
2421
  "agents/orc-executor-sonnet-5-high.md",
2430
2422
  "agents/orc-executor-sonnet-5-low.md",
2431
2423
  "agents/orc-executor-sonnet-5-med.md",
@@ -2453,7 +2445,7 @@ const CONTRACTS = [
2453
2445
  token: "tdd_loop_max",
2454
2446
  binFiles: ["bin/cli.js"],
2455
2447
  files: [
2456
- "agents/orc-executor-haiku-4-5.md",
2448
+ "agents/orc-executor-haiku-5-high.md",
2457
2449
  "agents/orc-executor-opus-4-7-high.md",
2458
2450
  "agents/orc-executor-opus-4-7-med.md",
2459
2451
  "agents/orc-executor-opus-4-8-high.md",
@@ -2461,7 +2453,6 @@ const CONTRACTS = [
2461
2453
  "agents/orc-executor-opus-5-low.md",
2462
2454
  "agents/orc-executor-opus-5-med.md",
2463
2455
  "agents/orc-executor-sonnet-4-6-high.md",
2464
- "agents/orc-executor-sonnet-4-6-med.md",
2465
2456
  "agents/orc-executor-sonnet-5-high.md",
2466
2457
  "agents/orc-executor-sonnet-5-low.md",
2467
2458
  "agents/orc-executor-sonnet-5-med.md",
@@ -2481,7 +2472,7 @@ const CONTRACTS = [
2481
2472
  name: "TDD executor attestation (v0.33.0 — tdd_state green|red on tdd_spec slices)",
2482
2473
  token: "tdd_state",
2483
2474
  files: [
2484
- "agents/orc-executor-haiku-4-5.md",
2475
+ "agents/orc-executor-haiku-5-high.md",
2485
2476
  "agents/orc-executor-opus-4-7-high.md",
2486
2477
  "agents/orc-executor-opus-4-7-med.md",
2487
2478
  "agents/orc-executor-opus-4-8-high.md",
@@ -2489,7 +2480,6 @@ const CONTRACTS = [
2489
2480
  "agents/orc-executor-opus-5-low.md",
2490
2481
  "agents/orc-executor-opus-5-med.md",
2491
2482
  "agents/orc-executor-sonnet-4-6-high.md",
2492
- "agents/orc-executor-sonnet-4-6-med.md",
2493
2483
  "agents/orc-executor-sonnet-5-high.md",
2494
2484
  "agents/orc-executor-sonnet-5-low.md",
2495
2485
  "agents/orc-executor-sonnet-5-med.md",
@@ -2724,7 +2714,6 @@ const CONTRACTS = [
2724
2714
  "skills/orc-mini/SKILL.md",
2725
2715
  "skills/orc-quick/SKILL.md",
2726
2716
  "skills/orc-quick/references/dispatch-gate.md",
2727
- "skills/orc-quick/references/look.md",
2728
2717
  "skills/orc-wiki/references/staleness.md",
2729
2718
  "skills/orc/SKILL.md",
2730
2719
  // W6 — the six code lanes open it (S5: a declared capability no lane
@@ -2740,7 +2729,7 @@ const CONTRACTS = [
2740
2729
  token: "code > graph structure",
2741
2730
  files: [
2742
2731
  "agents/orc-recon-opus-5-low.md",
2743
- "agents/orc-recon-sonnet-4-6-med.md",
2732
+ "agents/orc-recon-sonnet-5-med.md",
2744
2733
  "skills/_shared/code-graph.md",
2745
2734
  "skills/_shared/phases/wiki-consult.md",
2746
2735
  "skills/_shared/read-ladder.md",
@@ -2754,7 +2743,7 @@ const CONTRACTS = [
2754
2743
  name: "graph attestation (v1.8.0 — graph_used on every return that carried cards)",
2755
2744
  token: "graph_used",
2756
2745
  files: [
2757
- "agents/orc-executor-haiku-4-5.md",
2746
+ "agents/orc-executor-haiku-5-high.md",
2758
2747
  "agents/orc-executor-opus-4-7-high.md",
2759
2748
  "agents/orc-executor-opus-4-7-med.md",
2760
2749
  "agents/orc-executor-opus-4-8-high.md",
@@ -2762,12 +2751,11 @@ const CONTRACTS = [
2762
2751
  "agents/orc-executor-opus-5-low.md",
2763
2752
  "agents/orc-executor-opus-5-med.md",
2764
2753
  "agents/orc-executor-sonnet-4-6-high.md",
2765
- "agents/orc-executor-sonnet-4-6-med.md",
2766
2754
  "agents/orc-executor-sonnet-5-high.md",
2767
2755
  "agents/orc-executor-sonnet-5-low.md",
2768
2756
  "agents/orc-executor-sonnet-5-med.md",
2769
2757
  "agents/orc-recon-opus-5-low.md",
2770
- "agents/orc-recon-sonnet-4-6-med.md",
2758
+ "agents/orc-recon-sonnet-5-med.md",
2771
2759
  "skills/_shared/code-graph.md",
2772
2760
  "skills/_shared/phases/execution.md",
2773
2761
  // v2.0.0 T11: the mini `none is an answer` paragraph moved here from its spine.
@@ -2788,9 +2776,11 @@ const CONTRACTS = [
2788
2776
  name: "graph brief answer (v1.9.1 — --brief on every --json read a lane makes)",
2789
2777
  token: "--brief",
2790
2778
  files: [
2779
+ // v2.2.0 R12 — the main-session card names the --anchors call.
2780
+ "hooks/orc-graph-hook.js",
2791
2781
  // v2.0.0 W5a — the ONE review slice (`_shared/review-slice.md`).
2792
2782
  "skills/_shared/review-slice.md",
2793
- "agents/orc-executor-haiku-4-5.md",
2783
+ "agents/orc-executor-haiku-5-high.md",
2794
2784
  "agents/orc-executor-opus-4-7-high.md",
2795
2785
  "agents/orc-executor-opus-4-7-med.md",
2796
2786
  "agents/orc-executor-opus-4-8-high.md",
@@ -2798,12 +2788,11 @@ const CONTRACTS = [
2798
2788
  "agents/orc-executor-opus-5-low.md",
2799
2789
  "agents/orc-executor-opus-5-med.md",
2800
2790
  "agents/orc-executor-sonnet-4-6-high.md",
2801
- "agents/orc-executor-sonnet-4-6-med.md",
2802
2791
  "agents/orc-executor-sonnet-5-high.md",
2803
2792
  "agents/orc-executor-sonnet-5-low.md",
2804
2793
  "agents/orc-executor-sonnet-5-med.md",
2805
2794
  "agents/orc-recon-opus-5-low.md",
2806
- "agents/orc-recon-sonnet-4-6-med.md",
2795
+ "agents/orc-recon-sonnet-5-med.md",
2807
2796
  "skills/_shared/code-graph.md",
2808
2797
  "skills/_shared/phases/execution.md",
2809
2798
  "skills/_shared/phases/planning.md",
@@ -2829,7 +2818,10 @@ const CONTRACTS = [
2829
2818
  // would drift from the CLI's grammar the first time either side moved.
2830
2819
  name: "graph blast line (v1.9.1 — changes computes the blast radius, the lane prints it)",
2831
2820
  token: "blast_line",
2832
- files: ["skills/_shared/phases/summary.md", "skills/orc-mini/SKILL.md", "skills/orc-quick/SKILL.md"],
2821
+ files: ["skills/_shared/phases/summary.md", "skills/orc-mini/SKILL.md", "skills/orc-quick/SKILL.md", "skills/_shared/code-graph.md",
2822
+ "skills/_shared/phases/review.md",
2823
+ "skills/orc-fast/SKILL.md",
2824
+ ],
2833
2825
  binFiles: ["bin/graph-signals.js"],
2834
2826
  },
2835
2827
  {
@@ -2853,6 +2845,118 @@ const CONTRACTS = [
2853
2845
  files: ["skills/orc-mini/references/complexity.md"],
2854
2846
  binFiles: ["bin/graph-signals.js"],
2855
2847
  },
2848
+ // ── v2.2.0 — the pack (one graph contract for every coding lane) ──────
2849
+ {
2850
+ // The slice carries the PATH of the pack, never its text. Every lane that
2851
+ // builds a slice, the executor that reads it first, and the contract move together.
2852
+ // v2.2.0 (R6): the pack FILE is gone from every lane — the slice carries
2853
+ // the anchor block INLINE (max 12 path:a-b ranges + one read-all command).
2854
+ name: "graph anchors (v2.2.0 R6 — graph_anchors: the slice carries the anchor block inline)",
2855
+ token: "graph_anchors",
2856
+ binFiles: ["bin/cli.js"],
2857
+ files: [
2858
+ "agents/orc-executor-haiku-5-high.md",
2859
+ "agents/orc-executor-opus-4-7-high.md",
2860
+ "agents/orc-executor-opus-4-7-med.md",
2861
+ "agents/orc-executor-opus-4-8-high.md",
2862
+ "agents/orc-executor-opus-5-high.md",
2863
+ "agents/orc-executor-opus-5-low.md",
2864
+ "agents/orc-executor-opus-5-med.md",
2865
+ "agents/orc-executor-sonnet-4-6-high.md",
2866
+ "agents/orc-executor-sonnet-5-high.md",
2867
+ "agents/orc-executor-sonnet-5-low.md",
2868
+ "agents/orc-executor-sonnet-5-med.md",
2869
+ "skills/_shared/code-graph.md",
2870
+ "skills/_shared/phases/execution.md",
2871
+ "skills/_shared/phases/trace-verbs.md",
2872
+ "skills/_shared/read-ladder.md",
2873
+ "skills/_shared/return-validation.md",
2874
+ "skills/orc-diy/references/flow-schema.md",
2875
+ "skills/orc-fast/SKILL.md",
2876
+ "skills/orc-mini/SKILL.md",
2877
+ "skills/orc-mini/examples/mini-run-mock.md",
2878
+ "skills/orc-quick/SKILL.md",
2879
+ "skills/orc-quick/references/look.md",
2880
+ "skills/orc/SKILL.md",
2881
+ ],
2882
+ },
2883
+ {
2884
+ // v2.2.0 (R7): the slice keeps the WHOLE anchor block. The last line was
2885
+ // dropped when main wrote the slice; every file that carries
2886
+ // graph_anchors names its `read all:` line.
2887
+ name: "graph anchors read-all (v2.2.0 R7 — the slice keeps the read all: line)",
2888
+ token: "read all:",
2889
+ files: [
2890
+ "agents/orc-executor-haiku-5-high.md",
2891
+ "agents/orc-executor-opus-4-7-high.md",
2892
+ "agents/orc-executor-opus-4-7-med.md",
2893
+ "agents/orc-executor-opus-4-8-high.md",
2894
+ "agents/orc-executor-opus-5-high.md",
2895
+ "agents/orc-executor-opus-5-low.md",
2896
+ "agents/orc-executor-opus-5-med.md",
2897
+ "agents/orc-executor-sonnet-4-6-high.md",
2898
+ "agents/orc-executor-sonnet-5-high.md",
2899
+ "agents/orc-executor-sonnet-5-low.md",
2900
+ "agents/orc-executor-sonnet-5-med.md",
2901
+ "skills/_shared/code-graph.md",
2902
+ "skills/_shared/phases/execution.md",
2903
+ "skills/_shared/read-ladder.md",
2904
+ "skills/orc-fast/SKILL.md",
2905
+ "skills/orc-mini/SKILL.md",
2906
+ "skills/orc-quick/SKILL.md",
2907
+ "skills/orc-quick/references/look.md",
2908
+ "skills/orc/SKILL.md",
2909
+ ],
2910
+ },
2911
+ {
2912
+ // v2.2.0 (R8): the anchors carry the code inline, so a slice with
2913
+ // graph_anchors lists at most ONE wiki page — every lane that builds one.
2914
+ name: "graph anchors lazy wiki (v2.2.0 R8 — at most ONE wiki page with anchors)",
2915
+ token: "at most ONE wiki page",
2916
+ files: [
2917
+ "skills/_shared/code-graph.md",
2918
+ "skills/_shared/phases/execution.md",
2919
+ "skills/orc-fast/SKILL.md",
2920
+ "skills/orc-mini/SKILL.md",
2921
+ "skills/orc-quick/SKILL.md",
2922
+ "skills/orc-quick/references/look.md",
2923
+ "skills/orc/SKILL.md",
2924
+ ],
2925
+ },
2926
+ {
2927
+ // v2.2.0 (R8): the executor uses the inline code as already read.
2928
+ name: "graph anchors inline code (v2.2.0 R8 — use it as already read)",
2929
+ token: "use it as already read",
2930
+ files: [
2931
+ "agents/orc-executor-haiku-5-high.md",
2932
+ "agents/orc-executor-opus-4-7-high.md",
2933
+ "agents/orc-executor-opus-4-7-med.md",
2934
+ "agents/orc-executor-opus-4-8-high.md",
2935
+ "agents/orc-executor-opus-5-high.md",
2936
+ "agents/orc-executor-opus-5-low.md",
2937
+ "agents/orc-executor-opus-5-med.md",
2938
+ "agents/orc-executor-sonnet-4-6-high.md",
2939
+ "agents/orc-executor-sonnet-5-high.md",
2940
+ "agents/orc-executor-sonnet-5-low.md",
2941
+ "agents/orc-executor-sonnet-5-med.md",
2942
+ "skills/_shared/read-ladder.md",
2943
+ ],
2944
+ },
2945
+ {
2946
+ // v2.2.0 (R11): a request that names ONE symbol gets the card, the tests
2947
+ // via callers, the coverage verdict AND the anchors from ONE look call.
2948
+ name: "graph one-symbol anchors (v2.2.0 R11 — ctx <symbol> --anchors is touchpoint 3)",
2949
+ token: "ctx <symbol> --anchors",
2950
+ binFiles: ["bin/cli.js"],
2951
+ files: [
2952
+ "skills/_shared/code-graph.md",
2953
+ "skills/_shared/phases/execution.md",
2954
+ "skills/orc-fast/SKILL.md",
2955
+ "skills/orc-quick/SKILL.md",
2956
+ "skills/orc-quick/references/look.md",
2957
+ "skills/orc/SKILL.md",
2958
+ ],
2959
+ },
2856
2960
  // ── v1.8.2 W3 — the delivery flags (D1 · D2 · D3 · D5) ────────────────
2857
2961
  {
2858
2962
  // The slice call. A rename must reach the contract, the phase file that
@@ -2865,9 +2969,12 @@ const CONTRACTS = [
2865
2969
  "skills/_shared/code-graph.md",
2866
2970
  "skills/_shared/phases/execution.md",
2867
2971
  "skills/orc-mini/SKILL.md",
2868
- "skills/orc-mini/examples/mini-run-mock.md",
2869
2972
  "skills/orc-quick/SKILL.md",
2870
2973
  "skills/orc-quick/references/look.md",
2974
+ "skills/_shared/phases/trace-verbs.md",
2975
+ "skills/orc-diy/references/flow-schema.md",
2976
+ "skills/orc-fast/SKILL.md",
2977
+ "skills/orc/SKILL.md",
2871
2978
  ],
2872
2979
  binFiles: ["bin/cli.js", "bin/graph-query.js"],
2873
2980
  },
@@ -2878,7 +2985,7 @@ const CONTRACTS = [
2878
2985
  token: "--source [N]",
2879
2986
  files: [
2880
2987
  "agents/orc-recon-opus-5-low.md",
2881
- "agents/orc-recon-sonnet-4-6-med.md",
2988
+ "agents/orc-recon-sonnet-5-med.md",
2882
2989
  "skills/_shared/code-graph.md",
2883
2990
  "skills/_shared/read-ladder.md",
2884
2991
  "skills/orc-quick/references/look.md",
@@ -2893,7 +3000,7 @@ const CONTRACTS = [
2893
3000
  token: "--callers-source",
2894
3001
  files: [
2895
3002
  "agents/orc-recon-opus-5-low.md",
2896
- "agents/orc-recon-sonnet-4-6-med.md",
3003
+ "agents/orc-recon-sonnet-5-med.md",
2897
3004
  "skills/_shared/code-graph.md",
2898
3005
  "skills/_shared/read-ladder.md",
2899
3006
  ],
@@ -2905,7 +3012,7 @@ const CONTRACTS = [
2905
3012
  name: "graph LSP anchor (v1.9.1 — lsp_at on a symbol card: file, line, 1-based character)",
2906
3013
  token: "lsp_at",
2907
3014
  files: [
2908
- "agents/orc-executor-haiku-4-5.md",
3015
+ "agents/orc-executor-haiku-5-high.md",
2909
3016
  "agents/orc-executor-opus-4-7-high.md",
2910
3017
  "agents/orc-executor-opus-4-7-med.md",
2911
3018
  "agents/orc-executor-opus-4-8-high.md",
@@ -2913,12 +3020,11 @@ const CONTRACTS = [
2913
3020
  "agents/orc-executor-opus-5-low.md",
2914
3021
  "agents/orc-executor-opus-5-med.md",
2915
3022
  "agents/orc-executor-sonnet-4-6-high.md",
2916
- "agents/orc-executor-sonnet-4-6-med.md",
2917
3023
  "agents/orc-executor-sonnet-5-high.md",
2918
3024
  "agents/orc-executor-sonnet-5-low.md",
2919
3025
  "agents/orc-executor-sonnet-5-med.md",
2920
3026
  "agents/orc-recon-opus-5-low.md",
2921
- "agents/orc-recon-sonnet-4-6-med.md",
3027
+ "agents/orc-recon-sonnet-5-med.md",
2922
3028
  "skills/_shared/code-graph.md",
2923
3029
  "skills/_shared/read-ladder.md",
2924
3030
  ],
@@ -2934,7 +3040,7 @@ const CONTRACTS = [
2934
3040
  name: "reproduce-first slice field (v1.9.0 — repro.required)",
2935
3041
  token: "repro.required: true",
2936
3042
  files: [
2937
- "agents/orc-executor-haiku-4-5.md",
3043
+ "agents/orc-executor-haiku-5-high.md",
2938
3044
  "agents/orc-executor-opus-4-7-high.md",
2939
3045
  "agents/orc-executor-opus-4-7-med.md",
2940
3046
  "agents/orc-executor-opus-4-8-high.md",
@@ -2942,7 +3048,6 @@ const CONTRACTS = [
2942
3048
  "agents/orc-executor-opus-5-low.md",
2943
3049
  "agents/orc-executor-opus-5-med.md",
2944
3050
  "agents/orc-executor-sonnet-4-6-high.md",
2945
- "agents/orc-executor-sonnet-4-6-med.md",
2946
3051
  "agents/orc-executor-sonnet-5-high.md",
2947
3052
  "agents/orc-executor-sonnet-5-low.md",
2948
3053
  "agents/orc-executor-sonnet-5-med.md",
@@ -2974,6 +3079,10 @@ const CONTRACTS = [
2974
3079
  "skills/_shared/phases/execution.md",
2975
3080
  "skills/orc-mini/SKILL.md",
2976
3081
  "skills/orc-quick/SKILL.md",
3082
+ "skills/_shared/phases/ship.md",
3083
+ "skills/orc-diy/references/flow-schema.md",
3084
+ "skills/orc-fast/SKILL.md",
3085
+ "skills/orc/SKILL.md",
2977
3086
  ],
2978
3087
  binFiles: ["bin/cli.js"],
2979
3088
  },
@@ -2991,7 +3100,7 @@ const CONTRACTS = [
2991
3100
  // the contract that describes it; the CLI has to answer it.
2992
3101
  name: "graph noter source (v1.8.2 — notes pending --with-source, so the noter reads nothing)",
2993
3102
  token: "--with-source",
2994
- files: ["agents/orc-graph-noter-sonnet-4-6-med.md", "skills/_shared/code-graph.md"],
3103
+ files: ["agents/orc-graph-noter-haiku-5-high.md", "skills/_shared/code-graph.md"],
2995
3104
  binFiles: ["bin/cli.js", "bin/graph-notes.js"],
2996
3105
  },
2997
3106
  {
@@ -3080,9 +3189,9 @@ const CONTRACTS = [
3080
3189
  {
3081
3190
  // The one line a run prints about what the graph cost and probably saved.
3082
3191
  // The verb lives in the trace table and in the phase that emits it.
3083
- name: "graph gain line (v1.8.2 — GRAPH-GAIN, one line at ship, copied verbatim)",
3192
+ name: "graph gain verb (v1.8.2 — GRAPH-GAIN; v2.2.0: old traces only, no lane emits it)",
3084
3193
  token: "GRAPH-GAIN",
3085
- files: ["skills/_shared/phases/ship.md", "skills/_shared/phases/trace-verbs.md"],
3194
+ files: [ "skills/_shared/phases/trace-verbs.md"],
3086
3195
  binFiles: ["bin/cli.js"],
3087
3196
  },
3088
3197
  {
@@ -3097,10 +3206,10 @@ const CONTRACTS = [
3097
3206
  // The only notes writer, dispatched BY NAME. An unnamed dispatch cannot
3098
3207
  // enforce the Sonnet 4.6 pin and is invisible to the trace hook.
3099
3208
  name: "graph noter (v1.8.0 — dispatched by name, no Opus 5.5 variant)",
3100
- token: "orc-graph-noter-sonnet-4-6-med",
3209
+ token: "orc-graph-noter-haiku-5-high",
3101
3210
  files: [
3102
3211
  "agents/MODEL-MAPPING.md",
3103
- "agents/orc-graph-noter-sonnet-4-6-med.md",
3212
+ "agents/orc-graph-noter-haiku-5-high.md",
3104
3213
  "skills/_shared/code-graph.md",
3105
3214
  "skills/_shared/opus5-only.md",
3106
3215
  "skills/_shared/phases/execution.md",
@@ -3113,7 +3222,7 @@ const CONTRACTS = [
3113
3222
  name: "read ladder (escalating read discipline for read-heavy roles)",
3114
3223
  token: "read-ladder.md",
3115
3224
  files: [
3116
- "agents/orc-executor-haiku-4-5.md",
3225
+ "agents/orc-executor-haiku-5-high.md",
3117
3226
  "agents/orc-executor-opus-4-7-high.md",
3118
3227
  "agents/orc-executor-opus-4-7-med.md",
3119
3228
  "agents/orc-executor-opus-4-8-high.md",
@@ -3121,12 +3230,11 @@ const CONTRACTS = [
3121
3230
  "agents/orc-executor-opus-5-low.md",
3122
3231
  "agents/orc-executor-opus-5-med.md",
3123
3232
  "agents/orc-executor-sonnet-4-6-high.md",
3124
- "agents/orc-executor-sonnet-4-6-med.md",
3125
3233
  "agents/orc-executor-sonnet-5-high.md",
3126
3234
  "agents/orc-executor-sonnet-5-low.md",
3127
3235
  "agents/orc-executor-sonnet-5-med.md",
3128
3236
  "agents/orc-recon-opus-5-low.md",
3129
- "agents/orc-recon-sonnet-4-6-med.md",
3237
+ "agents/orc-recon-sonnet-5-med.md",
3130
3238
  "skills/_shared/README.md",
3131
3239
  "skills/_shared/interview.md",
3132
3240
  "skills/_shared/phases/README.md",
@@ -3154,7 +3262,7 @@ const CONTRACTS = [
3154
3262
  files: [
3155
3263
  "agents/orc-doc-writer-opus-5-med.md",
3156
3264
  "agents/orc-recon-opus-5-low.md",
3157
- "agents/orc-recon-sonnet-4-6-med.md",
3265
+ "agents/orc-recon-sonnet-5-med.md",
3158
3266
  "skills/_shared/README.md",
3159
3267
  "skills/_shared/extra-dispatch.md",
3160
3268
  "skills/_shared/phases/wiki-consult.md",
@@ -3198,7 +3306,7 @@ const CONTRACTS = [
3198
3306
  files: [
3199
3307
  // v2.0.0 W5a — the ONE review slice (`_shared/review-slice.md`).
3200
3308
  "skills/_shared/phases/review.md",
3201
- "agents/orc-executor-haiku-4-5.md",
3309
+ "agents/orc-executor-haiku-5-high.md",
3202
3310
  "agents/orc-executor-opus-4-7-high.md",
3203
3311
  "agents/orc-executor-opus-4-7-med.md",
3204
3312
  "agents/orc-executor-opus-4-8-high.md",
@@ -3206,7 +3314,6 @@ const CONTRACTS = [
3206
3314
  "agents/orc-executor-opus-5-low.md",
3207
3315
  "agents/orc-executor-opus-5-med.md",
3208
3316
  "agents/orc-executor-sonnet-4-6-high.md",
3209
- "agents/orc-executor-sonnet-4-6-med.md",
3210
3317
  "agents/orc-executor-sonnet-5-high.md",
3211
3318
  "agents/orc-executor-sonnet-5-low.md",
3212
3319
  "agents/orc-executor-sonnet-5-med.md",
@@ -4089,6 +4196,8 @@ const CONTRACTS = [
4089
4196
  "skills/orc/config.md",
4090
4197
  "skills/orc/subskills/orc-pr/stack-gate.md",
4091
4198
  "skills/_shared/phases/preflight.md",
4199
+ "skills/_shared/code-graph.md",
4200
+ "skills/_shared/phases/planning.md",
4092
4201
  ],
4093
4202
  binFiles: ["bin/cli.js"],
4094
4203
  },
@@ -470,9 +470,9 @@ const required = [
470
470
  "templates/agents/orc-judge-opus-5-xhigh.md",
471
471
  "templates/agents/orc-claude-writer-opus-5-low.md",
472
472
  "templates/agents/orc-learn-writer-opus-5-low.md",
473
- "templates/agents/orc-trace-writer-haiku-4-5.md",
473
+ "templates/agents/orc-trace-writer-haiku-5-high.md",
474
474
  // v1.8.0 — the code graph's notes writer (Layer 2).
475
- "templates/agents/orc-graph-noter-sonnet-4-6-med.md",
475
+ "templates/agents/orc-graph-noter-haiku-5-high.md",
476
476
  // Core non-generated agents — named explicitly so a dropped file is REPORTED
477
477
  // by name, not merely absorbed by the count floor. (The 10 executor agents are
478
478
  // checked separately by `build-agents.js --check`. v2.0.0 T15: the 16 model
@@ -485,7 +485,7 @@ const required = [
485
485
  "templates/agents/orc-scout-sonnet-4-6-high.md",
486
486
  // v1.9.0 — the /orc-quick recon pair. Both halves must ship: the gate offers
487
487
  // them side by side, so a missing file makes half the menu a dead option.
488
- "templates/agents/orc-recon-sonnet-4-6-med.md",
488
+ "templates/agents/orc-recon-sonnet-5-med.md",
489
489
  "templates/agents/orc-recon-opus-5-low.md",
490
490
  "templates/agents/orc-test-author-opus-5-med.md",
491
491
  "templates/agents/orc-pattern-codifier-sonnet-5-high.md",