@mmerterden/multi-agent-pipeline 21.1.0 → 21.1.2
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.
- package/CHANGELOG.md +19 -0
- package/README.md +2 -2
- package/README.tr.md +3 -3
- package/docs/FIGMA_PIPELINE.md +1 -1
- package/docs/architecture.md +5 -5
- package/docs/best-practices.md +27 -31
- package/docs/ecosystem.md +32 -26
- package/docs/facts.json +1 -1
- package/docs/features.md +9 -10
- package/docs/performance.md +15 -18
- package/docs/recovery-guide.md +6 -8
- package/manifest.json +46 -45
- package/package.json +1 -1
- package/pipeline/agents/code-reviewer.md +1 -1
- package/pipeline/commands/multi-agent/SKILL.md +1 -1
- package/pipeline/commands/multi-agent/ios-coding-standard/SKILL.md +2 -2
- package/pipeline/commands/multi-agent/store-ready/SKILL.md +3 -1
- package/pipeline/commands/multi-agent/test/SKILL.md +2 -2
- package/pipeline/commands/multi-agent/test-screenshots/SKILL.md +9 -0
- package/pipeline/commands/multi-agent/update/SKILL.md +6 -5
- package/pipeline/multi-agent-refs/android-guide.md +14 -0
- package/pipeline/multi-agent-refs/backend-guide.md +12 -0
- package/pipeline/multi-agent-refs/features/skill-conformance.md +1 -1
- package/pipeline/multi-agent-refs/outside-the-pipeline.md +10 -5
- package/pipeline/multi-agent-refs/swiftui-guide.md +14 -0
- package/pipeline/multi-agent-refs/toolkit-tools.md +51 -0
- package/pipeline/multi-agent-refs/web-guide.md +13 -0
- package/pipeline/office/index.html +2 -2
- package/pipeline/scripts/README.md +33 -42
- package/pipeline/scripts/skill-conformance.mjs +3 -3
- package/pipeline/skills/.skill-manifest.json +10 -10
- package/pipeline/skills/.skills-index.json +9 -9
- package/pipeline/skills/shared/README.md +6 -6
- package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-ios-coding-standard/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-save/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-security-review/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-test/SKILL.md +1 -1
- package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +7 -5
- package/pipeline/skills/shared/external/ios-coding-standard/SKILL.md +2 -2
- package/pipeline/skills/skills-index.md +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,25 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
16
16
|
|
|
17
17
|
## [Unreleased]
|
|
18
18
|
|
|
19
|
+
## [21.1.2] - 2026-11-08
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- `multi-agent-refs/toolkit-tools.md`: every `multi-agent` MCP tool family with its stacks (ios, android, web, backend, common) and the phase refs or commands that call it. Each stack guide ends with the families its stack uses per phase. `lint-mcp-refs.mjs` now fails when a served tool has no family row, a row matches no served tool, a home never names its family, or a stack guide never names a family assigned to it.
|
|
24
|
+
- `thesis_*`, `voice_*`, `vphone_*`, `document_*`, `media_video_*`, `media_music_beats` and `media_thumbnail_check` have homes in `outside-the-pipeline.md`; `store_screenshot_*` is wired into `/multi-agent:store-ready` and `/multi-agent:test-screenshots`. The coverage allowlist is empty.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- Docs: stale phase numbers in `best-practices.md` and `performance.md`, the eight-phase token budget table, the toolkit family table's hand counts in `ecosystem.md`, the curated skill count in `architecture.md`, the jq caller count in `README.tr.md` (now pinned by `smoke-jq-guards.sh`), and the scripts index's file and assertion counts. Third-party credit lines removed from `best-practices.md`.
|
|
29
|
+
- The iOS coding-standard copy (README, command and mirror skill descriptions, the code-reviewer persona, `skill-conformance.md`, office job hints) no longer states a rule count; the registry is the count. A mirror skill under `skills/shared/core` now carries its command's description (`test/mirror-skill-description.test.mjs`), so a description edited on one side only fails the suite.
|
|
30
|
+
- `/multi-agent:test` names the Review phase as the home of the manual test, not Phase 5.
|
|
31
|
+
|
|
32
|
+
## [21.1.1] - 2026-11-08
|
|
33
|
+
|
|
34
|
+
### Fixed
|
|
35
|
+
|
|
36
|
+
- `/multi-agent:update` step 3, with its Copilot copy, reads the tarball name from `npm pack --json` on stdout and sends npm's notices to `npm-pack.log` beside the download, printed only when the download fails. With stderr merged into the captured output, a notice written without a line end ran into the file name, so no line held the name alone and the update stopped with "npm pack reported no tarball". `test/update-pack-tarball.test.mjs` runs the block from both copies against a stand-in npm that writes such a notice.
|
|
37
|
+
|
|
19
38
|
## [21.1.0] - 2026-11-08
|
|
20
39
|
|
|
21
40
|
### Added
|
package/README.md
CHANGED
|
@@ -200,7 +200,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
200
200
|
| `/multi-agent:refactor` | Best-practice extraction + bug hunt + derived-skill drift + toolkit MCP research → one plan |
|
|
201
201
|
| `/multi-agent:scan` | Skill security scan of local skill directories against a tiered pattern catalog |
|
|
202
202
|
| `/multi-agent:prune-prompts` | Zero-base review of the always-on instruction footprint; keep / trial / delete per rule |
|
|
203
|
-
| `/multi-agent:ios-coding-standard` | Audit an iOS module against the
|
|
203
|
+
| `/multi-agent:ios-coding-standard` | Audit an iOS module against the stable-ID rule registry, produce a remediation plan |
|
|
204
204
|
| `/multi-agent:security-review` | Standalone static security review of a diff, branch or repo: threat model, OWASP + CWE findings with CVSS, offline dependency inventory, every cited line proven to exist, optional SARIF export |
|
|
205
205
|
|
|
206
206
|
### Analysis
|
|
@@ -567,7 +567,7 @@ Runs on **macOS** only. The package declares `os: ["darwin"]`, so `npm` refuses
|
|
|
567
567
|
| Repo | What it is |
|
|
568
568
|
| --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
569
569
|
| [`multi-agent-ecosystem/multi-agent-plugins`](https://github.com/multi-agent-ecosystem/multi-agent-plugins) | Marketplace of per-stack skill toolkits (iOS / Android / Frontend / Backend + common). `/multi-agent:stack` enables the matching plugin. |
|
|
570
|
-
| [`multi-agent-ecosystem/multi-agent-mcp`](https://github.com/multi-agent-ecosystem/multi-agent-mcp) | MCP server for
|
|
570
|
+
| [`multi-agent-ecosystem/multi-agent-mcp`](https://github.com/multi-agent-ecosystem/multi-agent-mcp) | MCP server for device, browser, store and code tools - powers `/multi-agent:test` and the Review phase's device checks; every family by stack and phase is in [`toolkit-tools.md`](pipeline/multi-agent-refs/toolkit-tools.md). Published on the public npm registry as [`@mmerterden/multi-agent-mcp`](https://www.npmjs.com/package/@mmerterden/multi-agent-mcp); the installer registers it with each CLI for you, so `npx` resolves it with no extra configuration. |
|
|
571
571
|
|
|
572
572
|
## License
|
|
573
573
|
|
package/README.tr.md
CHANGED
|
@@ -17,7 +17,7 @@ Claude Code, Copilot CLI ve Codex CLI üzerinde native çalışır. Yalnızca ma
|
|
|
17
17
|
### Önkoşullar
|
|
18
18
|
|
|
19
19
|
- **Node.js >= 20.11** - zorunlu; pipeline'ın kendi araçları bunun üzerinde koşuyor.
|
|
20
|
-
- **`jq`** -
|
|
20
|
+
- **`jq`** - on yol için zorunlu, geri kalanı için opsiyonel. 96 kabuk dosyası ona başvuruyor. Yayınlayan ya da karar veren bu on yol - autopilot kuyruğu, Jira yorumları, Jira Issue Link'leri, PR review'ları, issue güncellemeleri, plan dosyası, iki Figma fetcher'ı, log araması ve Jira auth - `jq` yokken çalışmak yerine exit 3 ile reddediyor, çünkü eksik bir `jq` boş VERİ olarak görünür ve iş onunla devam eder. Diğer yerlerde `jq` olmadan da çalışıyor, yalnızca daha az şey yapıyor. Kurulum, eksikse bir not basıyor.
|
|
21
21
|
- **`gh`** - GitHub issue ve PR işleri için. Kendi dahili `--jq`'su, `jq` ikilisinden bağımsız.
|
|
22
22
|
|
|
23
23
|
## Hızlı Başlangıç
|
|
@@ -199,7 +199,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
|
|
|
199
199
|
| `/multi-agent:refactor` | Best-practice çıkarımı + bug avı + türetilmiş skill drift'i + toolkit MCP araştırması → tek plan |
|
|
200
200
|
| `/multi-agent:scan` | Yerel skill dizinlerini kademeli desen kataloğuna göre güvenlik taraması |
|
|
201
201
|
| `/multi-agent:prune-prompts` | Sürekli yüklü talimat yükünün sıfır-tabanlı incelemesi; kural başına tut / dene / sil |
|
|
202
|
-
| `/multi-agent:ios-coding-standard` | Bir iOS modülünü
|
|
202
|
+
| `/multi-agent:ios-coding-standard` | Bir iOS modülünü sabit-ID kural registry'sine göre denetler, düzeltme planı çıkarır |
|
|
203
203
|
| `/multi-agent:security-review` | Diff, branch ya da repo üzerinde bağımsız statik güvenlik incelemesi: tehdit modeli, CVSS puanlı OWASP + CWE bulguları, çevrimdışı bağımlılık envanteri. Atıf yapılan her satırın var olduğu doğrulanır; isteğe bağlı SARIF çıktısı |
|
|
204
204
|
|
|
205
205
|
### Analiz
|
|
@@ -565,7 +565,7 @@ Yalnızca **macOS** üzerinde çalışır. Paket `os: ["darwin"]` beyan eder, ya
|
|
|
565
565
|
| Repo | Ne olduğu |
|
|
566
566
|
| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
567
567
|
| [`multi-agent-ecosystem/multi-agent-plugins`](https://github.com/multi-agent-ecosystem/multi-agent-plugins) | Stack-başına skill toolkit'lerinin marketplace'i (iOS / Android / Frontend / Backend + common). `/multi-agent:stack` ilgili plugin'i etkinleştirir. |
|
|
568
|
-
| [`multi-agent-ecosystem/multi-agent-mcp`](https://github.com/multi-agent-ecosystem/multi-agent-mcp) |
|
|
568
|
+
| [`multi-agent-ecosystem/multi-agent-mcp`](https://github.com/multi-agent-ecosystem/multi-agent-mcp) | Cihaz, tarayıcı, store ve kod araçları için MCP sunucusu - `/multi-agent:test`'i ve Review fazının cihaz kontrollerini güçlendirir; stack ve faza göre her aile [`toolkit-tools.md`](pipeline/multi-agent-refs/toolkit-tools.md) içinde. Public npm registry'de [`@mmerterden/multi-agent-mcp`](https://www.npmjs.com/package/@mmerterden/multi-agent-mcp) olarak yayınlanır; installer her CLI'a onu senin için register eder, böylece `npx` ekstra konfigürasyon olmadan onu çözer. |
|
|
569
569
|
|
|
570
570
|
## Lisans
|
|
571
571
|
|
package/docs/FIGMA_PIPELINE.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
End-to-end guide for generating production-ready UI components from Figma designs through the multi-agent pipeline. Covers iOS (SwiftUI) and Android (Jetpack Compose) with the same workflow shape.
|
|
4
4
|
|
|
5
|
-
> Note: Component and Figma-to-code skills are
|
|
5
|
+
> Note: Component and Figma-to-code skills are not bundled in this repo. Phase 2 dispatches component work to the per-stack marketplace plugins (`ai-ios-toolkit` / `ai-android-toolkit` in the `multi-agent-plugins` marketplace) via the Skill tool. The workflow, subphases, and skill names described below are what those plugin skills run internally, not pipeline-bundled code. The 3-tier Figma design-access fallback still governs the analysis phase in this repo.
|
|
6
6
|
|
|
7
7
|
## What you get
|
|
8
8
|
|
package/docs/architecture.md
CHANGED
|
@@ -106,7 +106,7 @@ graph TD
|
|
|
106
106
|
|
|
107
107
|
## Component Architecture
|
|
108
108
|
|
|
109
|
-
<!-- facts: commandCount="command files" agentCount="agent personas" -->
|
|
109
|
+
<!-- facts: commandCount="command files" agentCount="agent personas" skillCount="curated skills" -->
|
|
110
110
|
```mermaid
|
|
111
111
|
graph TB
|
|
112
112
|
subgraph "CLI Layer"
|
|
@@ -117,16 +117,16 @@ graph TB
|
|
|
117
117
|
subgraph "Pipeline Specs"
|
|
118
118
|
CMD[commands/<br/>72 command files]
|
|
119
119
|
AGT[agents/<br/>11 agent personas]
|
|
120
|
-
RUL[rules/<br/>
|
|
120
|
+
RUL[rules/<br/>domain rules]
|
|
121
121
|
PHS[multi-agent-refs/phases/<br/>phase specs + contracts]
|
|
122
122
|
CMP[skills/shared/core/<br/>orchestration skills<br/>incl. compliance]
|
|
123
|
-
EXT["skills/shared/external/<br/>
|
|
123
|
+
EXT["skills/shared/external/<br/>173 curated skills<br/>(authoring source for the<br/>multi-agent-plugins marketplace)"]
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
subgraph "Quality Gates"
|
|
127
127
|
SCH[schemas/<br/>JSON schemas + validated data]
|
|
128
|
-
EVL[eval/triage/<br/>
|
|
129
|
-
SMK[scripts/smoke-*<br/>
|
|
128
|
+
EVL[eval/triage/<br/>triage regression fixtures]
|
|
129
|
+
SMK[scripts/smoke-*<br/>smoke suites, run by run-smokes.mjs]
|
|
130
130
|
end
|
|
131
131
|
|
|
132
132
|
IDX --> INS
|
package/docs/best-practices.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Best Practices
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The working patterns the pipeline is built on, and where each one applies.
|
|
4
4
|
|
|
5
|
-
## 1. Symlink Distribution
|
|
5
|
+
## 1. Symlink Distribution
|
|
6
6
|
|
|
7
7
|
**Problem**: Copying pipeline files on install duplicates ~10K tokens of content per session.
|
|
8
8
|
**Solution**: `--link` flag creates symlinks instead of copies. Updates propagate instantly.
|
|
@@ -13,7 +13,7 @@ npx @mmerterden/multi-agent-pipeline install --link
|
|
|
13
13
|
|
|
14
14
|
**Trade-off**: Requires the source package to remain installed. Best for development; use copy mode for production installs.
|
|
15
15
|
|
|
16
|
-
## 2.
|
|
16
|
+
## 2. Fix First
|
|
17
17
|
|
|
18
18
|
**Rule**: When a bug or test failure is discovered during development, fix it immediately before continuing with the current task. Never defer fixes to "later".
|
|
19
19
|
|
|
@@ -23,22 +23,21 @@ Applied in Phase 2 (Dev):
|
|
|
23
23
|
- If lint errors appear → fix them before the next TDD cycle
|
|
24
24
|
- If a build breaks → stop and fix before proceeding
|
|
25
25
|
|
|
26
|
-
## 3.
|
|
26
|
+
## 3. Parallel Exploration
|
|
27
27
|
|
|
28
|
-
**
|
|
29
|
-
**Solution**: Group parallel work into waves with clear boundaries.
|
|
28
|
+
**Rule**: Explore the codebase in parallel, and only as deep as the task needs.
|
|
30
29
|
|
|
31
|
-
Applied in Phase 1 (
|
|
30
|
+
Applied in Phase 1 (Plan): parallel Explore agents scan the files related to the task,
|
|
31
|
+
the existing patterns and conventions, and the likely impact areas. Their thoroughness
|
|
32
|
+
follows the task: light when a fresh code graph already ranked the files or the scope
|
|
33
|
+
is one named site, medium when project knowledge exists, very thorough otherwise
|
|
34
|
+
(`phases/phase-1-plan.md`).
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
- **Wave 2**: Merge results, identify gaps, launch targeted follow-ups only if needed
|
|
35
|
-
- Never launch more than 5 parallel agents per wave
|
|
36
|
+
## 4. Test-First TDD
|
|
36
37
|
|
|
37
|
-
|
|
38
|
+
**Rule**: Tests are written strictly before implementation. No exceptions.
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
Applied in Phase 3:
|
|
40
|
+
Applied in Phase 2 (Dev):
|
|
42
41
|
|
|
43
42
|
1. RED - Write the failing test
|
|
44
43
|
2. Verify it fails for the RIGHT reason
|
|
@@ -46,18 +45,18 @@ Applied in Phase 3:
|
|
|
46
45
|
4. Verify ALL tests pass
|
|
47
46
|
5. REFACTOR - Clean up without changing behavior
|
|
48
47
|
|
|
49
|
-
## 5. Deterministic Quality Gates
|
|
48
|
+
## 5. Deterministic Quality Gates
|
|
50
49
|
|
|
51
50
|
**Rule**: Every phase transition must pass an explicit gate. No implicit transitions.
|
|
52
51
|
|
|
53
|
-
| Gate | Condition
|
|
54
|
-
| ----------- |
|
|
55
|
-
| Phase 1 → 2 |
|
|
56
|
-
| Phase
|
|
57
|
-
| Phase
|
|
58
|
-
| Phase 4 →
|
|
52
|
+
| Gate | Condition | Blocks |
|
|
53
|
+
| ----------- | ------------------------------------------------------- | ------ |
|
|
54
|
+
| Phase 1 → 2 | Plan approved, no unanswered questions | Dev |
|
|
55
|
+
| Phase 2 → 3 | Build passes, lint clean, tests green | Review |
|
|
56
|
+
| Phase 3 → 4 | All blocking findings resolved | Commit |
|
|
57
|
+
| Phase 4 → 5 | Push successful, PR created | Report |
|
|
59
58
|
|
|
60
|
-
## 6. 3-Iteration Hard Kill
|
|
59
|
+
## 6. 3-Iteration Hard Kill
|
|
61
60
|
|
|
62
61
|
**Rule**: Any retry loop (build fix, test fix, API call) is killed after 3 attempts. The agent must escalate to the user instead of spinning.
|
|
63
62
|
|
|
@@ -67,7 +66,7 @@ Attempt 2 → different fix → retry
|
|
|
67
66
|
Attempt 3 → STOP → ask user for guidance
|
|
68
67
|
```
|
|
69
68
|
|
|
70
|
-
## 7. Layer-Based Memory
|
|
69
|
+
## 7. Layer-Based Memory
|
|
71
70
|
|
|
72
71
|
**Problem**: Loading full project context at session start wastes tokens.
|
|
73
72
|
**Solution**: Lazy-load reference files only when the current phase needs them.
|
|
@@ -78,16 +77,13 @@ Applied via modular loading:
|
|
|
78
77
|
- **L1 (on demand)**: Phase definitions, rules (~2K tokens each)
|
|
79
78
|
- **L2 (rare)**: Platform guides, knowledge base (~5K tokens each)
|
|
80
79
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
## 8. Single Source of Truth (from ai-first)
|
|
80
|
+
## 8. Single Source of Truth
|
|
84
81
|
|
|
85
|
-
**Rule**: Every configuration, rule, or standard exists in exactly
|
|
82
|
+
**Rule**: Every configuration, rule, or standard exists in exactly one authoritative location. All other instances are derived.
|
|
86
83
|
|
|
87
|
-
Applied via
|
|
84
|
+
Applied via `/multi-agent:sync`:
|
|
88
85
|
|
|
89
86
|
- Claude Code commands → source of truth
|
|
90
|
-
- Copilot CLI skills → derived (synced)
|
|
91
87
|
- Pipeline repo → derived (genericized, personal data scrubbed)
|
|
92
|
-
-
|
|
93
|
-
-
|
|
88
|
+
- Copilot CLI and Codex CLI → derived from the pipeline repo
|
|
89
|
+
- Website → derived from `docs/facts.json` (`gen-facts.mjs`)
|
package/docs/ecosystem.md
CHANGED
|
@@ -261,32 +261,38 @@ ones, and unset serves all <!-- fact:toolCount -->250<!-- /fact -->. A frontend
|
|
|
261
261
|
sees 50 tools instead of <!-- fact:toolCount -->250<!-- /fact -->, which matters because every registered server's
|
|
262
262
|
tool list is charged against the context window on every turn.
|
|
263
263
|
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
|
270
|
-
|
|
271
|
-
| `
|
|
272
|
-
| `
|
|
273
|
-
| `
|
|
274
|
-
| `
|
|
275
|
-
| `
|
|
276
|
-
| `
|
|
277
|
-
| `
|
|
278
|
-
| `
|
|
279
|
-
| `
|
|
280
|
-
| `
|
|
281
|
-
| `
|
|
282
|
-
| `
|
|
283
|
-
| `
|
|
284
|
-
| `
|
|
285
|
-
| `
|
|
286
|
-
| `
|
|
287
|
-
| `
|
|
288
|
-
| `
|
|
289
|
-
| `
|
|
264
|
+
Per-family tool counts are `toolCategories` in [`facts.json`](facts.json), taken from the
|
|
265
|
+
server's own `tools/list`. Every family's stacks and the phase refs or commands that call
|
|
266
|
+
it are in [`toolkit-tools.md`](../pipeline/multi-agent-refs/toolkit-tools.md), which
|
|
267
|
+
`lint-mcp-refs.mjs` holds to the live list.
|
|
268
|
+
|
|
269
|
+
| Family | Primary pipeline consumers |
|
|
270
|
+
|---|---|
|
|
271
|
+
| `ios` | Simulator control, UI tree, crash sweep (`ios_list_crashes`), leaks, accessibility audits, archive and App Store audits, `ios_testflight_validate`, `ios_xcodebuild` / `ios_xcresult`, `ios_visual_diff`: `/multi-agent:test`, `test-dark-mode`, `test-accessibility`, `test-dynamic-type`, `test-screenshots`, `manual-test`, `sim-test`, `design-check`, `store-ready`, `testflight-validation` |
|
|
272
|
+
| `web` | frontend-stack UI testing (via `test`) and the `e2e-testing` skill: snapshot `ref` targeting and `web_find`, console/network capture, request mocking, offline, clock, dialogs, uploads, traces, ARIA assertions; `web_scrape` for Phase 1 `generic-doc` links; sitemap-aware `web_map` and `web_crawl` with `llms.txt` |
|
|
273
|
+
| `android` | Emulator control, UI tree, crash sweep, `android_meminfo`, accessibility and APK audits, launch time: the same test commands as `ios` on Android |
|
|
274
|
+
| `store` | App Store Connect and Play Console APIs, `store_listing_lint`, `store_review_themes`, `store_screenshot_*` (store sizes, offline size check, rendering): `/multi-agent:store-ready`, `/multi-agent:test-screenshots`, `complaint-analysis`, `/multi-agent:setup` credential onboarding, the `store-screenshots` skill |
|
|
275
|
+
| `vphone` | virtual iPhones from the separately installed vphone-launchpad host, reached outside a run (`outside-the-pipeline.md`); the iOS stack guide lists them |
|
|
276
|
+
| `code` | `/multi-agent:refactor`, Phase 3 reviewers needing a real symbol graph rather than grep |
|
|
277
|
+
| `design` | `design-check` (mock-mode vs Figma conformance, component variants, `design_visual_compare`, `design_contrast_check`) |
|
|
278
|
+
| `graph` | `/multi-agent:graph` and the code-graph feature: projects, queries, neighbours, paths, `graph_stats`, `graph_hubs`, `graph_cluster` |
|
|
279
|
+
| `repo` | Phase 1 Step 1.6 product context, Phase 3 platform parity, `/multi-agent:review`, `/multi-agent:analysis`; read-only, pinned to a sha |
|
|
280
|
+
| `voice` | the local voice host outside a run: speak, ask aloud, answer a permission prompt (`outside-the-pipeline.md`) |
|
|
281
|
+
| `ui` | `ui_locate` and target checks for end-to-end steps: `/multi-agent:test`, `/multi-agent:bug-bash`, the `e2e-testing` skill |
|
|
282
|
+
| `context` | any skill holding an offloaded payload too large to read; ranks passages instead of grepping lines. `context_render` pages long text into images and reports whether that is cheaper than the text |
|
|
283
|
+
| `pass` | Apple Wallet passes outside a run: inspect, validate, certificates, build (`outside-the-pipeline.md`); the iOS stack guide lists them |
|
|
284
|
+
| `security` | `security_cvss_score`, `security_dep_inventory`, `security_evidence_check`, `security_sarif_export`, `security_mcp_config_audit`: the Phase 3 security audit (`security-auditor`) and `/multi-agent:security-review`; offline, no egress |
|
|
285
|
+
| `binary` | `binary_inspect`, `binary_strings_endpoints`, `binary_compare_versions`, `binary_endpoints_vs_observed`, `binary_js_modules`: optional build facts for `/multi-agent:store-ready` Gate 1 and `/multi-agent:security-review` ([`build-facts.md`](../pipeline/multi-agent-refs/features/build-facts.md)) and the `reverse-engineer-own-app` skill; read-only, offline |
|
|
286
|
+
| `document` | the `e2e-testing` skill's MRZ and document-scan recipes, `document_pdf_inspect` |
|
|
287
|
+
| `learnings` | `learnings_search`, `learnings_timeline`, `learnings_get`: the knowledge ledger and `/multi-agent:search` |
|
|
288
|
+
| `research` | `research_search`, `research_ask`, `research_community`: the research engine, `signal-community`, `/multi-agent:refactor` band E. `research_community` is off unless `MCP_TOOLKIT_CAPS` has `research-community`. Denied in unattended runs and autonomous research |
|
|
289
|
+
| `agent` | `agent_run_steps`, `agent_query_output`: any skill that needs a scripted multi-step device flow in one round trip |
|
|
290
|
+
| `llm` | `llm_delegate`, `llm_providers`: `route-on --free` ([`free-models.md`](../pipeline/multi-agent-refs/features/free-models.md)). Denied in autonomous research passes |
|
|
291
|
+
| `media` | `media_frames` for Phase 2 visual evidence and `media_redact` before a capture goes into a PR; `media_transcript` for the research engine, off unless `MCP_TOOLKIT_CAPS` has `media-remote`, and in an unattended run its video host must be on the network allowlist; `media_video_*`, `media_music_beats` and `media_thumbnail_check` for a release video (the `release-video` skill) |
|
|
292
|
+
| `coverage` | `coverage_gap`: `/multi-agent:test-gen` |
|
|
293
|
+
| `social` | `social_read` for the research engine, off unless `MCP_TOOLKIT_CAPS` has `social`, never unattended |
|
|
294
|
+
| `test` | `test_results_classify`: test-result triage |
|
|
295
|
+
| `thesis` | thesis and long-paper checks: bibliography, citations, structure, reference lists, Crossref verification, self-overlap, academic style; the `thesis-writing` skill, outside a run (`outside-the-pipeline.md`) |
|
|
290
296
|
|
|
291
297
|
---
|
|
292
298
|
|
package/docs/facts.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$comment": "Generated by pipeline/scripts/gen-facts.mjs. Do not hand-edit: the site reads this, and a number edited here instead of at its source is the drift this file removes.",
|
|
3
3
|
"generatedAt": "2026-11-08",
|
|
4
|
-
"version": "21.1.
|
|
4
|
+
"version": "21.1.2",
|
|
5
5
|
"phaseSchema": 2,
|
|
6
6
|
"phases": [
|
|
7
7
|
{
|
package/docs/features.md
CHANGED
|
@@ -106,7 +106,7 @@ A new project starts green by the same commands every later change is judged by.
|
|
|
106
106
|
|
|
107
107
|
### Package Manager Resolution (Phase 2, node-shaped stacks)
|
|
108
108
|
|
|
109
|
-
Phase 2's web test arm and its build step
|
|
109
|
+
Phase 2's web test arm and its build step run the repo's own package manager. A hard-coded `npm` would fail a repo on pnpm, yarn or bun in Phase 2 - with a worktree and a branch already created - or, worse, resolve against a lock file npm does not own and continue on a tree the repo's own tooling would never have produced.
|
|
110
110
|
|
|
111
111
|
`scripts/package-manager.mjs` resolves it from the repo instead: `$MA_PACKAGE_MANAGER`, then `package.json#packageManager`, then a lock file, then npm - reported AS a default, never as evidence, because "npm because nothing said otherwise" and "npm because the repo committed a package-lock" are different answers. Node core only (ADR-0004): a resolver that shelled out would need a working install of the tool it is identifying. The walk goes up to the directory holding `.git` and stops there, so a monorepo's root lock file is found and a stray one in a home directory is not. Two lock files means a migration left one behind: the newest wins and both are named.
|
|
112
112
|
|
|
@@ -114,7 +114,7 @@ Every manager gets the explicit `run` form (a script named `test` or `add` would
|
|
|
114
114
|
|
|
115
115
|
### Maturity Follow-Up (`prefs.global.maturityFollowup`)
|
|
116
116
|
|
|
117
|
-
The maturity check
|
|
117
|
+
The maturity check produces a machine-readable gap list - stable codes in `blockers[]` and `warnings[]`. The follow-up acts on it: without one, a blocker halts the run, an autopilot queue moves to the next item, and the item stays exactly as immature as it was found, so the next scan halts on the same item for the same reason.
|
|
118
118
|
|
|
119
119
|
**Interactive runs ask at the step rather than ending at it**: open the item and fix it, continue without it, or abort. Continuing records which gap was waved through in `state.maturity.accepted[]` - that is what separates an informed continue from a skipped check. An answer typed into a picker improves this run and leaves the item as immature for the next person, so the step offers to write the supplied content back, as a separately approved write.
|
|
120
120
|
|
|
@@ -126,7 +126,7 @@ Warnings still auto-continue under autopilot - converting them to halts would st
|
|
|
126
126
|
|
|
127
127
|
### Base-Branch Evidence (Phase 0 Step 3, `prefs.global.baseBranchEvidence.enabled`)
|
|
128
128
|
|
|
129
|
-
Step 3
|
|
129
|
+
Step 3 asks for the base branch with a list it can vouch for. A `git fetch origin` whose exit code is ignored leaves `git branch -r` printing the remote-tracking cache either way, so on a restricted network a weeks-old local list would read as the remote's answer. And the answer is usually derivable: an issue carrying a target version, or linking a separate issue that represents the release, already names the branch on a repo whose release branches encode the version.
|
|
130
130
|
|
|
131
131
|
`base-branch-candidates.mjs` collects candidates **with the evidence behind each one**, ranks them, and the picker row's description IS the evidence - "matches version 1.51.0 from the field Target Version" and "the repository's default branch" are different answers to the same question. A human still chooses; the derivation only reorders the rows.
|
|
132
132
|
|
|
@@ -209,9 +209,8 @@ If any gate fails, fix first. Don't waste AI tokens reviewing broken code.
|
|
|
209
209
|
|
|
210
210
|
### Analysis Document Review (Phase 2.2 + 2.3)
|
|
211
211
|
|
|
212
|
-
`/multi-agent:analysis`
|
|
213
|
-
|
|
214
|
-
gets, on the draft, before the destination is even chosen. Its first question is what the run skipped -
|
|
212
|
+
`/multi-agent:analysis` does not publish behind a structural validator alone. Phase 2.2 runs the same
|
|
213
|
+
reviewer set and triage a code diff gets, on the draft, before the destination is even chosen. Its first question is what the run skipped -
|
|
215
214
|
an input declared missing that nothing searched for, an open question about evidence nobody read, a gap
|
|
216
215
|
with no owner, a scope call made without asking. A blocking finding returns to synthesis with dispatch
|
|
217
216
|
closed; it never becomes an open question, because "the document is wrong" is not something to ask the
|
|
@@ -262,9 +261,9 @@ Existing tests are immutable during a task: deleting, renaming, or weakening an
|
|
|
262
261
|
|
|
263
262
|
Phase 0 Step 0.6. Once per `ttlHours` window (cached, 3s-bounded curl to the npm registry), the installed version is compared against two dist-tags.
|
|
264
263
|
|
|
265
|
-
**`latest` - automatic
|
|
264
|
+
**`latest` - automatic.** `prefs.global.updateCheck.autoUpdate` defaults to `true`: a newer version is installed before the run starts, in interactive modes and autopilot alike, and the run continues. Set `autoUpdate: false` to be asked once per `ttlHours` instead, or `updateCheck.enabled: false` to silence the check (neither disables the required-version floor).
|
|
266
265
|
|
|
267
|
-
**`required` - blocking
|
|
266
|
+
**`required` - blocking.** Most releases do not publish this tag and nothing changes for them. A release that changed a contract a run depends on is promoted with `npm dist-tag add <pkg>@<version> required`, and an install below that floor is not behind, it is wrong: `require-supported-version.sh` exits 3, the run halts, `/multi-agent:update` runs, and the user re-issues the command on the new version rather than continuing on docs already loaded from the old one. Interactive and autopilot behave identically. The gate fails open on every undeterminable answer (offline, blocked registry, no tag), `updateCheck.enabled: false` does not disable it, and the single override is the env var `MULTI_AGENT_ALLOW_OUTDATED=1`, which is logged in the run record. Exemptions: `update`, `setup`, `uninstall`, `help`, `status`, `log`, `search`, `routines`, `forget`, `language`.
|
|
268
267
|
|
|
269
268
|
### Structured Handoff Blocks
|
|
270
269
|
|
|
@@ -384,7 +383,7 @@ All critical state files are schema-validated at read and write time:
|
|
|
384
383
|
|
|
385
384
|
### Smoke Test Suites
|
|
386
385
|
|
|
387
|
-
|
|
386
|
+
Every `smoke-*.sh` is auto-discovered (no hardcoded list) and run by `run-smokes.mjs`. Representative: add-detail (body-preservation assertions), review-triage (validator exit codes), prefs (schema round-trip), state (agent-state lifecycle), metrics (telemetry emission), sync (instruction parity), secret-scan (hook patterns), phase-banner (terminal UI), token-budget (per-phase limits), phase-tracker (progress tracking).
|
|
388
387
|
|
|
389
388
|
### Adversarial Eval Fixtures
|
|
390
389
|
|
|
@@ -486,7 +485,7 @@ Turn a recurring, project-specific job into a first-class `/multi-agent:<name>`
|
|
|
486
485
|
|
|
487
486
|
### Figma / Component Generation (dispatched to marketplace plugins)
|
|
488
487
|
|
|
489
|
-
Component + Figma-to-code work is
|
|
488
|
+
Component + Figma-to-code work is not bundled in this repo. When Phase 0 classifies a task as `component`, Phase 2 dispatches it to the per-stack marketplace plugins (`ai-ios-toolkit` / `ai-android-toolkit` in the `multi-agent-plugins` marketplace) via the Skill tool. The plugin's component skill generates `{Name}Configuration.swift`, `{Name}View.swift`, `{Name}+Modifiers.swift`, `{Name}.figma.swift`, and `FIGMA.md` with a variant matrix, then runs a 14-item pre-commit checklist covering design tokens, accessibility, tests, and Code Connect.
|
|
490
489
|
|
|
491
490
|
The plugin's cross-cutting integration skills feed component detection + implementation when the design triggers them (content: form / price / ui-patterns; interaction: navigation / overlays / bottom-sheets). Each is native-SwiftUI-first and reads project specifics (token namespaces, component paths, UI systems) from `figma-config`, including the optional `ui.navigationSystem` / `ui.overlaySystem` / `ui.sheetSystem` hooks (absent -> stock SwiftUI), so the same capabilities work on any SwiftUI codebase. The plugin's evolve-component skill reconciles an existing component against current Figma (drift-heal) and additively extends it, behind a human gate.
|
|
492
491
|
|
package/docs/performance.md
CHANGED
|
@@ -29,12 +29,12 @@ node pipeline/scripts/aggregate-metrics.mjs --phase=4
|
|
|
29
29
|
Each event in `metrics.jsonl` is a single-line JSON object written by
|
|
30
30
|
`log-metric.sh`. Events cover:
|
|
31
31
|
|
|
32
|
-
- **Review cycles** - how many iterations of Phase 3 → Phase
|
|
32
|
+
- **Review cycles** - how many iterations of Phase 3 → Phase 2 → Phase 3 a task
|
|
33
33
|
needed before triage approved.
|
|
34
34
|
- **Triage classification** - accepted / deferred / rejected counts per review.
|
|
35
35
|
- **Triage edge cases** - over-rejection guard trips, contradictions, invalid-
|
|
36
36
|
JSON retries, timeouts.
|
|
37
|
-
- **Phase
|
|
37
|
+
- **Phase 2 retries** - build / test / lint retry distribution per task.
|
|
38
38
|
- **Cost per model** - calls, duration, tokens in/out, broken down by model
|
|
39
39
|
(Fable, Opus, Sonnet, GPT-5.4).
|
|
40
40
|
- **Language preference** - distribution of EN vs TR prompts.
|
|
@@ -77,31 +77,28 @@ _Source: ~/.claude/logs/multi-agent/metrics.jsonl · Events: 421 (0 parse errors
|
|
|
77
77
|
- **`cycles per task avg` > 2.0** - triage is rejecting too many real findings
|
|
78
78
|
or Phase 3 isn't converging. Inspect the edge-cases table.
|
|
79
79
|
- **Most-common edge case = `over_rejection_guard_tripped`** - the triage
|
|
80
|
-
prompt lost scope context.
|
|
80
|
+
prompt lost scope context. The guard is in `validate-triage.mjs`; the triage
|
|
81
|
+
step it checks is in `phase-3-review.md`.
|
|
81
82
|
- **`p95` much higher than `avg`** - a few tasks are looping 3+ times. Usually
|
|
82
|
-
means one of: bad acceptance criteria in Phase
|
|
83
|
+
means one of: bad acceptance criteria in Phase 1, tests that flake, or
|
|
83
84
|
environment-dependent build failures.
|
|
84
85
|
|
|
85
86
|
## Phase-by-Phase Token Budget
|
|
86
87
|
|
|
87
88
|
Phase docs have hard-capped token limits in
|
|
88
89
|
`pipeline/schemas/token-budget.json`. `smoke-token-budget.sh` enforces them.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
| 5 TEST | 600 | 800 | 796 |
|
|
99
|
-
| 6 COMMIT | 2400 | 2800 | 2537 |
|
|
100
|
-
| 7 REPORT | 1800 | 2200 | 1851 |
|
|
101
|
-
| **Total** | **13600** | **16300** | **~14.3k** |
|
|
90
|
+
One `max_tokens` ceiling per phase doc, one row per phase of the six-phase
|
|
91
|
+
contract; the file is the number, so read it there rather than from a copy:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
jq '.phases' pipeline/schemas/token-budget.json
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
The warn line is not stored: the smoke computes it per phase from that phase
|
|
98
|
+
doc's own history of per-commit deltas.
|
|
102
99
|
|
|
103
100
|
Lazy loading keeps these off the model's context until each phase actually
|
|
104
|
-
runs
|
|
101
|
+
runs, so the phase docs are never loaded all at once.
|
|
105
102
|
|
|
106
103
|
## Embedding Metrics in Phase 5 Reports
|
|
107
104
|
|
package/docs/recovery-guide.md
CHANGED
|
@@ -261,7 +261,7 @@ version and tag fresh - never re-publish a consumed version.
|
|
|
261
261
|
|
|
262
262
|
---
|
|
263
263
|
|
|
264
|
-
## Worktree Corruption
|
|
264
|
+
## Worktree Corruption
|
|
265
265
|
|
|
266
266
|
`agent-state.json` says the task lives at `.worktrees/<id>/` but the directory
|
|
267
267
|
is missing, locked, or `git worktree list` does not list it. Symptoms: `:resume`
|
|
@@ -299,7 +299,7 @@ safest path is `kill` the task (preserves logs + branch) and restart with
|
|
|
299
299
|
|
|
300
300
|
---
|
|
301
301
|
|
|
302
|
-
## Tracker State Corruption
|
|
302
|
+
## Tracker State Corruption
|
|
303
303
|
|
|
304
304
|
`phase-tracker.sh render` returns garbage - duplicate phases, missing
|
|
305
305
|
elapsed/token fields, JSON parse errors - even though the task is healthy.
|
|
@@ -335,7 +335,7 @@ reinit. A footnote in `agent-log.md` documenting the rebuild is good practice.
|
|
|
335
335
|
|
|
336
336
|
---
|
|
337
337
|
|
|
338
|
-
## Token Rotation Mid-Pipeline
|
|
338
|
+
## Token Rotation Mid-Pipeline
|
|
339
339
|
|
|
340
340
|
A token (Jira / Bitbucket / GitHub / Vercel) was rotated while a long-running
|
|
341
341
|
pipeline was active. Phase 4 / Phase 5 then fail with `401 Unauthorized` even
|
|
@@ -368,16 +368,14 @@ doctor` to confirm the wrapper sees the new value before retrying any deploy.
|
|
|
368
368
|
|
|
369
369
|
---
|
|
370
370
|
|
|
371
|
-
## Author Rewrite + Tag Re-Sync
|
|
371
|
+
## Author Rewrite + Tag Re-Sync
|
|
372
372
|
|
|
373
373
|
A series of commits (and any tags pointing at them) were authored under the
|
|
374
374
|
wrong identity - typically because someone passed `git -c user.email=...` or
|
|
375
375
|
the repo-local config drifted. Vercel / npm / GitHub team-membership gates
|
|
376
376
|
then reject the push because the author email is not a recognized contributor.
|
|
377
377
|
|
|
378
|
-
|
|
379
|
-
v7.7.0-v7.9.1 plus 4 annotated tags shipped with the wrong author. Recovery
|
|
380
|
-
required a rebase + retag dance.
|
|
378
|
+
Recovery is a rebase of the affected range plus a retag of every tag in it.
|
|
381
379
|
|
|
382
380
|
```bash
|
|
383
381
|
# 1. Confirm the repo-local identity is now what you actually want.
|
|
@@ -436,7 +434,7 @@ versions).
|
|
|
436
434
|
|
|
437
435
|
---
|
|
438
436
|
|
|
439
|
-
## Failed Push + Force-Push Decision
|
|
437
|
+
## Failed Push + Force-Push Decision
|
|
440
438
|
|
|
441
439
|
`git push` rejects the branch (non-fast-forward, hook rejected, branch
|
|
442
440
|
protection mismatch, etc.). The pipeline is paused at Phase 4 Step 3.
|