@mmerterden/multi-agent-pipeline 20.44.0 → 21.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 (419) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/README.md +31 -35
  3. package/README.tr.md +30 -34
  4. package/SECURITY.md +4 -4
  5. package/docs/architecture.md +6 -6
  6. package/docs/ecosystem.md +35 -30
  7. package/docs/facts.json +10 -8
  8. package/docs/features.md +6 -5
  9. package/index.js +1 -1
  10. package/install/_common.mjs +5 -1
  11. package/install/_mcp-register.mjs +80 -5
  12. package/install/_plugin-skills.mjs +1 -1
  13. package/install/_unattended-profile.mjs +12 -3
  14. package/install/claude.mjs +45 -4
  15. package/install/codex.mjs +2 -2
  16. package/install/index.mjs +49 -9
  17. package/install/templates/claude-hooks.json +2 -2
  18. package/install/templates/codex-instructions.md +1 -1
  19. package/install/templates/copilot-instructions.md +7 -7
  20. package/manifest.json +404 -404
  21. package/package.json +4 -4
  22. package/pipeline/agents/security-auditor.md +2 -2
  23. package/pipeline/agents/test-gen-analyst.md +1 -1
  24. package/pipeline/commands/archive-guard.md +6 -6
  25. package/pipeline/commands/multi-agent/SKILL.md +23 -2
  26. package/pipeline/commands/multi-agent/analysis/SKILL.md +8 -0
  27. package/pipeline/commands/multi-agent/analysis-jira/SKILL.md +8 -0
  28. package/pipeline/commands/multi-agent/autopilot-off/SKILL.md +10 -6
  29. package/pipeline/commands/multi-agent/bug-bash/SKILL.md +1 -1
  30. package/pipeline/commands/multi-agent/channels/SKILL.md +8 -0
  31. package/pipeline/commands/multi-agent/complaint-analysis/SKILL.md +8 -0
  32. package/pipeline/commands/multi-agent/create-jira/SKILL.md +8 -0
  33. package/pipeline/commands/multi-agent/design-check/SKILL.md +9 -1
  34. package/pipeline/commands/multi-agent/issue/SKILL.md +8 -0
  35. package/pipeline/commands/multi-agent/jira/SKILL.md +8 -0
  36. package/pipeline/commands/multi-agent/kill/SKILL.md +8 -0
  37. package/pipeline/commands/multi-agent/office-off/SKILL.md +3 -4
  38. package/pipeline/commands/multi-agent/office-on/SKILL.md +2 -6
  39. package/pipeline/commands/multi-agent/office-status/SKILL.md +1 -6
  40. package/pipeline/commands/multi-agent/prune-logs/SKILL.md +2 -2
  41. package/pipeline/commands/multi-agent/purge/SKILL.md +8 -0
  42. package/pipeline/commands/multi-agent/refactor/SKILL.md +16 -8
  43. package/pipeline/commands/multi-agent/research/SKILL.md +1 -1
  44. package/pipeline/commands/multi-agent/resume/SKILL.md +8 -0
  45. package/pipeline/commands/multi-agent/review/SKILL.md +8 -0
  46. package/pipeline/commands/multi-agent/review-analysis/SKILL.md +8 -0
  47. package/pipeline/commands/multi-agent/review-issue/SKILL.md +8 -0
  48. package/pipeline/commands/multi-agent/review-jira/SKILL.md +8 -0
  49. package/pipeline/commands/multi-agent/review-priority/SKILL.md +8 -0
  50. package/pipeline/commands/multi-agent/route-on/SKILL.md +1 -1
  51. package/pipeline/commands/multi-agent/routines/SKILL.md +36 -14
  52. package/pipeline/commands/multi-agent/save/SKILL.md +1 -1
  53. package/pipeline/commands/multi-agent/scaffold/SKILL.md +8 -0
  54. package/pipeline/commands/multi-agent/search/SKILL.md +4 -4
  55. package/pipeline/commands/multi-agent/security-review/SKILL.md +9 -4
  56. package/pipeline/commands/multi-agent/setup/SKILL.md +7 -2
  57. package/pipeline/commands/multi-agent/store-ready/SKILL.md +5 -3
  58. package/pipeline/commands/multi-agent/sync/SKILL.md +20 -12
  59. package/pipeline/commands/multi-agent/test/SKILL.md +1 -1
  60. package/pipeline/commands/multi-agent/test-accessibility/SKILL.md +1 -1
  61. package/pipeline/commands/multi-agent/test-dark-mode/SKILL.md +1 -1
  62. package/pipeline/commands/multi-agent/test-dynamic-type/SKILL.md +1 -1
  63. package/pipeline/commands/multi-agent/test-gen/SKILL.md +1 -1
  64. package/pipeline/commands/multi-agent/test-screenshots/SKILL.md +1 -1
  65. package/pipeline/commands/multi-agent/testflight-validation/SKILL.md +1 -1
  66. package/pipeline/commands/multi-agent/uninstall/SKILL.md +3 -3
  67. package/pipeline/commands/multi-agent/update/SKILL.md +9 -2
  68. package/pipeline/commands/sim-test.md +5 -5
  69. package/pipeline/contract/CHANGELOG.md +49 -0
  70. package/pipeline/contract/README.md +34 -29
  71. package/pipeline/contract/build.mjs +0 -5
  72. package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
  73. package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
  74. package/pipeline/contract/manifest.json +62 -122
  75. package/pipeline/contract/types/index.d.ts +97 -49
  76. package/pipeline/lib/credential-inventory.sh +3 -2
  77. package/pipeline/lib/cross-repo.mjs +11 -6
  78. package/pipeline/lib/fetch-crashlytics.sh +5 -2
  79. package/pipeline/lib/mcp-rename.mjs +508 -0
  80. package/pipeline/lib/model-dispatch.sh +1 -1
  81. package/pipeline/lib/office-legacy.mjs +207 -0
  82. package/pipeline/lib/outbound-gate.mjs +8 -2
  83. package/pipeline/lib/route-state.sh +2 -2
  84. package/pipeline/lib/routine-secret-scan.mjs +166 -0
  85. package/pipeline/lib/toolkit-llm.sh +12 -10
  86. package/pipeline/lib/unattended.mjs +1 -1
  87. package/pipeline/lib/unattended.sh +1 -1
  88. package/pipeline/lib/untrusted-fence.mjs +1 -1
  89. package/pipeline/lib/usage-endpoint.mjs +32 -0
  90. package/pipeline/lib/usage-token.mjs +76 -0
  91. package/pipeline/multi-agent-refs/_input-parser.md +22 -0
  92. package/pipeline/multi-agent-refs/analysis/locked.md +1 -1
  93. package/pipeline/multi-agent-refs/android-guide.md +2 -2
  94. package/pipeline/multi-agent-refs/audit-guide.md +1 -1
  95. package/pipeline/multi-agent-refs/complaint-analysis/phases.md +1 -1
  96. package/pipeline/multi-agent-refs/cross-cli-contract.md +20 -18
  97. package/pipeline/multi-agent-refs/design-check/build-launch.md +2 -2
  98. package/pipeline/multi-agent-refs/design-check/compare.md +2 -2
  99. package/pipeline/multi-agent-refs/design-check/drive-capture.md +1 -1
  100. package/pipeline/multi-agent-refs/design-check/export.md +1 -1
  101. package/pipeline/multi-agent-refs/design-check/init-inventory.md +2 -2
  102. package/pipeline/multi-agent-refs/design-check/mcp-currency-gate.md +4 -4
  103. package/pipeline/multi-agent-refs/design-check/scope-and-ledger.md +1 -1
  104. package/pipeline/multi-agent-refs/features/build-facts.md +115 -0
  105. package/pipeline/multi-agent-refs/features/code-graph.md +8 -8
  106. package/pipeline/multi-agent-refs/features/code-intelligence.md +5 -5
  107. package/pipeline/multi-agent-refs/features/design-conformance.md +4 -4
  108. package/pipeline/multi-agent-refs/features/doctor.md +43 -4
  109. package/pipeline/multi-agent-refs/features/exploratory-testing.md +1 -1
  110. package/pipeline/multi-agent-refs/features/external-context-injection.md +1 -1
  111. package/pipeline/multi-agent-refs/features/free-models.md +5 -5
  112. package/pipeline/multi-agent-refs/features/office-threat-model.md +9 -32
  113. package/pipeline/multi-agent-refs/features/plan-attachment.md +55 -0
  114. package/pipeline/multi-agent-refs/features/product-context.md +1 -1
  115. package/pipeline/multi-agent-refs/features/routine-sharing.md +196 -0
  116. package/pipeline/multi-agent-refs/features/security-audit.md +3 -3
  117. package/pipeline/multi-agent-refs/features/test-classification.md +2 -2
  118. package/pipeline/multi-agent-refs/features/unattended-gates.md +1 -1
  119. package/pipeline/multi-agent-refs/features/unattended-security.md +8 -23
  120. package/pipeline/multi-agent-refs/features/usage-reporting.md +172 -4
  121. package/pipeline/multi-agent-refs/features/visual-evidence.md +1 -1
  122. package/pipeline/multi-agent-refs/help/en.md +138 -274
  123. package/pipeline/multi-agent-refs/help/tr.md +140 -274
  124. package/pipeline/multi-agent-refs/keychain.md +2 -2
  125. package/pipeline/multi-agent-refs/knowledge.md +4 -4
  126. package/pipeline/multi-agent-refs/orchestrator/copilot-pipeline.md +3 -3
  127. package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +2 -0
  128. package/pipeline/multi-agent-refs/outside-the-pipeline.md +2 -2
  129. package/pipeline/multi-agent-refs/phases/modes.md +17 -0
  130. package/pipeline/multi-agent-refs/phases/phase-0-init.md +21 -2
  131. package/pipeline/multi-agent-refs/phases/phase-1-plan.md +8 -5
  132. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +2 -2
  133. package/pipeline/multi-agent-refs/phases/phase-3-review.md +4 -4
  134. package/pipeline/multi-agent-refs/phases/phase-5-report.md +10 -0
  135. package/pipeline/multi-agent-refs/refactor/sweep.md +4 -4
  136. package/pipeline/multi-agent-refs/refactor/toolkit-research.md +1 -1
  137. package/pipeline/multi-agent-refs/research/engine.md +1 -1
  138. package/pipeline/multi-agent-refs/rules.md +2 -2
  139. package/pipeline/multi-agent-refs/setup/app-store-connect.md +2 -2
  140. package/pipeline/multi-agent-refs/setup/firebase.md +3 -2
  141. package/pipeline/multi-agent-refs/setup/google-play.md +1 -1
  142. package/pipeline/multi-agent-refs/setup/token-save-flow.md +3 -2
  143. package/pipeline/multi-agent-refs/store-ready/gate-1-static.md +12 -2
  144. package/pipeline/multi-agent-refs/store-ready/gate-3-policy.md +3 -3
  145. package/pipeline/multi-agent-refs/store-ready/gates.md +2 -1
  146. package/pipeline/multi-agent-refs/store-ready/report.md +10 -1
  147. package/pipeline/multi-agent-refs/swiftui-guide.md +2 -2
  148. package/pipeline/multi-agent-refs/sync/codex.md +1 -1
  149. package/pipeline/multi-agent-refs/sync/dev-toolkit.md +5 -5
  150. package/pipeline/multi-agent-refs/sync/overview.md +2 -2
  151. package/pipeline/multi-agent-refs/sync/stack-plugins.md +2 -2
  152. package/pipeline/multi-agent-refs/tracker-contract.md +1 -1
  153. package/pipeline/multi-agent-refs/unattended-contract.md +1 -2
  154. package/pipeline/multi-agent-refs/web-guide.md +2 -2
  155. package/pipeline/office/index.html +645 -144
  156. package/pipeline/office/toolkit.json +1 -1
  157. package/pipeline/preferences-template.json +6 -6
  158. package/pipeline/rules/figma-pipeline.md +2 -2
  159. package/pipeline/rules/outside-the-pipeline.md +1 -1
  160. package/pipeline/schemas/activity-chat.schema.json +1 -1
  161. package/pipeline/schemas/activity-roles.schema.json +1 -1
  162. package/pipeline/schemas/activity.schema.json +1 -1
  163. package/pipeline/schemas/agent-state.schema.json +36 -2
  164. package/pipeline/schemas/analysis-output.schema.json +1 -1
  165. package/pipeline/schemas/answer-request.schema.json +1 -1
  166. package/pipeline/schemas/answer-result.schema.json +1 -1
  167. package/pipeline/schemas/autopilot-config.schema.json +1 -1
  168. package/pipeline/schemas/autopilot-off-request.schema.json +1 -1
  169. package/pipeline/schemas/autopilot-off.schema.json +1 -1
  170. package/pipeline/schemas/autopilot-on-request.schema.json +1 -1
  171. package/pipeline/schemas/autopilot-on.schema.json +1 -1
  172. package/pipeline/schemas/autopilot-status.schema.json +1 -1
  173. package/pipeline/schemas/bug-bash-verification.schema.json +1 -1
  174. package/pipeline/schemas/code-graph.schema.json +1 -1
  175. package/pipeline/schemas/command-parameters.schema.json +1 -1
  176. package/pipeline/schemas/constitution.schema.json +1 -1
  177. package/pipeline/schemas/contract-error.schema.json +6 -13
  178. package/pipeline/schemas/criteria-manifest.schema.json +1 -1
  179. package/pipeline/schemas/design-check-config.schema.json +1 -1
  180. package/pipeline/schemas/diff-risk.schema.json +1 -1
  181. package/pipeline/schemas/disk-clean-request.schema.json +1 -1
  182. package/pipeline/schemas/disk-clean.schema.json +1 -1
  183. package/pipeline/schemas/doctor-report.schema.json +1 -1
  184. package/pipeline/schemas/explore-run.schema.json +1 -1
  185. package/pipeline/schemas/figma-project-config.schema.json +1 -1
  186. package/pipeline/schemas/gc-request.schema.json +1 -1
  187. package/pipeline/schemas/gc.schema.json +1 -1
  188. package/pipeline/schemas/issue-maturity.schema.json +1 -1
  189. package/pipeline/schemas/issues.schema.json +1 -1
  190. package/pipeline/schemas/job-change.schema.json +1 -1
  191. package/pipeline/schemas/job-request.schema.json +1 -1
  192. package/pipeline/schemas/kill-request.schema.json +1 -1
  193. package/pipeline/schemas/kill.schema.json +1 -1
  194. package/pipeline/schemas/launch-plan.schema.json +1 -1
  195. package/pipeline/schemas/launch-request.schema.json +2 -2
  196. package/pipeline/schemas/launch.schema.json +1 -1
  197. package/pipeline/schemas/learnings-ledger.schema.json +1 -1
  198. package/pipeline/schemas/ledger.schema.json +1 -1
  199. package/pipeline/schemas/office-archive.schema.json +2 -2
  200. package/pipeline/schemas/office-credentials.schema.json +1 -1
  201. package/pipeline/schemas/office-jobs.schema.json +1 -1
  202. package/pipeline/schemas/office-memory.schema.json +1 -1
  203. package/pipeline/schemas/office-server-room.schema.json +1 -1
  204. package/pipeline/schemas/office-settings-request.schema.json +1 -1
  205. package/pipeline/schemas/office-settings.schema.json +1 -1
  206. package/pipeline/schemas/permissions.schema.json +1 -1
  207. package/pipeline/schemas/phases.json +4 -4
  208. package/pipeline/schemas/phases.schema.json +1 -1
  209. package/pipeline/schemas/plan-critique.schema.json +1 -1
  210. package/pipeline/schemas/planning-output.schema.json +1 -1
  211. package/pipeline/schemas/pr-reach.schema.json +1 -1
  212. package/pipeline/schemas/pr-request.schema.json +1 -1
  213. package/pipeline/schemas/prefs.schema.json +40 -18
  214. package/pipeline/schemas/product-tree-overlay.schema.json +1 -1
  215. package/pipeline/schemas/product-tree.schema.json +1 -1
  216. package/pipeline/schemas/prs.schema.json +1 -1
  217. package/pipeline/schemas/prune-logs-request.schema.json +1 -1
  218. package/pipeline/schemas/prune-logs.schema.json +1 -1
  219. package/pipeline/schemas/repo-change.schema.json +1 -1
  220. package/pipeline/schemas/repo-profile.schema.json +1 -1
  221. package/pipeline/schemas/repo-request.schema.json +1 -1
  222. package/pipeline/schemas/repos.schema.json +1 -1
  223. package/pipeline/schemas/research-output.schema.json +1 -1
  224. package/pipeline/schemas/resume-request.schema.json +1 -1
  225. package/pipeline/schemas/review-file-exclusions.schema.json +1 -1
  226. package/pipeline/schemas/review-verdict-request.schema.json +1 -1
  227. package/pipeline/schemas/review-verdict.schema.json +1 -1
  228. package/pipeline/schemas/reviewer-output.schema.json +1 -1
  229. package/pipeline/schemas/route-config.schema.json +2 -2
  230. package/pipeline/schemas/routine-delete.schema.json +1 -1
  231. package/pipeline/schemas/routines.schema.json +1 -1
  232. package/pipeline/schemas/run-evidence.schema.json +1 -1
  233. package/pipeline/schemas/run-log.schema.json +1 -1
  234. package/pipeline/schemas/run-questions.schema.json +1 -1
  235. package/pipeline/schemas/run-results.schema.json +1 -1
  236. package/pipeline/schemas/runs-index.schema.json +1 -1
  237. package/pipeline/schemas/scaffold-manifest.schema.json +1 -1
  238. package/pipeline/schemas/scope-check.schema.json +1 -1
  239. package/pipeline/schemas/secret-patterns.schema.json +1 -1
  240. package/pipeline/schemas/security-finding.schema.json +1 -1
  241. package/pipeline/schemas/service-read.schema.json +1 -1
  242. package/pipeline/schemas/shared-routine-import-request.schema.json +43 -0
  243. package/pipeline/schemas/shared-routine-import.schema.json +118 -0
  244. package/pipeline/schemas/shared-routine.schema.json +79 -0
  245. package/pipeline/schemas/shared-routines.schema.json +83 -0
  246. package/pipeline/schemas/skill-catalog.schema.json +1 -1
  247. package/pipeline/schemas/stack-adapters.schema.json +1 -1
  248. package/pipeline/schemas/stack-change.schema.json +1 -1
  249. package/pipeline/schemas/stack-request.schema.json +1 -1
  250. package/pipeline/schemas/stack.schema.json +1 -1
  251. package/pipeline/schemas/steer-request.schema.json +1 -1
  252. package/pipeline/schemas/steer.schema.json +1 -1
  253. package/pipeline/schemas/system-status.schema.json +2 -2
  254. package/pipeline/schemas/test-gap.schema.json +1 -1
  255. package/pipeline/schemas/test-gen-discovery.schema.json +1 -1
  256. package/pipeline/schemas/test-gen-gaps.schema.json +1 -1
  257. package/pipeline/schemas/test-gen-inventory.schema.json +1 -1
  258. package/pipeline/schemas/test-gen-results.schema.json +1 -1
  259. package/pipeline/schemas/token-budget.json +4 -4
  260. package/pipeline/schemas/token-budget.schema.json +1 -1
  261. package/pipeline/schemas/tool-call-request.schema.json +1 -1
  262. package/pipeline/schemas/tool-call.schema.json +1 -1
  263. package/pipeline/schemas/toolkit-path-params.json +34 -2
  264. package/pipeline/schemas/toolkit-path-params.schema.json +2 -2
  265. package/pipeline/schemas/tools.schema.json +2 -2
  266. package/pipeline/schemas/triage-corpus.schema.json +1 -1
  267. package/pipeline/schemas/triage-output.schema.json +1 -1
  268. package/pipeline/schemas/unattended-policy.json +8 -4
  269. package/pipeline/schemas/unattended-policy.schema.json +1 -1
  270. package/pipeline/schemas/unattended-profile.json +8 -6
  271. package/pipeline/schemas/unattended-profile.schema.json +1 -1
  272. package/pipeline/schemas/worktrees.schema.json +1 -1
  273. package/pipeline/scripts/_contract-core.mjs +1 -1
  274. package/pipeline/scripts/_contract-routes-ops.mjs +14 -1
  275. package/pipeline/scripts/_contract-routes-routines.mjs +327 -0
  276. package/pipeline/scripts/_contract-routes-runs.mjs +4 -47
  277. package/pipeline/scripts/_guard-probe.mjs +1 -1
  278. package/pipeline/scripts/_renamed-skills.mjs +20 -8
  279. package/pipeline/scripts/_sibling-root.mjs +1 -1
  280. package/pipeline/scripts/_stack-routing.mjs +1 -0
  281. package/pipeline/scripts/_user_guard_rules.py +22 -7
  282. package/pipeline/scripts/autopilot-control.mjs +14 -2
  283. package/pipeline/scripts/autopilot-loop.mjs +16 -1
  284. package/pipeline/scripts/autopilot-runner.mjs +37 -12
  285. package/pipeline/scripts/bulk-read.sh +1 -1
  286. package/pipeline/scripts/contract-server.mjs +68 -147
  287. package/pipeline/scripts/cost-table.json +2 -2
  288. package/pipeline/scripts/doctor.mjs +171 -10
  289. package/pipeline/scripts/feedback-send.mjs +2 -36
  290. package/pipeline/scripts/gen-facts.mjs +21 -1
  291. package/pipeline/scripts/gen-free-hosts.mjs +2 -2
  292. package/pipeline/scripts/gen-mode-dispatch.mjs +11 -7
  293. package/pipeline/scripts/graph-hint.mjs +1 -1
  294. package/pipeline/scripts/health-report.mjs +4 -3
  295. package/pipeline/scripts/job-launch.mjs +1 -1
  296. package/pipeline/scripts/launch-request.mjs +12 -25
  297. package/pipeline/scripts/migrate-prefs.mjs +21 -1
  298. package/pipeline/scripts/office-archive.mjs +1 -2
  299. package/pipeline/scripts/office-control.mjs +17 -92
  300. package/pipeline/scripts/office-server-room.mjs +1 -1
  301. package/pipeline/scripts/phase0-exit-gate.mjs +1 -1
  302. package/pipeline/scripts/plan-attachment.mjs +1082 -0
  303. package/pipeline/scripts/pre-commit-check.sh +4 -0
  304. package/pipeline/scripts/pre-push-check.sh +1 -1
  305. package/pipeline/scripts/probe-evidence-capability.sh +1 -1
  306. package/pipeline/scripts/repo-recommend.mjs +2 -2
  307. package/pipeline/scripts/routine-registry.mjs +537 -53
  308. package/pipeline/scripts/routine-share.mjs +442 -0
  309. package/pipeline/scripts/runs-index.mjs +1 -1
  310. package/pipeline/scripts/system-status.mjs +8 -2
  311. package/pipeline/scripts/test-classify.mjs +1 -1
  312. package/pipeline/scripts/toolkit-tools.mjs +4 -3
  313. package/pipeline/scripts/unattended_policy.py +18 -5
  314. package/pipeline/scripts/uninstall.mjs +71 -28
  315. package/pipeline/scripts/usage-access.mjs +384 -0
  316. package/pipeline/scripts/usage-identity.mjs +81 -14
  317. package/pipeline/scripts/usage-register.mjs +389 -72
  318. package/pipeline/scripts/usage-report.mjs +124 -11
  319. package/pipeline/scripts/work-items.mjs +1 -1
  320. package/pipeline/scripts/write-store-config.mjs +3 -3
  321. package/pipeline/skills/.skill-manifest.json +66 -70
  322. package/pipeline/skills/.skills-index.json +18 -29
  323. package/pipeline/skills/renamed.json +2 -1
  324. package/pipeline/skills/shared/README.md +11 -12
  325. package/pipeline/skills/shared/core/apple-archive-compliance/SKILL.md +14 -14
  326. package/pipeline/skills/shared/core/apple-archive-compliance/references/examples.md +1 -1
  327. package/pipeline/skills/shared/core/apple-archive-compliance/references/version-history.md +3 -3
  328. package/pipeline/skills/shared/core/google-play-compliance/SKILL.md +1 -1
  329. package/pipeline/skills/shared/core/google-play-compliance/references/notes.md +1 -1
  330. package/pipeline/skills/shared/core/multi-agent/SKILL.md +14 -4
  331. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +8 -0
  332. package/pipeline/skills/shared/core/multi-agent-analysis-jira/SKILL.md +8 -0
  333. package/pipeline/skills/shared/core/multi-agent-autopilot-off/SKILL.md +6 -3
  334. package/pipeline/skills/shared/core/multi-agent-bug-bash/SKILL.md +1 -1
  335. package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +8 -0
  336. package/pipeline/skills/shared/core/multi-agent-complaint-analysis/SKILL.md +9 -1
  337. package/pipeline/skills/shared/core/multi-agent-create-jira/SKILL.md +8 -0
  338. package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +13 -5
  339. package/pipeline/skills/shared/core/multi-agent-graph/SKILL.md +6 -6
  340. package/pipeline/skills/shared/core/multi-agent-help/SKILL.md +1 -1
  341. package/pipeline/skills/shared/core/multi-agent-issue/SKILL.md +8 -0
  342. package/pipeline/skills/shared/core/multi-agent-jira/SKILL.md +8 -0
  343. package/pipeline/skills/shared/core/multi-agent-kill/SKILL.md +8 -0
  344. package/pipeline/skills/shared/core/multi-agent-office-off/SKILL.md +2 -2
  345. package/pipeline/skills/shared/core/multi-agent-office-on/SKILL.md +1 -1
  346. package/pipeline/skills/shared/core/multi-agent-office-status/SKILL.md +2 -4
  347. package/pipeline/skills/shared/core/multi-agent-purge/SKILL.md +8 -0
  348. package/pipeline/skills/shared/core/multi-agent-refactor/SKILL.md +16 -8
  349. package/pipeline/skills/shared/core/multi-agent-research/SKILL.md +2 -2
  350. package/pipeline/skills/shared/core/multi-agent-resume/SKILL.md +8 -0
  351. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +8 -0
  352. package/pipeline/skills/shared/core/multi-agent-review-analysis/SKILL.md +8 -0
  353. package/pipeline/skills/shared/core/multi-agent-review-issue/SKILL.md +8 -0
  354. package/pipeline/skills/shared/core/multi-agent-review-jira/SKILL.md +8 -0
  355. package/pipeline/skills/shared/core/multi-agent-review-priority/SKILL.md +8 -0
  356. package/pipeline/skills/shared/core/multi-agent-route-on/SKILL.md +1 -1
  357. package/pipeline/skills/shared/core/multi-agent-routines/SKILL.md +17 -6
  358. package/pipeline/skills/shared/core/multi-agent-save/SKILL.md +3 -3
  359. package/pipeline/skills/shared/core/multi-agent-scaffold/SKILL.md +8 -0
  360. package/pipeline/skills/shared/core/multi-agent-search/SKILL.md +3 -3
  361. package/pipeline/skills/shared/core/multi-agent-security-review/SKILL.md +6 -5
  362. package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +7 -2
  363. package/pipeline/skills/shared/core/multi-agent-store-ready/SKILL.md +20 -8
  364. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +18 -10
  365. package/pipeline/skills/shared/core/multi-agent-test/SKILL.md +5 -3
  366. package/pipeline/skills/shared/core/multi-agent-test-accessibility/SKILL.md +5 -3
  367. package/pipeline/skills/shared/core/multi-agent-test-dark-mode/SKILL.md +5 -3
  368. package/pipeline/skills/shared/core/multi-agent-test-dynamic-type/SKILL.md +5 -3
  369. package/pipeline/skills/shared/core/multi-agent-test-gen/SKILL.md +2 -2
  370. package/pipeline/skills/shared/core/multi-agent-test-screenshots/SKILL.md +5 -3
  371. package/pipeline/skills/shared/core/multi-agent-testflight-validation/SKILL.md +7 -4
  372. package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +70 -17
  373. package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +2 -2
  374. package/pipeline/skills/shared/external/app-store-review/SKILL.md +1 -1
  375. package/pipeline/skills/shared/external/e2e-testing/SKILL.md +23 -23
  376. package/pipeline/skills/shared/external/e2e-testing/evals/evals.json +1 -1
  377. package/pipeline/skills/shared/external/e2e-testing/references/document-fixtures.md +6 -6
  378. package/pipeline/skills/shared/external/free-llm-apis/SKILL.md +2 -2
  379. package/pipeline/skills/shared/external/handle-request/SKILL.md +1 -1
  380. package/pipeline/skills/shared/external/hig-app-icons/SKILL.md +2 -2
  381. package/pipeline/skills/shared/external/hig-app-icons/references/icon-workflow.md +1 -1
  382. package/pipeline/skills/shared/external/ios-design-review/SKILL.md +12 -12
  383. package/pipeline/skills/shared/external/ios-design-review/evals/evals.json +1 -1
  384. package/pipeline/skills/shared/external/ios-design-review/references/appearance-matrix.md +17 -17
  385. package/pipeline/skills/shared/external/ios-design-review/references/checklist.md +1 -1
  386. package/pipeline/skills/shared/external/ios-simulator-debugging/SKILL.md +5 -5
  387. package/pipeline/skills/shared/external/passkit-wallet/SKILL.md +4 -4
  388. package/pipeline/skills/shared/external/release-video/SKILL.md +10 -10
  389. package/pipeline/skills/shared/external/release-video/evals/evals.json +8 -8
  390. package/pipeline/skills/shared/external/reverse-engineer-own-app/SKILL.md +231 -0
  391. package/pipeline/skills/shared/external/reverse-engineer-own-app/evals/evals.json +43 -0
  392. package/pipeline/skills/shared/external/security-review/SKILL.md +2 -2
  393. package/pipeline/skills/shared/external/security-review/references/owasp-mobile-top10-2024.md +1 -1
  394. package/pipeline/skills/shared/external/security-review/references/owasp-web-api-top10-2021.md +1 -1
  395. package/pipeline/skills/shared/external/short-video-craft/SKILL.md +20 -20
  396. package/pipeline/skills/shared/external/short-video-craft/evals/evals.json +3 -3
  397. package/pipeline/skills/shared/external/short-video-craft/references/generated-defaults.md +2 -2
  398. package/pipeline/skills/shared/external/signal-community/SKILL.md +6 -6
  399. package/pipeline/skills/shared/external/test-result-triage/SKILL.md +4 -4
  400. package/pipeline/skills/shared/external/web-testing/SKILL.md +3 -3
  401. package/pipeline/skills/shared/external/web-testing/references/testing-examples.md +13 -13
  402. package/pipeline/skills/skills-index.md +7 -8
  403. package/pipeline/commands/multi-agent/autopilot/SKILL.md +0 -123
  404. package/pipeline/commands/multi-agent/office-pair/SKILL.md +0 -89
  405. package/pipeline/contract/fixtures/error-unsigned.json +0 -5
  406. package/pipeline/lib/office-remote.mjs +0 -228
  407. package/pipeline/lib/qr-code.mjs +0 -386
  408. package/pipeline/lib/web-push.mjs +0 -198
  409. package/pipeline/multi-agent-refs/features/office-remote-protocol.md +0 -319
  410. package/pipeline/multi-agent-refs/features/phone-api.md +0 -306
  411. package/pipeline/schemas/phone-devices.schema.json +0 -61
  412. package/pipeline/schemas/phone-signed-request.schema.json +0 -67
  413. package/pipeline/scripts/_phone-auth.mjs +0 -485
  414. package/pipeline/scripts/office-pair.mjs +0 -459
  415. package/pipeline/scripts/office-push.mjs +0 -613
  416. package/pipeline/scripts/office-remote-client.mjs +0 -490
  417. package/pipeline/scripts/phone-devices.mjs +0 -248
  418. package/pipeline/skills/shared/core/multi-agent-autopilot/SKILL.md +0 -62
  419. package/pipeline/skills/shared/core/multi-agent-office-pair/SKILL.md +0 -19
