@mmerterden/multi-agent-pipeline 21.1.1 → 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 (69) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +11 -9
  3. package/README.tr.md +12 -10
  4. package/SECURITY.md +3 -3
  5. package/docs/FIGMA_PIPELINE.md +1 -1
  6. package/docs/architecture.md +8 -8
  7. package/docs/best-practices.md +27 -31
  8. package/docs/ecosystem.md +37 -31
  9. package/docs/facts.json +3 -3
  10. package/docs/features.md +9 -10
  11. package/docs/performance.md +15 -18
  12. package/docs/recovery-guide.md +6 -8
  13. package/install/_common.mjs +3 -0
  14. package/manifest.json +70 -65
  15. package/package.json +1 -1
  16. package/pipeline/agents/code-reviewer.md +1 -1
  17. package/pipeline/commands/multi-agent/SKILL.md +1 -1
  18. package/pipeline/commands/multi-agent/fable-off/SKILL.md +55 -0
  19. package/pipeline/commands/multi-agent/fable-on/SKILL.md +41 -0
  20. package/pipeline/commands/multi-agent/fable-status/SKILL.md +57 -0
  21. package/pipeline/commands/multi-agent/ios-coding-standard/SKILL.md +2 -2
  22. package/pipeline/commands/multi-agent/route-on/SKILL.md +3 -3
  23. package/pipeline/commands/multi-agent/route-status/SKILL.md +1 -1
  24. package/pipeline/commands/multi-agent/store-ready/SKILL.md +3 -1
  25. package/pipeline/commands/multi-agent/sync/SKILL.md +4 -4
  26. package/pipeline/commands/multi-agent/test/SKILL.md +2 -2
  27. package/pipeline/commands/multi-agent/test-screenshots/SKILL.md +9 -0
  28. package/pipeline/contract/manifest.json +1 -1
  29. package/pipeline/lib/model-dispatch.sh +1 -1
  30. package/pipeline/lib/model-rung.sh +59 -15
  31. package/pipeline/multi-agent-refs/android-guide.md +14 -0
  32. package/pipeline/multi-agent-refs/backend-guide.md +12 -0
  33. package/pipeline/multi-agent-refs/cross-cli-contract.md +22 -13
  34. package/pipeline/multi-agent-refs/features/doctor.md +9 -6
  35. package/pipeline/multi-agent-refs/features/model-fallback.md +13 -4
  36. package/pipeline/multi-agent-refs/features/office-threat-model.md +1 -1
  37. package/pipeline/multi-agent-refs/features/skill-conformance.md +1 -1
  38. package/pipeline/multi-agent-refs/help/en.md +4 -2
  39. package/pipeline/multi-agent-refs/help/tr.md +4 -2
  40. package/pipeline/multi-agent-refs/outside-the-pipeline.md +10 -5
  41. package/pipeline/multi-agent-refs/swiftui-guide.md +14 -0
  42. package/pipeline/multi-agent-refs/toolkit-tools.md +51 -0
  43. package/pipeline/multi-agent-refs/web-guide.md +13 -0
  44. package/pipeline/office/index.html +2 -2
  45. package/pipeline/scripts/README.md +33 -42
  46. package/pipeline/scripts/_cost-advise.mjs +1 -1
  47. package/pipeline/scripts/doctor.mjs +22 -6
  48. package/pipeline/scripts/skill-conformance.mjs +3 -3
  49. package/pipeline/skills/.skill-manifest.json +26 -18
  50. package/pipeline/skills/.skills-index.json +43 -21
  51. package/pipeline/skills/shared/README.md +12 -10
  52. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +1 -1
  53. package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +1 -1
  54. package/pipeline/skills/shared/core/multi-agent-fable-off/SKILL.md +55 -0
  55. package/pipeline/skills/shared/core/multi-agent-fable-on/SKILL.md +41 -0
  56. package/pipeline/skills/shared/core/multi-agent-fable-status/SKILL.md +57 -0
  57. package/pipeline/skills/shared/core/multi-agent-ios-coding-standard/SKILL.md +1 -1
  58. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +1 -1
  59. package/pipeline/skills/shared/core/multi-agent-route-on/SKILL.md +3 -3
  60. package/pipeline/skills/shared/core/multi-agent-route-status/SKILL.md +1 -1
  61. package/pipeline/skills/shared/core/multi-agent-save/SKILL.md +1 -1
  62. package/pipeline/skills/shared/core/multi-agent-security-review/SKILL.md +1 -1
  63. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +4 -4
  64. package/pipeline/skills/shared/core/multi-agent-test/SKILL.md +1 -1
  65. package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +1 -1
  66. package/pipeline/skills/shared/external/ios-coding-standard/SKILL.md +2 -2
  67. package/pipeline/skills/skills-index.md +10 -8
  68. package/pipeline/commands/multi-agent/model/SKILL.md +0 -80
  69. package/pipeline/skills/shared/core/multi-agent-model/SKILL.md +0 -72
