@mmerterden/multi-agent-pipeline 21.1.2 → 23.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 (87) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +20 -13
  3. package/README.tr.md +20 -13
  4. package/SECURITY.md +3 -3
  5. package/docs/architecture.md +3 -3
  6. package/docs/ecosystem.md +10 -10
  7. package/docs/facts.json +7 -7
  8. package/docs/features.md +2 -2
  9. package/install/_common.mjs +3 -0
  10. package/install/codex.mjs +60 -0
  11. package/manifest.json +88 -73
  12. package/package.json +1 -1
  13. package/pipeline/commands/multi-agent/SKILL.md +4 -4
  14. package/pipeline/commands/multi-agent/clean-disk/SKILL.md +2 -2
  15. package/pipeline/commands/multi-agent/fable-off/SKILL.md +55 -0
  16. package/pipeline/commands/multi-agent/fable-on/SKILL.md +41 -0
  17. package/pipeline/commands/multi-agent/fable-status/SKILL.md +57 -0
  18. package/pipeline/commands/multi-agent/forget/SKILL.md +2 -2
  19. package/pipeline/commands/multi-agent/garbage-collect/SKILL.md +2 -2
  20. package/pipeline/commands/multi-agent/kill/SKILL.md +2 -2
  21. package/pipeline/commands/multi-agent/prune-logs/SKILL.md +2 -2
  22. package/pipeline/commands/multi-agent/prune-prompts/SKILL.md +2 -2
  23. package/pipeline/commands/multi-agent/purge/SKILL.md +2 -2
  24. package/pipeline/commands/multi-agent/review-priority/SKILL.md +2 -2
  25. package/pipeline/commands/multi-agent/route-on/SKILL.md +3 -3
  26. package/pipeline/commands/multi-agent/route-status/SKILL.md +1 -1
  27. package/pipeline/commands/multi-agent/routines/SKILL.md +15 -24
  28. package/pipeline/commands/multi-agent/routines-browse/SKILL.md +32 -0
  29. package/pipeline/commands/multi-agent/routines-delete/SKILL.md +35 -0
  30. package/pipeline/commands/multi-agent/routines-import/SKILL.md +34 -0
  31. package/pipeline/commands/multi-agent/routines-share/SKILL.md +34 -0
  32. package/pipeline/commands/multi-agent/routines-update/SKILL.md +33 -0
  33. package/pipeline/commands/multi-agent/sync/SKILL.md +6 -5
  34. package/pipeline/commands/multi-agent/uninstall/SKILL.md +2 -2
  35. package/pipeline/contract/manifest.json +1 -1
  36. package/pipeline/lib/model-dispatch.sh +1 -1
  37. package/pipeline/lib/model-rung.sh +59 -15
  38. package/pipeline/multi-agent-refs/cross-cli-contract.md +26 -16
  39. package/pipeline/multi-agent-refs/features/doctor.md +15 -8
  40. package/pipeline/multi-agent-refs/features/model-fallback.md +13 -4
  41. package/pipeline/multi-agent-refs/features/office-threat-model.md +1 -1
  42. package/pipeline/multi-agent-refs/features/routine-sharing.md +5 -2
  43. package/pipeline/multi-agent-refs/features/usage-reporting.md +2 -1
  44. package/pipeline/multi-agent-refs/help/en.md +11 -4
  45. package/pipeline/multi-agent-refs/help/tr.md +11 -4
  46. package/pipeline/multi-agent-refs/orchestrator/copilot-pipeline.md +3 -3
  47. package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +5 -5
  48. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +1 -1
  49. package/pipeline/office/index.html +6 -3
  50. package/pipeline/office/toolkit.json +1 -1
  51. package/pipeline/rules/outside-the-pipeline.md +1 -1
  52. package/pipeline/schemas/toolkit-path-params.json +5 -1
  53. package/pipeline/scripts/_cost-advise.mjs +1 -1
  54. package/pipeline/scripts/doctor.mjs +30 -6
  55. package/pipeline/scripts/routine-share.mjs +2 -1
  56. package/pipeline/scripts/uninstall.mjs +22 -1
  57. package/pipeline/skills/.skill-manifest.json +49 -21
  58. package/pipeline/skills/.skills-index.json +99 -22
  59. package/pipeline/skills/shared/README.md +16 -9
  60. package/pipeline/skills/shared/core/multi-agent/SKILL.md +6 -6
  61. package/pipeline/skills/shared/core/multi-agent-clean-disk/SKILL.md +1 -1
  62. package/pipeline/skills/shared/core/multi-agent-fable-off/SKILL.md +55 -0
  63. package/pipeline/skills/shared/core/multi-agent-fable-on/SKILL.md +41 -0
  64. package/pipeline/skills/shared/core/multi-agent-fable-status/SKILL.md +57 -0
  65. package/pipeline/skills/shared/core/multi-agent-forget/SKILL.md +1 -1
  66. package/pipeline/skills/shared/core/multi-agent-garbage-collect/SKILL.md +1 -1
  67. package/pipeline/skills/shared/core/multi-agent-kill/SKILL.md +1 -1
  68. package/pipeline/skills/shared/core/multi-agent-prune-logs/SKILL.md +1 -1
  69. package/pipeline/skills/shared/core/multi-agent-prune-prompts/SKILL.md +1 -1
  70. package/pipeline/skills/shared/core/multi-agent-purge/SKILL.md +1 -1
  71. package/pipeline/skills/shared/core/multi-agent-review-priority/SKILL.md +1 -1
  72. package/pipeline/skills/shared/core/multi-agent-route-on/SKILL.md +3 -3
  73. package/pipeline/skills/shared/core/multi-agent-route-status/SKILL.md +1 -1
  74. package/pipeline/skills/shared/core/multi-agent-routines/SKILL.md +12 -14
  75. package/pipeline/skills/shared/core/multi-agent-routines-browse/SKILL.md +30 -0
  76. package/pipeline/skills/shared/core/multi-agent-routines-delete/SKILL.md +32 -0
  77. package/pipeline/skills/shared/core/multi-agent-routines-import/SKILL.md +32 -0
  78. package/pipeline/skills/shared/core/multi-agent-routines-share/SKILL.md +32 -0
  79. package/pipeline/skills/shared/core/multi-agent-routines-update/SKILL.md +32 -0
  80. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +6 -5
  81. package/pipeline/skills/shared/core/multi-agent-uninstall/SKILL.md +1 -1
  82. package/pipeline/skills/shared/external/store-screenshots/SKILL.md +211 -22
  83. package/pipeline/skills/shared/external/store-screenshots/evals/evals.json +68 -0
  84. package/pipeline/skills/shared/external/store-screenshots/references/frames.md +141 -0
  85. package/pipeline/skills/skills-index.md +14 -7
  86. package/pipeline/commands/multi-agent/model/SKILL.md +0 -80
  87. package/pipeline/skills/shared/core/multi-agent-model/SKILL.md +0 -72
@@ -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`