@@ -394,9 +394,10 @@ Phase 1 produces an object conforming to `$HOME/.claude/schemas/planning-output.
394
394
 
395
395
  **Required: validator gate (deterministic) - run on the persisted file before the approval gate renders the plan; the validator's exit code decides, not the LLM turn:**
396
396
 
397
- Write the object with the Write tool to `$PLAN_FILE` = `$WORKTREE/.pipeline/plan.json`, then:
397
+ Write the object with the Write tool to `$PLAN_FILE` = `$WORKTREE/.pipeline/plan.json`, then clear the gate records (every write, edits included) and validate:
398
398
 
399
399
  ```bash
400
+ echo '{"phases":{"1":{"planApprovedAt":null,"gateSkippedAt":null}}}' | node $HOME/.claude/scripts/write-state.mjs "$STATE_FILE"
400
401
  node $HOME/.claude/scripts/validate-planning.mjs "$WORKTREE/.pipeline/plan.json" --spec "$(jq -r '.analysis.docPath[0] // empty' "$STATE_FILE")"
401
402
  ```
402
403
 
@@ -455,7 +456,7 @@ Log: "Phase 1: Consistency - requirements:{N/N mapped} anchors:{ok|M unanchore
455
456
  - `state.autopilot === true` (autopilot contract: zero interaction)
456
457
  - Autopilot safety classifier returns `recommendPause: false` (see Step 5c below)
457
458
 
458
- In the skipped case, log `🧠 Phase 1: Plan - gate skipped ({mode}), proceeding to Phase 2` and go to Phase 2.
459
+ In the skipped case, write `phases["1"].gateSkippedAt = now()` with write-state.mjs, log `🧠 Phase 1: Plan - gate skipped ({mode}), proceeding to Phase 2`, run the plan attachment (end of 5b), and go to Phase 2.
459
460
 
460
461
  ##### 5c - Autopilot safety classifier (runs before 5a/5b skip decision)
461
462
 
@@ -571,9 +572,11 @@ Handle the selection:
571
572
  - Pass the edit request + current plan to the planning model (Fable; Opus when the fallback ladder engages); it revises and returns a new plan (same schema, same validator)
572
573
  - Re-render the plan (5b), loop
573
574
 
574
- No hard cap on edit iterations - the user controls exit via the Approve / Cancel options. Between iterations, keep only the **latest plan** as canonical; previous renders are in the log for audit but do not re-enter the validator.
575
+ No hard cap on edit iterations - the user controls exit via the Approve / Cancel options. Only the **latest plan** is canonical; earlier renders stay in the log.
575
576
 
576
- **Validator**: every revised plan goes through `node $HOME/.claude/scripts/validate-planning.mjs -` before re-render. If validation fails after an edit, log `⚠️ Phase 1: Plan validator failed after edit request #N - retrying the planning model once` and retry once; on second failure surface the validator error to the user and go back to approval prompt with the pre-edit plan.
577
+ **Validator**: keep the pre-edit plan; every revision overwrites `$PLAN_FILE` and runs the validator gate block (Output contract) before re-render. If validation fails after an edit, log `⚠️ Phase 1: Plan validator failed after edit request #N - retrying the planning model once` and retry once; on second failure surface the validator error to the user and go back to the approval prompt with the pre-edit plan written back the same way.
578
+
579
+ **Once the gate passes** (Approve, or the autopilot skip): `plan-attachment.mjs decide`, then `upload` when it says so; it never stops the run (`features/plan-attachment.md`).
577
580
 
