@mmerterden/multi-agent-pipeline 21.1.1 → 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.
Files changed (42) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +2 -2
  3. package/README.tr.md +3 -3
  4. package/docs/FIGMA_PIPELINE.md +1 -1
  5. package/docs/architecture.md +5 -5
  6. package/docs/best-practices.md +27 -31
  7. package/docs/ecosystem.md +32 -26
  8. package/docs/facts.json +1 -1
  9. package/docs/features.md +9 -10
  10. package/docs/performance.md +15 -18
  11. package/docs/recovery-guide.md +6 -8
  12. package/manifest.json +45 -44
  13. package/package.json +1 -1
  14. package/pipeline/agents/code-reviewer.md +1 -1
  15. package/pipeline/commands/multi-agent/SKILL.md +1 -1
  16. package/pipeline/commands/multi-agent/ios-coding-standard/SKILL.md +2 -2
  17. package/pipeline/commands/multi-agent/store-ready/SKILL.md +3 -1
  18. package/pipeline/commands/multi-agent/test/SKILL.md +2 -2
  19. package/pipeline/commands/multi-agent/test-screenshots/SKILL.md +9 -0
  20. package/pipeline/multi-agent-refs/android-guide.md +14 -0
  21. package/pipeline/multi-agent-refs/backend-guide.md +12 -0
  22. package/pipeline/multi-agent-refs/features/skill-conformance.md +1 -1
  23. package/pipeline/multi-agent-refs/outside-the-pipeline.md +10 -5
  24. package/pipeline/multi-agent-refs/swiftui-guide.md +14 -0
  25. package/pipeline/multi-agent-refs/toolkit-tools.md +51 -0
  26. package/pipeline/multi-agent-refs/web-guide.md +13 -0
  27. package/pipeline/office/index.html +2 -2
  28. package/pipeline/scripts/README.md +33 -42
  29. package/pipeline/scripts/skill-conformance.mjs +3 -3
  30. package/pipeline/skills/.skill-manifest.json +10 -10
  31. package/pipeline/skills/.skills-index.json +9 -9
  32. package/pipeline/skills/shared/README.md +6 -6
  33. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +1 -1
  34. package/pipeline/skills/shared/core/multi-agent-build-optimize/SKILL.md +1 -1
  35. package/pipeline/skills/shared/core/multi-agent-ios-coding-standard/SKILL.md +1 -1
  36. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +1 -1
  37. package/pipeline/skills/shared/core/multi-agent-save/SKILL.md +1 -1
  38. package/pipeline/skills/shared/core/multi-agent-security-review/SKILL.md +1 -1
  39. package/pipeline/skills/shared/core/multi-agent-test/SKILL.md +1 -1
  40. package/pipeline/skills/shared/core/multi-agent-update/SKILL.md +1 -1
  41. package/pipeline/skills/shared/external/ios-coding-standard/SKILL.md +2 -2
  42. package/pipeline/skills/skills-index.md +6 -6
package/CHANGELOG.md CHANGED
@@ -16,6 +16,19 @@ 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
+
19
32
  ## [21.1.1] - 2026-11-08
20
33
 
