@mmerterden/multi-agent-pipeline 16.28.0 → 16.30.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 (52) hide show
  1. package/CHANGELOG.md +119 -2
  2. package/README.md +4 -4
  3. package/README.tr.md +3 -3
  4. package/docs/architecture.md +3 -3
  5. package/docs/ecosystem.md +5 -5
  6. package/docs/features.md +14 -0
  7. package/install/claude.mjs +17 -0
  8. package/package.json +1 -1
  9. package/pipeline/commands/multi-agent/analysis-jira/SKILL.md +93 -0
  10. package/pipeline/commands/multi-agent/design-check/SKILL.md +6 -5
  11. package/pipeline/commands/multi-agent/doctor/SKILL.md +78 -0
  12. package/pipeline/commands/multi-agent/help/SKILL.md +15 -12
  13. package/pipeline/commands/multi-agent/manual-test/SKILL.md +1 -1
  14. package/pipeline/commands/multi-agent/setup/SKILL.md +14 -1
  15. package/pipeline/commands/multi-agent/sync/SKILL.md +12 -9
  16. package/pipeline/commands/multi-agent/update/SKILL.md +12 -0
  17. package/pipeline/lib/_jira-auth.sh +99 -0
  18. package/pipeline/lib/analysis-jira-write.sh +203 -0
  19. package/pipeline/lib/issue-fetcher.sh +4 -4
  20. package/pipeline/multi-agent-refs/analysis/render.md +1 -1
  21. package/pipeline/multi-agent-refs/channels/pr.md +37 -1
  22. package/pipeline/multi-agent-refs/cross-cli-contract.md +3 -3
  23. package/pipeline/multi-agent-refs/features/analysis-jira.md +128 -0
  24. package/pipeline/multi-agent-refs/features/doctor.md +197 -0
  25. package/pipeline/multi-agent-refs/features/model-fallback.md +2 -2
  26. package/pipeline/multi-agent-refs/features/visual-evidence.md +103 -20
  27. package/pipeline/multi-agent-refs/phases/phase-0-init.md +38 -7
  28. package/pipeline/multi-agent-refs/phases/phase-3-dev.md +13 -1
  29. package/pipeline/multi-agent-refs/phases/phase-5-test.md +11 -1
  30. package/pipeline/multi-agent-refs/phases/phase-6-commit.md +23 -0
  31. package/pipeline/multi-agent-refs/picker-contract.md +35 -0
  32. package/pipeline/multi-agent-refs/tracker-contract.md +5 -1
  33. package/pipeline/preferences-template.json +1 -1
  34. package/pipeline/schemas/agent-state.schema.json +84 -1
  35. package/pipeline/schemas/analysis-spec.schema.json +336 -95
  36. package/pipeline/schemas/prefs.schema.json +80 -3
  37. package/pipeline/schemas/token-budget.json +10 -10
  38. package/pipeline/scripts/analysis-story-tree.mjs +441 -0
  39. package/pipeline/scripts/capture-evidence.sh +170 -5
  40. package/pipeline/scripts/doctor.mjs +758 -0
  41. package/pipeline/scripts/evidence-gate.mjs +31 -2
  42. package/pipeline/scripts/phase-tracker.sh +97 -17
  43. package/pipeline/scripts/probe-evidence-capability.sh +250 -0
  44. package/pipeline/scripts/run-ui-tests.sh +380 -0
  45. package/pipeline/scripts/scan-agent-config.sh +48 -10
  46. package/pipeline/scripts/skill-siblings.mjs +1 -1
  47. package/pipeline/skills/shared/core/multi-agent-analysis-jira/SKILL.md +94 -0
  48. package/pipeline/skills/shared/core/multi-agent-doctor/SKILL.md +79 -0
  49. package/pipeline/skills/shared/core/multi-agent-manual-test/SKILL.md +10 -1
  50. package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +13 -0
  51. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +9 -6
  52. package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +18 -0
@@ -30,9 +30,10 @@ When invoked, it synchronizes all targets in order. It detects what changed, upd
30
30
  Run all steps automatically:
31
31
 
