@mmerterden/multi-agent-pipeline 20.12.0 → 20.15.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 (183) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.md +8 -6
  3. package/README.tr.md +8 -6
  4. package/docs/architecture.md +3 -3
  5. package/docs/ecosystem.md +5 -5
  6. package/docs/facts.json +4 -4
  7. package/install/_common.mjs +1 -1
  8. package/install/_plugin-skills.mjs +13 -9
  9. package/install/catalog-history.json +1 -1
  10. package/install/codex.mjs +12 -12
  11. package/manifest.json +186 -120
  12. package/package.json +1 -1
  13. package/pipeline/commands/multi-agent/SKILL.md +1 -0
  14. package/pipeline/commands/multi-agent/analysis/SKILL.md +17 -82
  15. package/pipeline/commands/multi-agent/analysis-jira/SKILL.md +57 -7
  16. package/pipeline/commands/multi-agent/analysis-resolve/SKILL.md +2 -2
  17. package/pipeline/commands/multi-agent/autopilot/SKILL.md +8 -23
  18. package/pipeline/commands/multi-agent/autopilot-off/SKILL.md +25 -45
  19. package/pipeline/commands/multi-agent/channels/SKILL.md +11 -63
  20. package/pipeline/commands/multi-agent/design-check/SKILL.md +43 -178
  21. package/pipeline/commands/multi-agent/diff-explain/SKILL.md +2 -0
  22. package/pipeline/commands/multi-agent/doctor/SKILL.md +6 -0
  23. package/pipeline/commands/multi-agent/estimate/SKILL.md +65 -0
  24. package/pipeline/commands/multi-agent/feedback/SKILL.md +2 -2
  25. package/pipeline/commands/multi-agent/forget/SKILL.md +1 -0
  26. package/pipeline/commands/multi-agent/garbage-collect/SKILL.md +1 -0
  27. package/pipeline/commands/multi-agent/help/SKILL.md +5 -546
  28. package/pipeline/commands/multi-agent/kill/SKILL.md +14 -18
  29. package/pipeline/commands/multi-agent/prune-logs/SKILL.md +1 -0
  30. package/pipeline/commands/multi-agent/prune-prompts/SKILL.md +1 -0
  31. package/pipeline/commands/multi-agent/refactor/SKILL.md +7 -76
  32. package/pipeline/commands/multi-agent/review/SKILL.md +5 -0
  33. package/pipeline/commands/multi-agent/review-analysis/SKILL.md +8 -3
  34. package/pipeline/commands/multi-agent/scenario-audit/SKILL.md +79 -0
  35. package/pipeline/commands/multi-agent/serve/SKILL.md +6 -3
  36. package/pipeline/commands/multi-agent/setup/SKILL.md +12 -365
  37. package/pipeline/commands/multi-agent/status/SKILL.md +2 -0
  38. package/pipeline/commands/multi-agent/store-ready/SKILL.md +56 -184
  39. package/pipeline/commands/multi-agent/sync/SKILL.md +14 -267
  40. package/pipeline/contract/CHANGELOG.md +52 -0
  41. package/pipeline/contract/README.md +41 -1
  42. package/pipeline/contract/build.mjs +49 -7
  43. package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
  44. package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
  45. package/pipeline/contract/fixtures/error-unsigned.json +1 -1
  46. package/pipeline/contract/fixtures/launch-plan.json +1 -2
  47. package/pipeline/contract/fixtures/runs-awaiting-question.json +10 -3
  48. package/pipeline/contract/fixtures/runs-empty.json +1 -1
  49. package/pipeline/contract/fixtures/runs-failed.json +19 -6
  50. package/pipeline/contract/fixtures/runs-pr-opened-redacted.json +25 -8
  51. package/pipeline/contract/fixtures/runs-pr-opened.json +25 -8
  52. package/pipeline/contract/fixtures/runs-running.json +31 -4
  53. package/pipeline/contract/frozen/toolbox.json +13 -0
  54. package/pipeline/contract/manifest.json +112 -10
  55. package/pipeline/contract/types/index.d.ts +186 -17
  56. package/pipeline/lib/analysis-jira-write.sh +81 -27
  57. package/pipeline/lib/analysis-quality.mjs +261 -0
  58. package/pipeline/lib/analysis-sections.mjs +105 -0
  59. package/pipeline/lib/claude-sessions.mjs +93 -0
  60. package/pipeline/lib/credential-resolve.mjs +39 -0
  61. package/pipeline/lib/gc-report.sh +64 -0
  62. package/pipeline/lib/jira-epic-link.sh +54 -0
  63. package/pipeline/lib/unattended-settings-location.mjs +4 -0
  64. package/pipeline/lib/workspace-trust.mjs +73 -0
  65. package/pipeline/multi-agent-refs/analysis/intake.md +5 -3
  66. package/pipeline/multi-agent-refs/analysis/locked.md +12 -11
  67. package/pipeline/multi-agent-refs/analysis/redesign.md +3 -1
  68. package/pipeline/multi-agent-refs/analysis/render.md +24 -24
  69. package/pipeline/multi-agent-refs/analysis/resolve.md +1 -1
  70. package/pipeline/multi-agent-refs/analysis/resume.md +37 -0
  71. package/pipeline/multi-agent-refs/analysis/reusable-refs.md +25 -0
  72. package/pipeline/multi-agent-refs/analysis/review.md +16 -3
  73. package/pipeline/multi-agent-refs/analysis/synthesis.md +10 -2
  74. package/pipeline/multi-agent-refs/analysis-template-corporate.md +44 -9
  75. package/pipeline/multi-agent-refs/analysis-template.md +21 -14
  76. package/pipeline/multi-agent-refs/channels/board.md +17 -0
  77. package/pipeline/multi-agent-refs/channels/multi-repo.md +15 -0
  78. package/pipeline/multi-agent-refs/cross-cli-contract.md +8 -4
  79. package/pipeline/multi-agent-refs/design-check/build-launch.md +14 -0
  80. package/pipeline/multi-agent-refs/design-check/compare.md +44 -0
  81. package/pipeline/multi-agent-refs/design-check/drive-capture.md +35 -0
  82. package/pipeline/multi-agent-refs/design-check/export.md +37 -0
  83. package/pipeline/multi-agent-refs/design-check/figma-mapping.md +11 -0
  84. package/pipeline/multi-agent-refs/design-check/init-inventory.md +56 -0
  85. package/pipeline/multi-agent-refs/design-check/mcp-currency-gate.md +41 -0
  86. package/pipeline/multi-agent-refs/features/analysis-jira.md +69 -19
  87. package/pipeline/multi-agent-refs/features/analysis-outline.md +55 -0
  88. package/pipeline/multi-agent-refs/features/analysis-sources.md +60 -0
  89. package/pipeline/multi-agent-refs/help/en.md +273 -0
  90. package/pipeline/multi-agent-refs/help/tr.md +271 -0
  91. package/pipeline/multi-agent-refs/orchestrator/operations.md +99 -0
  92. package/pipeline/multi-agent-refs/orchestrator/phase-0-projects.md +72 -0
  93. package/pipeline/multi-agent-refs/orchestrator/phase-3-user-test.md +40 -0
  94. package/pipeline/multi-agent-refs/orchestrator/phase-4-5-projects.md +68 -0
  95. package/pipeline/multi-agent-refs/orchestrator/skill-loading.md +99 -0
  96. package/pipeline/multi-agent-refs/phases/phase-0-init.md +3 -2
  97. package/pipeline/multi-agent-refs/phases/phase-1-plan.md +1 -1
  98. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +1 -1
  99. package/pipeline/multi-agent-refs/picker-contract.md +29 -0
  100. package/pipeline/multi-agent-refs/refactor/drift.md +49 -0
  101. package/pipeline/multi-agent-refs/refactor/run-errors.md +46 -0
  102. package/pipeline/multi-agent-refs/setup/discovery.md +84 -0
  103. package/pipeline/multi-agent-refs/setup/figma.md +27 -0
  104. package/pipeline/multi-agent-refs/setup/identity-routing.md +60 -0
  105. package/pipeline/multi-agent-refs/setup/token-save-flow.md +201 -0
  106. package/pipeline/multi-agent-refs/store-ready/build.md +49 -0
  107. package/pipeline/multi-agent-refs/store-ready/gate-1-static.md +37 -0
  108. package/pipeline/multi-agent-refs/store-ready/gate-3-policy.md +31 -0
  109. package/pipeline/multi-agent-refs/store-ready/preflight.md +50 -0
  110. package/pipeline/multi-agent-refs/store-ready/report.md +40 -0
  111. package/pipeline/multi-agent-refs/sync/codex.md +43 -0
  112. package/pipeline/multi-agent-refs/sync/dev-toolkit.md +174 -0
  113. package/pipeline/multi-agent-refs/sync/stack-plugins.md +51 -0
  114. package/pipeline/multi-agent-refs/tracker-contract.md +29 -4
  115. package/pipeline/schemas/agent-state.schema.json +13 -4
  116. package/pipeline/schemas/analysis-spec.schema.json +76 -2
  117. package/pipeline/schemas/autopilot-off-request.schema.json +20 -0
  118. package/pipeline/schemas/autopilot-off.schema.json +24 -0
  119. package/pipeline/schemas/autopilot-status.schema.json +63 -0
  120. package/pipeline/schemas/contract-error.schema.json +13 -2
  121. package/pipeline/schemas/gc-request.schema.json +31 -0
  122. package/pipeline/schemas/gc.schema.json +116 -0
  123. package/pipeline/schemas/kill-request.schema.json +22 -0
  124. package/pipeline/schemas/kill.schema.json +118 -0
  125. package/pipeline/schemas/launch-plan.schema.json +11 -2
  126. package/pipeline/schemas/launch-request.schema.json +7 -2
  127. package/pipeline/schemas/launch.json +65 -4
  128. package/pipeline/schemas/launch.schema.json +23 -8
  129. package/pipeline/schemas/prefs.schema.json +25 -4
  130. package/pipeline/schemas/repos.schema.json +39 -0
  131. package/pipeline/schemas/resume-request.schema.json +37 -0
  132. package/pipeline/schemas/run-log.schema.json +32 -0
  133. package/pipeline/schemas/run-questions.json +5 -1
  134. package/pipeline/schemas/run-questions.schema.json +1 -1
  135. package/pipeline/schemas/runs-index.schema.json +59 -3
  136. package/pipeline/scripts/_run-paths.mjs +8 -2
  137. package/pipeline/scripts/analysis-conform-coverage.mjs +96 -0
  138. package/pipeline/scripts/analysis-sources.mjs +264 -0
  139. package/pipeline/scripts/analysis-story-body.mjs +210 -0
  140. package/pipeline/scripts/analysis-story-tree.mjs +73 -12
  141. package/pipeline/scripts/analysis-tickets-writeback.mjs +101 -0
  142. package/pipeline/scripts/autopilot-control.mjs +223 -0
  143. package/pipeline/scripts/autopilot-runner.mjs +14 -39
  144. package/pipeline/scripts/build-references.mjs +19 -2
  145. package/pipeline/scripts/confluence-readback.mjs +129 -0
  146. package/pipeline/scripts/contract-server.mjs +373 -7
  147. package/pipeline/scripts/doctor.mjs +5 -2
  148. package/pipeline/scripts/estimate.mjs +223 -0
  149. package/pipeline/scripts/gate-ledger.mjs +64 -3
  150. package/pipeline/scripts/gc-plan.mjs +288 -0
  151. package/pipeline/scripts/gc-refs.sh +33 -2
  152. package/pipeline/scripts/gc-tmp.sh +33 -2
  153. package/pipeline/scripts/gc-worktrees.sh +42 -3
  154. package/pipeline/scripts/gen-mode-dispatch.mjs +3 -24
  155. package/pipeline/scripts/jira-wiki-escape.mjs +40 -0
  156. package/pipeline/scripts/launch-request.mjs +182 -10
  157. package/pipeline/scripts/phase-tracker.sh +62 -1
  158. package/pipeline/scripts/run-kill.mjs +232 -0
  159. package/pipeline/scripts/run-log.mjs +111 -0
  160. package/pipeline/scripts/runs-index.mjs +177 -11
  161. package/pipeline/scripts/scenario-audit.mjs +245 -0
  162. package/pipeline/scripts/validate-analysis-doc.mjs +204 -76
  163. package/pipeline/skills/.skill-manifest.json +27 -19
  164. package/pipeline/skills/shared/README.md +5 -3
  165. package/pipeline/skills/shared/core/multi-agent/SKILL.md +51 -450
  166. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +13 -2
  167. package/pipeline/skills/shared/core/multi-agent-analysis-jira/SKILL.md +56 -6
  168. package/pipeline/skills/shared/core/multi-agent-autopilot/SKILL.md +6 -0
  169. package/pipeline/skills/shared/core/multi-agent-autopilot-off/SKILL.md +26 -44
  170. package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +31 -127
  171. package/pipeline/skills/shared/core/multi-agent-doctor/SKILL.md +6 -0
  172. package/pipeline/skills/shared/core/multi-agent-estimate/SKILL.md +61 -0
  173. package/pipeline/skills/shared/core/multi-agent-kill/SKILL.md +14 -19
  174. package/pipeline/skills/shared/core/multi-agent-refactor/SKILL.md +7 -76
  175. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +6 -1
  176. package/pipeline/skills/shared/core/multi-agent-review-analysis/SKILL.md +6 -1
  177. package/pipeline/skills/shared/core/multi-agent-review-issue/SKILL.md +1 -1
  178. package/pipeline/skills/shared/core/multi-agent-review-jira/SKILL.md +1 -1
  179. package/pipeline/skills/shared/core/multi-agent-scenario-audit/SKILL.md +77 -0
  180. package/pipeline/skills/shared/core/multi-agent-serve/SKILL.md +6 -3
  181. package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +206 -324
  182. package/pipeline/skills/shared/core/multi-agent-store-ready/SKILL.md +5 -0
  183. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +4 -4