@@ -0,0 +1,57 @@
1
+ ---
2
+ 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."
3
+ description-tr: "Fable basamağını, defterin fiyatlama modelini ve anahtarın bu host'taki anlamını raporlar. Fable açık mı ya da hangi model çalışıyor sorulduğunda kullanılır."
4
+ parameters: []
5
+ gui: button
6
+ destructive: false
7
+ confirm: none
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`
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: "Audit an iOS module against the shared coding-standard registry (99 stable-ID rules), produce a remediation plan, then hand off to /multi-agent. Use for a standards pass on a module, or when a review needs rule IDs rather than opinions."
3
- description-tr: "Bir iOS modulunu paylasilan kodlama-standardi registry'sine (99 sabit-ID kural) gore denetler, duzeltme plani cikarir, sonra /multi-agent'e devreder. Bir modulde standart gecisi icin, ya da bir review'un gorus yerine kural ID'si istedigi durumda kullan."
2
+ description: "Audit an iOS module against the shared coding-standard registry of stable-ID rules, produce a remediation plan, then hand off to /multi-agent. Use for a standards pass on a module, or when a review needs rule IDs rather than opinions."
3
+ description-tr: "Bir iOS modulunu paylasilan kodlama-standardi registry'sine (sabit-ID kurallar) gore denetler, duzeltme plani cikarir, sonra /multi-agent'e devreder. Bir modulde standart gecisi icin, ya da bir review'un gorus yerine kural ID'si istedigi durumda kullan."
4
4
  argument-hint: "[module name or path]"
5
5
  parameters: [{"name":"target","kind":"path"}]
6
6
  gui: form
@@ -97,6 +97,6 @@ Opus" - otherwise arrives days later as a bug report.
97
97
 
98
98
  - `/multi-agent:route-off` - disables routing and **keeps** the rules
99
99
  - `/multi-agent:route-status` - what is active, and what it costs
100
- - `/multi-agent:model` - whether the top rung exists at all. That is a different
101
- question: this command decides which rung a call picks, that one decides
102
- whether the top one is in play
100
+ - `/multi-agent:fable-on` / `/multi-agent:fable-off` - whether the top rung exists
101
+ at all. That is a different question: this command decides which rung a call
102
+ 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
@@ -6,7 +6,7 @@ parameters: [{"name":"repo","kind":"text"},{"name":"--ipa","kind":"path"},{"name
6
6
  gui: form
7
7
  destructive: false
8
8
  confirm: none
9
- allowed-tools: Agent, Bash, Read, Write, Edit, Glob, Grep, TaskCreate, TaskUpdate, AskUserQuestion, Skill, mcp__multi-agent__ios_app_store_audit, mcp__multi-agent__store_listing_lint, mcp__multi-agent__ios_export_ipa, mcp__multi-agent__ios_testflight_validate, mcp__multi-agent__ios_xcodebuild, mcp__multi-agent__ios_xcresult, mcp__multi-agent__android_apk_audit, mcp__multi-agent__binary_inspect, mcp__multi-agent__binary_strings_endpoints, mcp__multi-agent__binary_compare_versions, mcp__multi-agent__store_status, mcp__multi-agent__store_asc_apps, mcp__multi-agent__store_asc_next_build_number, mcp__multi-agent__store_play_validate_bundle, mcp__multi-agent__ios_screenshot, mcp__multi-agent__ios_get_ui_tree, mcp__multi-agent__ios_set_appearance, mcp__multi-agent__ios_set_content_size, mcp__multi-agent__android_screenshot, mcp__multi-agent__android_get_ui_tree, mcp__multi-agent__android_set_dark_mode, mcp__multi-agent__android_set_font_scale
9
+ allowed-tools: Agent, Bash, Read, Write, Edit, Glob, Grep, TaskCreate, TaskUpdate, AskUserQuestion, Skill, mcp__multi-agent__ios_app_store_audit, mcp__multi-agent__store_listing_lint, mcp__multi-agent__ios_export_ipa, mcp__multi-agent__ios_testflight_validate, mcp__multi-agent__ios_xcodebuild, mcp__multi-agent__ios_xcresult, mcp__multi-agent__android_apk_audit, mcp__multi-agent__binary_inspect, mcp__multi-agent__binary_strings_endpoints, mcp__multi-agent__binary_compare_versions, mcp__multi-agent__store_status, mcp__multi-agent__store_asc_apps, mcp__multi-agent__store_asc_next_build_number, mcp__multi-agent__store_play_validate_bundle, mcp__multi-agent__ios_screenshot, mcp__multi-agent__ios_get_ui_tree, mcp__multi-agent__ios_set_appearance, mcp__multi-agent__ios_set_content_size, mcp__multi-agent__android_screenshot, mcp__multi-agent__android_get_ui_tree, mcp__multi-agent__android_set_dark_mode, mcp__multi-agent__android_set_font_scale, mcp__multi-agent__store_screenshot_sizes, mcp__multi-agent__store_screenshot_check
10
10
  ---
11
11
 
12
12
  # /multi-agent:store-ready - pre-submission validation, iOS + Android
@@ -54,6 +54,8 @@ Credentials come from `/multi-agent:setup`; never prompt for a secret value in c
54
54
 
55
55
  No booted device: `Sweep: SKIPPED (no booted device)`, continue, never omit the line. Else run `$HOME/.claude/commands/sim-test.md` light + dark + large-text over every screen; findings go into Step 7.
56
56
 
57
+ Store screenshot set (optional): when the repo carries one (or the user names its folder), `store_screenshot_check` checks every image against the sizes `store_screenshot_sizes` lists for the platform; findings go into Step 7 as advisory Gate 1 lines. Rendering a new set with `store_screenshot_render` is the `store-screenshots` skill's job, not this command's. Toolkit absent: skip silently.
58
+
57
59
  ## Step 3 - obtain the build
58
60
 
59
61
  Read `$HOME/.claude/multi-agent-refs/store-ready/build.md` for Step 3. Always: an `.ipa` alone makes **Gate 1 `SKIPPED (needs .xcarchive)`**; an `.apk` **lists the rules it could not apply**; state provenance; Mode A worktree **never under `$HOME`**; never audit a debug artifact; a failed build halts.
@@ -54,7 +54,7 @@ Run every step automatically:
54
54
  ```
55
55
  Step 0: DOCTOR doctor.mjs - exit 2 or 4 stops the sync
56
56
  Step 1.5: DETECT Compare timestamps, find stale targets
57
- Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 72 sub-command skills)
57
+ Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 74 sub-command skills)
58
58
  Step 2b: CODEX Claude Code -> Codex CLI (router skill + specs as refs + agent TOML)
59
59
  Step 3: REPO Claude Code -> pipeline repo (genericized, personal data scrub, bash -n on all sh)
60
60
  Step 3c: PLUGINS shared/external -> multi-agent-plugins marketplace (rebuild, bump, push)
@@ -141,14 +141,14 @@ Claude <-> Copilot axis only; Codex takes Step 2b (`cross-cli-contract.md` 2.6).
141
141
 
142
142
  `~/.claude/commands/multi-agent/{cmd}/SKILL.md` <-> `~/.copilot/skills/multi-agent-{cmd}/SKILL.md`.
143
143
 
144
- **72 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
144
+ **74 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
145
145
 
