@mmerterden/multi-agent-pipeline 21.1.2 → 22.0.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 (40) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +9 -7
  3. package/README.tr.md +9 -7
  4. package/SECURITY.md +3 -3
  5. package/docs/architecture.md +3 -3
  6. package/docs/ecosystem.md +5 -5
  7. package/docs/facts.json +3 -3
  8. package/install/_common.mjs +3 -0
  9. package/manifest.json +41 -37
  10. package/package.json +1 -1
  11. package/pipeline/commands/multi-agent/fable-off/SKILL.md +55 -0
  12. package/pipeline/commands/multi-agent/fable-on/SKILL.md +41 -0
  13. package/pipeline/commands/multi-agent/fable-status/SKILL.md +57 -0
  14. package/pipeline/commands/multi-agent/route-on/SKILL.md +3 -3
  15. package/pipeline/commands/multi-agent/route-status/SKILL.md +1 -1
  16. package/pipeline/commands/multi-agent/sync/SKILL.md +4 -4
  17. package/pipeline/contract/manifest.json +1 -1
  18. package/pipeline/lib/model-dispatch.sh +1 -1
  19. package/pipeline/lib/model-rung.sh +59 -15
  20. package/pipeline/multi-agent-refs/cross-cli-contract.md +22 -13
  21. package/pipeline/multi-agent-refs/features/doctor.md +9 -6
  22. package/pipeline/multi-agent-refs/features/model-fallback.md +13 -4
  23. package/pipeline/multi-agent-refs/features/office-threat-model.md +1 -1
  24. package/pipeline/multi-agent-refs/help/en.md +4 -2
  25. package/pipeline/multi-agent-refs/help/tr.md +4 -2
  26. package/pipeline/office/index.html +2 -2
  27. package/pipeline/scripts/_cost-advise.mjs +1 -1
  28. package/pipeline/scripts/doctor.mjs +22 -6
  29. package/pipeline/skills/.skill-manifest.json +17 -9
  30. package/pipeline/skills/.skills-index.json +34 -12
  31. package/pipeline/skills/shared/README.md +6 -4
  32. package/pipeline/skills/shared/core/multi-agent-fable-off/SKILL.md +55 -0
  33. package/pipeline/skills/shared/core/multi-agent-fable-on/SKILL.md +41 -0
  34. package/pipeline/skills/shared/core/multi-agent-fable-status/SKILL.md +57 -0
  35. package/pipeline/skills/shared/core/multi-agent-route-on/SKILL.md +3 -3
  36. package/pipeline/skills/shared/core/multi-agent-route-status/SKILL.md +1 -1
  37. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +4 -4
  38. package/pipeline/skills/skills-index.md +4 -2
  39. package/pipeline/commands/multi-agent/model/SKILL.md +0 -80
  40. package/pipeline/skills/shared/core/multi-agent-model/SKILL.md +0 -72