578
581
  #### Step 14 - Mode-specific short-circuit (reference)
579
582
 
@@ -582,7 +585,7 @@ The pipeline shapes interact with the gate as follows. This table is the source
582
585
  | Mode | Clarification | Approval Loop | Safety Classifier | Notes |
583
586
  |---|---|---|---|---|
584
587
  | Interactive (`/multi-agent`) | ✅ (max 2 rounds) | ✅ | - (redundant when a human approves) | Full gate |
585
- | `/multi-agent:autopilot` | ❌ | ❌ conditional | ✅ (if `autopilotSafetyGate !== false`) | A plan always exists. Safe plans proceed silently; high-risk plans trigger a one-time manual approval. Log records the score. |
588
+ | `/multi-agent "task" autopilot` | ❌ | ❌ conditional | ✅ (if `autopilotSafetyGate !== false`) | A plan always exists. Safe plans proceed silently; high-risk plans trigger a one-time manual approval. Log records the score. |
586
589
 
587
590
  **Why autopilot has an escape hatch:** "zero interaction, fully trust the scope" suits tightly-scoped batch work (component iteration over known-safe components) and fails on schema migrations auto-merging, security-path drift and delete-without-test sprawl. The safety classifier (Step 5c) is opt-out; known-safe workflows can set `prefs.global.autopilotSafetyGate = false` to skip it.