146
146
  ```
147
147
  address-review, analysis, analysis-jira, analysis-resolve, autopilot-off, autopilot-on,
148
148
  autopilot-status, bug-bash, build-optimize, channels, clean-disk, complaint-analysis, create-jira,
149
- design-check, diff-explain, doctor, estimate, feedback, forget, garbage-collect, graph, health, help,
149
+ design-check, diff-explain, doctor, estimate, fable-off, fable-on, fable-status, feedback, forget, garbage-collect, graph, health, help,
150
150
  ios-coding-standard, issue, jira, kill, language, log,
151
- 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,
151
+ 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,
152
152
  routines, save, scaffold, scan, scenario-audit, search, security-review, serve, setup, stack, status, steer, store-ready, sync, test,
153
153
  test-accessibility, test-dark-mode, test-dynamic-type, test-gen, test-screenshots,
154
154
  testflight-validation, uninstall, update
@@ -1,6 +1,6 @@
1
1
  ---
2
- description: "UI Bug Hunter - iOS Simulator (simctl) + Android Emulator (adb). Auto-detects platform. Screenshot + tap + analyze on the booted device. The Phase 5 Manual Test flow lives at /multi-agent:manual-test. Use when a running app should be driven on a simulator or emulator to hunt UI bugs."
3
- description-tr: "UI Bug Hunter - iOS Simulator (simctl) + Android Emulator (adb). Platformu otomatik algılar. Açık cihazda screenshot + tap + analiz. Faz 3 Manuel Test akışı /multi-agent:manual-test'te."
2
+ description: "UI Bug Hunter - iOS Simulator (simctl) + Android Emulator (adb). Auto-detects platform. Screenshot + tap + analyze on the booted device. The Review phase's manual test lives at /multi-agent:manual-test. Use when a running app should be driven on a simulator or emulator to hunt UI bugs."
3
+ description-tr: "UI Bug Hunter - iOS Simulator (simctl) + Android Emulator (adb). Platformu otomatik algılar. Açık cihazda screenshot + tap + analiz. Review fazının manuel testi /multi-agent:manual-test'te."
4
4
  argument-hint: '[scenario] - e.g. "dark mode" | "accessibility" | "dynamic type" | "screenshot tr" | "store-ready" | (empty = full sweep)'
5
5
  parameters: [{"name":"scenario","kind":"text"}]
6
6
  gui: form
@@ -40,6 +40,15 @@ language unset.
40
40
  `/multi-agent:test "screenshot tr"` - identical behaviour. Both forms are
41
41
  supported; neither is deprecated.
42
42
 
43
+ ## Store sizes
44
+
45
+ When the set is meant for a store listing, check the captures with
46
+ `mcp__multi-agent__store_screenshot_check` against the sizes
47
+ `mcp__multi-agent__store_screenshot_sizes` lists, and report each image that
48
+ fails. Framing, headlines and rendering at exact sizes
49
+ (`mcp__multi-agent__store_screenshot_render`) belong to the `store-screenshots`
50
+ skill, not this command.
51
+
43
52
  ## Requirements
44
53
 
45
54
  - **iOS**: Xcode + a booted Simulator (`xcrun simctl list | grep Booted`)
@@ -641,7 +641,7 @@
641
641
  "version": "1.0.0",
642
642
  "remote": "local-only",
643
643
  "risk": "high",
644
- "note": "Two steps: the preview names the change, the confirmation runs what /multi-agent:language, /multi-agent:model or /multi-agent:route-on|off runs; one change at a time (429 busy). Route on passes the saved strategy back; widening it stays in the terminal."
644
+ "note": "Two steps: the preview names the change, the confirmation runs what /multi-agent:language, /multi-agent:fable-on|off or /multi-agent:route-on|off runs; one change at a time (429 busy). Route on passes the saved strategy back; widening it stays in the terminal."
645
645
  },
646
646
  {
647
647
  "id": "credentials",
@@ -170,7 +170,7 @@ fi
170
170
 
171
171
  # The fable rung answers only when the fable switch is on (FABLE_ON, read
172
172
  # above). Routing is a policy over what is available; it is not a second way to
173
- # turn a rung on, or `/multi-agent:model off` would stop meaning anything the
173
+ # turn a rung on, or `/multi-agent:fable-off` would stop meaning anything the
174
174
  # moment a rule named fable.
175
175
 
176
176
  record() {
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env bash
2
2
  # model-rung.sh - read or flip the top model rung, and keep cost pricing with it.
3
3
  #
4
- # Backs /multi-agent:model. Two preference keys move as ONE write:
4
+ # Backs /multi-agent:fable-on (on), /multi-agent:fable-off (off) and
5
+ # /multi-agent:fable-status (no argument). Two preference keys move as ONE write:
5
6
  # prefs.global.modelFallback.fableEnabled the rung itself
6
7
  # prefs.global.costBudget.pricingModel what the ledger prices against
7
8
  #
8
- # They were always meant to move together - model-fallback.md says so in prose -
9
- # but nothing enforced it, so a hand edit that flipped one left the estimate
10
- # pricing every call at a rung that was not in play. With the rung off and
11
- # pricing still `fable`, the budget ceiling trips early and triggers a downgrade
12
- # nothing needed. One write, or none.
9
+ # A write that flips one without the other leaves the estimate pricing every
10
+ # call at a rung that is not in play. With the rung off and pricing still
11
+ # `fable`, the budget ceiling trips early and triggers a downgrade nothing
12
+ # needed. One write, or none.
13
13
  #
14
14
  # Usage:
15
15
  # model-rung.sh report current state (exit 0)
@@ -39,6 +39,28 @@ case "$ACTION" in
39
39
  ;;
40
40
  esac
41
41
 
42
+ # The host is MULTI_AGENT_HOST when it names one (claude, copilot or codex, as
43
+ # phase-tracker.sh's host_kind accepts), otherwise the tree this script was
44
+ # installed into: ~/.copilot/lib and ~/.codex/lib are those hosts, anything
45
+ # else is Claude Code. Command names are spelled from the same answer, so the
46
+ # host line and the MISMATCH hint never name two different hosts.
47
+ case "${MULTI_AGENT_HOST:-}" in
48
+ claude | copilot | codex)
49
+ HOST="$MULTI_AGENT_HOST"
50
+ CMD_ROOT="$HOME/.$HOST"
51
+ ;;
52
+ *)
53
+ CMD_ROOT="$(cd "$_MA_MR_HERE/.." 2>/dev/null && pwd)"
54
+ case "$CMD_ROOT" in
55
+ */.copilot) HOST=copilot ;;
56
+ */.codex) HOST=codex ;;
57
+ *) HOST=claude ;;
58
+ esac
59
+ ;;
60
+ esac
61
+
62
+ command_name() { ma_command "$1" "$CMD_ROOT"; }
63
+
42
64
  # A missing `jq` must not look like a missing setting. Without this the reads
43
65
  # below return empty, the command reports the rung as already off, and a user
44
66
  # who asked to turn it off is told it was never on.
@@ -48,7 +70,7 @@ if ! command -v jq >/dev/null 2>&1; then
48
70
  fi
49
71
 
50
72
  if [ ! -f "$PREFS" ]; then
51
- echo "model-rung: preferences not found at $PREFS - run $(ma_command setup) first" >&2
73
+ echo "model-rung: preferences not found at $PREFS - run $(command_name setup) first" >&2
52
74
  exit 3
53
75
  fi
54
76
 
@@ -60,13 +82,35 @@ fi
60
82
  CUR=$(jq -r '.global.modelFallback.fableEnabled // false' "$PREFS")
61
83
  PRICING=$(jq -r '.global.costBudget.pricingModel // "fable"' "$PREFS")
62
84
 
85
+ # The model behind the fable rung, named from cost-table.json's modelId
86
+ # (claude-fable-5-1 is Fable 5.1), so a generation move is one edit there. A
87
+ # trailing eight-digit date segment (as in a dated snapshot id) is not part of the name, and
88
+ # anything that does not reduce to a dotted version prints as plain "Fable".
89
+ fable_name() {
90
+ local id
91
+ id=$(jq -r '.prices.fable.modelId // empty' "$_MA_MR_HERE/../scripts/cost-table.json" 2>/dev/null)
92
+ case "$id" in
93
+ claude-fable-?*) id="${id#claude-fable-}" ;;
94
+ *)
95
+ echo "Fable"
96
+ return
97
+ ;;
98
+ esac
99
+ if [[ "$id" =~ ^(.*-)?[0-9]{8}$ ]]; then
100
+ id="${BASH_REMATCH[1]}"
101
+ id="${id%-}"
102
+ fi
103
+ id="${id//-/.}"
104
+ if [[ "$id" =~ ^[0-9]+(\.[0-9]+)*$ ]]; then echo "Fable $id"; else echo "Fable"; fi
105
+ }
106
+
63
107
  host_note() {
64
108
  # Which host this is decides whether the switch is a switch or a status line.
65
109
  # Saying "enabled" on a host where the rung means something else entirely is
66
110
  # the surprise this block exists to avoid.
67
- case "${MULTI_AGENT_HOST:-claude}" in
111
+ case "$HOST" in
68
112
  claude)
69
- echo "Claude Code: the fable rung is Fable 5. This switch is live here."
113
+ echo "Claude Code: the fable rung is $(fable_name). This switch is live here."
70
114
  ;;
71
115
  copilot)
72
116
  echo "Copilot CLI: Fable is not offered; its personas never sat on this rung."
@@ -77,9 +121,6 @@ host_note() {
77
121
  echo "different account. This switch deliberately does NOT touch it - a knob"
78
122
  echo "named after an Anthropic model must not silently retune a Codex run."
79
123
  ;;
80
- *)
81
- echo "Unknown host '${MULTI_AGENT_HOST}'; reporting the stored value only."
82
- ;;
83
124
  esac
84
125
  }
85
126
 
@@ -87,10 +128,10 @@ if [ "$ACTION" = "report" ]; then
87
128
  echo "fable rung: $CUR"
88
129
  echo "cost pricing: $PRICING"
89
130
  if [ "$CUR" = "true" ] && [ "$PRICING" != "fable" ]; then
90
- echo "MISMATCH: rung is on but the ledger prices against '$PRICING' - run 'model on' to realign"
131
+ echo "MISMATCH: rung is on but the ledger prices against '$PRICING' - run $(command_name fable-on) to realign"
91
132
  elif [ "$CUR" != "true" ] && [ "$PRICING" = "fable" ]; then
92
133
  echo "MISMATCH: rung is off but the ledger still prices against fable - this trips"
93
- echo " the budget ceiling early. Run 'model off' to realign."
134
+ echo " the budget ceiling early. Run $(command_name fable-off) to realign."
94
135
  fi
95
136
  echo ""
96
137
  host_note
@@ -139,7 +180,10 @@ echo "fable rung: $CUR -> $WANT"
139
180
  echo "cost pricing: $PRICING -> $WANT_PRICING"
140
181
  echo ""
141
182
 
142
- if [ "$WANT" = "false" ]; then
183
+ if [ "$WANT" = "false" ] && [ "$HOST" != "claude" ]; then
184
+ echo "Phase 3 reviewer panel: unchanged. This switch changes no dispatch on this host."
185
+ echo ""
186
+ elif [ "$WANT" = "false" ]; then
143
187
  # Said at the moment of the change rather than left in a doc: the panel
144
188
  # shrinking is the part people discover later and read as a bug.
145
189
  echo "Phase 3 reviewer panel: 3 models -> 2 (opus + sonnet)."
@@ -12,6 +12,7 @@
12
12
  - [Build Verification](#build-verification)
13
13
  - [Component Quality Checklist](#component-quality-checklist)
14
14
  - [Compliance Rules (maps to multi-agent MCP audit tools)](#compliance-rules-maps-to-multi-agent-mcp-audit-tools)
15
+ - [Toolkit tools for Android](#toolkit-tools-for-android)
15
16
  <!-- /toc -->
16
17
 
17
18
  > **MUST: Figma MCP-first (BLOCKING).** If the task references any Figma frame (URL, node ID, or "from the design"), the Dev phase MUST call `mcp__claude_ai_Figma__get_design_context` for every frame BEFORE writing a single Composable line. Use the `CodeConnectSnippet` component name verbatim - no sound-alike substitutions. Authentication failure is not a skip path. Full rule, trigger conditions, and gate failure modes: `$HOME/.claude/rules/figma-pipeline.md` "MUST: Figma MCP-first (BLOCKING)". Phase wiring: `$HOME/.claude/multi-agent-refs/phases/phase-2-dev.md` "MUST: Figma MCP-first (BLOCKING pre-step)".
@@ -264,3 +265,16 @@ android {
264
265
  <uses-permission android:name="android.permission.CAMERA" />
265
266
  <!-- Remove unused: RECORD_AUDIO, READ_CONTACTS, etc. if not needed -->
266
267
  ```