@@ -34,6 +34,11 @@ $HOME/.copilot/multi-agent/commands/store-ready.md
34
34
  Do not re-derive the gate structure from this file; it is a summary, and the target
35
35
  doc is the contract.
36
36
 
37
+ The target doc moves its bulky procedures into refs, read at the step that needs
38
+ them: `$HOME/.claude/multi-agent-refs/store-ready/preflight.md` (Steps 1-2),
39
+ `build.md` (Step 3), `gate-1-static.md` (Gate 1), `gate-3-policy.md` (Gate 3) and
40
+ `report.md` (Step 7), all in that same directory.
41
+
37
42
  ## Gate matrix (summary - the target doc is authoritative)
38
43
 
39
44
  | Gate | iOS | Android |
@@ -33,7 +33,7 @@ Run all steps automatically:
33
33
  ```
34
34
  Step 0: DOCTOR node $HOME/.claude/scripts/doctor.mjs - exit 2 or 4 STOPS the sync
35
35
  Step 1: DETECT Compare timestamps, find stale targets
36
- Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 61 sub-command skills)
36
+ Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 63 sub-command skills)
37
37
  Step 2b: CODEX Claude Code -> Codex CLI (1 router skill + sub-command specs as refs + agent TOML)
38
38
  Step 3: REPO Claude Code -> pipeline repo (genericized, personal data scrub)
39
39
  Step 3d: DEV-TOOLKIT Companion MCP server -> detect movement, ship gates, commit + publish
@@ -228,17 +228,17 @@ When invoked with the `release` argument:
228
228
  |-------------|-------------|
229
229
  | `~/.claude/commands/multi-agent/{cmd}/SKILL.md` | `~/.copilot/skills/multi-agent-{cmd}/SKILL.md` |
230
230
 
231
- **61 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
231
+ **63 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
232
232
 
233
233
  ```
234
234
  analysis, analysis-jira, analysis-resolve, autopilot, autopilot-off,
235
235
  autopilot-on, autopilot-status, build-optimize, channels, complaint-analysis,
236
- create-jira, design-check, diff-explain, doctor, feedback, forget,
236
+ create-jira, design-check, diff-explain, doctor, estimate, feedback, forget,
237
237
  garbage-collect, graph, help, ios-coding-standard, issue, jira, kill,
238
238
  language, log, manual-test, model, prune-logs,
239
239
  prune-prompts, purge, refactor, research, resume, review,
240
240
  review-analysis, review-issue, review-jira, route-off, route-on,
241
- route-status, routines, save, scaffold, scan, search,
241
+ route-status, routines, save, scaffold, scan, scenario-audit, search,
242
242
  security-review, serve, setup, stack, status, steer, store-ready, sync, test, test-accessibility,
243
243
  test-dark-mode, test-dynamic-type, test-screenshots, testflight-validation,
244
244
  uninstall, update