llm-orchestrator 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +237 -45
- package/SKILL.md +30 -2
- package/adapters/agents.mjs +8 -5
- package/adapters/codex/index.mjs +0 -2
- package/adapters/commands.mjs +21 -1
- package/adapters/hooks.mjs +18 -6
- package/agents/advisor.md +53 -0
- package/agents/code-reviewer.md +1 -0
- package/agents/frontend-fixer.md +2 -1
- package/agents/frontend-specialist.md +2 -1
- package/agents/orchestrator.md +1 -1
- package/bin/budget.mjs +94 -0
- package/bin/cli-options.mjs +31 -10
- package/bin/discover-models.mjs +428 -13
- package/bin/doctor.mjs +54 -26
- package/bin/gate.mjs +1 -1
- package/bin/install.mjs +15 -8
- package/bin/llm-orchestrator.mjs +14 -3
- package/bin/model-thinking-report.mjs +1 -0
- package/bin/route.mjs +57 -18
- package/bin/strategy.mjs +234 -0
- package/bin/uninstall.mjs +3 -1
- package/commands/task.md +21 -1
- package/hooks/hooks.json +11 -0
- package/lib/adapter-renderer.mjs +131 -10
- package/lib/budget.mjs +269 -0
- package/lib/capability-resolver.mjs +59 -5
- package/lib/dispatch-contract.mjs +87 -24
- package/lib/file-lock.mjs +121 -0
- package/lib/first-run.mjs +53 -10
- package/lib/flow-gate.mjs +377 -71
- package/lib/installation.mjs +313 -75
- package/lib/learning.mjs +233 -0
- package/lib/project-discovery.mjs +4 -0
- package/lib/project-root.mjs +52 -0
- package/lib/router.mjs +473 -65
- package/lib/strategy-store.mjs +481 -0
- package/models/example-model-inventory.json +21 -10
- package/models/model-thinking-data.json +134 -2
- package/models/model-thinking-matrix.md +32 -0
- package/models/top-models.json +794 -44
- package/package.json +1 -1
- package/policies/capabilities.md +64 -10
- package/policies/dispatch.md +6 -1
- package/policies/learning.md +336 -0
- package/policies/routing.md +240 -63
- package/protocol.md +21 -0
- package/registries/agent-roles.json +43 -4
- package/registries/capabilities.json +2 -1
- package/registries/core-profile.json +29 -0
- package/registries/learning.json +219 -0
- package/registries/preferred-tools.json +85 -2
- package/registries/routing-matrix.json +61 -37
- package/registries/task-mappings.json +52 -6
- package/schemas/capability-contract.schema.json +1 -0
- package/schemas/flow-ledger.schema.json +8 -2
- package/schemas/installation-manifest.schema.json +56 -5
- package/schemas/learning.schema.json +139 -0
- package/schemas/routing-matrix.schema.json +23 -3
- package/schemas/top-models.schema.json +32 -6
- package/workflows/bug-fix.md +12 -0
- package/workflows/config.md +8 -0
- package/workflows/deploy.md +8 -0
- package/workflows/feature.md +17 -1
- package/workflows/incident.md +8 -0
- package/workflows/investigation.md +12 -0
- package/workflows/refactor.md +12 -0
- package/workflows/research.md +8 -0
- package/workflows/review.md +12 -0
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"obligations": {
|
|
53
53
|
"mandatory": [
|
|
54
54
|
{ "capability": "workflow.brainstorm", "trigger": "Before entering plan mode.", "preferred_implementations": ["superpowers-workflows"], "allowed_alternatives": ["native-workflow-selection"] },
|
|
55
|
-
{ "capability": "workflow.tdd", "trigger": "The failing test is written before implementation.", "preferred_implementations": ["superpowers-workflows"], "allowed_alternatives": ["native-workflow-selection"] }
|
|
55
|
+
{ "capability": "workflow.tdd", "trigger": "The failing test is written before implementation.", "preferred_implementations": ["superpowers-workflows"], "allowed_alternatives": ["native-workflow-selection"] },
|
|
56
|
+
{ "capability": "ui.design_system", "trigger": "Domain FRONTEND, or any new or changed UI: /impeccable shape (init first when PRODUCT.md is missing) at Plan, an ordinary new-work request or the targeted command the plan names at Build, critique + audit at Review, polish before G5. design-system, ui-styling, frontend-design and ui-ux-pro-max complement it, never substitute.", "preferred_implementations": ["impeccable"], "allowed_alternatives": [] }
|
|
56
57
|
],
|
|
57
58
|
"optional": [
|
|
58
59
|
{ "capability": "docs.current", "trigger": "Any library/SDK API surface, even a familiar one.", "preferred_implementations": ["context7"], "allowed_alternatives": ["native-web"] },
|
|
59
|
-
{ "capability": "ui.design_system", "trigger": "Any new UI.", "preferred_implementations": ["design-system", "ui-styling"], "allowed_alternatives": [] },
|
|
60
60
|
{ "capability": "billing.provider_evidence", "trigger": "A money path is touched.", "preferred_implementations": ["stripe-best-practices"], "allowed_alternatives": [] },
|
|
61
61
|
{ "capability": "code.semantic_edit", "trigger": "A large cross-file edit is planned.", "preferred_implementations": ["serena"], "allowed_alternatives": [] }
|
|
62
62
|
],
|
|
@@ -77,7 +77,8 @@
|
|
|
77
77
|
"mandatory": [
|
|
78
78
|
{ "capability": "workflow.systematic_debugging", "trigger": "Reproduce before fixing (BUG_FIX).", "preferred_implementations": ["superpowers-workflows"], "allowed_alternatives": ["native-workflow-selection"] },
|
|
79
79
|
{ "capability": "incident.telemetry_first", "trigger": "INCIDENT: before any hypothesis.", "preferred_implementations": ["production-telemetry-collector"], "allowed_alternatives": [] },
|
|
80
|
-
{ "capability": "incident.protocol_order", "trigger": "INCIDENT: start -> evidence -> fix -> verify -> close, in order.", "preferred_implementations": ["incident-orchestration"], "allowed_alternatives": [] }
|
|
80
|
+
{ "capability": "incident.protocol_order", "trigger": "INCIDENT: start -> evidence -> fix -> verify -> close, in order.", "preferred_implementations": ["incident-orchestration"], "allowed_alternatives": [] },
|
|
81
|
+
{ "capability": "ui.design_system", "trigger": "The defect is in UI or visual design: /impeccable audit on the affected surface at Evidence, /impeccable harden at Fix, /impeccable audit again at Verify. Other design skills complement it, never substitute.", "preferred_implementations": ["impeccable"], "allowed_alternatives": [] }
|
|
81
82
|
],
|
|
82
83
|
"optional": [
|
|
83
84
|
{ "capability": "code.locate", "trigger": "Symptom crosses layers.", "preferred_implementations": ["route-data-flow-tracer"], "allowed_alternatives": [] },
|
|
@@ -100,7 +101,8 @@
|
|
|
100
101
|
],
|
|
101
102
|
"obligations": {
|
|
102
103
|
"mandatory": [
|
|
103
|
-
{ "capability": "refactor.coverage_first", "trigger": "Coverage must exist before the first edit.", "preferred_implementations": ["project-test-runner"], "allowed_alternatives": [] }
|
|
104
|
+
{ "capability": "refactor.coverage_first", "trigger": "Coverage must exist before the first edit.", "preferred_implementations": ["project-test-runner"], "allowed_alternatives": [] },
|
|
105
|
+
{ "capability": "ui.design_system", "trigger": "The refactor touches UI: /impeccable audit for the baseline at Analyze, /impeccable extract at Incremental, /impeccable audit + /impeccable polish at Review. Other design skills complement it, never substitute.", "preferred_implementations": ["impeccable"], "allowed_alternatives": [] }
|
|
104
106
|
],
|
|
105
107
|
"optional": [
|
|
106
108
|
{ "capability": "code.semantic_edit", "trigger": "Symbol-level moves across many files.", "preferred_implementations": ["serena"], "allowed_alternatives": [] }
|
|
@@ -118,7 +120,8 @@
|
|
|
118
120
|
],
|
|
119
121
|
"obligations": {
|
|
120
122
|
"mandatory": [
|
|
121
|
-
{ "capability": "review.adversarial", "trigger": "On the synthesis — never ship a single-source conclusion.", "preferred_implementations": ["adversarial-skeptic"], "allowed_alternatives": [] }
|
|
123
|
+
{ "capability": "review.adversarial", "trigger": "On the synthesis — never ship a single-source conclusion.", "preferred_implementations": ["adversarial-skeptic"], "allowed_alternatives": [] },
|
|
124
|
+
{ "capability": "ui.design_system", "trigger": "The question is about UI or visual design: /impeccable critique + /impeccable audit on the surface at Evidence, read-only. Other design skills complement it, never substitute.", "preferred_implementations": ["impeccable"], "allowed_alternatives": [] }
|
|
122
125
|
],
|
|
123
126
|
"optional": [
|
|
124
127
|
{ "capability": "code.semantic_edit", "trigger": "Symbol-aware exploration of a large codebase.", "preferred_implementations": ["serena"], "allowed_alternatives": [] },
|
|
@@ -192,7 +195,8 @@
|
|
|
192
195
|
],
|
|
193
196
|
"obligations": {
|
|
194
197
|
"mandatory": [
|
|
195
|
-
{ "capability": "review.independent", "trigger": "Every review. An independent-reviewer seat if a risk floor applies — cut the implementer, never the reviewer.", "preferred_implementations": ["independent-reviewer"], "allowed_alternatives": [] }
|
|
198
|
+
{ "capability": "review.independent", "trigger": "Every review. An independent-reviewer seat if a risk floor applies — cut the implementer, never the reviewer.", "preferred_implementations": ["independent-reviewer"], "allowed_alternatives": [] },
|
|
199
|
+
{ "capability": "ui.design_system", "trigger": "The diff or target is UI or visual design: /impeccable critique + /impeccable audit at Analyze; findings join the ranked list. Other design skills complement it, never substitute.", "preferred_implementations": ["impeccable"], "allowed_alternatives": [] }
|
|
196
200
|
],
|
|
197
201
|
"optional": [
|
|
198
202
|
{ "capability": "review.adversarial", "trigger": "Money, auth, or frozen-build-shaped diffs.", "preferred_implementations": ["adversarial-skeptic"], "allowed_alternatives": [] },
|
|
@@ -254,6 +258,48 @@
|
|
|
254
258
|
"requirements": [
|
|
255
259
|
{ "id": "delegation.bounded", "level": "required", "scope": "task", "reason": "Parallel work needs bounded ownership and verification.", "acceptance": ["delegation-contract"], "preferred_implementations": ["delegation-runtime"], "allowed_alternatives": [] }
|
|
256
260
|
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"id": "people-facing-text",
|
|
264
|
+
"when": {
|
|
265
|
+
"any_task_signals": [
|
|
266
|
+
"marketing-copy",
|
|
267
|
+
"product-text",
|
|
268
|
+
"landing-page",
|
|
269
|
+
"email-copy",
|
|
270
|
+
"store-listing",
|
|
271
|
+
"social-post",
|
|
272
|
+
"release-notes",
|
|
273
|
+
"docs-prose",
|
|
274
|
+
"text-review",
|
|
275
|
+
"text-localisation"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"requirements": [
|
|
279
|
+
{
|
|
280
|
+
"id": "content.copywriting",
|
|
281
|
+
"level": "optional",
|
|
282
|
+
"scope": "phase",
|
|
283
|
+
"reason": "Text meant for people is written and edited with a copywriting skill, not from the model's default voice.",
|
|
284
|
+
"applies_when": {
|
|
285
|
+
"any_phases": [
|
|
286
|
+
"planning",
|
|
287
|
+
"implementation",
|
|
288
|
+
"review"
|
|
289
|
+
]
|
|
290
|
+
},
|
|
291
|
+
"acceptance": [
|
|
292
|
+
"people-facing-text"
|
|
293
|
+
],
|
|
294
|
+
"preferred_implementations": [
|
|
295
|
+
"copywriting",
|
|
296
|
+
"copy-editing"
|
|
297
|
+
],
|
|
298
|
+
"allowed_alternatives": [
|
|
299
|
+
"humanizer"
|
|
300
|
+
]
|
|
301
|
+
}
|
|
302
|
+
]
|
|
257
303
|
}
|
|
258
304
|
]
|
|
259
305
|
}
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"required": ["type"],
|
|
26
26
|
"properties": {
|
|
27
27
|
"type": { "type": "string", "minLength": 1 },
|
|
28
|
+
"domain": { "type": "string", "description": "The pre-evaluation domain (FRONTEND, BACKEND, DB, INFRA, UNKNOWN or a project domain); matched case-insensitively by any_task_domains." },
|
|
28
29
|
"signals": { "type": "array", "items": { "type": "string" }, "uniqueItems": true },
|
|
29
30
|
"requires_shell": { "type": "boolean" },
|
|
30
31
|
"nontrivial": { "type": "boolean" },
|
|
@@ -29,7 +29,9 @@
|
|
|
29
29
|
"generic_dispatches": { "type": "integer", "minimum": 0, "description": "Subagents started as a generic agent type (general-purpose, Explore, …)." },
|
|
30
30
|
"dispatch_nudges": { "type": "integer", "minimum": 0, "maximum": 2, "description": "Dispatch reminders sent: one, or two for evidence flows whose first was ignored." },
|
|
31
31
|
"inline_after_nudge": { "type": "boolean", "description": "This run replaced one that had already received a dispatch reminder, and declared --inline: a retroactive justification." },
|
|
32
|
-
"live_calls": { "type": "integer", "minimum": 0, "description": "Main-thread calls that read a live source (ssh, remote databases, cluster/cloud CLIs, HTTP clients)." }
|
|
32
|
+
"live_calls": { "type": "integer", "minimum": 0, "description": "Main-thread calls that read a live source (ssh, remote databases, cluster/cloud CLIs, HTTP clients)." },
|
|
33
|
+
"stop_continues": { "type": "integer", "minimum": 0, "description": "Turn ends this run answered with a forced continuation: the last message announced more work while the run was open." },
|
|
34
|
+
"stop_continues_prompt": { "type": "integer", "minimum": 0, "maximum": 2, "description": "The same count for the current prompt; it bounds forced continuations and resets on the next prompt." }
|
|
33
35
|
}
|
|
34
36
|
},
|
|
35
37
|
"session": {
|
|
@@ -41,10 +43,13 @@
|
|
|
41
43
|
"session": { "type": "string", "minLength": 1 },
|
|
42
44
|
"run": { "anyOf": [{ "type": "null" }, { "$ref": "#/$defs/run" }] },
|
|
43
45
|
"prompt_started_at": { "type": ["number", "null"] },
|
|
46
|
+
"last_stop_at": { "type": "number", "description": "When the last main-thread turn end was handled; a second handler for the same Stop inside a short window is a duplicate." },
|
|
44
47
|
"nudged": { "type": "boolean" },
|
|
45
48
|
"worked_without_run": { "type": "boolean" },
|
|
46
49
|
"subagents_without_run": { "type": "integer", "minimum": 0 },
|
|
47
|
-
"entrypoint_loaded": { "type": "boolean" },
|
|
50
|
+
"entrypoint_loaded": { "type": "boolean", "description": "Per prompt: the entrypoint was loaded since the last prompt, so discovery reads before run start are not a deviation." },
|
|
51
|
+
"entrypoint_announced": { "type": "boolean", "description": "Per session: the load-the-skill notice was sent. Absent in session files written before the notice existed." },
|
|
52
|
+
"entrypoint_seen": { "type": "boolean", "description": "Per session: the entrypoint was loaded at least once, so the notice is never sent and the work nudge stops asking for the skill." },
|
|
48
53
|
"seen": { "type": "array", "items": { "type": "string" } }
|
|
49
54
|
}
|
|
50
55
|
},
|
|
@@ -72,6 +77,7 @@
|
|
|
72
77
|
"live_calls": { "type": "integer", "minimum": 0 },
|
|
73
78
|
"role_dispatches": { "type": "integer", "minimum": 0 },
|
|
74
79
|
"generic_dispatches": { "type": "integer", "minimum": 0 },
|
|
80
|
+
"stop_continues": { "type": "integer", "minimum": 0 },
|
|
75
81
|
"closed_by": { "enum": ["run_close", "next_prompt", "succession", "turn_end", "session_end"] }
|
|
76
82
|
}
|
|
77
83
|
}
|
|
@@ -24,6 +24,15 @@
|
|
|
24
24
|
"type": "string",
|
|
25
25
|
"pattern": "^[a-f0-9]{64}$"
|
|
26
26
|
},
|
|
27
|
+
"install_scope": {
|
|
28
|
+
"const": "global",
|
|
29
|
+
"description": "Present on a global install (install --global): every path in files, spans and json_entries is then relative to the user's home directory rather than a project root, and their scope \"project\" names that install root. Absent on a project install."
|
|
30
|
+
},
|
|
31
|
+
"skills_root": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"minLength": 1,
|
|
34
|
+
"description": "Global installs only: the absolute skills root the runtime was installed under. The global manifest is keyed on the home directory alone; a later install that only defaults its skills root reuses this one."
|
|
35
|
+
},
|
|
27
36
|
"harnesses": {
|
|
28
37
|
"type": "array",
|
|
29
38
|
"uniqueItems": true,
|
|
@@ -92,6 +101,15 @@
|
|
|
92
101
|
"agent-file",
|
|
93
102
|
"flow-plugin"
|
|
94
103
|
]
|
|
104
|
+
},
|
|
105
|
+
"harness": {
|
|
106
|
+
"enum": [
|
|
107
|
+
"codex",
|
|
108
|
+
"claude",
|
|
109
|
+
"opencode",
|
|
110
|
+
"kilo"
|
|
111
|
+
],
|
|
112
|
+
"description": "Global installs only: the harness this entry was written for, so uninstall --global --harness X finds it whatever the environment says about paths."
|
|
95
113
|
}
|
|
96
114
|
}
|
|
97
115
|
}
|
|
@@ -144,6 +162,15 @@
|
|
|
144
162
|
},
|
|
145
163
|
"created_file": {
|
|
146
164
|
"type": "boolean"
|
|
165
|
+
},
|
|
166
|
+
"harness": {
|
|
167
|
+
"enum": [
|
|
168
|
+
"codex",
|
|
169
|
+
"claude",
|
|
170
|
+
"opencode",
|
|
171
|
+
"kilo"
|
|
172
|
+
],
|
|
173
|
+
"description": "Global installs only: the harness this entry was written for, so uninstall --global --harness X finds it whatever the environment says about paths."
|
|
147
174
|
}
|
|
148
175
|
}
|
|
149
176
|
}
|
|
@@ -158,12 +185,36 @@
|
|
|
158
185
|
"items": {
|
|
159
186
|
"type": "object",
|
|
160
187
|
"additionalProperties": false,
|
|
161
|
-
"required": [
|
|
188
|
+
"required": [
|
|
189
|
+
"scope",
|
|
190
|
+
"path",
|
|
191
|
+
"hash",
|
|
192
|
+
"created_file"
|
|
193
|
+
],
|
|
162
194
|
"properties": {
|
|
163
|
-
"scope": {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
195
|
+
"scope": {
|
|
196
|
+
"const": "project"
|
|
197
|
+
},
|
|
198
|
+
"path": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"minLength": 1
|
|
201
|
+
},
|
|
202
|
+
"hash": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"pattern": "^[0-9a-f]{64}$"
|
|
205
|
+
},
|
|
206
|
+
"created_file": {
|
|
207
|
+
"type": "boolean"
|
|
208
|
+
},
|
|
209
|
+
"harness": {
|
|
210
|
+
"enum": [
|
|
211
|
+
"codex",
|
|
212
|
+
"claude",
|
|
213
|
+
"opencode",
|
|
214
|
+
"kilo"
|
|
215
|
+
],
|
|
216
|
+
"description": "Global installs only: the harness this entry was written for, so uninstall --global --harness X finds it whatever the environment says about paths."
|
|
217
|
+
}
|
|
167
218
|
}
|
|
168
219
|
}
|
|
169
220
|
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_attribution": "llm-orchestrator · created by Bogdan-Gabriel Torcescu · https://www.linkedin.com/in/bogdantorcescu/ · keep this credit when copying or deriving",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"$id": "https://raw.githubusercontent.com/tbogdan/llm-orchestrator/main/schemas/learning.schema.json",
|
|
5
|
+
"title": "Advisor, strategy distillation and frontier budget (registries/learning.json)",
|
|
6
|
+
"description": "Caps for frontier-tier dispatches, when the advisor is consulted, and the shape and lifecycle of distilled strategy cards.",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"required": ["_attribution", "schema_version", "source_of_truth", "budget", "advisor", "strategy"],
|
|
9
|
+
"properties": {
|
|
10
|
+
"_attribution": { "type": "string" },
|
|
11
|
+
"schema_version": { "type": "integer", "minimum": 1 },
|
|
12
|
+
"source_of_truth": { "type": "string" },
|
|
13
|
+
"note": { "type": "string" },
|
|
14
|
+
"budget": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"required": ["ledger_file", "window", "frontier_tier", "frontier_share_max", "frontier_min_denominator", "exploration_share_max", "exploration_min_denominator", "exploration_headroom_below", "exploration_min_gap", "kinds", "always_allowed_kinds", "risk_floor_source"],
|
|
17
|
+
"properties": {
|
|
18
|
+
"ledger_file": { "type": "string", "pattern": "^[a-z0-9._-]+$" },
|
|
19
|
+
"window": { "type": "integer", "minimum": 10 },
|
|
20
|
+
"frontier_tier": { "enum": ["F"] },
|
|
21
|
+
"frontier_share_max": { "type": "number", "minimum": 0, "maximum": 0.1 },
|
|
22
|
+
"frontier_min_denominator": { "type": "integer", "minimum": 1 },
|
|
23
|
+
"exploration_share_max": { "type": "number", "minimum": 0, "maximum": 0.03 },
|
|
24
|
+
"exploration_min_denominator": { "type": "integer", "minimum": 1 },
|
|
25
|
+
"exploration_headroom_below": { "type": "number", "minimum": 0, "maximum": 0.1 },
|
|
26
|
+
"exploration_min_gap": { "type": "integer", "minimum": 0 },
|
|
27
|
+
"kinds": { "type": "array", "minItems": 1, "items": { "enum": ["task", "advisor", "exploration", "review-floor"] } },
|
|
28
|
+
"always_allowed_kinds": { "type": "array", "items": { "enum": ["review-floor"] } },
|
|
29
|
+
"risk_floor_source": { "const": "registries/routing-matrix.json#risk_floors" }
|
|
30
|
+
},
|
|
31
|
+
"additionalProperties": false
|
|
32
|
+
},
|
|
33
|
+
"advisor": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"required": ["role", "pair", "max_consults_per_task", "packet_max_lines", "gates", "decision_phases", "exploration_phases", "extra_phases", "phase_aliases", "complexities", "signals", "exploration_complexities", "exploration_min_repeats", "tiers", "modes", "harness", "cli_timeout_seconds"],
|
|
36
|
+
"properties": {
|
|
37
|
+
"role": { "type": "string" },
|
|
38
|
+
"pair": { "type": "string", "pattern": "^F T[3-5]$" },
|
|
39
|
+
"max_consults_per_task": { "type": "integer", "minimum": 1, "maximum": 3 },
|
|
40
|
+
"packet_max_lines": { "type": "integer", "minimum": 10 },
|
|
41
|
+
"gates": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^G[0-6]$" } },
|
|
42
|
+
"decision_phases": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^[a-z0-9]+(_[a-z0-9]+)*$" } },
|
|
43
|
+
"exploration_phases": { "type": "array", "minItems": 1, "items": { "type": "string", "pattern": "^[a-z0-9]+(_[a-z0-9]+)*$" } },
|
|
44
|
+
"extra_phases": { "type": "array", "items": { "type": "string", "pattern": "^[a-z0-9]+(_[a-z0-9]+)*$" } },
|
|
45
|
+
"phase_aliases": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"patternProperties": { "^[a-z0-9]+(_[a-z0-9]+)*$": { "type": "string", "pattern": "^[a-z0-9]+(_[a-z0-9]+)*$" } },
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
},
|
|
50
|
+
"complexities": { "type": "array", "minItems": 1, "items": { "enum": ["SIMPLE", "MODERATE", "COMPLEX", "CRITICAL"] } },
|
|
51
|
+
"signals": { "type": "array", "items": { "enum": ["novel", "verifier_failed", "escalated"] } },
|
|
52
|
+
"exploration_complexities": { "type": "array", "items": { "enum": ["SIMPLE", "MODERATE", "COMPLEX", "CRITICAL"] } },
|
|
53
|
+
"exploration_min_repeats": { "type": "integer", "minimum": 0 },
|
|
54
|
+
"tiers": { "type": "array", "minItems": 1, "items": { "enum": ["F", "X"] } },
|
|
55
|
+
"modes": {
|
|
56
|
+
"type": "array",
|
|
57
|
+
"minItems": 1,
|
|
58
|
+
"items": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"required": ["id", "when", "how"],
|
|
61
|
+
"properties": {
|
|
62
|
+
"id": { "enum": ["native", "subagent", "cli", "same-model"] },
|
|
63
|
+
"when": { "type": "string" },
|
|
64
|
+
"how": { "type": "string" }
|
|
65
|
+
},
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"harness": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"required": ["claude", "codex", "opencode", "kilo"],
|
|
72
|
+
"additionalProperties": {
|
|
73
|
+
"type": "object",
|
|
74
|
+
"required": ["native", "subagent", "cli"],
|
|
75
|
+
"properties": {
|
|
76
|
+
"native": { "type": ["string", "null"] },
|
|
77
|
+
"subagent": { "type": ["string", "null"] },
|
|
78
|
+
"cli": {
|
|
79
|
+
"type": ["object", "null"],
|
|
80
|
+
"required": ["argv", "prompt", "verified"],
|
|
81
|
+
"properties": {
|
|
82
|
+
"argv": { "type": "array", "minItems": 2, "items": { "type": "string" } },
|
|
83
|
+
"prompt": { "enum": ["stdin", "argument"] },
|
|
84
|
+
"verified": { "type": "boolean" }
|
|
85
|
+
},
|
|
86
|
+
"additionalProperties": false
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"additionalProperties": false
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"cli_timeout_seconds": { "type": "integer", "minimum": 30 }
|
|
93
|
+
},
|
|
94
|
+
"additionalProperties": false
|
|
95
|
+
},
|
|
96
|
+
"strategy": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"required": ["max_lines", "max_chars", "max_code_lines", "required_sections", "optional_sections", "section_aliases", "kinds", "statuses", "match_min_tag_overlap", "min_tags", "max_tags", "wildcard_area_min_shared_tags", "tag_synonyms", "promote", "retire", "stale_days", "do_not_capture"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"max_lines": { "type": "integer", "minimum": 10 },
|
|
101
|
+
"max_chars": { "type": "integer", "minimum": 500 },
|
|
102
|
+
"max_code_lines": { "type": "integer", "minimum": 0 },
|
|
103
|
+
"required_sections": { "type": "array", "minItems": 1, "items": { "type": "string" } },
|
|
104
|
+
"optional_sections": { "type": "array", "items": { "type": "string" } },
|
|
105
|
+
"section_aliases": { "type": "object", "additionalProperties": { "type": "string" } },
|
|
106
|
+
"kinds": { "type": "array", "minItems": 1, "items": { "type": "string" } },
|
|
107
|
+
"statuses": { "type": "array", "minItems": 3, "items": { "enum": ["provisional", "promoted", "retired"] } },
|
|
108
|
+
"match_min_tag_overlap": { "type": "number", "minimum": 0.01, "maximum": 1 },
|
|
109
|
+
"min_tags": { "type": "integer", "minimum": 2 },
|
|
110
|
+
"max_tags": { "type": "integer", "minimum": 2 },
|
|
111
|
+
"wildcard_area_min_shared_tags": { "type": "integer", "minimum": 2 },
|
|
112
|
+
"tag_synonyms": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"patternProperties": { "^[a-z0-9]+(-[a-z0-9]+)*$": { "type": "array", "items": { "type": "string", "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$" } } },
|
|
115
|
+
"additionalProperties": false
|
|
116
|
+
},
|
|
117
|
+
"promote": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"required": ["helpful_min", "harmful_max"],
|
|
120
|
+
"properties": {
|
|
121
|
+
"helpful_min": { "type": "integer", "minimum": 1 },
|
|
122
|
+
"harmful_max": { "const": 0 }
|
|
123
|
+
},
|
|
124
|
+
"additionalProperties": false
|
|
125
|
+
},
|
|
126
|
+
"retire": {
|
|
127
|
+
"type": "object",
|
|
128
|
+
"required": ["harmful_min"],
|
|
129
|
+
"properties": { "harmful_min": { "type": "integer", "minimum": 1 } },
|
|
130
|
+
"additionalProperties": false
|
|
131
|
+
},
|
|
132
|
+
"stale_days": { "type": "integer", "minimum": 1 },
|
|
133
|
+
"do_not_capture": { "type": "array", "minItems": 1, "items": { "type": "string" } }
|
|
134
|
+
},
|
|
135
|
+
"additionalProperties": false
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
"additionalProperties": false
|
|
139
|
+
}
|
|
@@ -46,10 +46,13 @@
|
|
|
46
46
|
"incumbents": {
|
|
47
47
|
"type": "object",
|
|
48
48
|
"required": ["claude", "codex"],
|
|
49
|
+
"description": "Seat-holder per hard-coded ladder. Another provider ladder may add its own key; a harness without one takes its seats from the inventory ladder.",
|
|
49
50
|
"properties": {
|
|
50
51
|
"claude": { "type": "string" },
|
|
51
52
|
"codex": { "type": "string" }
|
|
52
|
-
}
|
|
53
|
+
},
|
|
54
|
+
"patternProperties": { "^[a-z][a-z0-9-]*$": { "type": "string" } },
|
|
55
|
+
"additionalProperties": false
|
|
53
56
|
},
|
|
54
57
|
"capped_exception": { "type": "object" },
|
|
55
58
|
"fallbacks": {
|
|
@@ -59,6 +62,7 @@
|
|
|
59
62
|
"claude": { "type": "array", "items": { "type": "string" } },
|
|
60
63
|
"codex": { "type": "array", "items": { "type": "string" } }
|
|
61
64
|
},
|
|
65
|
+
"patternProperties": { "^[a-z][a-z0-9-]*$": { "type": "array", "items": { "type": "string" } } },
|
|
62
66
|
"additionalProperties": false
|
|
63
67
|
}
|
|
64
68
|
},
|
|
@@ -86,6 +90,17 @@
|
|
|
86
90
|
},
|
|
87
91
|
"thinking_level_order": { "type": "array", "items": { "type": "string" }, "minItems": 6 },
|
|
88
92
|
"haiku_budget_rule": { "type": "string" },
|
|
93
|
+
"inventory_ladder": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"description": "How a seat is derived when the harness or provider has no hard-coded ladder.",
|
|
96
|
+
"required": ["applies_when", "order", "never"],
|
|
97
|
+
"properties": {
|
|
98
|
+
"applies_when": { "type": "string" },
|
|
99
|
+
"order": { "type": "array", "minItems": 1, "items": { "type": "string" } },
|
|
100
|
+
"never": { "type": "array", "minItems": 1, "items": { "type": "string" } }
|
|
101
|
+
},
|
|
102
|
+
"additionalProperties": false
|
|
103
|
+
},
|
|
89
104
|
"resolution": {
|
|
90
105
|
"type": "object",
|
|
91
106
|
"patternProperties": {
|
|
@@ -93,11 +108,15 @@
|
|
|
93
108
|
"type": "object",
|
|
94
109
|
"required": ["claude", "codex"],
|
|
95
110
|
"properties": {
|
|
96
|
-
"claude": { "type": ["object", "null"] },
|
|
111
|
+
"claude": { "type": ["object", "null"], "description": "The seat for this pair on one ladder; null means the ladder has no seat here and the router escalates. `critical_seat` is the model a review, independent-review or independent-review-bound dispatch gets where it differs (an unmeasured successor is never promoted into one); `alternative` is the model listed behind the seat-holder, with the reason it is not seated.", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] }, "alternate_effort": { "type": "string" }, "note": { "type": "string" }, "independent_second_reviewer": { "type": "object", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] } }, "additionalProperties": false }, "critical_seat": { "type": "object", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] } }, "additionalProperties": false }, "alternative": { "type": "object", "required": ["model", "effort", "reason"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] }, "reason": { "type": "string", "minLength": 1 } }, "additionalProperties": false } }, "additionalProperties": false },
|
|
97
112
|
"claude_note": { "type": "string" },
|
|
98
|
-
"codex": { "type": ["object", "null"] },
|
|
113
|
+
"codex": { "type": ["object", "null"], "description": "The seat for this pair on one ladder; null means the ladder has no seat here and the router escalates. `critical_seat` is the model a review, independent-review or independent-review-bound dispatch gets where it differs (an unmeasured successor is never promoted into one); `alternative` is the model listed behind the seat-holder, with the reason it is not seated.", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] }, "alternate_effort": { "type": "string" }, "note": { "type": "string" }, "independent_second_reviewer": { "type": "object", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] } }, "additionalProperties": false }, "critical_seat": { "type": "object", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] } }, "additionalProperties": false }, "alternative": { "type": "object", "required": ["model", "effort", "reason"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] }, "reason": { "type": "string", "minLength": 1 } }, "additionalProperties": false } }, "additionalProperties": false },
|
|
99
114
|
"codex_note": { "type": "string" }
|
|
100
115
|
},
|
|
116
|
+
"patternProperties": {
|
|
117
|
+
"^[a-z][a-z0-9-]*_note$": { "type": "string" },
|
|
118
|
+
"^[a-z][a-z0-9-]*$": { "type": ["object", "null"], "description": "The seat for this pair on one ladder; null means the ladder has no seat here and the router escalates. `critical_seat` is the model a review, independent-review or independent-review-bound dispatch gets where it differs (an unmeasured successor is never promoted into one); `alternative` is the model listed behind the seat-holder, with the reason it is not seated.", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] }, "alternate_effort": { "type": "string" }, "note": { "type": "string" }, "independent_second_reviewer": { "type": "object", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] } }, "additionalProperties": false }, "critical_seat": { "type": "object", "required": ["model", "effort"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] } }, "additionalProperties": false }, "alternative": { "type": "object", "required": ["model", "effort", "reason"], "properties": { "model": { "type": "string", "minLength": 1 }, "effort": { "type": ["string", "null"] }, "reason": { "type": "string", "minLength": 1 } }, "additionalProperties": false } }, "additionalProperties": false }
|
|
119
|
+
},
|
|
101
120
|
"additionalProperties": false
|
|
102
121
|
}
|
|
103
122
|
}
|
|
@@ -169,6 +188,7 @@
|
|
|
169
188
|
"claude": { "type": "array", "minItems": 2, "items": { "type": "object", "required": ["model", "effort"] } },
|
|
170
189
|
"codex": { "type": "array", "minItems": 2, "items": { "type": "object", "required": ["model", "effort"] } }
|
|
171
190
|
},
|
|
191
|
+
"patternProperties": { "^[a-z][a-z0-9-]*$": { "type": "array", "minItems": 2, "items": { "type": "object", "required": ["model", "effort"] } } },
|
|
172
192
|
"additionalProperties": false
|
|
173
193
|
},
|
|
174
194
|
"escalation_rules": { "type": "array", "items": { "type": "string" } },
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
4
|
"$id": "https://raw.githubusercontent.com/tbogdan/llm-orchestrator/main/schemas/top-models.schema.json",
|
|
5
5
|
"title": "Curated model shortlist for agentic coding",
|
|
6
|
-
"description": "
|
|
6
|
+
"description": "The routable model registry — ladder incumbents and their fallbacks, measured candidates, and available-but-unrated models — plus the unpromoted alternatives behind them. The set is open: any provider may appear. Every unsourced field is null by construction: nothing here is interpolated, estimated or inferred from a display name.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"required": ["_attribution", "schema_version", "observed_at", "measurement_source", "tier_bands", "models", "candidates"],
|
|
9
9
|
"properties": {
|
|
@@ -19,10 +19,14 @@
|
|
|
19
19
|
"benchmark": { "type": "string" },
|
|
20
20
|
"version": { "type": "string" },
|
|
21
21
|
"leaderboard_url": { "type": "string" },
|
|
22
|
+
"current_version": { "type": "string", "description": "The benchmark version the source publishes today, when it is ahead of `version`. `measured` values stay on `version`." },
|
|
23
|
+
"staleness_note": { "type": "string" },
|
|
22
24
|
"note": { "type": "string" }
|
|
23
25
|
},
|
|
24
26
|
"additionalProperties": false
|
|
25
27
|
},
|
|
28
|
+
"price_note": { "type": "string" },
|
|
29
|
+
"alias_note": { "type": "string" },
|
|
26
30
|
"harness_id_note": { "type": "string" },
|
|
27
31
|
"tier_note": { "type": "string" },
|
|
28
32
|
"admission_note": { "type": "string" },
|
|
@@ -73,12 +77,29 @@
|
|
|
73
77
|
"caps",
|
|
74
78
|
"notes",
|
|
75
79
|
"sources",
|
|
76
|
-
"observed_at"
|
|
80
|
+
"observed_at",
|
|
81
|
+
"price_as_of",
|
|
82
|
+
"price_source"
|
|
77
83
|
],
|
|
78
84
|
"properties": {
|
|
79
85
|
"key": { "type": "string" },
|
|
80
86
|
"display_name": { "type": "string" },
|
|
81
|
-
"provider": { "type": "string" },
|
|
87
|
+
"provider": { "type": "string", "pattern": "^[a-z0-9][a-z0-9.-]*$", "description": "Lower-case creator of the model. Open set: every value here is an accepted `--provider`." },
|
|
88
|
+
"aliases": {
|
|
89
|
+
"type": "array",
|
|
90
|
+
"items": { "type": "string", "minLength": 1 },
|
|
91
|
+
"description": "Ids a harness or gateway uses for this model that the normalisation rules in lib/router.mjs cannot derive from `key`, `api_ids` or `canonical_api_id`. Matched exactly after normalisation; an alias two models share matches neither."
|
|
92
|
+
},
|
|
93
|
+
"lifecycle": {
|
|
94
|
+
"type": "object",
|
|
95
|
+
"required": ["status"],
|
|
96
|
+
"properties": {
|
|
97
|
+
"status": { "enum": ["active", "deprecated"] },
|
|
98
|
+
"successor": { "type": ["string", "null"], "description": "Display name of the provider's successor. It need not be a registry key: an unverified successor is named, not added." },
|
|
99
|
+
"note": { "type": "string" }
|
|
100
|
+
},
|
|
101
|
+
"additionalProperties": false
|
|
102
|
+
},
|
|
82
103
|
"ladder": { "type": ["string", "null"], "enum": ["codex", "claude", "open", "third-party", null] },
|
|
83
104
|
"admission": { "enum": ["incumbent", "candidate"] },
|
|
84
105
|
"tier": { "type": ["string", "null"] },
|
|
@@ -86,12 +107,14 @@
|
|
|
86
107
|
"api_ids": {
|
|
87
108
|
"type": "object",
|
|
88
109
|
"required": ["codex", "claude", "opencode", "kilo"],
|
|
110
|
+
"description": "Dispatchable id per harness, null where it must be resolved from the runtime. The four known harnesses are required; another harness or gateway may add its own key.",
|
|
89
111
|
"properties": {
|
|
90
112
|
"codex": { "type": ["string", "null"] },
|
|
91
113
|
"claude": { "type": ["string", "null"] },
|
|
92
114
|
"opencode": { "type": ["string", "null"] },
|
|
93
115
|
"kilo": { "type": ["string", "null"] }
|
|
94
116
|
},
|
|
117
|
+
"patternProperties": { "^[a-z][a-z0-9-]*$": { "type": ["string", "null"] } },
|
|
95
118
|
"additionalProperties": false
|
|
96
119
|
},
|
|
97
120
|
"canonical_api_id": { "type": ["string", "null"] },
|
|
@@ -108,7 +131,7 @@
|
|
|
108
131
|
"note": { "type": "string" },
|
|
109
132
|
"tier_effort": {
|
|
110
133
|
"type": "object",
|
|
111
|
-
"description": "
|
|
134
|
+
"description": "Tier → thinking level → the effort this model runs on that seat, where it differs from the generic thinking-level mapping: a lower effort on a seat below the model's home tier, so it is score-matched instead of over-provisioned (GPT-6 Sol on S), or the deeper effort its resolution row names (Luna `xhigh` at W T3, Astra `xhigh` at F T4).",
|
|
112
135
|
"additionalProperties": { "type": "object", "additionalProperties": { "type": "string" } }
|
|
113
136
|
},
|
|
114
137
|
"unmeasured_levels": {
|
|
@@ -127,6 +150,7 @@
|
|
|
127
150
|
"output_usd_per_mtok": { "type": ["number", "null"], "minimum": 0 },
|
|
128
151
|
"cache_read_usd_per_mtok": { "type": ["number", "null"], "minimum": 0 },
|
|
129
152
|
"cache_write_multiplier": { "type": ["number", "null"], "minimum": 0 },
|
|
153
|
+
"cache_write_multiplier_1h": { "type": ["number", "null"], "minimum": 0, "description": "Cache-write multiplier for the 1-hour cache, where the provider prices it separately from the default (5-minute) one." },
|
|
130
154
|
"fast_mode_note": { "type": "string" }
|
|
131
155
|
},
|
|
132
156
|
"additionalProperties": false
|
|
@@ -161,7 +185,7 @@
|
|
|
161
185
|
"measurement_note": { "type": "string" },
|
|
162
186
|
"supersedes": {
|
|
163
187
|
"type": ["string", "null"],
|
|
164
|
-
"description": "Key of the same-ladder, same-tier model this one succeeds. The router ranks the successor directly ahead of it only while
|
|
188
|
+
"description": "Key of the same-ladder, same-tier model this one succeeds — one successor per seat-holder. The router ranks the successor directly ahead of it only while its input and output list prices are published and at or below the predecessor's, at the base rate and at the highest long-context band either publishes; a cache-read price blocks succession only when both publish one and the successor's is higher. The predecessor stays routable as the fallback."
|
|
165
189
|
},
|
|
166
190
|
"indices": {
|
|
167
191
|
"type": "object",
|
|
@@ -212,7 +236,9 @@
|
|
|
212
236
|
},
|
|
213
237
|
"notes": { "type": "array", "items": { "type": "string" } },
|
|
214
238
|
"sources": { "type": "array", "minItems": 1, "items": { "type": "string" } },
|
|
215
|
-
"observed_at": { "type": "string" }
|
|
239
|
+
"observed_at": { "type": "string" },
|
|
240
|
+
"price_as_of": { "type": "string", "pattern": "^\\d{4}-\\d{2}-\\d{2}$", "description": "Date the list price was read from `price_source`." },
|
|
241
|
+
"price_source": { "type": "string", "pattern": "^https://", "description": "Page the list price was read from." }
|
|
216
242
|
},
|
|
217
243
|
"additionalProperties": false
|
|
218
244
|
}
|
package/workflows/bug-fix.md
CHANGED
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
reproduction, does not pass G1.
|
|
12
12
|
- Exactly one falsifiable hypothesis at G2, recorded in `hypothesis:{task_id}`.
|
|
13
13
|
- A regression test that is **observed RED** before the fix, then GREEN after.
|
|
14
|
+
- **`impeccable` when the defect is in UI or visual design** (`ui.design_system`): **Evidence** —
|
|
15
|
+
`/impeccable audit` on the affected surface; **Fix** — `/impeccable harden` for error, overflow,
|
|
16
|
+
i18n and edge-case defects; **Verify** — `/impeccable audit` again on the same surface. Another
|
|
17
|
+
design skill never stands in for it silently.
|
|
14
18
|
|
|
15
19
|
## Optional (trigger)
|
|
16
20
|
|
|
@@ -57,3 +61,11 @@ do not escalate the tier to compensate. A test that fails in the area you touche
|
|
|
57
61
|
it in the same session. Resolve required and optional capabilities per phase via
|
|
58
62
|
[capabilities](../policies/capabilities.md); a missing mandatory item is declared first, recommended
|
|
59
63
|
once, and only after explicit refusal carried as a `degraded:` line.
|
|
64
|
+
|
|
65
|
+
## Advisor and strategy cards
|
|
66
|
+
|
|
67
|
+
Before a decision shard of this flow (plan, design, hypothesis, synthesis) and before any
|
|
68
|
+
frontier-tier dispatch, run `strategy decide` and follow its answer: inject the stored strategy card,
|
|
69
|
+
consult the `advisor` once, spend an exploratory upgrade, or dispatch as routed. Pass every
|
|
70
|
+
dispatch through `budget spend` first; after G4 and G5, record the card's outcome and keep the advisor's card.
|
|
71
|
+
See [learning](../policies/learning.md).
|
package/workflows/config.md
CHANGED
|
@@ -55,3 +55,11 @@ Do not import another harness's permission syntax and do not change global crede
|
|
|
55
55
|
native schemas rather than assuming a shape. Resolve required and optional capabilities per phase via
|
|
56
56
|
[capabilities](../policies/capabilities.md); a missing mandatory item is declared first, recommended
|
|
57
57
|
once, and only after explicit refusal carried as a `degraded:` line.
|
|
58
|
+
|
|
59
|
+
## Advisor and strategy cards
|
|
60
|
+
|
|
61
|
+
Before a decision shard of this flow (plan, design, hypothesis, synthesis) and before any
|
|
62
|
+
frontier-tier dispatch, run `strategy decide` and follow its answer: inject the stored strategy card,
|
|
63
|
+
consult the `advisor` once, spend an exploratory upgrade, or dispatch as routed. Pass every
|
|
64
|
+
dispatch through `budget spend` first; after G4 and G5, record the card's outcome and keep the advisor's card.
|
|
65
|
+
See [learning](../policies/learning.md).
|
package/workflows/deploy.md
CHANGED
|
@@ -55,3 +55,11 @@ A failed compatibility or migration check blocks the release; it is not a warnin
|
|
|
55
55
|
rollback path does not exist, say so before deploying, not after. Resolve required and optional
|
|
56
56
|
capabilities per phase via [capabilities](../policies/capabilities.md); a missing mandatory item is
|
|
57
57
|
declared first, recommended once, and only after explicit refusal carried as a `degraded:` line.
|
|
58
|
+
|
|
59
|
+
## Advisor and strategy cards
|
|
60
|
+
|
|
61
|
+
Before a decision shard of this flow (plan, design, hypothesis, synthesis) and before any
|
|
62
|
+
frontier-tier dispatch, run `strategy decide` and follow its answer: inject the stored strategy card,
|
|
63
|
+
consult the `advisor` once, spend an exploratory upgrade, or dispatch as routed. Pass every
|
|
64
|
+
dispatch through `budget spend` first; after G4 and G5, record the card's outcome and keep the advisor's card.
|
|
65
|
+
See [learning](../policies/learning.md).
|