268
+
269
+ ### Toolkit tools for Android
270
+
271
+ The `multi-agent` MCP families this stack uses, by phase. The full map with every
272
+ stack is `toolkit-tools.md`; tools are called `mcp__multi-agent__<tool>`.
273
+
274
+ | Phase or command | Families |
275
+ |---|---|
276
+ | Dev and Review (emulator, device, tests) | `android_*`, `ui_*`, `code_*`, `media_frames`, `media_redact` |
277
+ | Design conformance (`/multi-agent:design-check`) | `design_*` |
278
+ | Store readiness (`/multi-agent:store-ready`) | `android_*`, `binary_*`, `store_play_*`, `store_*`, `store_screenshot_*` |
279
+ | Security review | `security_*`, `binary_*` |
280
+ | Outside a run | `document_*` (synthetic MRZ fixtures), `media_video_*` with `media_music_beats` and `media_thumbnail_check` (release video) |
@@ -8,6 +8,7 @@
8
8
  - [Security Checklist](#security-checklist)
9
9
  - [Testing](#testing)
10
10
  - [Quality Checklist](#quality-checklist)
11
+ - [Toolkit tools for the backend](#toolkit-tools-for-the-backend)
11
12
  <!-- /toc -->
12
13
 
13
14
  When the task involves backend development (Python/FastAPI, Node.js/Express, Go), follow these patterns.
@@ -143,3 +144,14 @@ async def test_create_user_endpoint(client: AsyncClient):
143
144
  8. Environment-based configuration (no hardcoded values)
144
145
  9. Logging with correlation IDs
145
146
  10. API documentation (OpenAPI/Swagger auto-generated)
147
+
148
+ ### Toolkit tools for the backend
149
+
150
+ The `multi-agent` MCP families this stack uses, by phase. The full map with every
151
+ stack is `toolkit-tools.md`; tools are called `mcp__multi-agent__<tool>`.
152
+
153
+ | Phase or command | Families |
154
+ |---|---|
155
+ | Security review | `security_*` (dependency inventory from the lockfile, CVSS, finding evidence, SARIF export) |
156
+
157
+ The stack-agnostic families (`repo_*`, `graph_*`, `learnings_*`, `research_*`, `context_*`, `llm_*`, `test_results_classify`, `coverage_gap`) apply here as on every stack.
@@ -1,10 +1,10 @@
1
1
  # Cross-CLI Contract (Claude Code · Copilot CLI · Codex CLI)
2
2
 
3
3
  <!-- toc -->
4
- - [1. Command Inventory (72 commands)](#1-command-inventory-72-commands)
4
+ - [1. Command Inventory (74 commands)](#1-command-inventory-74-commands)
5
5
  - [2. Canonical Placeholder Vocabulary](#2-canonical-placeholder-vocabulary)
6
6
  - [2.6 Intentional structural divergence - two entry files over one set of refs](#26-intentional-structural-divergence---two-entry-files-over-one-set-of-refs)
7
- - [2.7 One command, three different meanings: `/multi-agent:model`](#27-one-command-three-different-meanings-multi-agentmodel)
7
+ - [2.7 One switch, three different meanings: `fable-on` / `fable-off`](#27-one-switch-three-different-meanings-fable-on-fable-off)
8
8
  - [3. Frontmatter Transform Rules (Claude ↔ Copilot)](#3-frontmatter-transform-rules-claude-copilot)
9
9
  - [4. Progress Signalling Parity](#4-progress-signalling-parity)
10
10
  - [5. Argument Parsing Invariants](#5-argument-parsing-invariants)
@@ -20,14 +20,15 @@
20
20
 
21
21
  ---
22
22
 
23
- ## 1. Command Inventory (72 commands)
23
+ ## 1. Command Inventory (74 commands)
24
24
 
25
25
  ```
26
26
  address-review, analysis, analysis-jira, analysis-resolve, autopilot-off,
27
27
  autopilot-on, autopilot-status, bug-bash, build-optimize, channels, clean-disk, complaint-analysis,
28
- create-jira, design-check, diff-explain, doctor, estimate, feedback, forget,
28
+ create-jira, design-check, diff-explain, doctor, estimate, fable-off, fable-on,
29
+ fable-status, feedback, forget,
29
30
  garbage-collect, graph, health, help, ios-coding-standard, issue, jira, kill,
30
- language, log, manual-test, model, office-off, office-on, office-status,
31
+ language, log, manual-test, office-off, office-on, office-status,
31
32
  postmortem, prune-logs,
32
33
  prune-prompts, purge, refactor, research, resume, review,
33
34
  review-analysis, review-issue, review-jira, review-priority, route-off, route-on,
@@ -263,21 +264,29 @@ members available there are closer to each other than Fable and Sonnet are. That
263
264
  weaker axis, not an equivalent one, and treating it as equivalent is the error this
264
265
  section exists to prevent.
265
266
 
266
- ## 2.7 One command, three different meanings: `/multi-agent:model`
267
+ ## 2.7 One switch, three different meanings: `fable-on` / `fable-off`
267
268
 
268
- Most commands do the same thing on all three hosts. This one does not, and the
269
+ Most commands do the same thing on all three hosts. These two do not, and the
269
270
  divergence is stated here rather than discovered at runtime, because a command
270
- that quietly no-ops is worse than one that says it cannot act.
271
-
272
- | Host | What `model on|off` does | Why |
271
+ that quietly no-ops is worse than one that says it cannot act. On Claude Code
272
+ they are `/multi-agent:fable-on`, `/multi-agent:fable-off` and
273
+ `/multi-agent:fable-status`; on Copilot CLI they are `/multi-agent-fable-on` and `/multi-agent-fable-off`, with
274
+ `/multi-agent-fable-status` reporting which case applies; on Codex CLI they are
275
+ `multi-agent fable-on`, `multi-agent fable-off` and `multi-agent fable-status`
276
+ via the router skill.
277
+
278
+ | Host | What `fable-on` / `fable-off` does | Why |
273
279
  |---|---|---|
274
280
  | Claude Code | live switch: flips `modelFallback.fableEnabled` and realigns `costBudget.pricingModel` | the only host where the `fable` rung is Fable 5.1 |
275
281
  | Copilot CLI | writes the preference, changes no dispatch | Fable is not offered there; its personas never sat on this rung |
276
282
  | Codex CLI | writes the preference, changes no dispatch, **deliberately** | the `fable` rung on Codex means `gpt-5.6 @ xhigh` - a different model on a different account. A knob named after an Anthropic model must not silently retune a Codex run |
277
283
 
278
- `model-rung.sh` prints which of the three it is on every invocation. The rule it
279
- follows: report the host's actual behaviour, never claim a change that did not
280
- happen.
284
+ `model-rung.sh` prints which of the three it is on every invocation, and
285
+ `fable-off` prints the reviewer-panel change only on Claude Code; on the other
286
+ two it says the panel is unchanged. The host is the tree the script runs from
287
+ (`~/.copilot`, `~/.codex`, otherwise Claude Code), the same tree `ma_command`
288
+ reads, unless `MULTI_AGENT_HOST` names one. The rule it follows: report the
289
+ host's actual behaviour, never claim a change that did not happen.
281
290
 
282
291
  The routing trio (`route-on`, `route-off`, `route-status`) has no such split -
283
292
  it writes `prefs.global.modelRouting` identically everywhere. Its honest limit is
@@ -467,12 +467,15 @@ are the reference for iPhone Duo and window resizing, SwiftUI, App Intents and
467
467
  the accessibility audits, so a stale copy is a worse answer, never a failed run.
468
468
  ### routine-commands
469
469
 
470
- Does a saved routine still name the removed autopilot command. Saved routines
471
- are the `local-only: true` commands under `~/.claude/commands/multi-agent`
472
- (`/multi-agent:save`), which the installer carries across updates exactly as
473
- written, so a body that named the command keeps typing it. SKIP when no routine
474
- is saved, OK when none names it, WARN listing the routines that do, with the
475
- replacement `/multi-agent "<task>" autopilot` and the file to edit.
470
+ Does a saved routine still name a removed command: the plain autopilot command,
471
+ or the rung command that `fable-on`, `fable-off` and `fable-status` replaced.
472
+ Saved routines are the `local-only: true` commands under
473
+ `~/.claude/commands/multi-agent` (`/multi-agent:save`), which the installer
474
+ carries across updates exactly as written, so a body that named a command keeps
475
+ typing it. SKIP when no routine is saved, OK when none names one, WARN listing
476
+ each routine with the removed commands it names, the replacement for each
477
+ (`/multi-agent "<task>" autopilot`; `/multi-agent:fable-on`,
478
+ `/multi-agent:fable-off` or `/multi-agent:fable-status`) and the file to edit.
476
479
  ### mcp-legacy-names
477
480
 
478
481
  Does the current project still name the MCP server by its pre-4.0 id. The
@@ -107,7 +107,7 @@ predate this field still get the second downgrade step):
107
107
  | Field | Meaning |
108
108
  |---|---|
109
109
  | `enabled` | Master switch. `false` = always dispatch the persona's `preferredModel`, fail loudly on error. |
110
- | `modelFallback.fableEnabled` | Whether the `fable` rung exists at all on Claude Code. **Ships `false`.** `false` starts every `preferredModel: fable` persona on `opus`; set it to `true` to opt the top rung back in. A cost control that defaults to on is not a control. See "Turning the fable rung off" below. |
110
+ | `modelFallback.fableEnabled` | Whether the `fable` rung exists at all on Claude Code. **Ships `false`.** `false` starts every `preferredModel: fable` persona on `opus`; `/multi-agent:fable-on` opts the top rung back in and `/multi-agent:fable-off` takes it out. A cost control that defaults to on is not a control. See "Turning the fable rung off" below. |
111
111
  | `premiumTierUntil` | ISO date (`YYYY-MM-DD`) or `null`. When set and today is **after** this date, every `preferredModel` dispatch is downgraded to `fallbackModel` unless the user re-confirms (see Date gate). Use when the top tier is included in a plan only until a known date. |
112
112
  | `fallbackModel` | Target of the first downgrade step. Default `sonnet` (the next tier below opus). |
113
113
  | `modelFallback.floorModel` | Last-resort tier when `fallbackModel` also fails to dispatch. Default `haiku`. Set to the same value as `fallbackModel` (or `null`) to disable the second step and halt after one downgrade. |
@@ -159,8 +159,17 @@ that every command naming a Fable reviewer asks it.
159
159
  **Cost accounting.** `prefs.global.costBudget.pricingModel` defaults to `fable` to
160
160
  keep the estimate an upper bound. With the rung off, that default prices every
161
161
  call above what it can cost and trips the budget ceiling early, which then
162
- triggers a downgrade nobody needed. Set `pricingModel` to `opus` alongside
163
- `fableEnabled: false`.
162
+ triggers a downgrade nobody needed. So the two keys move together:
163
+ `/multi-agent:fable-on` writes `fableEnabled: true` with `pricingModel: fable`,
164
+ `/multi-agent:fable-off` writes `false` with `opus`, both through
165
+ `lib/model-rung.sh` as one write or none. `/multi-agent:fable-status` reports the
166
+ pair and prints `MISMATCH` when a hand edit split it. Copilot CLI spells the
167
+ commands `/multi-agent-fable-on`, `/multi-agent-fable-off` and
168
+ `/multi-agent-fable-status`; Codex CLI reaches them as `multi-agent fable-on`,
169
+ `multi-agent fable-off` and `multi-agent fable-status` through its router skill.
170
+ On both they record the value and, per the host table above, change no dispatch:
171
+ `fable-off` prints that the reviewer panel is unchanged there instead of the
172
+ Claude Code panel change.
164
173
 
165
174
  No log line is emitted per dispatch for this: it is a configured absence, not a
166
175
  degrade event, and one line per persona per run would be noise. Phase 0 Step 0
@@ -218,7 +227,7 @@ Two limits are enforced by the script rather than written here and hoped for:
218
227
 
219
228
  - **A rule may not turn the fable rung on.** With `modelFallback.fableEnabled`
220
229
  false, a rule preferring `fable` falls past it to the next rung. Otherwise
221
- `/multi-agent:model off` would have a second door.
230
+ `/multi-agent:fable-off` would have a second door.
222
231
  - **A subagent stays inside the Anthropic ladder.** A subagent is dispatched by
223
232
  the host, so `free` and every other non-Anthropic rung is refused at the
224
233
  subagent site and the rule's next rung answers, with the reason on stderr.
@@ -63,7 +63,7 @@ pairs a phone with it or relays it to a site.
63
63
  | T21 | Machine details through the resource panel | `GET /v1/system` returns numbers only (cores, load, memory, free disk, process counts, log folder size) and two fixed warnings; no path, process argument, user or host name. The schema allows nothing else. The measurement runs as child processes off the event loop, concurrent requests share one measurement, and the log folder size is reused for a minute. It names nothing about the machine beyond those numbers | `office-routes.test.mjs` "GET /v1/system returns numbers only: no path, user or host name" |
64
64
  | T22 | Old run logs deleted wider than asked, or a live run's log removed | `POST /v1/prune-logs` takes only an age from a fixed set (7, 30 or 90 days) and runs `prune-logs.sh`, the script `/multi-agent:prune-logs` runs: the dry run is the preview; the confirmed step lists the folders again, refuses with `changed` when they differ, and then prunes only the previewed list through `--only-from`, under a token bound to that age and list. The script never touches the audit trail, the metrics corpus or the task counters, refuses a log root that is `/`, the home folder or a git checkout, and spares a folder written in the last minutes and a run that can still be resumed. Tagged `local-only`/`high` | `office-routes.test.mjs` "POST /v1/prune-logs previews, then prunes only on the token" |
65
65
  | T23 | Pull request listing exposing a token, or the native task mirror writing into another run | Each GitHub account gh is logged in to is asked with `gh auth token` for that host and login; the token travels in `GH_TOKEN` (and `GH_ENTERPRISE_TOKEN` for an Enterprise Server host) for the child process only, never on a command line, in a response or a log. Bitbucket Server is read over https only (a plain-http host is refused unless it is the loopback), redirects are not followed, and the token, read from the credential store with a deadline, travels in the `Authorization` header only; an unreachable host is a reason on that source, not a failure of the list. `GET /v1/prs/reach` (local-only) asks gh for the changed file paths of at most 20 GitHub pull requests, three at a time, each with its account's token in the environment; it asks nothing for a repository whose name is not `owner/repo` or that has no graph under `~/.claude/knowledge/<repo name>/`. The paths serve only as keys into the local graph: nothing is read from disk by them and none is returned, only counts. The graph is parsed in a child process, so no other route waits behind it. A redacted answer drops URLs and logins, numbering the accounts instead. The task-mirror hook (PostToolUse on TaskCreate and TaskUpdate) writes only into the run whose recorded session is the calling session, skips phase tiles, never prints, and exits 0 on any input it cannot read | `work-items-prs.test.mjs`, `task-mirror.test.mjs`, `pr-reach.test.mjs`, `office-work.test.mjs` "GET /v1/prs/reach says which pull requests have no graph to measure against" |
66
- | T24 | The panel changing a preference wider than the terminal would | `POST /v1/settings` takes one of three settings and one of its two values, previews the change and runs, under a token bound to that setting and value, what `/multi-agent:language`, `/multi-agent:model` or `/multi-agent:route-on`/`route-off` runs; route on passes the saved strategy back so only the switch changes, nothing the panel sends can add rules or a free provider, and two changes never run at once. Tagged `local-only`/`high`. Report links: `channelResults` URLs must be https, travel only in the run record's `channelUrls` (local, dropped from a redacted answer) and are shown as text, never followed | `office-routes.test.mjs` "POST /v1/settings changes a switch only on the token, through its script", `runs-index.test.mjs` |
66
+ | T24 | The panel changing a preference wider than the terminal would | `POST /v1/settings` takes one of three settings and one of its two values, previews the change and runs, under a token bound to that setting and value, what `/multi-agent:language`, `/multi-agent:fable-on`/`fable-off` or `/multi-agent:route-on`/`route-off` runs; route on passes the saved strategy back so only the switch changes, nothing the panel sends can add rules or a free provider, and two changes never run at once. Tagged `local-only`/`high`. Report links: `channelResults` URLs must be https, travel only in the run record's `channelUrls` (local, dropped from a redacted answer) and are shown as text, never followed | `office-routes.test.mjs` "POST /v1/settings changes a switch only on the token, through its script", `runs-index.test.mjs` |
67
67
  | T25 | The skill catalog reading files a request names, or a SKILL.md running as markup | `GET /v1/skills` reads only fixed roots: the command tree, the `local-only` command folders under `~/.claude/commands/multi-agent`, the marketplace clone under `~/.claude/plugins/marketplaces/multi-agent-plugins` and the routine registry. Its one parameter, `repo`, resolves the way `GET /v1/stack` resolves it (a configured or registered repository, nothing else) and only decides which plugin skills are on. A skill folder or SKILL.md whose real path leaves the clone is skipped, and a plugin name outside a safe character set is ignored. Descriptions are file content, so the page sets them as text only. Routine text is scrubbed, and the route is `local-only` because it names the routines and local-only commands kept on this machine | `office-skills.test.mjs`, `skill-catalog.test.mjs`, `smoke-office-ui.sh` "a skill description shows as text, never as markup" |
68
68
  | T26 | The disk section deleting more than was ticked, the user's own files, or anything while nobody watches | `POST /v1/disk-clean` runs `disk-cleaner.mjs`, the script `/multi-agent:clean-disk` runs. Measuring is its dry run and mints no token. Only a preview of named categories returns one, and each category must be an id from the cleaner's own allow-list (`CATEGORIES`); nothing else from the request reaches its command line. The token is bound to those categories, and the confirmation sends only the token and applies exactly them with `--only`. The Trash and old transcripts need their id and their own `trash: true` / `transcripts: true`; the page leaves both unticked and shows what deleting them costs. A server started with `MULTI_AGENT_UNATTENDED=1` measures the cleaner's unattended set and refuses a preview and an apply. The cleaner guards every path again before deleting it (no symlink, no personal or credential folder, no git working tree but a merged clean agent worktree, nothing in use) and never stops a process. Real paths are shown, so the route is `local-only`/`high` | `office-disk.test.mjs` |
69
69
 
@@ -69,7 +69,7 @@ A registry that declares no scope loads as `reference-only`: readable context fo
69
69
 
70
70
  **Deterministic (this gate):** which registries apply, which rule IDs are in scope, which changed files no criteria cover, whether the delegated toolchain is wired, and the exception-marker audit.
71
71
 
72
- **Not deterministic, on purpose:** the rules themselves. This gate does NOT execute registry `mechanism` patterns. Across the 99-rule iOS registry the distribution is 47 `judgement` / 41 `lint` / 10 `scan` / 1 `format`, only 43 rules carry `mechanism` at all, and the field is prose with an embedded pattern (`swiftlint file_length, function_body_length`, `custom regex per module`) whose scope is written in English. Perhaps 12-15 have an extractable pattern. Running them unscoped floods a review with doc-comment matches - which the registry's own guidance says, requiring each hit be opened and confirmed. The properly engineered version already exists as `references/swiftlint.draft.yml`, 36 regex rules with path scoping.
72
+ **Not deterministic, on purpose:** the rules themselves. This gate does NOT execute registry `mechanism` patterns. The iOS registry mixes `judgement`, `lint`, `scan` and `format` rules, fewer than half carry `mechanism` at all, and the field is prose with an embedded pattern (`swiftlint file_length, function_body_length`, `custom regex per module`) whose scope is written in English. Running them unscoped floods a review with doc-comment matches - which the registry's own guidance says, requiring each hit be opened and confirmed. The properly engineered version already exists as `references/swiftlint.draft.yml`: regex rules with path scoping.
73
73
 
74
74
  So instead: **if a registry names a toolchain, check whether the repo wired it, run it when it is there, and report its absence as a finding.** That is stack-generic for free, because swiftlint, ktlint, detekt, eslint and ruff all speak rule IDs. An unwired toolchain ranks above most individual violations it would have caught: those rules are unverified, and a review reporting no violations for them is reporting that nothing was measured.
75
75
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!-- facts: commandCount="commands" toolCount="tools, most for a RUNNING app" -->
4
4
  ```
5
- Multi-Agent Pipeline - 72 commands, grouped by what you want to do
5
+ Multi-Agent Pipeline - 74 commands, grouped by what you want to do
6
6
 
7
7
  Start here:
8
8
 
@@ -96,7 +96,9 @@ Office
96
96
 
97
97
  Models and routing
98
98
 
99
- /multi-agent:model [on|off] Turn the top model rung (fable) on or off
99
+ /multi-agent:fable-on Put the top model rung (fable) in play
100
+ /multi-agent:fable-off Take it out; the review panel drops to two
101
+ /multi-agent:fable-status Is it on, the pricing model, what it means here
100
102
  /multi-agent:route-on Route work to models by rule; off by default
101
103
  /multi-agent:route-off Stop routing and keep the rules
102
104
  /multi-agent:route-status Which rules apply where, and what each call used
@@ -2,7 +2,7 @@
2
2
 
3
3
  <!-- facts: commandCount="komut" toolCount="araç, çoğu" -->
4
4
  ```
5
- Multi-Agent Pipeline - 72 komut, ne yapmak istediğine göre gruplu
5
+ Multi-Agent Pipeline - 74 komut, ne yapmak istediğine göre gruplu
6
6
 
7
7
  Buradan başla:
8
8
 
@@ -96,7 +96,9 @@ Ofis
96
96
 
97
97
  Modeller ve yönlendirme
98
98
 
99
- /multi-agent:model [on|off] Üst model basamağını (fable) aç ya da kapat
99
+ /multi-agent:fable-on Üst model basamağını (fable) aç
100
+ /multi-agent:fable-off Kapat; review paneli iki modele iner
101
+ /multi-agent:fable-status Açık mı, fiyatlama modeli, bu host'ta anlamı
100
102
  /multi-agent:route-on İşi kurala göre modellere dağıt; varsayılan kapalı
101
103
  /multi-agent:route-off Yönlendirmeyi kapat, kuralları sakla
102
104
  /multi-agent:route-status Hangi kural nerede geçerli, çağrılar neyi kullandı
@@ -113,19 +113,24 @@ another stack's toolkit in its place.
113
113
  | `learnings_search` / `learnings_timeline` / `learnings_get` | what past runs learned about a repo, across every repo not excluded from memory |
114
114
  | `graph_*` (`graph_stats`, `graph_hubs`, `graph_cluster`, `graph_query`, ...) | reading a built code graph without a shell |
115
115
  | `research_community` / `media_transcript` | what developers already reported about a problem, or the subtitles of a linked YouTube talk (`media-remote` cap, `yt-dlp`) |
116
- | `media_video_plan` / `media_video_render` | a short video is wanted from screenshots, clips or a script: plan the scenes and timing first, then render the planned video |
116
+ | `media_video_*` (`media_video_plan`, `media_video_render`, `media_video_check`, `media_video_reframe`), `media_music_beats`, `media_thumbnail_check` | a short video is wanted from screenshots, clips or a script: plan the scenes and timing, render, reframe for another aspect, cut on the music's beats, then check the file against the upload spec and the thumbnail at feed sizes (the `release-video` skill owns the flow) |
117
+ | `document_*` (`document_mrz_build`, `document_generate`, `document_pdf_inspect`) | a document-scan test needs a synthetic MRZ fixture, or a PDF the app produced needs its pages and text layer checked |
118
+ | `thesis_*` (`thesis_bib_check`, `thesis_citation_check`, `thesis_structure_lint`, `thesis_reference_format`, `thesis_reference_verify`, `thesis_overlap`, `thesis_style_lint`) | a thesis or long paper needs its bibliography, citations, structure, reference list, self-overlap or academic style checked (the `thesis-writing` skill owns the flow) |
119
+ | `vphone_*` | the device under test is a virtual iPhone from the separately installed vphone-launchpad host; `vphone_status` says whether the host is there |
120
+ | `voice_*` | the user runs the local voice host: speak, ask aloud, or answer a permission prompt by voice; `voice_status` says whether it is running |
117
121
  | `social_read` | the user asked for posts from X, Reddit, LinkedIn, Instagram or Facebook; reads through their own signed-in Chrome, off unless the `social` cap is set, confirmed per channel, never unattended |
118
122
  | `pass_*` (`pass_inspect`, `pass_validate`, `pass_certificates`, `pass_build`) | an Apple Wallet pass will not open, or a test pass is needed |
119
123
  | `store_*` (`store_status`, `store_asc_*`, `store_play_*`, `store_search` / `store_call`) | a question about App Store Connect or Google Play data: builds and build numbers, reviews, subscriptions, tracks, vitals. Keys come from the Keychain via the store reference file `/multi-agent:setup` writes; `store_status` says which store resolves. Writes return a preview until `confirm: true` and are refused unattended |
120
124
 
121
125
  Registered at user scope by the installer, and preserved by uninstall - the tools are
122
126
  useful with no pipeline at all. If it is not registered the tools simply are not
123
- there; that is a silent no-op, not an error to work around.
127
+ there; that is a silent no-op, not an error to work around. Every family, with its
128
+ stacks and the phases that call it: `toolkit-tools.md`.
124
129
 
125
130
  **Registration pins the scope.** `npx -y @scope/pkg` resolves through the user's npm
126
- config, and a `@scope:registry=` line there outranks `--registry`. That is how the
127
- server came to report `CONNECTION_CLOSED` while working perfectly when run directly:
128
- npm fetched from the wrong registry and the process never started. The registration
131
+ config, and a `@scope:registry=` line there outranks `--registry`. Without the pin,
132
+ npm can fetch from the wrong registry, the process never starts, and the host
133
+ reports `CONNECTION_CLOSED` for a server that works when run directly. The registration
129
134
  carries `--@<scope>:registry=<url>`; `smoke-npm-scope-pinning.sh` keeps it that way.
130
135
 
131
136
  ## Status line