@@ -269,7 +269,7 @@ function subagentTier(rows, rateOf, rungOf, table, personas, t) {
269
269
  const pinned = personas.filter((p) => p.model === s.rung).map((p) => p.name);
270
270
  const action =
271
271
  s.rung === "fable"
272
- ? `turn the fable rung off (/multi-agent:model off): agent-model-sync rewrites the installed personas pinned to fable (${pinned.join(", ") || "none found"}) to opus`
272
+ ? `turn the fable rung off (/multi-agent:fable-off): agent-model-sync rewrites the installed personas pinned to fable (${pinned.join(", ") || "none found"}) to opus`
273
273
  : `set model: ${s.to} in the frontmatter of the personas pinned to ${s.rung} (${pinned.join(", ") || "none found"}) where their output allows it; review quality is not measured here, so compare a few runs first`;
274
274
  out.push({
275
275
  id: `subagent-tier-${s.rung}`,
@@ -1419,9 +1419,20 @@ function checkAccessState() {
1419
1419
 
1420
1420
  // A saved routine is a local-only command the installer carries across
1421
1421
  // updates as written, so a body that names a removed command keeps typing it.
1422
- // The pattern is assembled from parts so this file does not itself name the
1423
- // command smoke-removed-modes-absent.sh holds absent.
1424
- const REMOVED_COMMAND_RE = new RegExp("/multi-agent[:-]" + "autopilot(?![-\\w])");
1422
+ // Each pattern is assembled from parts so this file does not itself name the
1423
+ // commands smoke-removed-modes-absent.sh holds absent.
1424
+ const REMOVED_COMMANDS = [
1425
+ {
1426
+ name: "autopilot",
1427
+ re: new RegExp("/multi-agent[:-]" + "autopilot(?![-\\w])"),
1428
+ replacement: '/multi-agent "<task>" autopilot',
1429
+ },
1430
+ {
1431
+ name: "model",
1432
+ re: new RegExp("/multi-agent[:-]" + "model(?![-\\w])"),
1433
+ replacement: "/multi-agent:fable-on, /multi-agent:fable-off or /multi-agent:fable-status",
1434
+ },
1435
+ ];
1425
1436
 
1426
1437
  function checkRoutineCommands() {
1427
1438
  const root = join(CLAUDE, "commands", "multi-agent");
@@ -1440,16 +1451,21 @@ function checkRoutineCommands() {
1440
1451
  skip("routine-commands", "no saved routine on this machine");
1441
1452
  return;
1442
1453
  }
1443
- const stale = routines.filter((r) => REMOVED_COMMAND_RE.test(r.text)).map((r) => r.name);
1454
+ const stale = routines
1455
+ .map((r) => ({ name: r.name, gone: REMOVED_COMMANDS.filter((c) => c.re.test(r.text)) }))
1456
+ .filter((r) => r.gone.length);
1444
1457
  if (!stale.length) {
1445
1458
  ok("routine-commands");
1446
1459
  return;
1447
1460
  }
1461
+ const found = REMOVED_COMMANDS.filter((c) => stale.some((r) => r.gone.includes(c)));
1462
+ const listed = stale.map((r) => `${r.name} (${r.gone.map((c) => c.name).join(", ")})`);
1448
1463
  report(
1449
1464
  "routine-commands",
1450
1465
  "WARN",
1451
- `${stale.length} saved routine(s) name the removed autopilot command: ${stale.join(", ")}`,
1452
- `set /multi-agent "<task>" autopilot in place of it in ${join(root, "<name>", "SKILL.md")} for each`,
1466
+ `${stale.length} saved routine(s) name a removed command: ${listed.join(", ")}`,
1467
+ found.map((c) => `set ${c.replacement} in place of the ${c.name} command`).join("; ") +
1468
+ ` in ${join(root, "<name>", "SKILL.md")} for each`,
1453
1469
  );
1454
1470
  }
1455
1471
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-11-08T16:08:46Z",
4
- "skillCount": 248,
3
+ "generatedAt": "2026-11-08T19:25:14Z",
4
+ "skillCount": 250,
5
5
  "entries": [
6
6
  {
7
7
  "path": "shared/core/apple-archive-compliance/SKILL.md",
@@ -79,6 +79,18 @@
79
79
  "path": "shared/core/multi-agent-estimate/SKILL.md",
80
80
  "sha256": "8b164a5e17ba3c0b086c63b0ac7de006051c2ff1972254859df951226da745a9"
81
81
  },
82
+ {
83
+ "path": "shared/core/multi-agent-fable-off/SKILL.md",
84
+ "sha256": "8d5e40ac7bb6d7feef09202177124f77384e9fef237683650885bf039698b260"
85
+ },
86
+ {
87
+ "path": "shared/core/multi-agent-fable-on/SKILL.md",
88
+ "sha256": "70d82e051978decbfc80dcf5c3bc15c76f88ae29b712dd0bac17bc2b6b72da34"
89
+ },
90
+ {
91
+ "path": "shared/core/multi-agent-fable-status/SKILL.md",
92
+ "sha256": "d0405375425871e940e02d576875b155791b2ee162ae9afcd743f2935cb0d6cb"
93
+ },
82
94
  {
83
95
  "path": "shared/core/multi-agent-feedback/SKILL.md",
84
96
  "sha256": "17bcd002648d86dad3ea3113555408997b2909eefb5f62bc62f6ff241810a83a"
@@ -131,10 +143,6 @@
131
143
  "path": "shared/core/multi-agent-manual-test/SKILL.md",
132
144
  "sha256": "8ea107eebf8160ec30306a18c619f10b3a4cf9ddbd741d37c52f09a534e2c687"
133
145
  },
134
- {
135
- "path": "shared/core/multi-agent-model/SKILL.md",
136
- "sha256": "57ba710657d74176b0f19d4a97d3183df1f7b0c056eb1eef2792308914be836c"
137
- },
138
146
  {
139
147
  "path": "shared/core/multi-agent-office-off/SKILL.md",
140
148
  "sha256": "97a060f987a269845e62d9ffa5a0b00ba10f72c43fc4a916103acac3967f152c"
@@ -201,11 +209,11 @@
201
209
  },
202
210
  {
203
211
  "path": "shared/core/multi-agent-route-on/SKILL.md",
204
- "sha256": "2e1c4585255c1b3621693c0229139cd66d3cf89c1b43bb1397485977f1d5bc3c"
212
+ "sha256": "c5e2070cabe5d806449975d7a25b675a98ad7dfbea596b13547f3b9431636dc2"
205
213
  },
206
214
  {
207
215
  "path": "shared/core/multi-agent-route-status/SKILL.md",
208
- "sha256": "869689dbf84edece67168a892a61b51459ff6c15cbf7dafe40c2b774f875b9f0"
216
+ "sha256": "7cfcae5667cbbc46bb586a6aa90a9fc793cc65aa0b9767743640f411376fab25"
209
217
  },
210
218
  {
211
219
  "path": "shared/core/multi-agent-routines/SKILL.md",
@@ -261,7 +269,7 @@
261
269
  },
262
270
  {
263
271
  "path": "shared/core/multi-agent-sync/SKILL.md",
264
- "sha256": "d66e00774583f296aa43e852ce93c2ed4761913b2b566357ed306e92934a9928"
272
+ "sha256": "d6aaf4fe38e28792f6229b5b6d1a53dfb6991ecc39dba2c7c0de24f34b3f434c"
265
273
  },
266
274
  {
267
275
  "path": "shared/core/multi-agent-test-accessibility/SKILL.md",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "skillCount": 248,
3
+ "skillCount": 250,
4
4
  "entries": [
5
5
  {
6
6
  "name": "accessibility-compliance-accessibility-audit",
@@ -1289,6 +1289,39 @@
1289
1289
  "triggerPaths": [],
1290
1290
  "relativePath": "shared/core/multi-agent-estimate/SKILL.md"
1291
1291
  },
1292
+ {
1293
+ "name": "multi-agent-fable-off",
1294
+ "description": "Turn the Fable rung off and price the cost ledger at opus in the same write; the review panel drops to two models. Use when asked to disable Fable.",
1295
+ "platform": null,
1296
+ "group": "core",
1297
+ "plugin": null,
1298
+ "invokeAs": "multi-agent-fable-off",
1299
+ "triggerKeywords": [],
1300
+ "triggerPaths": [],
1301
+ "relativePath": "shared/core/multi-agent-fable-off/SKILL.md"
1302
+ },
1303
+ {
1304
+ "name": "multi-agent-fable-on",
1305
+ "description": "Turn the Fable rung on and price the cost ledger at fable in the same write. Use when asked to enable Fable.",
1306
+ "platform": null,
1307
+ "group": "core",
1308
+ "plugin": null,
1309
+ "invokeAs": "multi-agent-fable-on",
1310
+ "triggerKeywords": [],
1311
+ "triggerPaths": [],
1312
+ "relativePath": "shared/core/multi-agent-fable-on/SKILL.md"
1313
+ },
1314
+ {
1315
+ "name": "multi-agent-fable-status",
1316
+ "description": "Report the Fable rung, the ledger's pricing model and what the switch means on this host. Use when asked whether Fable is on or which model runs.",
1317
+ "platform": null,
1318
+ "group": "core",
1319
+ "plugin": null,
1320
+ "invokeAs": "multi-agent-fable-status",
1321
+ "triggerKeywords": [],
1322
+ "triggerPaths": [],
1323
+ "relativePath": "shared/core/multi-agent-fable-status/SKILL.md"
1324
+ },
1292
1325
  {
1293
1326
  "name": "multi-agent-feedback",
1294
1327
  "description": "Send one message to the maintainer: a bug, an idea or a question. Only the text you type is sent - no logs, no repo names, no paths. Shows the payload and asks before sending. Use when a run went wrong and the maintainer should know.",
@@ -1432,17 +1465,6 @@
1432
1465
  "triggerPaths": [],
1433
1466
  "relativePath": "shared/core/multi-agent-manual-test/SKILL.md"
1434
1467
  },
1435
- {
1436
- "name": "multi-agent-model",
1437
- "description": "Turn the top model rung on or off and keep the cost ledger's pricing in step with it. Use when asked to enable or disable Fable, or which model the pipeline dispatches.",
1438
- "platform": null,
1439
- "group": "core",
1440
- "plugin": null,
1441
- "invokeAs": "multi-agent-model",
1442
- "triggerKeywords": [],
1443
- "triggerPaths": [],
1444
- "relativePath": "shared/core/multi-agent-model/SKILL.md"
1445
- },
1446
1468
  {
1447
1469
  "name": "multi-agent-office-off",
1448
1470
  "description": "Close the office panel and stop its local server. Use when done with the panel.",
@@ -2,11 +2,11 @@
2
2
 
3
3
  Single source of truth for skills delivered to both Claude Code (`~/.claude/skills/`) and Copilot CLI (`~/.copilot/skills/`) by the installer.
4
4
 
5
- **Total:** 248 skills (75 core + 173 external). Auto-generated by `scripts/gen-skills-index.mjs` - do not edit by hand.
5
+ **Total:** 250 skills (77 core + 173 external). Auto-generated by `scripts/gen-skills-index.mjs` - do not edit by hand.
6
6
 
7
7
  ## Directory layout
8
8
 
9
- - **`core/`** - 75 `multi-agent*` orchestration skills that are pipeline-critical. Edits here are core-code changes.
9
+ - **`core/`** - 77 `multi-agent*` orchestration skills that are pipeline-critical. Edits here are core-code changes.
10
10
  - **`external/`** - 173 iOS / Android / generic skills that ship into the stack plugins.
11
11
  - Install destinations (ADR-0009): Claude Code gets NO local copy of `external/` - it loads those skills from the `multi-agent-plugins` marketplace, namespaced (`ai-<stack>-toolkit:<name>`); only the two compliance catalogs from `core/` land in `~/.claude/skills/`. Copilot CLI and Codex CLI receive a flat copy filtered to the enabled stacks. `external/` remains the single authoring source that `build-stack-plugins.mjs` publishes from.
12
12
 
@@ -14,7 +14,7 @@ Source layout is logical grouping only - skill discovery at runtime is unchang
14
14
 
15
15
  ## Categories
16
16
 
17
- - [Pipeline Orchestration](#pipeline-orchestration) - 75
17
+ - [Pipeline Orchestration](#pipeline-orchestration) - 77
18
18
  - [iOS / Apple Ecosystem](#ios-apple-ecosystem) - 95
19
19
  - [Android / Kotlin](#android-kotlin) - 16
20
20
  - [Web](#web) - 10
@@ -45,6 +45,9 @@ Source layout is logical grouping only - skill discovery at runtime is unchang
45
45
  | [`multi-agent-diff-explain`](./core/multi-agent-diff-explain/) | `core` | Map Phase 3 triage findings to branch diff lines. Read-only post-hoc command, used after review to answer 'which finding lines up with which |
46
46
  | [`multi-agent-doctor`](./core/multi-agent-doctor/) | `core` | Health check for the installed pipeline: layout, preferences, credentials, hooks and host capabilities, each with one actionable step. Exit |
47
47
  | [`multi-agent-estimate`](./core/multi-agent-estimate/) | `core` | Estimate new work from similar closed Jira work: a P25-P75 range per role from logged time, with the tickets behind it and the modules touch |
48
+ | [`multi-agent-fable-off`](./core/multi-agent-fable-off/) | `core` | Turn the Fable rung off and price the cost ledger at opus in the same write; the review panel drops to two models. Use when asked to disable |
49
+ | [`multi-agent-fable-on`](./core/multi-agent-fable-on/) | `core` | Turn the Fable rung on and price the cost ledger at fable in the same write. Use when asked to enable Fable. |
50
+ | [`multi-agent-fable-status`](./core/multi-agent-fable-status/) | `core` | Report the Fable rung, the ledger's pricing model and what the switch means on this host. Use when asked whether Fable is on or which model |
48
51
  | [`multi-agent-feedback`](./core/multi-agent-feedback/) | `core` | Send one message to the maintainer: a bug, an idea or a question. Only the text you type is sent - no logs, no repo names, no paths. Shows t |
49
52
  | [`multi-agent-forget`](./core/multi-agent-forget/) | `core` | Remove a saved /multi-agent routine (created by /multi-agent:save): deletes its local-only command and its registry entry. Asks which one an |
50
53
  | [`multi-agent-garbage-collect`](./core/multi-agent-garbage-collect/) | `core` | Sweep leftover /tmp scratch (picker state, review diffs, channel payloads, analysis drafts) from past runs. Dry-run first; confirms before d |
@@ -58,7 +61,6 @@ Source layout is logical grouping only - skill discovery at runtime is unchang
58
61
  | [`multi-agent-language`](./core/multi-agent-language/) | `core` | Toggle outputLanguage (assistant explanations, picker questions, PR/Jira/Confluence bodies). promptLanguage is fixed to English; commit mess |
59
62
  | [`multi-agent-log`](./core/multi-agent-log/) | `core` | Show the agent-log.md for the given task. With no ID, shows the most recent task. Use when asked what a task did, or to read its log. |
60
63
  | [`multi-agent-manual-test`](./core/multi-agent-manual-test/) | `core` | Switch to the active task's branch and prepare it for manual testing in Xcode. Phase 3 user-test step, standalone (the UI Bug Hunter lives a |
61
- | [`multi-agent-model`](./core/multi-agent-model/) | `core` | Turn the top model rung on or off and keep the cost ledger's pricing in step with it. Use when asked to enable or disable Fable, or which mo |
62
64
  | [`multi-agent-office-off`](./core/multi-agent-office-off/) | `core` | Close the office panel and stop its local server. Use when done with the panel. |
63
65
  | [`multi-agent-office-on`](./core/multi-agent-office-on/) | `core` | Open the office: a local browser page that shows runs and agents live and drives the ecosystem (new runs, jobs, PRs, keys, memory, system, c |
64
66
  | [`multi-agent-office-status`](./core/multi-agent-office-status/) | `core` | Whether the office panel is running, its URL (never the token) and its last actions. Use when unsure if the panel is open. |
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: multi-agent-fable-off
3
+ description: "Turn the Fable rung off and price the cost ledger at opus in the same write; the review panel drops to two models. Use when asked to disable Fable."
4
+ user-invocable: true
5
+ argument-hint: "(no arguments)"
6
+ metadata:
7
+ language: en
8
+ ---
9
+
10
+ # multi-agent fable-off - take the top rung out of play
11
+
12
+ ```bash
13
+ bash "$HOME/.claude/lib/model-rung.sh" off
14
+ ```
15
+
16
+ Every `preferredModel: fable` persona starts on `opus` instead. The ladder below it
17
+ is unchanged, and so is everything else in preferences: turning the rung back on
18
+ with `/multi-agent:fable-on` restores the previous dispatch exactly. Nothing is
19
+ deleted, so the command needs no confirmation.
20
+
21
+ One write sets both keys, or neither:
22
+
23
+ | Key | Value |
24
+ |---|---|
25
+ | `prefs.global.modelFallback.fableEnabled` | `false` |
26
+ | `prefs.global.costBudget.pricingModel` | `opus` |
27
+
28
+ The same step re-applies the installed agents (`lib/agent-model-sync.mjs`): every
29
+ agent under `~/.claude/agents` whose `preferredModel` is `fable` gets
30
+ `model: opus`, so an agent spawned without an explicit model follows the switch
31
+ too.
32
+
33
+ ## The consequence it prints
34
+
35
+ On Claude Code, Phase 3's reviewer panel collapses from three models to two. Reviewer 1 lands on
36
+ `opus`, which Reviewer 2 already holds, and dispatching one model twice is not
37
+ cross-model review. `consensus.reviewerCount` records `2`, and the `unverified`
38
+ verdict rule matters more rather than less: two Anthropic models agreeing on a
39
+ judgment call was already weak evidence and there is now one fewer of them.
40
+ Triage also runs on `opus`, making it the same model as Reviewer 1; the Phase 3
41
+ Step 3 anonymisation requirement covers that case and is not optional here.
42
+
43
+ On Claude Code the script prints this at the moment of the change, then what the
44
+ switch means on this host. On Copilot CLI and Codex CLI the value is recorded and
45
+ changes no dispatch, so the script says the panel is unchanged there instead;
46
+ `/multi-agent:fable-status` explains why.
47
+
48
+ ## Related
49
+
50
+ - `/multi-agent:fable-on` - put the top rung back in play
51
+ - `/multi-agent:fable-status` - the current rung, the pricing model, and what the
52
+ switch means on each host
53
+ - `/multi-agent:route-on` - which rung a given call picks. This command decides
54
+ whether the top rung is in play at all; a routing rule cannot turn it back on
55
+ - Full fallback contract: `$HOME/.claude/multi-agent-refs/features/model-fallback.md`
@@ -0,0 +1,41 @@
1
+ ---
2
+ name: multi-agent-fable-on
3
+ description: "Turn the Fable rung on and price the cost ledger at fable in the same write. Use when asked to enable Fable."
4
+ user-invocable: true
5
+ argument-hint: "(no arguments)"
6
+ metadata:
7
+ language: en
8
+ ---
9
+
10
+ # multi-agent fable-on - put the top rung in play
11
+
12
+ ```bash
13
+ bash "$HOME/.claude/lib/model-rung.sh" on
14
+ ```
15
+
16
+ The ladder is `fable -> opus -> sonnet -> haiku`. This command makes the top rung
17
+ available again; it does not change the ladder.
18
+
19
+ One write sets both keys, or neither:
20
+
21
+ | Key | Value |
22
+ |---|---|
23
+ | `prefs.global.modelFallback.fableEnabled` | `true` |
24
+ | `prefs.global.costBudget.pricingModel` | `fable` |
25
+
26
+ The same step re-applies the installed agents (`lib/agent-model-sync.mjs`): every
27
+ agent under `~/.claude/agents` whose `preferredModel` is `fable` gets
28
+ `model: fable` back. The output shows both keys before and after, then what the
29
+ switch means on this host. On Copilot CLI and Codex CLI the value is recorded and
30
+ changes no dispatch; `/multi-agent:fable-status` explains why.
31
+
32
+ On Claude Code, Phase 3's reviewer panel returns to three models: Reviewer 1 on
33
+ `fable`, Reviewer 2 on `opus`, Reviewer 3 on `sonnet`. A run whose review scope is
34
+ `single` dispatches Reviewer 1 only, which is then `fable`.
35
+
36
+ ## Related
37
+
38
+ - `/multi-agent:fable-off` - take the top rung out of play
39
+ - `/multi-agent:fable-status` - the current rung, the pricing model, and what the
40
+ switch means on each host
41
+ - Full fallback contract: `$HOME/.claude/multi-agent-refs/features/model-fallback.md`
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: multi-agent-fable-status
3
+ description: "Report the Fable rung, the ledger's pricing model and what the switch means on this host. Use when asked whether Fable is on or which model runs."
4
+ user-invocable: true
5
+ argument-hint: "(no arguments)"
6
+ metadata:
7
+ language: en
8
+ ---
9
+
10
+ # multi-agent fable-status - is the top rung in play
11
+
12
+ ```bash
13
+ bash "$HOME/.claude/lib/model-rung.sh"
14
+ ```
15
+
16
+ The ladder is `fable -> opus -> sonnet -> haiku`. Whether the top rung is in play
17
+ is `prefs.global.modelFallback.fableEnabled`, which ships `false`. This command
18
+ writes nothing; `/multi-agent:fable-on` and `/multi-agent:fable-off` are the
19
+ switch.
20
+
21
+ ## The pair it checks
22
+
23
+ `prefs.global.costBudget.pricingModel` defaults to `fable` so the estimate stays
24
+ an upper bound. With the rung off, that default prices every call above what it
25
+ can cost, trips the budget ceiling early, and triggers a downgrade nobody needed.
26
+ So the two keys belong together, and `fable-on` and `fable-off` write them as one:
27
+
28
+ | `fableEnabled` | `costBudget.pricingModel` |
29
+ |---|---|
30
+ | `true` | `fable` |
31
+ | `false` | `opus` |
32
+
33
+ When the stored pair disagrees, the report prints `MISMATCH` and names the
34
+ command that realigns it on this host.
35
+
36
+ ## What the switch means on this host
37
+
38
+ The report ends with this, because the switch does not mean the same thing on
39
+ all three hosts:
40
+
41
+ | Host | What `fable-off` does | Why |
42
+ |---|---|---|
43
+ | Claude Code | every `preferredModel: fable` persona (architects, reviewer 1, triage) starts on `opus` | the only host where the rung is Fable 5.1 |
44
+ | Copilot CLI | nothing | Fable is not offered there; its personas never sat on this rung |
45
+ | Codex CLI | nothing, deliberately | the `fable` rung there means `gpt-5.6 @ xhigh`, a different model on a different account; switching it from a knob named after an Anthropic model would surprise a Codex user |
46
+
47
+ So on two of the three hosts `fable-on` and `fable-off` record the value and
48
+ change no dispatch, and the output says which case applies rather than claiming
49
+ a change that did not happen.
50
+
51
+ ## Related
52
+
53
+ - `/multi-agent:fable-on` / `/multi-agent:fable-off` - turn the rung on and off
54
+ - `/multi-agent:route-status` - which rung routing picks for a given call, a
55
+ separate feature that also ships off
56
+ - Full fallback contract, including the three failure triggers this switch is
57
+ deliberately not one of: `$HOME/.claude/multi-agent-refs/features/model-fallback.md`
@@ -96,6 +96,6 @@ Opus" - otherwise arrives days later as a bug report.
96
96
 
97
97
  - `/multi-agent:route-off` - disables routing and **keeps** the rules
98
98
  - `/multi-agent:route-status` - what is active, and what it costs
99
- - `/multi-agent:model` - whether the top rung exists at all. That is a different
100
- question: this command decides which rung a call picks, that one decides
101
- whether the top one is in play
99
+ - `/multi-agent:fable-on` / `/multi-agent:fable-off` - whether the top rung exists
100
+ at all. That is a different question: this command decides which rung a call
101
+ picks, those decide whether the top one is in play
@@ -67,4 +67,4 @@ node "$HOME/.claude/scripts/token-budget-report.mjs" --json
67
67
  ## Related
68
68
 
69
69
  - `/multi-agent:route-on` / `/multi-agent:route-off` - arm and disarm
70
- - `/multi-agent:model` - whether the top rung exists at all
70
+ - `/multi-agent:fable-status` - whether the top rung exists at all
@@ -52,7 +52,7 @@ Run every step automatically:
52
52
  ```
53
53
  Step 0: DOCTOR doctor.mjs - exit 2 or 4 stops the sync
54
54
  Step 1.5: DETECT Compare timestamps, find stale targets
55
- Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 72 sub-command skills)
55
+ Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 74 sub-command skills)
56
56
  Step 2b: CODEX Claude Code -> Codex CLI (router skill + specs as refs + agent TOML)
57
57
  Step 3: REPO Claude Code -> pipeline repo (genericized, personal data scrub, bash -n on all sh)
58
58
  Step 3c: PLUGINS shared/external -> multi-agent-plugins marketplace (rebuild, bump, push)
@@ -139,14 +139,14 @@ Claude <-> Copilot axis only; Codex takes Step 2b (`cross-cli-contract.md` 2.6).
139
139
 
140
140
  `~/.claude/commands/multi-agent/{cmd}/SKILL.md` <-> `~/.copilot/skills/multi-agent-{cmd}/SKILL.md`.
141
141
 
142
- **72 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
142
+ **74 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
143
143
 
144
144
  ```
145
145
  address-review, analysis, analysis-jira, analysis-resolve, autopilot-off, autopilot-on,
146
146
  autopilot-status, bug-bash, build-optimize, channels, clean-disk, complaint-analysis, create-jira,
147
- design-check, diff-explain, doctor, estimate, feedback, forget, garbage-collect, graph, health, help,
147
+ design-check, diff-explain, doctor, estimate, fable-off, fable-on, fable-status, feedback, forget, garbage-collect, graph, health, help,
148
148
  ios-coding-standard, issue, jira, kill, language, log,
149
- manual-test, model, office-off, office-on, office-status, postmortem, prune-logs, prune-prompts, purge, refactor, research, resume, review, review-analysis, review-issue, review-jira, review-priority, route-off, route-on, route-status,
149
+ manual-test, office-off, office-on, office-status, postmortem, prune-logs, prune-prompts, purge, refactor, research, resume, review, review-analysis, review-issue, review-jira, review-priority, route-off, route-on, route-status,
150
150
  routines, save, scaffold, scan, scenario-audit, search, security-review, serve, setup, stack, status, steer, store-ready, sync, test,
151
151
  test-accessibility, test-dark-mode, test-dynamic-type, test-gen, test-screenshots,
152
152
  testflight-validation, uninstall, update
@@ -3,7 +3,7 @@
3
3
  > Auto-generated by `pipeline/scripts/build-skills-index.mjs` - do not hand-edit.
4
4
  > Regenerate with `node pipeline/scripts/build-skills-index.mjs`.
5
5
 
6
- **248 skills** across 2 groups.
6
+ **250 skills** across 2 groups.
7
7
 
8
8
  | Group | Name | Platform | Description |
9
9
  |-------|------|----------|-------------|
@@ -124,6 +124,9 @@
124
124
  | core | `multi-agent-diff-explain` | - | Map Phase 3 triage findings to branch diff lines. Read-only post-hoc command, used after review to answer 'which finding lines up with which |
125
125
  | core | `multi-agent-doctor` | - | Health check for the installed pipeline: layout, preferences, credentials, hooks and host capabilities, each with one actionable step. Exit |
126
126
  | core | `multi-agent-estimate` | - | Estimate new work from similar closed Jira work: a P25-P75 range per role from logged time, with the tickets behind it and the modules touch |
127
+ | core | `multi-agent-fable-off` | - | Turn the Fable rung off and price the cost ledger at opus in the same write; the review panel drops to two models. Use when asked to disable |
128
+ | core | `multi-agent-fable-on` | - | Turn the Fable rung on and price the cost ledger at fable in the same write. Use when asked to enable Fable. |
129
+ | core | `multi-agent-fable-status` | - | Report the Fable rung, the ledger's pricing model and what the switch means on this host. Use when asked whether Fable is on or which model |
127
130
  | core | `multi-agent-feedback` | - | Send one message to the maintainer: a bug, an idea or a question. Only the text you type is sent - no logs, no repo names, no paths. Shows t |
128
131
  | core | `multi-agent-forget` | - | Remove a saved /multi-agent routine (created by /multi-agent:save): deletes its local-only command and its registry entry. Asks which one an |
129
132
  | core | `multi-agent-garbage-collect` | - | Sweep leftover /tmp scratch (picker state, review diffs, channel payloads, analysis drafts) from past runs. Dry-run first; confirms before d |
@@ -137,7 +140,6 @@
137
140
  | core | `multi-agent-language` | - | Toggle outputLanguage (assistant explanations, picker questions, PR/Jira/Confluence bodies). promptLanguage is fixed to English; commit mess |
138
141
  | core | `multi-agent-log` | - | Show the agent-log.md for the given task. With no ID, shows the most recent task. Use when asked what a task did, or to read its log. |
139
142
  | core | `multi-agent-manual-test` | - | Switch to the active task's branch and prepare it for manual testing in Xcode. Phase 3 user-test step, standalone (the UI Bug Hunter lives a |
140
- | core | `multi-agent-model` | - | Turn the top model rung on or off and keep the cost ledger's pricing in step with it. Use when asked to enable or disable Fable, or which mo |
141
143
  | core | `multi-agent-office-off` | - | Close the office panel and stop its local server. Use when done with the panel. |
142
144
  | core | `multi-agent-office-on` | - | Open the office: a local browser page that shows runs and agents live and drives the ecosystem (new runs, jobs, PRs, keys, memory, system, c |
143
145
  | core | `multi-agent-office-status` | - | Whether the office panel is running, its URL (never the token) and its last actions. Use when unsure if the panel is open. |
@@ -1,80 +0,0 @@
1
- ---
2
- description: "Turn the top model rung on or off and keep the cost ledger's pricing in step with it. Use when asked to enable or disable Fable, or which model the pipeline dispatches."
3
- description-tr: "Üst model basamağını açıp kapatır ve maliyet defterinin fiyatlamasını onunla birlikte taşır. Fable'ı aç/kapat sorulduğunda ya da pipeline hangi modeli çağırıyor sorulduğunda kullanılır."
4
- argument-hint: "[on | off] - no argument reports the current state"
5
- parameters: [{"name":"state","kind":"enum","enum":["on","off"]}]
6
- gui: form
7
- destructive: false
8
- confirm: none
9
- ---
10
-
11
- # multi-agent model - which rung the pipeline dispatches on
12
-
13
- The ladder is `fable -> opus -> sonnet -> haiku` and it does not change here.
14
- What changes is whether the top rung is in play at all, which is
15
- `prefs.global.modelFallback.fableEnabled` and ships `false`.
16
-
17
- ```bash
18
- bash "$HOME/.claude/lib/model-rung.sh" ${ARGUMENTS}
19
- ```
20
-
21
- ## Why this command exists
22
-
23
- The switch existed before the command did. It could only be flipped by editing
24
- preferences by hand, and `model-fallback.md` said so in a line most people never
25
- reached. That is a knob with no handle.
26
-
27
- It also never travelled alone. `prefs.global.costBudget.pricingModel` defaults to
28
- `fable` so the estimate stays an upper bound; with the rung off, that default
29
- prices every call above what it can cost, trips the budget ceiling early, and
30
- triggers a downgrade nobody needed. The documentation asked the user to set both.
31
- This command sets both, together:
32
-
33
- | `fableEnabled` | `costBudget.pricingModel` |
34
- |---|---|
35
- | `true` | `fable` |
36
- | `false` | `opus` |
37
-
38
- Flipping one without the other is the defect this closes, so the pair moves as
39
- one write or not at all.
40
-
41
- The same step re-applies the installed agents (`lib/agent-model-sync.mjs`): every
42
- agent under `~/.claude/agents` whose `preferredModel` is `fable` gets
43
- `model: fable` while the switch is on and `model: opus` while it is off. An agent
44
- spawned without an explicit model runs on that line, so without this the switch
45
- would cover routed dispatches only. The installer applies the same rule on every
46
- install and update, so a sync never puts the agents back on a rung that is off.
47
-
48
- ## What it reports with no argument
49
-
50
- The current rung, the pricing model, and **what the switch means on this host** -
51
- because it does not mean the same thing on all three:
52
-
53
- | Host | What `off` does | Why |
54
- |---|---|---|
55
- | Claude Code | every `preferredModel: fable` persona (architects, reviewer 1, triage) starts on `opus` | the only host where the rung is Fable 5.1 |
56
- | Copilot CLI | nothing | Fable is not offered there; its personas never sat on this rung |
57
- | Codex CLI | nothing, deliberately | the `fable` rung there means `gpt-5.6 @ xhigh`, a different model on a different account - switching it from a knob named after an Anthropic model would surprise a Codex user |
58
-
59
- So on two of the three hosts this command is a **status report**, not a switch,
60
- and it says which one it is rather than claiming a change it did not make.
61
-
62
- ## The consequence it prints when turning the rung off
63
-
64
- Phase 3's reviewer panel collapses from three models to two. Reviewer 1 lands on
65
- `opus`, which Reviewer 2 already holds, and dispatching one model twice is not
66
- cross-model review. `consensus.reviewerCount` records `2`, and the `unverified`
67
- verdict rule matters more rather than less - two Anthropic models agreeing on a
68
- judgment call was already weak evidence and there is now one fewer of them.
69
- Triage also runs on `opus`, making it the same model as Reviewer 1; the Phase 3
70
- Step 3 anonymisation requirement covers that case and is not optional here.
71
-
72
- This is printed at the moment of the change, not left in a doc.
73
-
74
- ## Related
75
-
76
- - `/multi-agent:route-on` - policy-driven rung selection per persona or phase, a
77
- separate feature that also ships off. This command decides whether a rung
78
- EXISTS; that one decides which rung a given call picks.
79
- - Full fallback contract, including the three failure triggers this switch is
80
- deliberately not one of: `$HOME/.claude/multi-agent-refs/features/model-fallback.md`
@@ -1,72 +0,0 @@
1
- ---
2
- name: multi-agent-model
3
- description: "Turn the top model rung on or off and keep the cost ledger's pricing in step with it. Use when asked to enable or disable Fable, or which model the pipeline dispatches."
4
- user-invocable: true
5
- argument-hint: "[on | off] - no argument reports the current state"
6
- metadata:
7
- language: en
8
- ---
9
-
10
- # multi-agent model - which rung the pipeline dispatches on
11
-
12
- The ladder is `fable -> opus -> sonnet -> haiku` and it does not change here.
13
- What changes is whether the top rung is in play at all, which is
14
- `prefs.global.modelFallback.fableEnabled` and ships `false`.
15
-
16
- ```bash
17
- bash "$HOME/.claude/lib/model-rung.sh" ${ARGUMENTS}
18
- ```
19
-
20
- ## Why this command exists
21
-
22
- The switch existed before the command did. It could only be flipped by editing
23
- preferences by hand, and `model-fallback.md` said so in a line most people never
24
- reached. That is a knob with no handle.
25
-
26
- It also never travelled alone. `prefs.global.costBudget.pricingModel` defaults to
27
- `fable` so the estimate stays an upper bound; with the rung off, that default
28
- prices every call above what it can cost, trips the budget ceiling early, and
29
- triggers a downgrade nobody needed. The documentation asked the user to set both.
30
- This command sets both, together:
31
-
32
- | `fableEnabled` | `costBudget.pricingModel` |
33
- |---|---|
34
- | `true` | `fable` |
35
- | `false` | `opus` |
36
-
37
- Flipping one without the other is the defect this closes, so the pair moves as
38
- one write or not at all.
39
-
40
- ## What it reports with no argument
41
-
42
- The current rung, the pricing model, and **what the switch means on this host** -
43
- because it does not mean the same thing on all three:
44
-
45
- | Host | What `off` does | Why |
46
- |---|---|---|
47
- | Claude Code | every `preferredModel: fable` persona (architects, reviewer 1, triage) starts on `opus` | the only host where the rung is Fable 5.1 |
48
- | Copilot CLI | nothing | Fable is not offered there; its personas never sat on this rung |
49
- | Codex CLI | nothing, deliberately | the `fable` rung there means `gpt-5.6 @ xhigh`, a different model on a different account - switching it from a knob named after an Anthropic model would surprise a Codex user |
50
-
51
- So on two of the three hosts this command is a **status report**, not a switch,
52
- and it says which one it is rather than claiming a change it did not make.
53
-
54
- ## The consequence it prints when turning the rung off
55
-
56
- Phase 3's reviewer panel collapses from three models to two. Reviewer 1 lands on
57
- `opus`, which Reviewer 2 already holds, and dispatching one model twice is not
58
- cross-model review. `consensus.reviewerCount` records `2`, and the `unverified`
59
- verdict rule matters more rather than less - two Anthropic models agreeing on a
60
- judgment call was already weak evidence and there is now one fewer of them.
61
- Triage also runs on `opus`, making it the same model as Reviewer 1; the Phase 3
62
- Step 3 anonymisation requirement covers that case and is not optional here.
63
-
64
- This is printed at the moment of the change, not left in a doc.
65
-
66
- ## Related
67
-
68
- - `/multi-agent:route-on` - policy-driven rung selection per persona or phase, a
69
- separate feature that also ships off. This command decides whether a rung
70
- EXISTS; that one decides which rung a given call picks.
71
- - Full fallback contract, including the three failure triggers this switch is
72
- deliberately not one of: `$HOME/.claude/multi-agent-refs/features/model-fallback.md`