588
591
 
@@ -162,7 +162,7 @@ For each task (respecting dependency order), on start and on end: `bash $HOME/.c
162
162
  android: `./gradlew projects 2>/dev/null | grep -E "^\+--- Project"` and `./gradlew tasks --all 2>/dev/null | grep -m5 "assemble.*Debug"`.
163
163
 
164
164
  4. **Build verification** (per stack; ios/android under the build queue lock, see below):
165
- - **ios, preferred (MCP, multi-agent-toolkit >= 3.0.0)**: `build-lock.sh acquire "$TASK_ID"` → `mcp__multi-agent-toolkit__ios_xcodebuild({project|workspace, scheme, configuration: "Release", destination: "generic/platform=iOS", derived_data_path: "{worktreePath}/.DerivedData"})` → `build-lock.sh release "$TASK_ID"`. Returns one line `Build: SUCCESS|FAILURE (E errors, W warnings) [xcresult-<id>]`; on failure drill in via `mcp__multi-agent-toolkit__ios_xcresult({id, mode: "errors"})`, never dump the full log.
165
+ - **ios, preferred (MCP, multi-agent-mcp >= 3.0.0)**: `build-lock.sh acquire "$TASK_ID"` → `mcp__multi-agent__ios_xcodebuild({project|workspace, scheme, configuration: "Release", destination: "generic/platform=iOS", derived_data_path: "{worktreePath}/.DerivedData"})` → `build-lock.sh release "$TASK_ID"`. Returns one line `Build: SUCCESS|FAILURE (E errors, W warnings) [xcresult-<id>]`; on failure drill in via `mcp__multi-agent__ios_xcresult({id, mode: "errors"})`, never dump the full log.
166
166
  - **ios, fallback (raw)**: same lock pair around `xcodebuild build -scheme "{scheme}" -destination "generic/platform=iOS" -derivedDataPath "{worktreePath}/.DerivedData" 2>&1 | tail -5`.
167
167
  - **android**: lock pair around `./gradlew assembleDebug 2>&1 | tail -5` (the Gradle daemon and `build/` outputs contend across parallel worktrees exactly as DerivedData does - the lock applies).
168
168
  - **backend / web**: `python -m compileall .` / run the command `node $HOME/.claude/scripts/package-manager.mjs run --dir "{worktreePath}" --script build` prints, `2>&1 | tail -5` (exit 3: no build script); no lock.
@@ -227,7 +227,7 @@ Re-decide `visualEvidence.required` from the real diff first - Phase 0's `bugfix
227
227
  2. **Re-check the device.** `evidenceCapability` was measured at intake; a simulator booted then can be gone now. Re-measure the one volatile row with `$HOME/.claude/scripts/probe-evidence-capability.sh --platform "$EVIDENCE_PLATFORM" --repo "$WORKTREE" --only device`, which skips the repo scan the full probe does; gone means fall to the next open tier and write `visualEvidence.videoTierReason` as the transition (`tier 1 -> 3: simulator no longer booted`).
228
228
  3. **Recording**, by `state.testDepth`:
229
229
  - `unit+ui`: `video start` -> `$HOME/.claude/scripts/run-ui-tests.sh run --platform "$EVIDENCE_PLATFORM" --repo "$WORKTREE" --changed "$CHANGED_CSV"` -> `video stop`. Runner exit 3 (no matching test) or 4 (no target) -> stop, discard, fall to tier 2. Exit 1 is a red UI test: keep the recording, it shows the failure.
230
- - `unit+mcp`: `video start` -> drive with `mcp__multi-agent-toolkit__agent_run_steps` -> `video stop`. The only MCP-dependent path; MCP absent -> tier 3 gap.
230
+ - `unit+mcp`: `video start` -> drive with `mcp__multi-agent__agent_run_steps` -> `video stop`. The only MCP-dependent path; MCP absent -> tier 3 gap.
231
231
  - `unit`: no recording; the gap reason is the user's own answer.
232
232
  4. **Fit**: `$HOME/.claude/scripts/capture-evidence.sh fit --file <path>` per artefact. Quality degrades, the artefact is never dropped.
233
233
 
@@ -725,11 +725,11 @@ Before or during user testing, run device-level audits via Bash if user requests
725
725
  | Check | When | Command |
726
726
  | ------------------- | ----------------- | ----------------------------------------- |
727
727
  | UI flow video | `state.visualEvidence.required` AND Phase 2 recorded none | `capture-evidence.sh video start` -> drive the flow -> `video stop` -> `fit`. See below |
728
- | Accessibility audit | UI changes | `mcp__multi-agent-toolkit__{ios,android}_accessibility_audit` |
729
- | Biometric test | Auth flow changes | ios: `mcp__multi-agent-toolkit__ios_biometric` (android: manual) |
730
- | Launch time | Perf-sensitive changes | ios: app-launch instrument · android: `mcp__multi-agent-toolkit__android_launch_time` |
728
+ | Accessibility audit | UI changes | `mcp__multi-agent__{ios,android}_accessibility_audit` |
729
+ | Biometric test | Auth flow changes | ios: `mcp__multi-agent__ios_biometric` (android: manual) |
730
+ | Launch time | Perf-sensitive changes | ios: app-launch instrument · android: `mcp__multi-agent__android_launch_time` |
731
731
  | Visual test | Any UI changes | `/multi-agent test` (sim-test, both platforms) |
