@mmerterden/multi-agent-pipeline 20.36.0 → 20.37.1

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 (222) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/docs/facts.json +2 -2
  3. package/docs/features.md +1 -1
  4. package/docs/recovery-guide.md +1 -1
  5. package/install/catalog-history.json +1 -1
  6. package/manifest.json +225 -148
  7. package/package.json +1 -1
  8. package/pipeline/commands/multi-agent/SKILL.md +33 -154
  9. package/pipeline/commands/multi-agent/analysis/SKILL.md +14 -68
  10. package/pipeline/commands/multi-agent/analysis-jira/SKILL.md +5 -8
  11. package/pipeline/commands/multi-agent/autopilot-on/SKILL.md +38 -109
  12. package/pipeline/commands/multi-agent/channels/SKILL.md +38 -167
  13. package/pipeline/commands/multi-agent/complaint-analysis/SKILL.md +37 -144
  14. package/pipeline/commands/multi-agent/design-check/SKILL.md +27 -131
  15. package/pipeline/commands/multi-agent/garbage-collect/SKILL.md +22 -48
  16. package/pipeline/commands/multi-agent/ios-coding-standard/SKILL.md +37 -180
  17. package/pipeline/commands/multi-agent/jira/SKILL.md +16 -46
  18. package/pipeline/commands/multi-agent/manual-test/SKILL.md +12 -7
  19. package/pipeline/commands/multi-agent/refactor/SKILL.md +23 -184
  20. package/pipeline/commands/multi-agent/resume/SKILL.md +30 -136
  21. package/pipeline/commands/multi-agent/review/SKILL.md +24 -199
  22. package/pipeline/commands/multi-agent/setup/SKILL.md +25 -181
  23. package/pipeline/commands/multi-agent/stack/SKILL.md +9 -53
  24. package/pipeline/commands/multi-agent/status/SKILL.md +13 -2
  25. package/pipeline/commands/multi-agent/store-ready/SKILL.md +27 -226
  26. package/pipeline/commands/multi-agent/sync/SKILL.md +35 -164
  27. package/pipeline/commands/multi-agent/test-gen/SKILL.md +2 -4
  28. package/pipeline/commands/multi-agent/update/SKILL.md +18 -60
  29. package/pipeline/contract/CHANGELOG.md +9 -0
  30. package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
  31. package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
  32. package/pipeline/contract/fixtures/error-unsigned.json +1 -1
  33. package/pipeline/contract/fixtures/runs-awaiting-question.json +1 -1
  34. package/pipeline/contract/fixtures/runs-empty.json +1 -1
  35. package/pipeline/contract/fixtures/runs-failed.json +1 -1
  36. package/pipeline/contract/fixtures/runs-pr-opened-redacted.json +1 -1
  37. package/pipeline/contract/fixtures/runs-pr-opened.json +1 -1
  38. package/pipeline/contract/fixtures/runs-running.json +1 -1
  39. package/pipeline/contract/manifest.json +5 -5
  40. package/pipeline/contract/types/index.d.ts +3 -2
  41. package/pipeline/multi-agent-refs/audit-guide.md +20 -0
  42. package/pipeline/multi-agent-refs/autopilot-on/details.md +148 -0
  43. package/pipeline/multi-agent-refs/channels/generator.md +14 -0
  44. package/pipeline/multi-agent-refs/channels/preview.md +13 -0
  45. package/pipeline/multi-agent-refs/channels/reference.md +46 -0
  46. package/pipeline/multi-agent-refs/complaint-analysis/phases.md +159 -0
  47. package/pipeline/multi-agent-refs/design-check/export.md +1 -0
  48. package/pipeline/multi-agent-refs/design-check/init-inventory.md +1 -1
  49. package/pipeline/multi-agent-refs/design-check/scope-and-ledger.md +64 -0
  50. package/pipeline/multi-agent-refs/features/analysis-command-notes.md +53 -0
  51. package/pipeline/multi-agent-refs/features/commit-multi-repo.md +63 -0
  52. package/pipeline/multi-agent-refs/features/dev-multi-repo.md +51 -0
  53. package/pipeline/multi-agent-refs/features/test-gap.md +40 -0
  54. package/pipeline/multi-agent-refs/features/worktree-finalize.md +1 -1
  55. package/pipeline/multi-agent-refs/garbage-collect/phases.md +60 -0
  56. package/pipeline/multi-agent-refs/ios-coding-standard/plan.md +71 -0
  57. package/pipeline/multi-agent-refs/ios-coding-standard/resolve-and-scan.md +135 -0
  58. package/pipeline/multi-agent-refs/jira/picker-detail.md +71 -0
  59. package/pipeline/multi-agent-refs/orchestrator/copilot-pipeline.md +88 -0
  60. package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +96 -1
  61. package/pipeline/multi-agent-refs/orchestrator/phase-3-user-test.md +12 -9
  62. package/pipeline/multi-agent-refs/phases/phase-1-plan.md +4 -4
  63. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +8 -47
  64. package/pipeline/multi-agent-refs/phases/phase-3-review.md +21 -65
  65. package/pipeline/multi-agent-refs/phases/phase-4-commit.md +9 -59
  66. package/pipeline/multi-agent-refs/phases/phase-5-report.md +0 -31
  67. package/pipeline/multi-agent-refs/refactor/sweep.md +190 -0
  68. package/pipeline/multi-agent-refs/resume/details.md +115 -2
  69. package/pipeline/multi-agent-refs/review/inputs.md +33 -1
  70. package/pipeline/multi-agent-refs/review/module-guides.md +9 -1
  71. package/pipeline/multi-agent-refs/review/panel.md +75 -0
  72. package/pipeline/multi-agent-refs/review/valven.md +5 -1
  73. package/pipeline/multi-agent-refs/rules.md +1 -1
  74. package/pipeline/multi-agent-refs/setup/hooks-and-plugins.md +4 -0
  75. package/pipeline/multi-agent-refs/setup/token-save-flow.md +13 -0
  76. package/pipeline/multi-agent-refs/stack/background.md +72 -0
  77. package/pipeline/multi-agent-refs/store-ready/gates.md +139 -0
  78. package/pipeline/multi-agent-refs/store-ready/report.md +40 -2
  79. package/pipeline/multi-agent-refs/sync/office.md +10 -0
  80. package/pipeline/multi-agent-refs/sync/overview.md +61 -0
  81. package/pipeline/multi-agent-refs/sync/repo.md +91 -0
  82. package/pipeline/multi-agent-refs/update/details.md +83 -0
  83. package/pipeline/office/index.html +6 -3
  84. package/pipeline/office/toolkit.json +1 -1
  85. package/pipeline/rules/figma-pipeline.md +6 -3
  86. package/pipeline/schemas/prefs.schema.json +1 -1
  87. package/pipeline/schemas/runs-index.schema.json +2 -1
  88. package/pipeline/scripts/_memory-policy.mjs +27 -5
  89. package/pipeline/scripts/checkpoint-fold.sh +59 -0
  90. package/pipeline/scripts/contract-server.mjs +1 -1
  91. package/pipeline/scripts/gate-ledger.mjs +1 -1
  92. package/pipeline/scripts/office-control.mjs +41 -15
  93. package/pipeline/scripts/offload-ref.sh +1 -1
  94. package/pipeline/scripts/rework-rulings.mjs +5 -3
  95. package/pipeline/scripts/runs-index.mjs +34 -7
  96. package/pipeline/scripts/scope-check-gate.mjs +15 -2
  97. package/pipeline/scripts/status-overview.mjs +401 -0
  98. package/pipeline/scripts/user-test-handoff.sh +203 -0
  99. package/pipeline/scripts/validate-planning.mjs +5 -3
  100. package/pipeline/scripts/validate-triage.mjs +2 -1
  101. package/pipeline/scripts/write-state.mjs +13 -4
  102. package/pipeline/skills/.skill-manifest.json +64 -64
  103. package/pipeline/skills/shared/core/apple-archive-compliance/SKILL.md +7 -70
  104. package/pipeline/skills/shared/core/apple-archive-compliance/references/examples.md +67 -0
  105. package/pipeline/skills/shared/core/apple-archive-compliance/references/version-history.md +8 -0
  106. package/pipeline/skills/shared/core/google-play-compliance/SKILL.md +10 -72
  107. package/pipeline/skills/shared/core/google-play-compliance/references/examples.md +69 -0
  108. package/pipeline/skills/shared/core/google-play-compliance/references/notes.md +7 -0
  109. package/pipeline/skills/shared/core/google-play-compliance/references/version-history.md +5 -0
  110. package/pipeline/skills/shared/core/multi-agent/SKILL.md +39 -262
  111. package/pipeline/skills/shared/core/multi-agent-autopilot-on/SKILL.md +35 -73
  112. package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +37 -337
  113. package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +27 -122
  114. package/pipeline/skills/shared/core/multi-agent-help/SKILL.md +8 -340
  115. package/pipeline/skills/shared/core/multi-agent-ios-coding-standard/SKILL.md +37 -180
  116. package/pipeline/skills/shared/core/multi-agent-manual-test/SKILL.md +12 -7
  117. package/pipeline/skills/shared/core/multi-agent-refactor/SKILL.md +23 -184
  118. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +14 -82
  119. package/pipeline/skills/shared/core/multi-agent-setup/SKILL.md +25 -277
  120. package/pipeline/skills/shared/core/multi-agent-status/SKILL.md +13 -2
  121. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +73 -217
  122. package/pipeline/skills/shared/external/alarmkit/SKILL.md +11 -162
  123. package/pipeline/skills/shared/external/alarmkit/references/alarmkit-code.md +257 -0
  124. package/pipeline/skills/shared/external/android-architecture/SKILL.md +7 -58
  125. package/pipeline/skills/shared/external/android-architecture/references/code-examples.md +68 -0
  126. package/pipeline/skills/shared/external/app-intents/SKILL.md +3 -45
  127. package/pipeline/skills/shared/external/app-intents/references/code-examples.md +54 -0
  128. package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +5 -81
  129. package/pipeline/skills/shared/external/app-store-optimization/references/engagement-and-localization.md +96 -0
  130. package/pipeline/skills/shared/external/app-store-review/SKILL.md +6 -112
  131. package/pipeline/skills/shared/external/app-store-review/references/monetization-and-submission.md +138 -0
  132. package/pipeline/skills/shared/external/apple-on-device-ai/SKILL.md +10 -117
  133. package/pipeline/skills/shared/external/apple-on-device-ai/references/foundation-models-code.md +186 -0
  134. package/pipeline/skills/shared/external/authentication/SKILL.md +3 -50
  135. package/pipeline/skills/shared/external/authentication/references/code-examples.md +59 -0
  136. package/pipeline/skills/shared/external/callkit-voip/SKILL.md +3 -84
  137. package/pipeline/skills/shared/external/callkit-voip/references/code-examples.md +93 -0
  138. package/pipeline/skills/shared/external/ci-cd-pipelines/SKILL.md +7 -263
  139. package/pipeline/skills/shared/external/ci-cd-pipelines/references/pipeline-examples.md +281 -0
  140. package/pipeline/skills/shared/external/clean-code/SKILL.md +8 -41
  141. package/pipeline/skills/shared/external/clean-code/references/code-examples.md +56 -0
  142. package/pipeline/skills/shared/external/cloudkit-sync/SKILL.md +8 -146
  143. package/pipeline/skills/shared/external/cloudkit-sync/references/cloudkit-code.md +214 -0
  144. package/pipeline/skills/shared/external/compose-components/SKILL.md +6 -80
  145. package/pipeline/skills/shared/external/compose-components/references/code-examples.md +89 -0
  146. package/pipeline/skills/shared/external/compose-navigation/SKILL.md +5 -64
  147. package/pipeline/skills/shared/external/compose-navigation/references/code-examples.md +70 -0
  148. package/pipeline/skills/shared/external/core-data/SKILL.md +9 -157
  149. package/pipeline/skills/shared/external/core-data/references/core-data-code.md +221 -0
  150. package/pipeline/skills/shared/external/core-nfc/SKILL.md +3 -89
  151. package/pipeline/skills/shared/external/core-nfc/references/code-examples.md +98 -0
  152. package/pipeline/skills/shared/external/coreml/SKILL.md +17 -133
  153. package/pipeline/skills/shared/external/coreml/references/coreml-code.md +208 -0
  154. package/pipeline/skills/shared/external/css-modern/SKILL.md +8 -131
  155. package/pipeline/skills/shared/external/css-modern/references/code-examples.md +142 -0
  156. package/pipeline/skills/shared/external/database-patterns/SKILL.md +6 -103
  157. package/pipeline/skills/shared/external/database-patterns/references/orm-examples.md +112 -0
  158. package/pipeline/skills/shared/external/html-semantic/SKILL.md +7 -48
  159. package/pipeline/skills/shared/external/html-semantic/references/code-examples.md +54 -0
  160. package/pipeline/skills/shared/external/humanizer/SKILL.md +6 -19
  161. package/pipeline/skills/shared/external/humanizer/references/voice.md +24 -0
  162. package/pipeline/skills/shared/external/ios-accessibility/SKILL.md +13 -170
  163. package/pipeline/skills/shared/external/ios-accessibility/references/assistive-tech-review.md +224 -0
  164. package/pipeline/skills/shared/external/ios-localization/SKILL.md +2 -24
  165. package/pipeline/skills/shared/external/ios-localization/references/code-examples.md +30 -0
  166. package/pipeline/skills/shared/external/ios-networking/SKILL.md +3 -58
  167. package/pipeline/skills/shared/external/ios-networking/references/code-examples.md +67 -0
  168. package/pipeline/skills/shared/external/ios-security/SKILL.md +4 -64
  169. package/pipeline/skills/shared/external/ios-security/references/code-examples.md +74 -0
  170. package/pipeline/skills/shared/external/live-activities/SKILL.md +4 -90
  171. package/pipeline/skills/shared/external/live-activities/references/code-examples.md +108 -0
  172. package/pipeline/skills/shared/external/localization-reuse-map/SKILL.md +9 -23
  173. package/pipeline/skills/shared/external/localization-reuse-map/references/project-settings.md +22 -0
  174. package/pipeline/skills/shared/external/mapkit-location/SKILL.md +5 -95
  175. package/pipeline/skills/shared/external/mapkit-location/references/code-examples.md +117 -0
  176. package/pipeline/skills/shared/external/nextjs-app-router/SKILL.md +7 -106
  177. package/pipeline/skills/shared/external/nextjs-app-router/references/app-router-examples.md +124 -0
  178. package/pipeline/skills/shared/external/permissionkit/SKILL.md +2 -31
  179. package/pipeline/skills/shared/external/permissionkit/references/code-examples.md +37 -0
  180. package/pipeline/skills/shared/external/play-store-review/SKILL.md +6 -74
  181. package/pipeline/skills/shared/external/play-store-review/references/signing-and-policies.md +83 -0
  182. package/pipeline/skills/shared/external/push-notifications/SKILL.md +8 -125
  183. package/pipeline/skills/shared/external/push-notifications/references/notification-code.md +176 -0
  184. package/pipeline/skills/shared/external/python-patterns/SKILL.md +7 -158
  185. package/pipeline/skills/shared/external/python-patterns/references/python-examples.md +176 -0
  186. package/pipeline/skills/shared/external/rest-api-design/SKILL.md +7 -157
  187. package/pipeline/skills/shared/external/rest-api-design/references/api-examples.md +175 -0
  188. package/pipeline/skills/shared/external/swift-architecture/SKILL.md +11 -230
  189. package/pipeline/skills/shared/external/swift-architecture/references/pattern-examples.md +295 -0
  190. package/pipeline/skills/shared/external/swift-codable/SKILL.md +17 -149
  191. package/pipeline/skills/shared/external/swift-codable/references/codable-recipes.md +207 -0
  192. package/pipeline/skills/shared/external/swift-concurrency/SKILL.md +12 -99
  193. package/pipeline/skills/shared/external/swift-concurrency/references/code-examples.md +100 -0
  194. package/pipeline/skills/shared/external/swift-concurrency/references/swift-6-2-additions.md +18 -0
  195. package/pipeline/skills/shared/external/swift-formatstyle/SKILL.md +9 -78
  196. package/pipeline/skills/shared/external/swift-formatstyle/references/formatstyle-examples.md +113 -0
  197. package/pipeline/skills/shared/external/swift-language/SKILL.md +3 -56
  198. package/pipeline/skills/shared/external/swift-language/references/code-examples.md +65 -0
  199. package/pipeline/skills/shared/external/swift-testing-pro/SKILL.md +1 -0
  200. package/pipeline/skills/shared/external/swiftdata/SKILL.md +6 -122
  201. package/pipeline/skills/shared/external/swiftdata/references/code-examples.md +140 -0
  202. package/pipeline/skills/shared/external/swiftui-uikit-interop/SKILL.md +12 -139
  203. package/pipeline/skills/shared/external/swiftui-uikit-interop/references/interop-code.md +198 -0
  204. package/pipeline/skills/shared/external/tailwind-css/SKILL.md +9 -81
  205. package/pipeline/skills/shared/external/tailwind-css/references/code-examples.md +91 -0
  206. package/pipeline/skills/shared/external/testing-backend/SKILL.md +7 -207
  207. package/pipeline/skills/shared/external/testing-backend/references/testing-examples.md +225 -0
  208. package/pipeline/skills/shared/external/typescript-patterns/SKILL.md +8 -89
  209. package/pipeline/skills/shared/external/typescript-patterns/references/code-examples.md +100 -0
  210. package/pipeline/skills/shared/external/vision-framework/SKILL.md +2 -20
  211. package/pipeline/skills/shared/external/vision-framework/references/code-examples.md +26 -0
  212. package/pipeline/skills/shared/external/vue-composition/SKILL.md +7 -169
  213. package/pipeline/skills/shared/external/vue-composition/references/vue-examples.md +187 -0
  214. package/pipeline/skills/shared/external/web-accessibility/SKILL.md +7 -174
  215. package/pipeline/skills/shared/external/web-accessibility/references/a11y-examples.md +192 -0
  216. package/pipeline/skills/shared/external/web-performance/SKILL.md +8 -66
  217. package/pipeline/skills/shared/external/web-performance/references/code-examples.md +77 -0
  218. package/pipeline/skills/shared/external/web-testing/SKILL.md +11 -186
  219. package/pipeline/skills/shared/external/web-testing/references/testing-examples.md +213 -0
  220. /package/pipeline/skills/shared/external/localization-reuse-map/{reference → references}/format-and-output.md +0 -0
  221. /package/pipeline/skills/shared/external/localization-reuse-map/{reference → references}/publish-and-snapshot.md +0 -0
  222. /package/pipeline/skills/shared/external/localization-reuse-map/{reference → references}/sources-and-recipes.md +0 -0