21
34
  ### Fixed
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 99-rule registry, produce a remediation plan |
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 UI testing / simulator capture / xcodebuild - powers the Phase 5 UI Bug Hunter. 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. |
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`** - dokuz yol için zorunlu, geri kalanı için opsiyonel. 95 kabuk dosyası ona başvuruyor. Yayınlayan ya da karar veren dokuzu - autopilot kuyruğu, Jira yorumları, 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.
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ü 99 kurallık registry'ye göre denetler, düzeltme planı çıkarır |
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) | UI testing / simulator capture / xcodebuild için MCP sunucusu - Phase 5 UI Bug Hunter'ı güçlendirir. 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. |
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
 
@@ -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 no longer 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.
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
 
@@ -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/>13 domain rules]
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/>151 curated skills<br/>(authoring source for the<br/>multi-agent-plugins marketplace)"]
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/>11 regression fixtures]
129
- SMK[scripts/smoke-*<br/>100+ smoke suites]
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
@@ -1,8 +1,8 @@
1
1
  # Best Practices
2
2
 
3
- > Competitor-informed patterns adopted from research across 4 open-source multi-agent pipelines (ralph-loop 116★, claude-pipeline 104★, atelier 13★, ai-first-framework).
3
+ The working patterns the pipeline is built on, and where each one applies.
4
4
 
5
- ## 1. Symlink Distribution (from ralph-loop)
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. FIX_FIRST Pattern (from claude-pipeline)
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. Wave-Based Parallel Execution (from atelier)
26
+ ## 3. Parallel Exploration
27
27
 
28
- **Problem**: Running all explore agents in parallel can cause coverage overlap and wasted tokens.
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 (Analysis):
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
- - **Wave 1**: 3 explore agents scan independent areas (architecture, security, CI/docs)
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
- ## 4. Roz-First TDD (from atelier)
38
+ **Rule**: Tests are written strictly before implementation. No exceptions.
38
39
 
39
- **Rule**: Tests are written STRICTLY before implementation. No exceptions.
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 (from claude-pipeline)
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 | Blocks |
54
- | ----------- | ------------------------------------------ | -------- |
55
- | Phase 1 → 2 | Analysis complete, no unanswered questions | Planning |
56
- | Phase 3 → 4 | Build passes, lint clean, tests green | Review |
57
- | Phase 4 → 6 | All blocking findings resolved | Commit |
58
- | Phase 4 → 7 | Push successful, PR created | Report |
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 (original)
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 (from ralph-loop)
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
- This reduces wake-up tokens from ~19K to ~800.
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 ONE authoritative location. All other instances are derived via sync.
82
+ **Rule**: Every configuration, rule, or standard exists in exactly one authoritative location. All other instances are derived.
86
83
 
87
- Applied via `multi-agent-sync`:
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
- - Website → derived (version + feature counts)
93
- - Remote Control → derived (pipeline references)
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
- | Family | Tools | Primary pipeline consumers |
265
- |---|---|---|
266
- | `ios` | 42 | 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` |
267
- | `web` | 38 | 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` |
268
- | `android` | 34 | Emulator control, UI tree, crash sweep, `android_meminfo`, accessibility and APK audits, launch time: the same test commands as `ios` on Android |
269
- | `store` | 32 | App Store Connect and Play Console APIs, `store_listing_lint`, `store_review_themes`: `/multi-agent:store-ready`, `complaint-analysis`, `/multi-agent:setup` credential onboarding |
270
- | `vphone` | 10 | none in the pipeline yet; virtual iPhones, available outside it |
271
- | `code` | 8 | `/multi-agent:refactor`, Phase 3 reviewers needing a real symbol graph rather than grep |
272
- | `design` | 8 | `design-check` (mock-mode vs Figma conformance, component variants, `design_visual_compare`, `design_contrast_check`) |
273
- | `graph` | 8 | `/multi-agent:graph` and the code-graph feature: projects, queries, neighbours, paths, `graph_stats`, `graph_hubs`, `graph_cluster` |
274
- | `repo` | 6 | Phase 1 Step 1.6 product context, Phase 3 platform parity, `/multi-agent:review`, `/multi-agent:analysis`; read-only, pinned to a sha |
275
- | `voice` | 6 | none in the pipeline; a local voice host outside it |
276
- | `ui` | 5 | `ui_locate` and target checks for end-to-end steps: `/multi-agent:test`, `/multi-agent:bug-bash`, the `e2e-testing` skill |
277
- | `context` | 4 | 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 |
278
- | `pass` | 4 | pass-kit work outside the pipeline; no pipeline phase consumes them |
279
- | `security` | 5 | `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 |
280
- | `binary` | 5 | `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 |
281
- | `document` | 3 | the `e2e-testing` skill's MRZ and document-scan recipes, `document_pdf_inspect` |
282
- | `learnings` | 3 | `learnings_search`, `learnings_timeline`, `learnings_get`: the knowledge ledger and `/multi-agent:search` |
283
- | `research` | 3 | `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 |
284
- | `agent` | 2 | `agent_run_steps`, `agent_query_output`: any skill that needs a scripted multi-step device flow in one round trip |
285
- | `llm` | 2 | `llm_delegate`, `llm_providers`: `route-on --free` ([`free-models.md`](../pipeline/multi-agent-refs/features/free-models.md)). Denied in autonomous research passes |
286
- | `media` | 2 | `media_frames` for Phase 2 visual evidence; `media_transcript` for the research engine, off unless `MCP_TOOLKIT_CAPS` has `media-remote`; in an unattended run its video host must be on the network allowlist |
287
- | `coverage` | 1 | `coverage_gap`: `/multi-agent:test-gen` |
288
- | `social` | 1 | `social_read` for the research engine, off unless `MCP_TOOLKIT_CAPS` has `social`, never unattended |
289
- | `test` | 1 | `test_results_classify`: test-result triage |
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.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 used to type `npm`. A repo on pnpm, yarn or bun then failed in Phase 2 - with a worktree and a branch already created - or, worse, npm resolved against a lock file it does not own and the run continued on a tree the repo's own tooling would never have produced.
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 has always produced a machine-readable gap list - stable codes in `blockers[]` and `warnings[]` - and then thrown most of it away. A blocker halted the run, an autopilot queue moved to the next item, and the item stayed exactly as immature as it was found. Nobody was told, so nothing changed, so the next scan halted on the same item for the same reason.
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 used to ask one question with a list it could not vouch for. `git fetch origin` ran, its exit code was discarded, and `git branch -r` printed the remote-tracking cache either way - so on a restricted network a weeks-old local list was presented as the remote's answer, with nothing saying so. And the answer was 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.
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` published behind a structural validator alone until v16.12.0: nothing read the
213
- document before it reached Confluence. Phase 2.2 now runs the same reviewer set and triage a code diff
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**, since v16.5.0. `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).
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** (v15.14.0+). 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`.
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
- 100+ suites, auto-discovered from `smoke-*.sh` (no hardcoded list). 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).
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 no longer 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.
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
 
@@ -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 4 → Phase 3 a task
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 3 retries** - build / test / lint retry distribution per task.
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. Look at `phase-3-review.md:57-91`.
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 2, tests that flake, or
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
- Current totals (v3.5.0):
90
-
91
- | Phase | Warn | Max | Typical |
92
- |-------|------|-----|---------|
93
- | 0 INIT | 3500 | 4000 | 3434 |
94
- | 1 ANALYSIS | 1200 | 1500 | 1315 |
95
- | 2 PLANNING | 800 | 1000 | 798 |
96
- | 3 DEV | 1500 | 1800 | 1451 |
97
- | 4 REVIEW | 1800 | 2200 | 2110 |
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 - the full 14 k total is never loaded at once.
101
+ runs, so the phase docs are never loaded all at once.
105
102
 
106
103
  ## Embedding Metrics in Phase 5 Reports
107
104
 
@@ -261,7 +261,7 @@ version and tag fresh - never re-publish a consumed version.
261
261
 
262
262
  ---
263
263
 
264
- ## Worktree Corruption (v8.0.0)
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 (v8.0.0)
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 (v8.0.0)
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 (v8.0.0)
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
- This is the v7.9.1 release-window incident verbatim: 7 commits across
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 (v8.0.0)
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.