732
- | Snapshot regression | Component / pixel-stable UI changes | ios: `mcp__multi-agent-toolkit__ios_visual_diff` · android: `mcp__multi-agent-toolkit__android_screenshot` + compare |
732
+ | Snapshot regression | Component / pixel-stable UI changes | ios: `mcp__multi-agent__ios_visual_diff` · android: `mcp__multi-agent__android_screenshot` + compare |
733
733
  | Store screenshots | `taskType === screenshot` | ios: `ios_status_bar({preset: "clean"})` · android: `android_screenshot` |
734
734
 
735
735
  When `visualEvidence.required` is true and `visualEvidence.video.file` is empty, record the UI flow video now: load `$HOME/.claude/multi-agent-refs/audit-guide.md` "Phase 3 evidence flows", which also carries the snapshot regression flow.
@@ -227,6 +227,14 @@ WS_ERR=$(printf '{"status":"complete","currentPhase":5,"finishedAt":"%s"}' "$TS"
227
227
  [ "$WS_RC" = 0 ] && node $HOME/.claude/scripts/usage-report.mjs --task-id "$TASK_ID" --event completed >/dev/null 2>&1
228
228
  ```
229
229
 
230
+ Then add the reporting state to the final report when it needs the person (empty otherwise; never a question, also unattended):
231
+
232
+ ```bash
233
+ USAGE_LINE=$(node $HOME/.claude/scripts/usage-register.mjs --status-line 2>/dev/null)
234
+ ```
235
+
236
+ A non-empty `$USAGE_LINE` goes into the final report as written, in outputLanguage already.
237
+
230
238
  `WS_RC` 6: `$WS_ERR` names what `complete` still lacks; record it (operations.md "Completion evidence") and write again, or halt. Parked on the channels choice instead: emit `--event parked` and leave `status` alone.
231
239
 
232
240
  **Aggregate before reporting**: run `aggregate-metrics.mjs --since=$(date -u -v-30d +%Y-%m-%d)` and embed output in agent-log.md. Use `--json` for Jira; missing files are skipped.
@@ -291,6 +299,8 @@ Commit: abc1234 | PR: #87
291
299
  Full report: $HOME/.claude/logs/multi-agent/{project}/{task-id}/agent-log.md
292
300
  ```
293
301
 
302
+ Plan row: `plan-attachment.mjs line --state "$STATE_FILE"`, omitted when it prints nothing.
303
+
294
304
  Tracker: `phase-tracker.sh sub 5 2 "Log+Telemetry" completed`.
295
305
 
296
306
  ## Step 3 - Knowledge Capture (incremental learning)
@@ -25,7 +25,7 @@ All bands feed the single Step 4 table:
25
25
  - **B - Bug**: real defects found in the code (correctness, security, data-loss, crashes).
26
26
  - **C - Improvement**: quality/perf/DX gaps surfaced by the 10-category analysis.
27
27
  - **D - Drift**: upstream updates to skills we derived from an external source.
28
- - **E - Dev-toolkit**: current-practice gaps in the companion multi-agent-toolkit MCP server (the pipeline's device and browser hands), applied in that repo.
28
+ - **E - Dev-toolkit**: current-practice gaps in the companion multi-agent MCP server (the pipeline's device and browser hands), applied in that repo.
29
29
  - **F - Run-errors**: recurring real failures the pipeline actually hit across past runs, read from the local run-error ledger. These are lived evidence, not speculation - a failure that recurs across users or tasks is a prioritized improvement area.
30
30
  - **G - Backlog**: open observations recorded mid-task (Step 0e).
31
31
 
@@ -59,7 +59,7 @@ Roll the high-impact + low/med-effort survivors into the Step 4 plan as band-A i
59
59
 
60
60
  ## Step 0c: why the toolkit is in scope
61
61
 
62
- The pipeline's hands on devices and browsers are MCP tools served by a companion repo (`multi-agent-toolkit-mcp`): Phase 3 test, `manual-test`, `design-check` and `apple-archive-compliance` all call them, and several pipeline skills declare a minimum toolkit version (see `cross-cli-contract.md`). That repo therefore has to track the MCP field, not just its own README. The procedure is `refactor/toolkit-research.md`.
62
+ The pipeline's hands on devices and browsers are MCP tools served by a companion repo (`multi-agent-mcp`): Phase 3 test, `manual-test`, `design-check` and `apple-archive-compliance` all call them, and several pipeline skills declare a minimum toolkit version (see `cross-cli-contract.md`). That repo therefore has to track the MCP field, not just its own README. The procedure is `refactor/toolkit-research.md`.
63
63
 
64
64
  ## Step 0e: why a backlog band
65
65
 
@@ -135,7 +135,7 @@ Output (plan band B) - every confirmed defect becomes a P0/P1 item:
135
135
  | 2 | P0 | B | Tests | Fix nil-deref on empty response (src/y:42) | High |
136
136
  | 3 | P1 | A | CI/CD | Adopt matrix build (adapt: .github/workflows/ci.yml) | Medium |
137
137
  | 4 | P1 | D | Skills | Port upstream <plugin> 0.3.0 fixes into <localPath> | Medium |
138
- | 5 | P1 | E | Toolkit | Add read-only annotations to the multi-agent-toolkit device tools | Medium |
138
+ | 5 | P1 | E | Toolkit | Add read-only annotations to the multi-agent-mcp device tools | Medium |
139
139
  | 6 | P2 | C | DevEx | Rename npm scripts for consistency | Low |
140
140
  ```
141
141
 
@@ -179,7 +179,7 @@ If any band-E item was applied, verify the toolkit repo too - syntax check every
179
179
  | `bugs` | Bug hunt only (band B) |
180
180
  | `best-practices` | Field research + adapted plan only (band A) |
181
181
  | `drift` | Upstream derived-skill drift only (band D) |
182
- | `multi-agent-toolkit` | Companion MCP toolkit research + audit only (band E) |
182
+ | `multi-agent-mcp` | Companion MCP toolkit research + audit only (band E) |
183
183
  | `run-errors` | Run-error ledger only (band F) |
184
184
  | `security` | Security analysis only |
185
185
  | `tests` | Test coverage and quality only |
@@ -19,7 +19,7 @@ Loaded on demand by `/multi-agent:refactor` Step 0c. The SKILL.md carries the st
19
19
  ```
20
20
 
21
21
  2. If unset, auto-detect from the MCP registration: read `mcpServers` in `~/.claude.json` (including each `projects[*].mcpServers`) and in `~/.claude/settings.json`; for a stdio entry whose command is `node`, take `dirname(args[0])`. Accept it only when that directory is a git repo whose `package.json` depends on `@modelcontextprotocol/sdk`.
22
- 3. If neither resolves, skip this step and report "no multi-agent-toolkit configured". Never guess a path, never clone.
22
+ 3. If neither resolves, skip this step and report "no multi-agent-mcp configured". Never guess a path, never clone.
23
23
  4. `enabled: false` skips the step.
24
24
 
25
25
  **Research axes** - a finding without a source link is not a finding:
@@ -41,7 +41,7 @@ Core sources, in order of cost:
41
41
  3. **Linked documents.** Pipe the description and comments through `lib/context-link-extractor.sh`, then run the matching `lib/fetch-*.sh` for each link it names (Confluence, Swagger, document). Same `documents[]` entry per fetched page. A Figma link is listed in research.md and never fetched: design is read in analysis only.
42
42
  4. **Repository.** One Explore pass over the repo for all gaps at once (the batched lookup of `analysis/resolve.md` Phase 1), plus `git log -S '<identifier>' --oneline -n 20` for when a behaviour appeared or changed. Cite `file:line` with the line quoted, or the commit sha with a phrase from it.
43
43
  5. **Optional providers**, only those listed in `prefs.projects.<slug>.research.providers`: `graylog` (`lib/fetch-graylog.sh`), `crashlytics` (`lib/fetch-crashlytics.sh`), `counterpart` (the project's `counterpartRoots`, read only). Their output is evidence like any other fetched document. A provider without credentials is skipped and named in research.md.
44
- 6. **External signal, interactive only and per confirmed query.** When a gap is about how a library, API or platform behaves rather than about this item: `mcp__multi-agent-toolkit__research_community` (`query`, optional `sources` `hn` / `stackexchange` / `github`, `site`, `limit`) for what developers already reported, off unless the server's `MCP_TOOLKIT_CAPS` lists `research-community` (`NEED_SETUP` otherwise; the manual recipes in `signal-community` cover the same sources); `mcp__multi-agent-toolkit__social_read` only when the person names that channel (rules in `ai-analyst-toolkit:signal-community`); and `mcp__multi-agent-toolkit__media_transcript` (`url`, optional `lang`) when the item or a comment links a YouTube video, such as a conference talk or a reproduction recording. `media_transcript` is off unless the server's `MCP_TOOLKIT_CAPS` lists `media-remote` and needs a local `yt-dlp` (`NEED_SETUP` otherwise); a refused or disabled tool is named in research.md as skipped. Every row is an `evidence` source with its URL in `documents[]`, stays inside the untrusted delimiters, and is advisory: it can make a candidate, never close a gap about this item on its own.
44
+ 6. **External signal, interactive only and per confirmed query.** When a gap is about how a library, API or platform behaves rather than about this item: `mcp__multi-agent__research_community` (`query`, optional `sources` `hn` / `stackexchange` / `github`, `site`, `limit`) for what developers already reported, off unless the server's `MCP_TOOLKIT_CAPS` lists `research-community` (`NEED_SETUP` otherwise; the manual recipes in `signal-community` cover the same sources); `mcp__multi-agent__social_read` only when the person names that channel (rules in `ai-analyst-toolkit:signal-community`); and `mcp__multi-agent__media_transcript` (`url`, optional `lang`) when the item or a comment links a YouTube video, such as a conference talk or a reproduction recording. `media_transcript` is off unless the server's `MCP_TOOLKIT_CAPS` lists `media-remote` and needs a local `yt-dlp` (`NEED_SETUP` otherwise); a refused or disabled tool is named in research.md as skipped. Every row is an `evidence` source with its URL in `documents[]`, stays inside the untrusted delimiters, and is advisory: it can make a candidate, never close a gap about this item on its own.
45
45
 
46
46
  ## Untrusted text
47
47
 
@@ -46,7 +46,7 @@ This is the single source of truth. When a contributor or model is unsure where
46
46
  4. Always English regardless of either axis: commit messages, PR titles, branch names, code identifiers, agent-state.json values, agent-log.md, reviewer/triage system prompts.
47
47
  5. A shipped script resolves the language through `lib/user-facing.sh` (`ma_output_lang`) or `lib/user-facing.mjs` (`outputLanguage()`), then renders from a table that carries both languages on one key, so a wording change cannot reach only one of them. A command spelling inside such a line comes from `ma_command` / `hostCommand`: the three hosts spell the same command three ways, and a line that names one names the one this machine can type (`cross-cli-contract.md`).
48
48
 
49
- **Failure mode this prevents.** Entering `/multi-agent`, `/multi-agent:autopilot`, etc. and switching the assistant's conversational text or picker question copy to English while `outputLanguage="tr"` is set. The user sees a half-English half-Turkish dialogue, flagged as a pipeline bug, not a stylistic choice.
49
+ **Failure mode this prevents.** Entering `/multi-agent`, `/multi-agent "task" autopilot`, etc. and switching the assistant's conversational text or picker question copy to English while `outputLanguage="tr"` is set. The user sees a half-English half-Turkish dialogue, flagged as a pipeline bug, not a stylistic choice.
50
50
 
51
51
  ## Code & Commit Rules
52
52
 
@@ -216,7 +216,7 @@ Full chain definition, REST endpoints, URL parsing, Code Connect snippet rules,
216
216
 
217
217
  Per Locked decision 30 of `/multi-agent:analysis` and the parallel rule in `$HOME/.claude/rules/figma-pipeline.md`, Figma MCP / REST is allowed only in the analysis phase. Phase 2 through Phase 5 in every mode and workspace consume the analysis document + repo Code Connect mappings.
218
218
 
219
- The ban is **Figma**-shaped, not MCP-shaped: the multi-agent-toolkit MCP (simulator, screenshot, xcodebuild, accessibility) stays available in every phase; a run that avoids those tools reaches Phase 5 with no evidence.
219
+ The ban is **Figma**-shaped, not MCP-shaped: the multi-agent MCP (simulator, screenshot, xcodebuild, accessibility) stays available in every phase; a run that avoids those tools reaches Phase 5 with no evidence.
220
220
 
221
221
  The per-phase matrix (which phase may fetch Figma, and what its sole design source is instead) lives in `rules/figma-pipeline.md` "Phase access matrix". It is not restated here, per this file's own instruction two paragraphs above not to duplicate that rule file. Each Figma call is recorded in `state.telemetry.mcpCalls[]`; `smoke-no-mcp-in-dev-phases.sh` checks that record as a maintainer regression check, not during a run.
222
222
 
@@ -45,7 +45,7 @@ while an app-specific password is generated by the account holder at
45
45
 
46
46
  Every part of the key lives in the Keychain, the `.p8` included. The toolkit's
47
47
  `store_asc_*` tools and `ios_testflight_validate` read all three items through the
48
- store reference file (`~/.config/multi-agent-toolkit/store.json`). Called with
48
+ store reference file (`~/.config/multi-agent-mcp/store.json`). Called with
49
49
  neither `api_key_id` nor `apple_id`, `ios_testflight_validate` uses that same key
50
50
  and hands `altool` a private temporary copy that exists only for the length of the
51
51
  call, so no copy under `~/.appstoreconnect/private_keys/` is needed.
@@ -102,7 +102,7 @@ mapping names; an unmapped key would be stored under the bare logical name.
102
102
  node "$HOME/.claude/scripts/write-store-config.mjs"
103
103
  ```
104
104
 
105
- It names the three Keychain items in `~/.config/multi-agent-toolkit/store.json`
105
+ It names the three Keychain items in `~/.config/multi-agent-mcp/store.json`
106
106
  (0600, directory 0700), after checking each item exists without reading it.
107
107
  `store_status` in the toolkit then reports App Store Connect as configured from
108
108
  the Keychain.
@@ -36,7 +36,8 @@ browser cannot serve those. Tier 2 fills the gap while a role request is pending
36
36
  it does not replace tier 1.
37
37
 
38
38
  `credential-inventory.sh --probe` reports which tier is live:
39
- `tier-1-ready` / `tier-2-ready` / `tier-1-no-grant` / `malformed` / `unreachable`.
39
+ `tier-1-ready` / `tier-2-ready` / `tier-1-no-grant` / `malformed` / `unreachable`;
40
+ `fetch-crashlytics.sh --probe` also answers `no-credential` when nothing is stored.
40
41
  The vocabulary and what to tell the user for each: `refs/keychain.md`.
41
42
 
42
43
  ## 2. Tier 1 - the service account
@@ -162,4 +163,4 @@ Rule 2).
162
163
 
163
164
  ## Step 3c in one paragraph
164
165
 
165
- Runs inside Step 3. Measure first - `bash "$HOME/.claude/lib/fetch-crashlytics.sh" --probe` answers `tier-1-ready` / `tier-1-no-grant` / `malformed` / `unreachable` - then ask by that answer, never blind. Store the JSON as issued; never base64 it. Skip writes nothing. Then offer appId discovery: `bash "$HOME/.claude/scripts/firebase-app-discovery.sh" <repo> --json` reads the pairs the repo already carries, for `firebase.accounts[].apps[]` - it saves a round trip per run; skipping costs nothing. The picker, both tiers, the role-request wording and the v1alpha caveat: `$HOME/.claude/multi-agent-refs/setup/firebase.md`.
166
+ Runs inside Step 3. Measure first - `bash "$HOME/.claude/lib/fetch-crashlytics.sh" --probe` answers `tier-1-ready` / `tier-1-no-grant` / `malformed` / `no-credential` / `unreachable` - then ask by that answer, never blind. `no-credential` (nothing stored) runs the Save Flow for the JSON and then offers Firebase MCP (section 3), saved or skipped; `tier-1-no-grant` offers the role request and Firebase MCP. Store the JSON as issued; never base64 it. Skip writes nothing. Then offer appId discovery: `bash "$HOME/.claude/scripts/firebase-app-discovery.sh" <repo> --json` reads the pairs the repo already carries, for `firebase.accounts[].apps[]` - it saves a round trip per run; skipping costs nothing. The picker, both tiers, the role-request wording and the v1alpha caveat: `$HOME/.claude/multi-agent-refs/setup/firebase.md`.
@@ -61,7 +61,7 @@ unmapped one would be stored under the bare logical name. Then:
61
61
  node "$HOME/.claude/scripts/write-store-config.mjs"
62
62
  ```
63
63
 
64
- The writer names the item in `~/.config/multi-agent-toolkit/store.json` (0600,
64
+ The writer names the item in `~/.config/multi-agent-mcp/store.json` (0600,
65
65
  directory 0700) after checking it exists without reading it. `store_status` in the
66
66
  toolkit then reports Google Play as configured from the Keychain, and
67
67
  `store_status({probe: true})` makes one read-only call to confirm it.
@@ -212,7 +212,7 @@ Team-sharing note: Hosts are the only corporate metadata the pipeline needs. Tok
212
212
  ## Step 3.7 - Repository read binding (embedded in Token Save Flow)
213
213
 
214
214
  Runs inline when the saved token can read git repositories over https (a
215
- GitHub PAT, a Bitbucket Data Center HTTP access token). The multi-agent-toolkit
215
+ GitHub PAT, a Bitbucket Data Center HTTP access token). The multi-agent-mcp
216
216
  `repo_*` tools send a token only to a host bound to it here, and nothing else
217
217
  in the pipeline writes this binding: a product map or a planner's request
218
218
  naming a credential never creates one.
@@ -234,7 +234,8 @@ The Step 2 discovery summary is never the end of setup. Immediately after showin
234
234
  - **One prompt per service.** Never collapse the list into a single "add missing tokens now?" yes/no, and never offer one multi-select covering all services: each service has its own source URL, key name, identity binding and host prompt, so each gets its own Token Save Flow pass.
235
235
  - **Each service pass asks, in order: token, author, host, read binding (GitHub, Bitbucket; Step 3.7).** Step A/B collect the secret, Step C binds the git identity (author) - Bitbucket and GitHub included; every saved token gets an author - and Step 3.5 asks the host domain inline for hosted services (jira, confluence, bitbucket, fortify, graylog), plus the Fortify project versions and the optional Graylog test instance. GitHub and Figma skip the host question (fixed domains); `bitbucket_user` skips author binding (username, not a PAT). Never end a service pass with the token saved but the author or a required host unasked.
236
236
  - **Skip is per-service.** A Skip answer leaves that service's `keychainMapping` at `null` and the loop continues with the next service. Skips never abort the loop.
237
- - **`figma` and `figma_mcp` are distinct credentials for distinct tiers: ask both.** Skipping the PAT does not imply skipping MCP, and vice versa. The `figma_mcp` pass opens with a Remote / Local mode question instead of a clipboard paste (`setup/figma.md`): Remote generates a `figu_` OAuth token for the current user, Local wires the PAT-based local server.
237
+ - **`figma` and `figma_mcp` are distinct credentials for distinct tiers: ask both.** Skipping the PAT does not imply skipping MCP, and vice versa. The `figma_mcp` pass opens with a Remote / Local mode question instead of a clipboard paste (`setup/figma.md`): Remote generates a `figu_` OAuth token for the current user, Local wires the PAT-based local server. A claude.ai or remote Figma connector that already answers Figma calls is not an onboarded `figma_mcp`: the pass still runs while the key has no stored value.
238
+ - **`firebase` is two offers in one pass.** First the service-account JSON through Steps A/B (`setup/firebase.md` section 2), then the Firebase MCP registration (section 3), offered whether the JSON was saved or skipped. A `fetch-crashlytics.sh --probe` answer of `no-credential` means nothing is stored: it starts this pass and is never a reason to ask for a stack trace.
238
239
  - The loop ends only when every missing service has been asked exactly once; then continue to Step 4 (Verify all).
239
240
 
240
241
  Every token is optional in the sense that every service can be answered with Skip, but the asking is not optional. Phase 0 re-asks at runtime only for tokens the user skipped here.
@@ -7,11 +7,11 @@ Read by `/multi-agent:store-ready` for Step 4.
7
7
  `ios_app_store_audit({archive_path, rules: "all"})`. Consult the
8
8
  `apple-archive-compliance` skill for what each rule means.
9
9
 
10
- Needs `@mmerterden/multi-agent-toolkit-mcp` ≥ v3.0.0, which provides the tool. When the
10
+ Needs `@mmerterden/multi-agent-mcp` ≥ v3.0.0, which provides the tool. When the
11
11
  MCP server is not registered, the same 18 rules run directly from the package:
12
12
 
13
13
  ```bash
14
- node -e "import('@mmerterden/multi-agent-toolkit-mcp/tools/ios-app-store-audit/index.js').then(m => m.runAudit({ archivePath: '<path>', rules: 'all' }).then(r => console.log(JSON.stringify(r))))"
14
+ node -e "import('@mmerterden/multi-agent-mcp/tools/ios-app-store-audit/index.js').then(m => m.runAudit({ archivePath: '<path>', rules: 'all' }).then(r => console.log(JSON.stringify(r))))"
15
15
  ```
16
16
 
17
17
  Use the fallback only when the tool is genuinely absent, and say in the report
@@ -35,3 +35,13 @@ Then, when the module has `minifyEnabled true` and the bundle build produced no
35
35
  `[SYMBOLS] minified bundle carries no mapping.txt; crash reports will not
36
36
  deobfuscate`. This check reads the module config and the build output alone
37
37
  and does not need the MCP tool.
38
+
39
+ ## Build facts (both platforms, optional)
40
+
41
+ When the toolkit lists `binary_inspect`, run it and `binary_strings_endpoints`
42
+ on the audited artifact and add their `[BUILD-FACTS]` findings to this gate, each
43
+ with its evidence id. The severity table, the `.ipa`-versus-`.xcarchive` signing
44
+ rule and the `--previous=` release diff are in
45
+ `$HOME/.claude/multi-agent-refs/features/build-facts.md`. When the toolkit is absent
46
+ or does not list the tools, skip silently: this gate's verdict is what the audit
47
+ above produced.
@@ -19,7 +19,7 @@ and gather the evidence below from repo source, not the binary.
19
19
  | Upload floor | `IPHONEOS_DEPLOYMENT_TARGET` is 13.0 or later; the toolchain is Xcode 26+ (iOS 27 SDK from April 2027) |
20
20
  | App Store Connect declarations | age rating questionnaire answered, including the social media capability questions; Health & Fitness or Medical apps carry the regulated medical device declaration. Not visible in the repo: report as a manual check |
21
21
  | Crash symbolication | a dSYM upload step exists: an Xcode run-script calling `upload-symbols`, or a Crashlytics / Sentry / Datadog upload in CI |
22
- | Listing text | the App Store copy kept in the repo (fastlane `metadata/<locale>/` `name.txt`, `subtitle.txt`, `promotional_text.txt`, `description.txt`, `keywords.txt`, `release_notes.txt`, or an equivalent) passes `mcp__multi-agent-toolkit__store_listing_lint`; see Listing text below |
22
+ | Listing text | the App Store copy kept in the repo (fastlane `metadata/<locale>/` `name.txt`, `subtitle.txt`, `promotional_text.txt`, `description.txt`, `keywords.txt`, `release_notes.txt`, or an equivalent) passes `mcp__multi-agent__store_listing_lint`; see Listing text below |
23
23
 
24
24
  ## Android - `ai-android-toolkit:play-store-review`
25
25
 
@@ -34,11 +34,11 @@ and gather the evidence below from repo source, not the binary.
34
34
  | Content rating | the questionnaire answers match the app's actual content |
35
35
  | Signing | Play App Signing configured, upload key distinct from the app signing key |
36
36
  | Crash symbolication | a `mapping.txt` upload exists: the Firebase Crashlytics Gradle plugin, or the Play App Bundle deobfuscation file |
37
- | Listing text | the Play copy kept in the repo (fastlane `metadata/android/<locale>/` `title.txt`, `short_description.txt`, `full_description.txt`, or an equivalent) passes `mcp__multi-agent-toolkit__store_listing_lint`; see Listing text below |
37
+ | Listing text | the Play copy kept in the repo (fastlane `metadata/android/<locale>/` `title.txt`, `short_description.txt`, `full_description.txt`, or an equivalent) passes `mcp__multi-agent__store_listing_lint`; see Listing text below |
38
38
 
39
39
  ## Listing text
40
40
 
41
- One `mcp__multi-agent-toolkit__store_listing_lint` call per locale, offline. Map the
41
+ One `mcp__multi-agent__store_listing_lint` call per locale, offline. Map the
42
42
  files onto `app_store` (`name`, `subtitle`, `promotional_text`, `description`,
43
43
  `keywords`, `whats_new`) and `google_play` (`title`, `short_description`,
44
44
  `full_description`), pass `locale` (the folder's BCP 47 tag, so Turkish folds
@@ -44,7 +44,7 @@ catches a version+build pair already used. On Android it runs only with Google P
44
44
  onboarded and the throwaway-edit upload approved; without both, an Android run
45
45
  clears at most 2 of 3 gates and never prints `passed`.
46
46
 
47
- The `store_*` tools need `@mmerterden/multi-agent-toolkit-mcp` ≥ v3.17.0. On an
47
+ The `store_*` tools need `@mmerterden/multi-agent-mcp` ≥ v3.17.0. On an
48
48
  older server they are absent, and each branch that uses one falls back to the
49
49
  behaviour it has without the credential.
50
50
 
@@ -58,6 +58,7 @@ behaviour it has without the credential.
58
58
  | `--ipa=<path>` | iOS, build supplied; Gate 1 reports `SKIPPED (needs .xcarchive)` |
59
59
  | `--aab=<path>` | Android, build supplied; Gate 1 + 3 run |
60
60
  | `--apk=<path>` | Android; Gate 1 runs the subset that does not need a bundle, and says which rules it could not apply |
61
+ | `--previous=<path>` | the earlier build of the same platform; adds the `Release diff` block from `binary_compare_versions` (`features/build-facts.md`). Ignored when the toolkit does not list the tool |
61
62
  | `--skip-sweep` | skip Step A, when no simulator / emulator is available or only the package matters |
62
63
  | `--resume` | continue the last run from its state file |
63
64
 
@@ -27,6 +27,11 @@ Blocking - fix before uploading
27
27
  Advisory
28
28
  ...
29
29
 
30
+ Release diff (only with --previous=)
31
+ entitlements changed + com.apple.developer.associated-domains
32
+ endpoints changed + api.example.com
33
+ privacy not measured
34
+
30
35
  Not run
31
36
  Gate 2: no local Play validator - Google Play not onboarded; the authoritative check is server-side only
32
37
 
@@ -46,7 +51,11 @@ Before rollout (human inputs, not verified)
46
51
  skip. An Android run whose Gate 2 did not run therefore reads
47
52
  `2 of 3 gates cleared, 1 skipped` at best.
48
53
  - Every blocking finding carries a file path or a store code. A finding the user
49
- cannot act on is noise.
54
+ cannot act on is noise. A `[BUILD-FACTS]` finding carries its evidence id in
55
+ the form `features/build-facts.md` gives.
56
+ - The `Release diff` block lists only sections with status `changed`, plus each
57
+ `unknown` section as `not measured`. Without `--previous=`, or without the
58
+ toolkit tool, the block is left out.
50
59
  - The `Before rollout` block (phased rollout, `Halt thresholds`, rollback /
51
60
  forward-fix owner, forward-fix plan) is filled by a human, never inferred. When it
52
61
  is left unfilled the verdict line gains the suffix `, rollout plan missing`.
@@ -13,7 +13,7 @@
13
13
  - [3-Layer Test Strategy](#3-layer-test-strategy)
14
14
  - [Build Verification](#build-verification)
15
15
  - [Component Quality Checklist](#component-quality-checklist)
16
- - [Compliance Rules (maps to multi-agent-toolkit MCP audit tools)](#compliance-rules-maps-to-multi-agent-toolkit-mcp-audit-tools)
16
+ - [Compliance Rules (maps to multi-agent MCP audit tools)](#compliance-rules-maps-to-multi-agent-mcp-audit-tools)
17
17
  - [Figma URL Given](#figma-url-given)
18
18
  <!-- /toc -->
19
19
 
@@ -215,7 +215,7 @@ Before marking a component as done:
215
215
  11. Build passes - zero errors, zero warnings on component files
216
216
  12. Self-documenting - code is clear without comments, MARK sections organized
217
217
 
218
- ### Compliance Rules (maps to multi-agent-toolkit MCP audit tools)
218
+ ### Compliance Rules (maps to multi-agent MCP audit tools)
219
219
 
220
220
  These rules ensure your code passes `ios_accessibility_audit` and `ios_app_store_audit` without issues. Follow them during development - don't wait for audit to catch problems.
221
221
 
@@ -32,7 +32,7 @@ grep -rhoE '(\$HOME|~)/\.claude/(agents|scripts|lib|schemas|commands|multi-agent
32
32
  "$HOME/.codex/skills" "$HOME/.codex/multi-agent-refs" | sort -u # want empty
33
33
  ```
34
34
 
35
- **MCP**: the installer runs `codex mcp add multi-agent-toolkit` itself. It is idempotent, and
35
+ **MCP**: the installer runs `codex mcp add multi-agent` itself. It is idempotent, and
36
36
  it is skipped with a warning when `codex` is not on `PATH` - never hand-edit
37
37
  `~/.codex/config.toml`, which Codex owns (marketplace and plugin state live there
38
38
  too).
@@ -1,6 +1,6 @@
1
1
  # Dev-Toolkit Sync (Step 3d)
2
2
 
3
- The companion MCP server (`multi-agent-toolkit-mcp`) is its own repo with its own registry. Pipeline skills call its tools and several declare a minimum version, so when it moves it has to ship - otherwise the pipeline documents a tool no consumer has.
3
+ The companion MCP server (`multi-agent-mcp`) is its own repo with its own registry. Pipeline skills call its tools and several declare a minimum version, so when it moves it has to ship - otherwise the pipeline documents a tool no consumer has.
4
4
 
5
5
  **Resolution**: identical to `/multi-agent:refactor` Step 0c - `prefs.global.devToolkit` first, then auto-detect from the `mcpServers` registration (`~/.claude.json`, `~/.claude/settings.json`), then skip. `enabled: false` skips.
6
6
 
@@ -15,7 +15,7 @@ VER=$(node -p "require('./package.json').version")
15
15
  TAGGED=$(git tag --list "v$VER")
16
16
  ```
17
17
 
18
- Moved = `DIRTY` non-empty, or `AHEAD` > 0, or no tag for `VER`. Nothing moved -> report `multi-agent-toolkit: up to date (v$VER)` and continue with the sync.
18
+ Moved = `DIRTY` non-empty, or `AHEAD` > 0, or no tag for `VER`. Nothing moved -> report `multi-agent-mcp: up to date (v$VER)` and continue with the sync.
19
19
 
20
20
  **Ship gates** - all must pass before commit or publish. A gate failure aborts THIS step only, reported with file + line; the rest of the sync continues.
21
21
 
@@ -24,9 +24,9 @@ Moved = `DIRTY` non-empty, or `AHEAD` > 0, or no tag for `VER`. Nothing moved ->
24
24
  ```bash
25
25
  cd "$DT"
26
26
  if node -e "process.exit(require('./package.json').scripts?.gates ? 0 : 1)" 2>/dev/null; then
27
- npm run gates || echo "ABORT: multi-agent-toolkit gates failed"
27
+ npm run gates || echo "ABORT: multi-agent-mcp gates failed"
28
28
  elif [ -f scripts/gates.sh ]; then
29
- bash scripts/gates.sh || echo "ABORT: multi-agent-toolkit gates failed"
29
+ bash scripts/gates.sh || echo "ABORT: multi-agent-mcp gates failed"
30
30
  else
31
31
  : # run the inline gates below
32
32
  fi
@@ -161,7 +161,7 @@ Verify the publish landed: on GitHub Packages `npm view <package> version --user
161
161
 
162
162
  **Approval**: outside autopilot and outside `release`, ask before shipping.
163
163
 
164
- > "multi-agent-toolkit moved (N changed files, M unpushed commits, v$VER). What should I do?"
164
+ > "multi-agent-mcp moved (N changed files, M unpushed commits, v$VER). What should I do?"
165
165
 
166
166
  - Commit + push (no publish)
167
167
  - Commit + push + publish v$NEW
@@ -13,7 +13,7 @@ publishes.
13
13
  | 2b | Codex CLI | `~/.codex/AGENTS.md` + `~/.codex/skills/multi-agent/` + `~/.codex/multi-agent-refs/` + `~/.codex/agents/*.toml` | <- from Claude (path-rewritten) |
14
14
  | 3 | multi-agent-pipeline repo | `~/multi-agent-pipeline/pipeline/` | <- from Claude (genericized) |
15
15
  | 4 | Website | `{owner}/{website-host}` | <- version + features |
16
- | 5 | multi-agent-toolkit MCP server | resolved from `prefs.global.devToolkit` or the `mcpServers` registration | own repo: gate, commit, publish |
16
+ | 5 | multi-agent MCP server | resolved from `prefs.global.devToolkit` or the `mcpServers` registration | own repo: gate, commit, publish |
17
17
 
18
18
  ## Sync rules (Claude <-> Copilot)
19
19
 
@@ -38,7 +38,7 @@ publishes.
38
38
  | `gh` CLI (personal) | `{owner}` gh auth (Keychain) |
39
39
  | `gh` CLI (work) | `{user}_<work-label>` gh auth (Keychain) - see `prefs.global.accounts[]` |
40
40
  | npm publish | `NODE_AUTH_TOKEN` - `GITHUB_TOKEN` in CI, Keychain PAT locally |
41
- | multi-agent-toolkit publish (Step 3d) | `npm` logical Keychain key -> throwaway `--userconfig`, registry from that repo's `publishConfig` |
41
+ | multi-agent-mcp publish (Step 3d) | `npm` logical Keychain key -> throwaway `--userconfig`, registry from that repo's `publishConfig` |
42
42
 
43
43
  ```bash
44
44
  gh auth switch --user {owner} # for personal repos
@@ -1,6 +1,6 @@
1
1
  # Stack-Plugin Sync (Step 3c)
2
2
 
3
- Stack skills are distributed as versioned plugins in the `mmerterden/multi-agent-plugins` marketplace. The pipeline's `pipeline/skills/shared/external/` is the **single authoring source**; the marketplace is a derived, versioned publish artifact. This step rebuilds it and publishes only when something changed.
3
+ Stack skills are distributed as versioned plugins in the `multi-agent-ecosystem/multi-agent-plugins` marketplace. The pipeline's `pipeline/skills/shared/external/` is the **single authoring source**; the marketplace is a derived, versioned publish artifact. This step rebuilds it and publishes only when something changed.
4
4
 
5
5
  **Source of truth:** author/vendor knowledge skills in `pipeline/skills/shared/external/` (the pipeline's own phases also consume them). The plugins' authored lifecycle skills (`index` / `reference` / `workflow` / `tools`) live in the plugins repo and are never touched by sync.
6
6
 
@@ -8,7 +8,7 @@ Stack skills are distributed as versioned plugins in the `mmerterden/multi-agent
8
8
 
9
9
  ```bash
10
10
  PLUGINS_REPO="$HOME/multi-agent-plugins"
11
- [ ! -d "$PLUGINS_REPO/.git" ] && gh repo clone mmerterden/multi-agent-plugins "$PLUGINS_REPO"
11
+ [ ! -d "$PLUGINS_REPO/.git" ] && gh repo clone multi-agent-ecosystem/multi-agent-plugins "$PLUGINS_REPO"
12
12
  cd "$PLUGINS_REPO" && git pull origin main
13
13
 
14
14
  # 1. Preview what would change (routing + version bumps), no writes:
@@ -92,7 +92,7 @@ Phases by mode:
92
92
  |---|---|
93
93
  | `/multi-agent` | 0,1,2,3,4,5 |
94
94
  | answered local at Step 5b | 0,1,2,3,4,5 (the user test needs a worktree checkout and local has none, so that STEP inside Review is skipped - the phase is not) |
95
- | `/multi-agent:autopilot` | 0,1,2,3,4,5 (autopilot drops the interactive user test inside Review) |
95
+ | `/multi-agent "task" autopilot` | 0,1,2,3,4,5 (autopilot drops the interactive user test inside Review) |
96
96
  | `/multi-agent:analysis` | 0,1,2,3,4,5 under its own names (`schemas/phases.json` `modes.analysis.names`: Intake, Evidence, Synthesis, Review, Publish, Report) |
97
97
 
98
98
  Every entry registers its whole set in one batch: the set is a property of the command, known before the tracker boots.
@@ -77,11 +77,10 @@ in the user's worktree and the checkout is not there.
77
77
  | `scripts/pre-commit-check.sh` | Secret scan | Secret scan, then a `git commit` needs a passing gate ledger for HEAD |
78
78
  | `scripts/agent-guard.sh`, `scripts/agent-guard.py` | Attribution and force-push rules; fail-open on an input it cannot judge | Also `scripts/unattended_policy.py`, fail-closed: a command is judged only when it reduces to simple commands joined by `;`, `&&`, `||` and plain pipes between non-interpreter commands - a subshell, group, nested or command-position substitution, unquoted heredoc, background job, shell keyword, interpreter pipe, shell `-c`, inline interpreter program, program file the run wrote or modified, or runtime-built name is refused. On the parseable commands: no push, PR, issue or tracker write, no Keychain read, no fetch outside the allowlist (curl/wget/WebFetch/web_*), no package install or manifest edit, no write into a protected path |
79
79
  | `scripts/pr-request.mjs` | Not called | Phase 4 writes `pr-request.json` through it instead of pushing |
80
- | The continuous-mode runner | Not run | Sets the variable on every child it launches, and refuses to launch (`blocked-guard-missing`) unless `agent-guard.sh` is registered in the user or managed settings on the `Bash`, `Edit|Write|NotebookEdit` and `WebFetch|mcp__multi-agent-toolkit__.*` PreToolUse matchers with the installer's exact command, and unless the permission profile file exists; passes that file with `--settings` |
80
+ | The continuous-mode runner | Not run | Sets the variable on every child it launches, and refuses to launch (`blocked-guard-missing`) unless `agent-guard.sh` is registered in the user or managed settings on the `Bash`, `Edit|Write|NotebookEdit` and `WebFetch|mcp__multi-agent__.*` PreToolUse matchers with the installer's exact command, and unless the permission profile file exists; passes that file with `--settings` |
81
81
  | `scripts/autopilot-publish.mjs` | Not called | Runner-side: verifies the request, re-runs the stack's build and tests itself, pushes from a clean staging repository and opens the draft PR, with the variable removed from every process it starts |
82
82
  | `scripts/scaffold-gate.mjs` | The skeleton or story check runs and prints its verdict; the verdict reaches the gate ledger only in autopilot mode | The check runs, and the verdict is recorded as `scaffold/skeleton` or `scaffold/story` through `gate-ledger.mjs` |
83
83
  | `scripts/launch-request.mjs` | `register-repo` adds a checkout to the launch repositories | `register-repo` refuses with exit 3 |
84
- | `scripts/phone-devices.mjs` | `add`, `list`, `revoke`, `launch on\|off` change or print the phone device registry | `list` only; `add`, `revoke` and `launch` refuse with exit 3, and the guard blocks them by name (`features/phone-api.md`) |
85
84
 
86
85
  Anything not in this table does not read the variable. That is deliberate: a
87
86
  list that is true beats a claim of coverage that is not. The verification gates,
@@ -102,7 +102,7 @@ Every interactive element MUST have:
102
102
  - `aria-label` when visual label is absent
103
103
  - `aria-describedby` for supplementary info
104
104
  - Keyboard navigation support (focus management)
105
- - Color contrast ratio >= 4.5:1, measured with `mcp__multi-agent-toolkit__design_contrast_check` (`tokens` for the theme file, or `fg` / `bg` / `size` for one pair), never estimated
105
+ - Color contrast ratio >= 4.5:1, measured with `mcp__multi-agent__design_contrast_check` (`tokens` for the theme file, or `fg` / `bg` / `size` for one pair), never estimated
106
106
 
107
107
  ```tsx
108
108
  <button aria-label="Close dialog" aria-describedby="dialog-description" onClick={onClose}>
@@ -144,4 +144,4 @@ test("shows loading state", () => {
144
144
  8. Tests - component + hook tests, no implementation details
145
145
  9. Performance - memoization where needed (React.memo, useMemo, useCallback)
146
146
  10. Build passes - zero warnings, TypeScript strict mode
147
- 11. Generated PDFs (print stylesheet, invoice, ticket, report) - checked with `mcp__multi-agent-toolkit__document_pdf_inspect` (`path`, optional `contains`, `expect_pages`): no page without a text layer, no replacement characters from a missing font
147
+ 11. Generated PDFs (print stylesheet, invoice, ticket, report) - checked with `mcp__multi-agent__document_pdf_inspect` (`path`, optional `contains`, `expect_pages`): no page without a text layer, no replacement characters from a missing font