@@ -7,14 +7,11 @@ metadata:
7
7
  language: en
8
8
  ---
9
9
 
10
+ # multi-agent-design-check - Mock-mode vs Figma design audit
10
11
 
11
- # multi-agent-design-check - Mock-mode vs Figma design audit
12
+ Runs the app in **mock mode** on a simulator / emulator and compares each screen and mock variant against Figma at the **pixel + geometry + typography + color** level. **Local-only**: no CI, no commits, no PR; the report goes to `~/DesignChecks/`, the worktree only isolates the Debug build.
12
13
 
13
- Local, on-device design-conformance auditor. Runs the app in a **mock mode** on a simulator / emulator and compares each screen (and every mock variant the build exposes) against its Figma design at the **pixel + geometry + typography + color** level, then produces a detailed report.
14
-
15
- **Local-only**: no CI/CD, no cron, no commits, no PR. Read-only audit; writes a report to `~/DesignChecks/`. The worktree only isolates the Debug build.
16
-
17
- > **Language**: `promptLanguage=en` always (this spec stays English). `outputLanguage` applies to conversational lines and the human-readable report - pass it to `design_report` as `report.lang` (engine defaults to English, ships `en` + `tr` packs, per-key `report.labels` overrides). `ask_choice` `header` chips, branch names, paths, code identifiers stay English; option `label`s follow `outputLanguage` like the rest of the picker copy.
14
+ > **Language**: this spec stays English. `outputLanguage` covers conversational lines and the report (`design_report` `report.lang`); `ask_choice` `header` chips, paths, identifiers and logs stay English. Contract: `$HOME/.claude/multi-agent-refs/rules.md` "Language Application".
18
15
 