32
32
  ```
33
+ Step 0: DOCTOR node $HOME/.claude/scripts/doctor.mjs - exit 2 or 4 STOPS the sync
33
34
  Step 1: DETECT Compare timestamps, find stale targets
34
- Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 51 sub-command skills)
35
- Step 2b: CODEX Claude Code -> Codex CLI (1 router skill + 51 specs as refs + 8 agent TOML)
35
+ Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 53 sub-command skills)
36
+ Step 2b: CODEX Claude Code -> Codex CLI (1 router skill + 53 specs as refs + 8 agent TOML)
36
37
  Step 3: REPO Claude Code -> pipeline repo (genericized, personal data scrub)
37
38
  Step 3d: DEV-TOOLKIT Companion MCP server -> detect movement, ship gates, commit + publish
38
39
  Step 4: WEBSITE Version + phase/model counts -> {website-host} (i18n + projects.ts)
@@ -40,6 +41,8 @@ Step 5: Commit Commit + push all changed repos
40
41
  Step 6: Report Summary: synced targets, changed files, deploy status, multi-agent-toolkit version
41
42
  ```
42
43
 
44
+ **Step 0 is a gate, not a report.** Syncing a blocked install copies one fault onto five surfaces, and the copies are what people then debug. Exit 4 stops too: the layout did not resolve, so nothing was checked, and syncing from an unknown state is worse than not syncing.
45
+
43
46
  If nothing is stale -> report "All targets up to date" and stop.
44
47
 
45
48
  ## Special inputs
@@ -98,7 +101,7 @@ If nothing is stale -> report "All targets up to date" and stop.
98
101
  ## Codex Sync (Step 2b)
99
102
 
100
103
  This step does **not** hand-copy files. The Codex tree is a *transform* of the Claude
101
- tree, not a mirror: the 51 sub-command specs become reference files (Codex silently
104
+ tree, not a mirror: the 53 sub-command specs become reference files (Codex silently
102
105
  truncates its skills block - see `cross-cli-contract.md` 2.6), every reference to a
103
106
  CLI-owned tree is retargeted (`agents/<persona>.md` becomes `.toml`, the dispatcher
104
107
  becomes the router skill), the 8 personas are regenerated as TOML with a model +
@@ -224,11 +227,11 @@ When invoked with the `release` argument:
224
227
  |-------------|-------------|
225
228
  | `~/.claude/commands/multi-agent/{cmd}/SKILL.md` | `~/.copilot/skills/multi-agent-{cmd}/SKILL.md` |
226
229
 
227
- **51 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
230
+ **53 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
228
231
 
229
232
  ```
230
- analysis, analysis-resolve, autopilot, build-optimize, channels,
231
- complaint-analysis, create-jira, design-check, diff-explain, feedback,
233
+ analysis, analysis-jira, analysis-resolve, autopilot, build-optimize, channels,
234
+ complaint-analysis, create-jira, design-check, doctor, diff-explain, feedback,
232
235
  forget, garbage-collect, graph, help, ios-coding-standard, issue, jira,
233
236
  kill, language, local, local-autopilot, log, manual-test, prune-logs,
234
237
  prune-prompts, purge, refactor, resume, resume-local, review,
@@ -6,6 +6,24 @@ user-invocable: true
6
6
  argument-hint: ""
7
7
  ---
8
8
 
9
+ ## After the install, check it
10
+
11
+ ```bash
12
+ node "$HOME/.claude/scripts/doctor.mjs"
13
+ ```
14
+
15
+ An update is the moment the layout changes, so it is the moment a layout check is
16
+ worth most: a script that moved, a host tree that did not get the copy, a version
17
+ stamp that disagrees with the package. Report the result in `outputLanguage`.
18
+ Exit 2 means the update left the install in a state a run will fail from - say
19
+ that, do not report "updated" and stop.
20
+
21
+ # multi-agent update
22
+
23
+ Update the pipeline in one command. The npm registry is the single update channel: the latest published release is downloaded and installed. Existing preferences are preserved; only skill / script / schema files are refreshed.
24
+
25
+ A git clone of the pipeline repo is a maintainer workspace, kept in sync by `/multi-agent:sync` - it is never consulted here. A fix that only exists on `main` reaches users when a release is published, not before.
26
+
9
27
  # multi-agent-update - Pipeline Update
10
28
 
11
29
  Update the pipeline with a single command. Preferences are preserved; only skill/script/schema files are refreshed.