19
16
  ## Gotchas
20
17
 
@@ -22,135 +19,43 @@ Local, on-device design-conformance auditor. Runs the app in a **mock mode** on
22
19
  - The coverage gate fails the run when a target was neither audited nor skipped with a reason. "Not reached" is not "passed".
23
20
  - A Figma variant with no matching mock state is a finding about the mock, not a pass for the screen.
24
21
 
25
- ## Scope - `$ARGUMENTS`
26
-
27
- The scope decides which **inventory targets** (Phase 0 step 5) the run must audit. It never changes how thoroughly each target is audited.
28
-
29
- | Form | Example | Scope |
30
- |------|---------|-------|
31
- | empty / `module` | (no argument) | Every target in the module's inventory |
32
- | screen name | `order-status` | Every target whose `screen` matches (case/separator-insensitive) |
33
- | `screen@variant` | `order-status@expired` | One target |
34
- | target id | `scenario-case:orderstatusoutcome-expired` | One target, exactly |
35
- | Figma URL(s) | `https://figma.com/design/...?node-id=1-2` | Only the frames those URLs name |
36
- | `--resume` | `--resume` | The unaudited remainder of the most recent run for this repo + module |
37
- | combinations | `seat-map summary@semi-success` | Union of the above, space- or newline-separated |
38
-
39
- A scope matching **no** inventory target is an error, not an empty run: print the closest inventory ids and halt.
40
-
41
- **Whole-module is the default, and it is meant to finish.** The inventory prices each target (`cost: relaunch | in-app`) and batches them into a run `plan`, so a 50-target module is typically about a dozen relaunches rather than fifty - a full audit is one sitting, not a project. Scope exists for resuming an interrupted run and for re-checking one screen after a fix, **not** for trimming an audit down to what feels affordable. The coverage gate applies to the **scoped** set, so a deliberate scoped run is never penalised for out-of-scope targets, and `--resume` closes the remainder.
42
-
43
- ## Pipeline
44
-
45
- ```
46
- Phase 0: Init & Gate → repo + module picker, platform detect, MOCK FEASIBILITY GATE, SCENARIO INVENTORY, scope resolve, report dir, worktree
47
- Phase 1: Build & Launch → Debug build in worktree, boot device, install, launch in mock mode
48
- Phase 2: Figma → fetch module frame tree, enumerate + map variants (ask when ambiguous)
49
- Phase 3: Drive & Compare → per plan batch: one launch → capture + flip in-app states → match → batch-ask → compare
50
- Phase 4: Report → coverage gate + assemble + export HTML + PDF (+ Confluence) to ~/DesignChecks/
51
- ```
52
-
53
- ## Requirements
54
-
55
- - **iOS**: Xcode + Simulator. **Android**: Android SDK + emulator / device.
56
- - **MCP**: `multi-agent-toolkit` (>= 2.8.0, for `design_scenario_inventory`, the `design_report` coverage gate, and `design_visual_compare` region alignment) + an authenticated Figma MCP (`mcp__claude_ai_Figma__*`).
57
- - The module must be auditable: a **mock mode** (preferred - it can toggle variants) or a **snapshot capture** of the screen's view model. Neither → halt.
58
-
59
- **What each capture is compared against** - the per-component catalog, the measure-never-the-token rule, and the two-consecutive-clean convergence rule that decides when a component is done - is `$HOME/.claude/multi-agent-refs/features/design-conformance.md`. Read it before the first compare. A check that was not run is a fail-to-verify, and every skipped `[DYNAMIC]` / `[CAPTURE+]` item is listed in the report rather than omitted.
60
-
61
- ## Phase Tracker (mandatory)
62
-
63
- ```bash
64
- bash $HOME/.copilot/scripts/phase-tracker.sh init "$TASK_ID"
65
- for p in "0:Init & Gate" "1:Build & Launch" "2:Figma" "3:Drive & Compare" "4:Report"; do
66
- bash $HOME/.copilot/scripts/phase-tracker.sh add "${p%%:*}" "${p#*:}"
67
- done
68
- ```
69
- Copilot / plain shell has no TaskList widget - after every state change call `phase-tracker.sh render` (prints a bordered ANSI card). Do NOT call TaskCreate here.
70
-
71
- ## STOP-AND-CONFIRM
72
-
73
- Every Phase 0 / Phase 2 decision uses the `ask_choice` picker (`$HOME/.copilot/lib/ask-choice.sh`). Print a `Step <i>/<n>: <what it decides>` breadcrumb first. Confirmation required even with one option; state inheritance from a previous run is FORBIDDEN.
74
-
75
- ---
76
-
77
- ## Phase 0 - Init, Feasibility Gate & Inventory
78
-
79
- 0. **MCP CURRENCY GATE (first, before anything expensive)** - a session bound to a process started before the last update keeps serving the OLD tool list while still reporting "connected". Assert both halves before the Debug build: (a) **session** - `design_scenario_inventory` is callable and `design_visual_compare` accepts `live_region`; (b) **disk** - probe what a fresh connection would serve. Disk OK but session stale → **HALT**; the user must reconnect the MCP server. Disk stale → **HALT**; the checkout needs updating first. Both current → continue. Never substitute a local `node` call for a missing tool: the run would silently lose the coverage gate and region alignment. Full procedure: `$HOME/.claude/multi-agent-refs/design-check/mcp-currency-gate.md`. Read it for Phase 0 step 0.
80
- 1. **Repo picker** - `$HOME/.claude/multi-agent-refs/_repo-picker.md`. Account picker skipped (Figma token user-supplied) unless Confluence export needs a token.
81
- 2. **Module picker** - `$HOME/.claude/multi-agent-refs/_dev-context.md`. Multi-module = audit each independently.
82
- 3. **Platform detect** - `.xcodeproj`/`Package.swift`→iOS, `build.gradle*`→Android. Persist `state.platform`.
83
- 4. **MOCK FEASIBILITY GATE** - `mcp__multi-agent-toolkit__design_mock_detect` on the module path:
84
- - `false` → try the **snapshot lane** before halting: a screen renderable from its own view model is auditable without a runtime mock switch. Ask via `ask_choice`, persist `state.designCheck.captureLane = "snapshot"`, and state the trade (no in-app variant flips). Declined or not renderable → **HALT** with `reason`. Never fabricate a comparison.
85
- - `"debug-only"` → warn via ask_choice (variants can't be toggled at launch; only default Debug state comparable), Continue / Cancel.
86
- - `true` → persist `state.designCheck.mock` (mechanism, activation, variantsHint, evidence).
87
- 5. **SCENARIO INVENTORY (this is the audit's target set)** - `mcp__multi-agent-toolkit__design_scenario_inventory` with the config's inventory overrides. This list, not the agent's reading of the code and not what the UI happens to expose to tapping, is what the run is measured against. Persist verbatim to `state.designCheck.inventory`.
88
- - `targetCount: 0` → warn that only the default launch state is auditable (a `debug-only` project legitimately lands here).
89
- - `truncated: true` → the target set is INCOMPLETE. Say so now and pass `coverage.truncatedInventory: true` in Phase 4 so the gate fails instead of reporting a clean percentage of a partial denominator; narrow to a screen and work through the module in `--resume` steps.
90
- - `ignored[]` non-empty → list what the config dropped, so a stale `ignoreTargets` cannot quietly shrink the audit.
91
- 6. **Scope resolve** - intersect `$ARGUMENTS` with `inventory.targets`; persist `state.designCheck.scope = { argument, targetIds[] }`. Print the set grouped by screen as `<n> targets · <relaunchCount> relaunches` (cost from `plan`, not the target count). **Whole-module is the intended default**; ask_choice only when `relaunchCount` exceeds `config coverage.confirmAbove` (default 25), phrased as a cost estimate rather than an invitation to shrink the audit. Never offer a smaller scope as the easy path.
92
- 7. **`--resume`** - scope = the latest `run-state.json` targets minus `covered` minus `skipped`. No previous run → say so and fall back to whole-module scope after confirmation.
93
- 8. **Report dir** - create `~/DesignChecks/{repo}__{module}/{UTC-timestamp}/` (+ `assets/`) now, persist `state.designCheck.reportDir`; it exists before driving starts.
94
- 9. **Worktree** - `{projectRoot}/.worktrees/{taskId}`, `taskId` = `DC-<shortId>`, never under $HOME; prune stale locks + add `.worktrees/` to `.git/info/exclude` first.
95
-
96
- Then persist `agent-state.json`. Full procedure: `$HOME/.claude/multi-agent-refs/design-check/init-inventory.md`. Read it for Phase 0 steps 1-9.
97
-
98
- ## Phase 1 - Build & Launch (mock)
99
-
100
- Debug build in the worktree, boot + install once, fix status bar / appearance / locale, launch via `design_mock_launch` with the Phase 0 activation (`debug-only`: plain launch). Phase 3 relaunches, never rebuilds. Full procedure: `$HOME/.claude/multi-agent-refs/design-check/build-launch.md`. Read it for Phase 1.
101
-
102
- ## Phase 2 - Figma fetch & variant mapping (module-scoped)
103
-
104
- Figma **discovery** happens only here: the frame tree is fetched once and no later phase browses Figma for candidates. Phase 3 may fetch a specific node the user hands over in the 3.3 batch-ask - a targeted fetch of an already-identified frame, and the only Figma call allowed after this phase.
105
-
106
- Fetch the frame tree, map each scoped target to a frame, fetch screenshot + design context per variant, persist `state.designCheck.variants[]`. **Ambiguous/unmatched → deferred to the Phase 3.3 batch-ask; never guess.** Full procedure: `$HOME/.claude/multi-agent-refs/design-check/figma-mapping.md`. Read it for Phase 2.
107
-
108
- ## Phase 3 - Drive every scoped target → capture → match → batch-ask → compare
109
-
110
- **This phase iterates `state.designCheck.scope.targetIds` - a finite list decided in Phase 0. It ends when every id is resolved, not when the UI stops offering new taps.** Tap-walking alone cannot reach a state needing a different launch argument, scenario case, or typed scenario code - which is how a module's error / edge states go missing.
111
-
112
- ### 3.1 Drive the inventory's plan, batch by batch
113
-
114
- **Follow `inventory.plan`, filtered to the scoped ids.** Each batch is one launch: the relaunch target opens a screen, then every in-app target for that screen is flipped while the app is already there - **no relaunch between in-app targets**. Driving the plan is what makes full coverage affordable. Activate each target by its `driver.type`, and capture tap-reachable sub-states (sheets, modals, inline errors) under `<id>#<sub-label>`. Each capture (screenshot + `design_ui_geometry`) goes to `state.designCheck.captured[]`. **Persist `state` and `run-state.json` after every capture** so a dying run resumes from where it stopped. Full procedure (driver table, capture mechanics): `$HOME/.claude/multi-agent-refs/design-check/drive-capture.md`. Read it for Phase 3.1.
22
+ ## Scope, requirements, tracker
115
23
 
116
- Unreachable target → record `{ id, reason }` in `state.designCheck.skipped[]` with a concrete reason. "Requires a scenario / prefix / launch-arg" is **not** a reason - that describes the work, and the work is this phase's job.
24
+ Before Phase 0, read `$HOME/.claude/multi-agent-refs/design-check/scope-and-ledger.md`: the scope grammar (empty, screen, `screen@variant`, target id, Figma URL, `--resume`), the requirements, the tracker detail and the ledger rules. Whole-module is the default and is meant to finish; scope is for resuming or re-checking, never for trimming. No mock mode and no snapshot capture: halt.
117
25
 
118
- ### 3.2 Match each capture → Figma frame (auto)
26
+ Tracker: `bash $HOME/.copilot/scripts/phase-tracker.sh init` + `add` for `0:Init & Gate`, `1:Build & Launch`, `2:Figma`, `3:Drive & Compare`, `4:Report`; there is no TaskList widget, so call `phase-tracker.sh render` after every state change and never TaskCreate.
119
27
 
120
- Accept only a **confident** match against the Phase 2 tree → `pairs[]`.
28
+ Every Phase 0 / Phase 2 decision uses the `ask_choice` picker (`$HOME/.copilot/lib/ask-choice.sh`) with a `Step <i>/<n>` breadcrumb; confirm even a single option; never inherit state from a previous run.
121
29
 
122
- ### 3.3 Batch-ask the user for EVERYTHING unmatched (ONE prompt, WITH the visual)
30
+ ## Phase 0 - Init, feasibility gate, inventory
123
31
 
124
- Collect ALL unmatched captures into a single list and ask ONCE - never guess, never show a wrong frame. **Show each unmatched screen's captured screenshot**, name the screen, ask for the Figma node-id / URL in `outputLanguage`. Each answer becomes a confirmed pair; a declined screen is a skip with reason "no Figma frame supplied".
32
+ Read `$HOME/.claude/multi-agent-refs/design-check/mcp-currency-gate.md` for step 0 and `$HOME/.claude/multi-agent-refs/design-check/init-inventory.md` for steps 1-9.
125
33
 
126
- ### 3.4 Compare ALL pairs in one pass
34
+ 0. **MCP currency gate** before anything expensive: session stale or disk stale: **HALT** (reconnect, or update the checkout). Never substitute a local `node` call for a missing tool.
35
+ 1-3. Repo picker, module picker, platform detect.
36
+ 4. **Mock feasibility** (`design_mock_detect`): `false`: offer the **snapshot lane** (`captureLane = "snapshot"`, no in-app flips), declined or not renderable: **HALT** with `reason`, never fabricate a comparison. `"debug-only"`: warn, Continue / Cancel. `true`: persist `state.designCheck.mock`.
37
+ 5. **Scenario inventory** (`design_scenario_inventory`) is the target set; persist verbatim. `truncated: true`: say so and pass `coverage.truncatedInventory: true` in Phase 4. `targetCount: 0`: only the default launch state is auditable. List `ignored[]`.
38
+ 6-7. Scope resolve, `--resume`; confirm only above `coverage.confirmAbove` relaunches, as a cost estimate, never offering a smaller scope.
39
+ 8-9. Report dir now; worktree `{projectRoot}/.worktrees/DC-<shortId>`, never under $HOME.
127
40
 
128
- `design_visual_compare` per pair with `tolerance_px: 2, color_tolerance: 3, max_diff_pct: 1.0`. **Bottom sheets, modals, and any partial overlay need region alignment** (`live_region` from the sheet container in `design_ui_geometry`, never a guess, plus `expected_region` from the Figma placement). Attach Code Connect refs (best-effort); compose a paste-ready fix prompt. Full procedure (match, batch-ask mechanics, compare call, region alignment): `$HOME/.claude/multi-agent-refs/design-check/compare.md`. Read it for Phase 3.2-3.4.
41
+ ## Phase 1 - Build & launch
129
42
 
130
- **Edge insets are defects, not tolerances.** Report every `inset` finding as a deviation with its px delta; never absorb a side gap as "close enough" and never raise `tolerance_px` to make one disappear.
43
+ Debug build in the worktree, launch via `design_mock_launch`; Phase 3 relaunches, never rebuilds. Read `$HOME/.claude/multi-agent-refs/design-check/build-launch.md` for Phase 1.
131
44
 
132
- ### 3.5 Close the ledger
45
+ ## Phase 2 - Figma mapping
133
46
 
134
- Every scoped target id ends in exactly one bucket: **covered** (captured AND compared) or **skipped** (with a concrete reason from 3.1 / 3.3). Write `run-state.json` into the Phase 0 report dir with `{ targetIds, covered, skipped }` so `--resume` can pick up the remainder.
47
+ The only Figma discovery; later only a node the user hands over in 3.3. **Ambiguous or unmatched: defer to 3.3, never guess.** Read `$HOME/.claude/multi-agent-refs/design-check/figma-mapping.md` for Phase 2.
135
48
 
136
- Before leaving this phase, compare `covered.length + skipped.length` against `scope.targetIds.length`. A mismatch is a set of targets nobody decided about - go back and drive them, or record why they cannot be driven. Reaching Phase 4 with a mismatch is the worst of both worlds: the work is undone AND the run is marked incomplete.
49
+ ## Phase 3 - Drive, capture, match, compare
137
50
 
138
- ## Phase 4 - Report, coverage gate & export
51
+ Iterate `scope.targetIds`; done when every id is resolved, not when taps run out. Before the first compare, read `$HOME/.claude/multi-agent-refs/features/design-conformance.md`.
139
52
 
140
- 1. Output dir: `state.designCheck.reportDir` from Phase 0; never a second timestamped dir.
141
- 2. Assemble the report object: `coverage` (scoped `targets`, `covered`, `skipped` with reasons, `truncatedInventory`, optional `floor`) and per-variant results with a `walk` block. Pass **ids**, not counts.
142
- 3. Export with `design_report` (`html` + `pdf`, + `confluence` only when enabled via the `multi-agent-channels` adapter; else graceful skip). Full procedure (report object, export formats, cleanup): `$HOME/.claude/multi-agent-refs/design-check/export.md`. Read it for Phase 4.
143
- 4. **COVERAGE GATE (blocking, not advisory)** - read `coverage` from the tool result and persist to `state.designCheck.coverage`:
144
- - `gate: "pass"` → print per-variant PASS/FAIL + findings + report paths.
145
- - `gate: "fail"` → the run is **INCOMPLETE**. Print `coverageError`, the `unaccountedIds`, and the command that closes the gap (`/multi-agent-design-check --resume`). Do not present an incomplete audit as finished, and never pad the covered list to make the gate pass.
53
+ - **3.1** Drive `inventory.plan` batch by batch; persist `state` and `run-state.json` after every capture. Unreachable: skip with a concrete reason. Read `$HOME/.claude/multi-agent-refs/design-check/drive-capture.md`.
54
+ - **3.2-3.4** Confident matches only; batch-ask everything unmatched ONCE, showing each live screenshot; compare all pairs (`tolerance_px: 2, color_tolerance: 3, max_diff_pct: 1.0`), sheets and modals with region alignment. **Edge insets are defects**: never raise `tolerance_px` to hide one. Read `$HOME/.claude/multi-agent-refs/design-check/compare.md`.
55
+ - **3.5** Every id ends covered or skipped; `covered + skipped` must equal `targetIds` before Phase 4.
146
56
 
147
- The gate is a last line of defence, not the plan. If it fires, Phase 3 left work undone - drive the missing targets, then report.
148
- 5. Remove the worktree unless asked to keep it. The report dir is never removed.
57
+ ## Phase 4 - Report and coverage gate
149
58
 
150
- ## Notes
59
+ Use `state.designCheck.reportDir`. Pass ids, not counts; each variant carries `walk` with `didNotConverge` and `notVerified`. Export with `design_report` (Confluence only when enabled, via the `multi-agent-channels` adapter). Read `$HOME/.claude/multi-agent-refs/design-check/export.md` for Phase 4.
151
60
 
152
- - Feasibility is real - report honestly and stop when a module has no mock support; never fabricate a partial comparison.
153
- - **The inventory is the contract**: Phase 0 step 5 decides what "done" means. An audit that visits the linear happy path and lists the rest as "not visited" is the failure mode this pipeline exists to prevent; the gate makes it visible instead of polite.
154
- - **Chunk with scope, not with silence**: a 50-target module is a legitimate multi-run job. Scope it, close each run's gate, let `--resume` carry the remainder.
155
- - "Pixel perfect" is perceptual + geometric (scale normalized, chrome cropped); deltas reported in px/pt/hex with a tolerance.
156
- - The `design_*` engine is generic; project specifics (mock keys, extra launch args / targets, node overrides, status-bar crop, coverage floor, Confluence toggle) come from `design-check-config.json` / prefs, never hardcoded.
61
+ **Coverage gate (blocking)**: `pass`: report results and paths. `fail`: the run is **INCOMPLETE**; print `coverageError`, `unaccountedIds` and `/multi-agent-design-check --resume`. Never pad the covered list. Remove the worktree unless asked to keep it; never the report dir.
@@ -13,352 +13,20 @@ Called with no args or `help`, show the usage guide in the user's preferred lang
13
13
 
14
14
  ## Language resolution
15
15
 
16
- Help is the assistant's own explanation to the user - render it in `prefs.global.outputLanguage`. Fall back to `prefs.global.promptLanguage` for prefs written before v8.2.0. Two valid values: `"en"` (default) and `"tr"`. If both are missing / malformed → treat as `"en"`.
16
+ Help is the assistant's own explanation to the user - render it in `prefs.global.outputLanguage`, falling back to `prefs.global.promptLanguage` for older prefs. Two valid values: `"en"` (default) and `"tr"`; missing or malformed means `"en"`. Language rule: `$HOME/.claude/multi-agent-refs/rules.md`.
17
17
 
18
18
  ```bash
19
19
  PREFS="$HOME/.claude/multi-agent-preferences.json"
20
20
  LANG=$(jq -r '.global.outputLanguage // .global.promptLanguage // "en"' "$PREFS" 2>/dev/null || echo "en")
21
21
  ```
22
22
 
23
- Render **exactly one** of the two blocks below - the one matching `LANG`. Do not print both.
23
+ Read **exactly one** catalog, the one matching `LANG`, and print its block. Never print both.
24
24
 
25
- ---
26
-
27
- ## Render when `LANG == "en"` - English guide
28
-
29
- ```
30
- +----------------------------------------------------------+
31
- | Multi-Agent Task Orchestrator |
32
- +----------------------------------------------------------+
33
-
34
- 5 different input types supported - all enter the same flow:
35
-
36
- multi-agent "{JIRA_KEY}-XXXXX" -> Jira ID
37
- multi-agent "https://{JIRA_HOST}/browse/..." -> Jira URL
38
- multi-agent "https://github.com/.../issues/N" -> GitHub Issue URL
39
- multi-agent "#316" -> GitHub Issue #
40
- multi-agent "bug/feature description" -> Free-text
41
-
42
- (Copilot CLI uses the dash form: multi-agent-channels, etc.
43
- Claude Code uses colon form: /multi-agent:channels, etc.)
44
-
45
- ------------------------------------------------------------
46
-
47
- How It Works (Phase 0 - Interactive Flow):
48
-
49
- 1. PARSE Classify input, fetch info from Jira/GitHub
50
- 2. PROJECT $HOME scanned, projects listed -> select by number
51
- 3. BRANCH Remote branches fetched (develop* first) -> select
52
- 4. DESIGN? Any Figma URL or screenshot? (optional)
53
- 5. BRANCH NAME bugfix/{jiraId} or feature/{jiraId} -> confirm
54
- 6. GIT ID Select identity from preferences (multiple supported)
55
- 7. INSTRUCTION Auto-detect if .instructions/ exists (figma etc.)
56
- 8. WORKSPACE Ask where the branch lives: worktree (default) or project root
57
-
58
- ------------------------------------------------------------
59
-
60
- Pipeline (after Phase 0):
61
-
62
- Phase 0: Init -> The 8 steps above
63
- Phase 1: Plan -> Stack detection + codebase scan, then task breakdown,
64
- architecture review and the Plan Approval Gate (Opus)
65
- Phase 2: Dev -> TDD: test -> code -> build (Sonnet) + build queue, then the
66
- Verify exit gate: build, lint, tests, secrets
67
- (the build runs ONCE per run; its log carries into Review)
68
- Phase 3: Review -> Parallel AI review + Fable triage, then the optional user test
69
- (Claude Code: Fable + Opus + Sonnet · Copilot CLI: GPT-5.4 + Opus + Sonnet)
70
- Phase 4: Commit -> Commit -> push -> PR + issue body update (never auto-closes)
71
- Phase 5: Report -> Channels dispatcher (PR · Jira · Confluence · Wiki, multi-select)
72
- + internal capture (agent-log · knowledge · memory)
73
-
74
- Autopilot always pauses at the Phase 5 channels menu (30-min timeout → session ends).
75
-
76
- ------------------------------------------------------------
77
-
78
- Modes:
79
-
80
- One pipeline. Every mode runs its whole phase set:
81
- Plan -> Dev(Sonnet) -> Review -> Commit -> Report
82
- What a run costs follows the evidence the task carries.
83
-
84
- autopilot Skip all confirmations and resolve the workspace to a
85
- worktree (EXCEPT Phase 5 channels menu)
86
-
87
- Dedicated dash commands (Copilot):
88
- multi-agent-autopilot
89
-
90
- ------------------------------------------------------------
91
-
92
- Utility Commands (dash form on Copilot, colon form on Claude Code):
93
-
94
- /multi-agent:status List tasks across all projects
95
- /multi-agent:log [#id] Show task log
96
- /multi-agent:resume [#id] Resume a paused task
97
- /multi-agent:kill [#id] Delete worktree (logs preserved)
98
- /multi-agent:prune-logs Delete per-task logs (audit + metrics kept; dry-run first)
99
- /multi-agent:garbage-collect Sweep leftover /tmp scratch + worktree residue (dry-run first)
100
- /multi-agent:purge Worktree + logs - full reset (double confirm)
101
- /multi-agent:channels Post multi-channel report (Jira/Confluence/Wiki/PR)
102
- /multi-agent:review Review a PR or branch diff; no URL -> pick open GitHub/Bitbucket PRs
103
- /multi-agent:review-jira Grade a Jira issue's pipeline-readiness -> comment the gaps
104
- /multi-agent:review-issue Grade a GitHub issue's pipeline-readiness -> comment the gaps
105
- /multi-agent:analysis ["name"] Feature-spec analysis. Asks the standard first: global (23-section dev handoff) or corporate (IG→UC→FG requirements doc). Stack optional
106
- /multi-agent:analysis-resolve [doc] Resolve an analysis doc's open questions one at a time, with source-labeled candidates
107
- /multi-agent:review-analysis [doc | page | KEY] Review a written analysis: gates first, then parallel model review; findings cite the rule
108
- /multi-agent:feedback "msg" Tell the maintainer something broke; only your text is sent, shown before it goes
109
- /multi-agent:create-jira ["desc"] [figma-url] [swagger-url] Create a Jira Task/Bug/Story matching team conventions (asks type + preview + approval)
110
- /multi-agent:sync Sync ecosystem (Claude + Copilot + website)
111
- /multi-agent:setup Keychain tokens + Git identity + language onboarding
112
- /multi-agent:language [en|tr] Show or set prompt language
113
- /multi-agent:store-ready [repo] [--archive=|--ipa=|--aab=|--apk=] Pre-submission store readiness,
114
- iOS + Android, local-only. Three symmetric gates per platform: static package
115
- audit, the store's own validator, policy review vs source. Plus the running-app
116
- sweep. A skipped gate is never counted as a pass. Never uploads.
117
- /multi-agent:testflight-validation [repo] [--ipa=|--archive=] iOS-pinned alias of :store-ready.
118
- /multi-agent:ios-coding-standard [module] Audit an iOS module against the 99-rule coding-standard
119
- registry -> remediation plan + onboarding summary -> hand off to dev.
120
-
121
- ------------------------------------------------------------
122
-
123
- Interactive Launchers:
25
+ | `LANG` | Catalog |
26
+ |---|---|
27
+ | `tr` | `$HOME/.claude/multi-agent-refs/help/tr.md` |
28
+ | anything else | `$HOME/.claude/multi-agent-refs/help/en.md` |
124
29
 
125
- /multi-agent:jira List MY open Jira issues → pick → branch → mode → go
126
- /multi-agent:issue List UNASSIGNED GitHub issues → pick → auto-assign → go
30
+ ## Copilot CLI rendering
127
31
 
128
- ------------------------------------------------------------
129
-
130
- UI Testing (standalone):
131
-
132
- /multi-agent:test Full simulator test (screenshot all screens)
133
-
134
- Fixed-scenario commands - no quoting, and they autocomplete off `test-`:
135
-
136
- /multi-agent:test-dark-mode Dark mode bug test
137
- /multi-agent:test-accessibility Accessibility audit
138
- /multi-agent:test-dynamic-type Large text size test
139
- /multi-agent:test-screenshots [tr] App Store screenshot set in a locale (default tr)
140
-
141
- The scenario-tag form still works and is not deprecated - each command above is
142
- an alias for it.
143
-
144
- /multi-agent:test "dark mode" | "accessibility" | "dynamic type" | "screenshot <lang>"
145
-
146
- `store-ready` is NOT a UI test: it validates a built package, on iOS and Android,
147
- and lives at /multi-agent:store-ready. The old /multi-agent:test "store-ready"
148
- tag still works and hands off there.
149
-
150
- Manual Test (Phase 3 user-test step, standalone - Xcode hint flow):
151
-
152
- /multi-agent:manual-test [#N] Checkout task branch, print Xcode/SourceTree hints.
153
- (Renamed from :test in v5.7.4.)
154
-
155
- Design Check (mock-mode vs Figma, local-only - multi-agent-toolkit-mcp design_* tools):
156
-
157
- /multi-agent:design-check Whole-module design audit: enumerate every state driver into a target set,
158
- /multi-agent:design-check <scope> drive each one in mock mode via idb, compare vs Figma (padding/width/spacing/
159
- /multi-agent:design-check --resume font/color/component/localization), export HTML+PDF to ~/DesignChecks.
160
- Scope: empty=module / screen / screen@variant / target-id / Figma URL(s).
161
- COVERAGE GATE: a target is audited or skipped WITH a reason, else the run
162
- is reported INCOMPLETE. --resume covers the remainder of the last run.
163
- Unresolved frame → shows you the screenshot and asks for the node-id.
164
- Drives multi-agent-toolkit design_* : design_mock_detect / _scenario_inventory / _mock_launch / _ui_geometry / _visual_compare / _report.
165
-
166
- ------------------------------------------------------------
167
-
168
- Setup:
169
-
170
- /multi-agent:setup
171
-
172
- 1. Dynamic Keychain Discovery
173
- 2. Token Mapping
174
- 3. Jira Project Key
175
- 4. Git Identity
176
- 5. Missing Tokens
177
- 6. Verify
178
-
179
- ------------------------------------------------------------
180
-
181
- Key Features:
182
-
183
- Multi-Platform iOS, Android, Backend, Web - auto-detected
184
- Build Queue xcodebuild/Gradle serialized - parallel safe
185
- Stack Aware Auto-detects iOS/Android/Python/Node/Go/Docker
186
- Det. Gates Build + lint + test + secret scan BEFORE AI review
187
- Dual Submodule Multiple submodules simultaneously
188
- Issue Safety Never auto-closes issues
189
- Bilingual EN + TR - prompts, banners, and this help render in your language
190
-
191
- ------------------------------------------------------------
192
-
193
- Logs: $HOME/.copilot/logs/multi-agent/{project}/{task-id}/ (Copilot)
194
- $HOME/.claude/logs/multi-agent/{project}/{task-id}/ (Claude)
195
- ```
196
-
197
- ---
198
-
199
- ## Render when `LANG == "tr"` - Türkçe rehber
200
-
201
- ```
202
- +----------------------------------------------------------+
203
- | Multi-Agent Görev Orkestratörü |
204
- +----------------------------------------------------------+
205
-
206
- 5 farklı girdi tipi desteklenir - hepsi aynı akışa girer:
207
-
208
- multi-agent "{JIRA_KEY}-XXXXX" -> Jira ID
209
- multi-agent "https://{JIRA_HOST}/browse/..." -> Jira URL
210
- multi-agent "https://github.com/.../issues/N" -> GitHub Issue URL
211
- multi-agent "#316" -> GitHub Issue #
212
- multi-agent "bug/özellik açıklaması" -> Serbest metin
213
-
214
- (Copilot CLI dash form kullanır: multi-agent-channels vb.
215
- Claude Code colon form kullanır: /multi-agent:channels vb.)
216
-
217
- ------------------------------------------------------------
218
-
219
- Nasıl Çalışır (Phase 0 - İnteraktif Akış):
220
-
221
- 1. PARSE Girdiyi sınıflandır, Jira/GitHub'dan bilgi çek
222
- 2. PROJECT $HOME taranır, projeler listelenir -> numarayla seç
223
- 3. BRANCH Remote branch'ler çekilir (develop* önde) -> seç
224
- 4. DESIGN? Figma URL'si ya da screenshot var mı? (opsiyonel)
225
- 5. BRANCH NAME bugfix/{jiraId} veya feature/{jiraId} -> onayla
226
- 6. GIT ID Kimlik seç (prefs'ten; birden fazla desteklenir)
227
- 7. INSTRUCTION .instructions/ varsa otomatik algıla
228
- 8. WORKSPACE Branch nerede yaşayacak: worktree (default) ya da proje kökü
229
-
230
- ------------------------------------------------------------
231
-
232
- Pipeline (Phase 0'dan sonra):
233
-
234
- Phase 0: Init -> Yukarıdaki 8 adım
235
- Phase 1: Plan -> Stack tespiti + codebase taraması, ardından task kırılımı,
236
- mimari inceleme ve Plan Onay Kapısı (Opus)
237
- Phase 2: Dev -> TDD: test -> kod -> build (Sonnet) + build queue, sonra
238
- Verify çıkış kapısı: build, lint, test, sır taraması
239
- (build koşu başına BİR kez çalışır, log'u Review'a devreder)
240
- Phase 3: Review -> Paralel AI review + Fable triage, sonra opsiyonel kullanıcı testi
241
- (Claude Code: Fable + Opus + Sonnet · Copilot CLI: GPT-5.4 + Opus + Sonnet)
242
- Phase 4: Commit -> Commit -> push -> PR + issue body güncelleme (hiç auto-close yok)
243
- Phase 5: Report -> Channels dispatcher (PR · Jira · Confluence · Wiki, multi-select)
244
- + internal capture (agent-log · knowledge · memory)
245
-
246
- Autopilot Phase 5 channels menüsünde HER ZAMAN durur (30 dk timeout → session biter).
247
-
248
- ------------------------------------------------------------
249
-
250
- Modlar:
251
-
252
- Derinlik Faz 0 Adım 7.5'te sorulur, bayrakla geçilmez:
253
- Tam Plan -> Dev(Sonnet) -> Review -> Commit -> Report
254
- Kısa Dev(Opus, kendi kendine yeten) -> Review -> Commit -> Report
255
- taskType'a göre önerilir. Review iki durumda da atlanmaz.
256
-
257
- autopilot Derinlik sorusu dahil tüm onayları atlar, bu yüzden her
258
- zaman Tam koşar (İSTİSNA: Phase 5 channels menüsü)
259
-
260
- Dedicated dash komutlar (Copilot):
261
- multi-agent-autopilot
262
-
263
- ------------------------------------------------------------
264
-
265
- Utility Komutları:
266
-
267
- /multi-agent:status Tüm projelerdeki task'ları listele
268
- /multi-agent:log [#id] Task log'unu göster
269
- /multi-agent:resume [#id] Duraklamış task'ı devam ettir
270
- /multi-agent:kill [#id] Worktree'yi sil (log'lar korunur)
271
- /multi-agent:prune-logs Task bazlı log'ları sil (audit + metrics korunur; önce dry-run)
272
- /multi-agent:garbage-collect /tmp artıkları + worktree residue süpür (önce dry-run)
273
- /multi-agent:purge Worktree + log'lar - tam reset (çift onay)
274
- /multi-agent:channels Multi-channel rapor gönder (Jira/Confluence/Wiki/PR)
275
- /multi-agent:review PR veya branch diff'ini review et; URL yoksa -> açık GitHub/Bitbucket PR seç
276
- /multi-agent:review-jira Jira maddesinin pipeline hazırlığını değerlendir -> eksikleri yorumla
277
- /multi-agent:review-issue GitHub issue hazırlığını değerlendir -> eksikleri yorumla
278
- /multi-agent:create-jira ["açıklama"] [figma-url] [swagger-url] Takım standartlarına uygun Jira Task/Bug/Story oluştur (tip sorar + önizleme + onay)
279
- /multi-agent:sync Ekosistemi senkronize et
280
- /multi-agent:setup Keychain token + Git kimliği + dil onboarding
281
- /multi-agent:language [en|tr] Prompt dilini göster veya ayarla
282
- /multi-agent:store-ready [repo] [--archive=|--ipa=|--aab=|--apk=] Yükleme öncesi store hazırlığı,
283
- iOS + Android, yalnızca lokal. Platform başına 3 simetrik kapı: statik paket
284
- denetimi, store'un kendi doğrulayıcısı, kaynağa karşı politika incelemesi.
285
- Artı çalışan-app sweep'i. Atlanan kapı asla pass sayılmaz. Asla yüklemez.
286
- /multi-agent:testflight-validation [repo] [--ipa=|--archive=] :store-ready'nin iOS'a sabitlenmiş alias'ı.
287
- /multi-agent:ios-coding-standard [modül] Bir iOS modülünü 99 kurallık kodlama-standardı registry'sine
288
- göre denetler -> düzeltme planı + onboarding özeti -> dev'e devreder.
289
-
290
- ------------------------------------------------------------
291
-
292
- İnteraktif Launcher'lar:
293
-
294
- /multi-agent:jira BENİM açık Jira issue'larımı listele → seç → başla
295
- /multi-agent:issue ATANMAMIŞ GitHub issue'ları → seç → auto-assign → başla
296
-
297
- ------------------------------------------------------------
298
-
299
- UI Testing (standalone):
300
-
301
- /multi-agent:test Tam simulator testi (tüm ekran screenshot'ları)
302
-
303
- Sabit-senaryo komutları - tırnak gerekmez, `test-` ile autocomplete'e düşer:
304
-
305
- /multi-agent:test-dark-mode Dark mode bug testi
306
- /multi-agent:test-accessibility Erişilebilirlik denetimi
307
- /multi-agent:test-dynamic-type Büyük metin boyutu testi
308
- /multi-agent:test-screenshots [tr] Belirtilen dilde App Store screenshot seti (default tr)
309
-
310
- Senaryo etiketli form çalışmaya devam eder, kaldırılmadı - yukarıdaki komutların
311
- her biri onun alias'ı.
312
-
313
- /multi-agent:test "dark mode" | "accessibility" | "dynamic type" | "screenshot <dil>"
314
-
315
- `store-ready` bir UI testi DEĞİL: üretilmiş paketi doğrular, iOS + Android, ve
316
- /multi-agent:store-ready altında. Eski /multi-agent:test "store-ready" etiketi
317
- çalışmaya devam eder ve oraya devreder.
318
-
319
- Manuel Test (Phase 5 standalone - Xcode hint akışı):
320
-
321
- /multi-agent:manual-test [#N] Task branch'ine checkout, Xcode/SourceTree hint basar.
322
- (v5.7.4'te :test'ten :manual-test'e rename.)
323
-
324
- Design Check (mock-mod vs Figma, yalnızca lokal - multi-agent-toolkit-mcp design_* tool'ları):
325
-
326
- /multi-agent:design-check Tüm modül tasarım denetimi: her state sürücüsünü hedef kümesine çıkar,
327
- /multi-agent:design-check <scope> her birini mock modda idb ile sür, Figma ile karşılaştır (padding/genişlik/
328
- /multi-agent:design-check --resume spacing/font/renk/component/localization), HTML+PDF rapor ~/DesignChecks.
329
- Kapsam: boş=modül / ekran / ekran@varyant / target-id / Figma URL(leri).
330
- KAPSAM GEÇİDİ: hedef ya denetlenir ya da GEREKÇEYLE atlanır; aksi hâlde
331
- koşu EKSİK raporlanır. --resume son koşunun kalanını kapatır.
332
- Figma karşılığı bulunamazsa SANA screenshot'ı gösterip node-id sorar.
333
- Sürdüğü multi-agent-toolkit design_* : design_mock_detect / _scenario_inventory / _mock_launch / _ui_geometry / _visual_compare / _report.
334
-
335
- ------------------------------------------------------------
336
-
337
- Setup:
338
-
339
- /multi-agent:setup
340
-
341
- 1. Dynamic Keychain Discovery
342
- 2. Token Mapping
343
- 3. Jira Project Key
344
- 4. Git Kimliği
345
- 5. Eksik Token'lar
346
- 6. Doğrulama
347
-
348
- ------------------------------------------------------------
349
-
350
- Temel Özellikler:
351
-
352
- Multi-Platform iOS, Android, Backend, Web - otomatik tespit
353
- Build Queue xcodebuild/Gradle seri - parallel güvenli
354
- Stack Aware iOS/Android/Python/Node/Go/Docker otomatik
355
- Det. Gates AI review'dan ÖNCE build + lint + test + secret scan
356
- Dual Submodule Birden çok submodule eş zamanlı
357
- Issue Safety Issue'lar asla auto-close edilmez
358
- Bilingual EN + TR - prompt'lar, banner'lar ve bu help dilinize göre
359
-
360
- ------------------------------------------------------------
361
-
362
- Log'lar: $HOME/.copilot/logs/multi-agent/{project}/{task-id}/ (Copilot)
363
- $HOME/.claude/logs/multi-agent/{project}/{task-id}/ (Claude)
364
- ```
32
+ The catalogs are shared with Claude Code and written in its colon form. On Copilot CLI, print every `/multi-agent:<name>` as `/multi-agent-<name>` (for example `/multi-agent:create-jira` becomes `/multi-agent-create-jira`), and print the log root as `$HOME/.copilot/logs/multi-agent/{project}/{task-id}/`. Change nothing else in the block.