@mmerterden/multi-agent-pipeline 23.4.0 → 23.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +35 -6
  2. package/README.md +4 -4
  3. package/README.tr.md +4 -4
  4. package/SECURITY.md +16 -0
  5. package/docs/ecosystem.md +5 -5
  6. package/docs/facts.json +4 -4
  7. package/docs/features.md +1 -1
  8. package/install/_platform-filter.mjs +2 -55
  9. package/install/codex.mjs +1 -3
  10. package/install/copilot.mjs +4 -8
  11. package/manifest.json +46 -45
  12. package/package.json +2 -2
  13. package/pipeline/commands/multi-agent/design-check/SKILL.md +1 -0
  14. package/pipeline/contract/CHANGELOG.md +14 -0
  15. package/pipeline/contract/README.md +1 -0
  16. package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
  17. package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
  18. package/pipeline/contract/manifest.json +14 -1
  19. package/pipeline/contract/types/index.d.ts +28 -2
  20. package/pipeline/lib/stack-detect.sh +1 -1
  21. package/pipeline/lib/usage-names.generated.mjs +0 -1
  22. package/pipeline/multi-agent-refs/design-check/init-inventory.md +11 -1
  23. package/pipeline/multi-agent-refs/features/remote-control.md +2 -1
  24. package/pipeline/multi-agent-refs/features/usage-reporting.md +4 -4
  25. package/pipeline/multi-agent-refs/help/en.md +1 -1
  26. package/pipeline/multi-agent-refs/help/tr.md +1 -1
  27. package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +1 -1
  28. package/pipeline/office/index.html +104 -5
  29. package/pipeline/office/toolkit.json +1 -1
  30. package/pipeline/rules/outside-the-pipeline.md +1 -1
  31. package/pipeline/schemas/mcp-health.schema.json +96 -0
  32. package/pipeline/schemas/toolkit-path-params.json +1 -7
  33. package/pipeline/scripts/_contract-core.mjs +1 -1
  34. package/pipeline/scripts/_contract-routes-office.mjs +12 -0
  35. package/pipeline/scripts/build-stack-plugins.mjs +1 -47
  36. package/pipeline/scripts/contract-server.mjs +2 -0
  37. package/pipeline/scripts/design-check-config.mjs +205 -0
  38. package/pipeline/scripts/gen-facts.mjs +1 -2
  39. package/pipeline/scripts/mcp-health.mjs +309 -0
  40. package/pipeline/scripts/remote/handler.mjs +19 -6
  41. package/pipeline/scripts/remote/store.mjs +8 -5
  42. package/pipeline/scripts/skill-usage.mjs +16 -5
  43. package/pipeline/skills/.skill-manifest.json +1 -1
  44. package/pipeline/scripts/_renamed-skills.mjs +0 -164
  45. package/pipeline/skills/renamed.json +0 -30
package/CHANGELOG.md CHANGED
@@ -16,6 +16,31 @@ Internal file-layout changes that don't affect the slash-command surface are sti
16
16
 
17
17
  ## [Unreleased]
18
18
 
19
+ ## [23.5.0] - 2026-11-11
20
+
21
+ ### Added
22
+
23
+ - `mcp-health.mjs` and `GET /v1/mcp-health` (client contract 2.3.0, local only): per MCP server and tool over the last seven days, the calls, the server-side failures and the minute of the last failure, from the local failure log (`mcp-failures.jsonl`, with its previous generation) and the call counter (`mcp-calls.json` plus the lines `mcp-calls.log` has not folded yet). A server is named only from the shipped public list (any other is `private`) and a tool only from the shipped tool list of this product's server (any other is `other`); files are read through the bounded regular-file reader, never through a link, and a file over the size cap is named in `skipped`. The office server room shows the result as an MCP servers table, in English and Turkish.
24
+ - The audit line of a phone request (`remote/audit.jsonl`) carries `run`: the run's opaque handle for a verb about one run, and only a handle the executor issued to that device, never the run id.
25
+ - `design-check-config.mjs` checks the user's `design-check-config.json` against `design-check-config.schema.json` before `/multi-agent:design-check` reads it (step 3b of its Phase 0), naming every bad key by its dotted path and never echoing a value. A missing file is valid.
26
+ - `lint-unused-exports.mjs --baseline <file>` fails only on an exported symbol that is unused and not in the baseline, `--write-baseline <file>` writes the current set; `npm test` runs it against `fixtures/unused-exports-baseline.txt`.
27
+ - `lint-phase-labels.mjs` checks an "Agent definitions (used in Phase N and Phase M)" lead against the phases the listed agent files declare.
28
+
29
+ ### Changed
30
+
31
+ - README and README.tr no longer say the office has no phone pairing; they say the office opens no port and point at the opt-in phone control below. `SECURITY.md` lists the telemetry field categories that are sent and the ones that never are. `features/verify.md` is linked from the README.
32
+ - `dispatcher.md` names Phase 1 and Phase 3 for the agent definitions.
33
+ - The recorded toolkit is 4.4.0 with 258 tools: `binary_analyse` is opt-in there (`MCP_TOOLKIT_CAPS` must include `binary-analyse`), so the tool count, the path-parameter table and the usage name list no longer carry it.
34
+
35
+ ### Fixed
36
+
37
+ - `stack-detect.sh` finds a manifest below the repository root when the repository has no submodules and the caller runs under `set -u` on bash 3.2: the empty submodule prune list is expanded safely, where it used to end the search with an unbound-variable error and report no stack.
38
+
39
+ ### Removed
40
+
41
+ - The skill rename mechanism: `skills/renamed.json` (23 retired entries, due at 21.0.0), `_renamed-skills.mjs`, the alias skills it wrote into the plugins and the Copilot and Codex copies, and the lint checks that read it. The plugin build writes no alias skill and removes any left in a plugin; the upstream overlap gate pairs a skill with an upstream skill of another name only through the `upstreamCorpusAliases` preference, and still compares every shipped file by content against the corpus.
42
+ - The tracked `out.txt` at the repository root.
43
+
19
44
  ## [23.4.0] - 2026-11-11
20
45
 
21
46
  ### Changed
@@ -27,7 +52,7 @@ Internal file-layout changes that don't affect the slash-command surface are sti
27
52
  - Phase numbers in prose follow `pipeline/schemas/phases.json`: reviewers, the review panel and triage belong to Phase 3, the dev critic to Phase 2.5, in the dev-critic, model-fallback, review, diff-explain and cost-summary docs and `docs/engineering.md`. `lint-phase-labels.mjs` (run by `smoke-phase-labels.sh`) fails when a role is written beside the wrong phase number, in either word order, with any spacing and in Turkish (`Faz N`); the roles per phase are the `roles` lists in `phases.json`, and a role listed under two phases (the critic) is valid beside either.
28
53
  - ROADMAP.md describes the present state, drops two dangling references and the process note about the old header, and states the model-selection non-goal in terms of the rungs, the fable switch and rule routing that exist and the 21.x - 23.x lines instead of a v16 candidate list; the opt-in telemetry idea is dropped because operational reporting is not opt-in.
29
54
  - `docs/adr/0008` describes the current CI workflows, and `docs/performance.md` shows model ids from `cost-table.json` and no longer claims nothing leaves the machine.
30
- - `prefs.schema.json` drops the `gitIdentities` and `office.remote` keys; `migrate-prefs.mjs` still removes them from an old preferences file. The other deprecated keys stay because a runtime fallback or a gate still reads them.
55
+ - `prefs.schema.json` drops the `gitIdentities` key; `migrate-prefs.mjs` still removes it from an old preferences file. `global.office.remote` stays declared as deprecated so an un-migrated preferences file validates, and `migrate-prefs.mjs` removes it. The other deprecated keys stay because a runtime fallback or a gate still reads them.
31
56
  - `publish-staged.mjs` and `identifier-scan.mjs` (moved from `lib/` to `scripts/`) are maintainer tools and are left out of the installed scripts and the npm package.
32
57
 
33
58
  ### Added
@@ -37,11 +62,10 @@ Internal file-layout changes that don't affect the slash-command surface are sti
37
62
  - `validate-schemas.mjs` validates `schemas/examples/<name>.json` against `<name>.schema.json`; `design-check-config.schema.json` gets a worked example and a test.
38
63
  - `test/codex-model-tables.test.mjs` holds the Codex tier table in `model-fallback.md` to `CODEX_TIER_MAP` and the Codex review panel to one reading across `phase-3-review.md` and `review/panel.md`.
39
64
  - `features/cost-analysis.md` is linked from `/multi-agent:status`.
40
-
41
- ### Removed
42
-
43
- - `docs/FIGMA_PIPELINE.md`, a guide to a retired skill catalog (the current flow is `rules/figma-pipeline.md` and the stack plugins).
44
- - The legacy wiki prompt flow in `wiki-capture.md` and the version stub in the analysis intake ref.
65
+ - `/multi-agent:pair` (phone control, off by default): pairs a phone through a QR code and a fallback code, and `--list`, `--revoke <device>`, `--off`, `--start` and `--status` manage the pairings. A paired phone can list runs, read a run's status and pending question, answer with one of the offered options and stop a run's session; nothing else is reachable and `start_run` is declared but refused. Nothing runs until the site enables the feature for the account and a phone is paired. The computer opens no port, only polls the site over HTTPS, and re-verifies every request against a passkey pinned at pairing. Details: `features/remote-control.md`.
66
+ - The run identifier in usage reports is a keyed digest: `r` plus 16 hex characters, an HMAC-SHA256 of the run id under a per-install secret kept owner-only in `usage-run-key`. The same machine and run always give the same value, so the events of one run join, and the raw id stays in the local logs. When the secret cannot be read or created the send is skipped and `usage-last-send.json` records reason `run-key-unavailable`.
67
+ - Typed-command counter: a `UserPromptSubmit` hook (`note-command-use.sh`) counts which `/multi-agent` commands are typed, by shipped name only (anything else counts as `other`), and the usage report carries the counts as `cmds` with a batch id `cb` so a resend is never added twice. Counting follows `usageLog.enabled` and `usageLog.optOut` and stores no arguments or prompt text.
68
+ - Opt-in session brief (`sessionBrief` in the preferences, `session-brief.sh` on `SessionStart` for Claude Code): an index of the repository's learnings ledger, one line about its code graph, the skill indexes of the enabled toolkits and, as a separate setting, a few working notes. Off until `enabled` is true, silent in unattended and pipeline contexts, and `MULTI_AGENT_SESSION_BRIEF=0` turns it off for one process.
45
69
  - Code graph sidecars. The main graph file stays schema 1.2.0 with the same node and edge kinds as before and validates under the previous validator; capabilities that add nodes or edges live in files beside it, each with its own schema and version, a record of the graph it was built against, node and edge caps with a `truncated` marker, and a staleness check: `<graph>.calls.json` (built by default, `--no-calls` to skip), `<graph>.docs.json` (`--docs`) and `<graph>.infra.json` (`--infra`). `code-graph.config.json` beside the graph sets the layers per repo; a flag wins. `graph-query`, `graph-affected`, `graph-report`, `graph-export` and `graph-hint` join the sidecars that are present and say when one is absent, stale, built against another graph, invalid or truncated. Call edges never count toward degree, so hubs stay structural.
46
70
  - Call edges (calls sidecar): `calls` edges from the function that contains a call to the function, method or type it reaches, resolved without a language server for Swift, Kotlin, TypeScript and JavaScript, Python, Go, Rust, Java, C#, C and C++. Each edge records how it was derived (`via`) and a `confidence`: `high` when a binding was resolved, `medium` for inference, `low` for a name and argument count only. A name imported from outside the repo produces no edge. A call through a protocol, interface or overridden method also reaches each implementer. `eval-call-edges.mjs` measures precision and recall on nine hand-checked cases and runs in `npm test`. Hand-classified samples of 40 `high` edges per tree found 37 of 37, 39 of 39 and 34 of 35 correct (JavaScript, TypeScript, Swift) and 7 of 8, 6 of 8 and 5 of 8 on `low`; the Swift error class (a bare name resolved to a nested type or to a repository type with a platform name) is now zero. `low` is an unresolved binding, often right in script-style code and a lead elsewhere. Python, Go, Rust, Java, C#, C++ and Kotlin precision is fixture-verified only. See `features/code-graph.md`.
47
71
  - Stacks `rust`, `java`, `csharp` and `cpp` for `graph-build` (rules under `code-graph-rules/` and `test-gap-rules/`).
@@ -60,6 +84,11 @@ Internal file-layout changes that don't affect the slash-command surface are sti
60
84
  - `validate-code-graph.mjs` validates a graph together with its sidecars, caps its error output, and rejects a kind newer than the declared schema version.
61
85
  - The documentation and configuration extractors read only regular files inside the repo root, run every pattern in linear time, and keep YAML maps without a prototype; each file and each collection has a time budget, and what was skipped is listed under `coverage`.
62
86
 
87
+ ### Removed
88
+
89
+ - `docs/FIGMA_PIPELINE.md`, a guide to a retired skill catalog (the current flow is `rules/figma-pipeline.md` and the stack plugins).
90
+ - The legacy wiki prompt flow in `wiki-capture.md` and the version stub in the analysis intake ref.
91
+
63
92
  ## [23.3.0] - 2026-11-10
64
93
 
65
94
  ### Changed
package/README.md CHANGED
@@ -108,7 +108,7 @@ The phase list lives in `pipeline/schemas/phases.json`, and `smoke-phase-contrac
108
108
 
109
109
  ### Install verification, cost, and one state directory
110
110
 
111
- - **`multi-agent-pipeline verify`.** The install is a copy, and from the moment it is written the two halves drift independently: an edit in the installed tree is behaviour with no source, and a file the installer skipped is a script the docs describe and nobody has. `verify` compares both against a manifest built at pack time. What a green result proves is stated plainly - the bytes match what the publisher recorded, not who published them.
111
+ - **`multi-agent-pipeline verify`.** The install is a copy, and from the moment it is written the two halves drift independently: an edit in the installed tree is behaviour with no source, and a file the installer skipped is a script the docs describe and nobody has. `verify` compares both against a manifest built at pack time. What a green result proves is stated plainly - the bytes match what the publisher recorded, not who published them. Details: [verify](pipeline/multi-agent-refs/features/verify.md).
112
112
  - **Cost, past the single run.** The per-task ceiling cannot see the two ways a budget actually empties: a drift that trips nothing, and one session that burns a week in an hour while every run stays under its cap. `cost-analyze` projects, finds days out of family by median absolute deviation, and reports acceleration - as LIST-price estimates, which it says on every run rather than in a footnote.
113
113
  - **A run's state lives in one place.** `{project}/{taskId}/` is canonical, the flat layout is still read, and a run that exists in both is counted once.
114
114
  - **Server readiness, entirely opt-in.** `doctor --profile=server` adds four checks that only matter when nobody is at the keyboard, and `install --unattended` writes a permission profile after printing it. The default install writes no permissions and the default doctor run leaves the server checks out, because a laptop told it fails a server check learns to ignore doctor.
@@ -431,7 +431,7 @@ the page with a one-time code; the server runs until `/multi-agent:office-off`.
431
431
  | `/multi-agent:office-off` | Stop the server; it runs until you do |
432
432
 
433
433
  Security model: [office threat model](pipeline/multi-agent-refs/features/office-threat-model.md).
434
- The office is local to this machine: no phone pairing, no relay, no remote access.
434
+ The office itself is local to this machine and opens no port to the network. Phone control is a separate, opt-in feature described below.
435
435
 
436
436
  ### Remote control from a phone (optional, off by default)
437
437
 
@@ -572,7 +572,7 @@ Installing the pipeline is not only useful when you run it. Open an ordinary ses
572
572
 
573
573
  - **Services you already onboarded.** The token `setup` mapped is readable now - resolve the logical name through `credential-store.sh` and fetch the issue, the page, the log. **Reads are ordinary work; writes are not.** Posting a Jira comment, editing an issue or opening a PR goes through the pipeline commands, because the rules that make those safe (never auto-close, `Ref:` not `Closes:`, humanizer on outward prose) live there.
574
574
  - **The stack skills `/multi-agent:stack` enabled for the repo.** Each toolkit's own `index` skill routes; the pipeline keeps no copy of that table.
575
- - **The `multi-agent` MCP.** <!-- fact:toolCount -->259<!-- /fact --> tools, most of them for a running app - screen state, crash logs, design comparison, store pre-submission, web scraping and browser test states. Several measure instead of judging by eye: WCAG contrast (`design_contrast_check`), layout shift across themes or a mirrored locale (`ios_visual_diff` with `mode: "layout"`), store listing limits (`store_listing_lint`), review themes with verbatim quotes (`store_review_themes`) and whether security findings cite real lines (`security_evidence_check`, with `security_sarif_export` for code-scanning views). The learnings ledger and the code graph are readable through it too (`learnings_*`, `graph_*`).
575
+ - **The `multi-agent` MCP.** <!-- fact:toolCount -->258<!-- /fact --> tools, most of them for a running app - screen state, crash logs, design comparison, store pre-submission, web scraping and browser test states. Several measure instead of judging by eye: WCAG contrast (`design_contrast_check`), layout shift across themes or a mirrored locale (`ios_visual_diff` with `mode: "layout"`), store listing limits (`store_listing_lint`), review themes with verbatim quotes (`store_review_themes`) and whether security findings cite real lines (`security_evidence_check`, with `security_sarif_export` for code-scanning views). The learnings ledger and the code graph are readable through it too (`learnings_*`, `graph_*`).
576
576
 
577
577
  Uninstall preserves this layer: the tokens, the reader that opens them, the mapping that names them, and the MCP registration. Removing the pipeline should not cost you the credentials you onboarded through it.
578
578
 
@@ -580,7 +580,7 @@ Uninstall preserves this layer: the tokens, the reader that opens them, the mapp
580
580
 
581
581
  A run reports coarse metadata to the maintainer's site so a failing install can be diagnosed from its record. Every field is one of four things: a number or a boolean, a value from a closed list shipped inside the package (commands, skills, tools, models, modes, halt codes), a keyed digest (run, repository and machine identifiers, which the site cannot turn back into names), or the documented subject (the GitHub login used for access, and feedback text you write yourself). Names that are not on a shipped list go out as `other` or `private`.
582
582
 
583
- Never sent: prompts, code, diffs, file paths, repository names, ticket keys, titles, token values. Two fields are opt-in and reduced before they leave: a title becomes a word count, a ticket-shape flag and a language code, and a pull request address is kept only for the four public code hosts.
583
+ Never sent, outside the two opt-in fields below (a pull request address names its repository): prompts, code, diffs, file paths, repository names, ticket keys, titles, token values. Two fields are opt-in and reduced before they leave: a title becomes a word count, a ticket-shape flag and a language code, and a pull request address is kept only for the four public code hosts.
584
584
 
585
585
  `usageLog.optOut: true` turns reporting off before any network call or credential read. Two things still run: the access check, which sends the login and the version and nothing else, and feedback you send on purpose. `/multi-agent:doctor` shows the outcome of the last send. The full field table is in `pipeline/multi-agent-refs/features/usage-reporting.md`.
586
586
 
package/README.tr.md CHANGED
@@ -107,7 +107,7 @@ Faz listesi `pipeline/schemas/phases.json`'da duruyor; `smoke-phase-contract.sh`
107
107
 
108
108
  ### Kurulum doğrulama, maliyet ve tek bir durum dizini
109
109
 
110
- - **`multi-agent-pipeline verify`.** Kurulum bir kopyadır ve yazıldığı andan itibaren iki taraf birbirinden bağımsız kayar: kurulu ağaçtaki bir düzenleme kaynağı olmayan bir davranıştır, kurulumun atladığı dosya ise dokümanın anlattığı ama kimsede olmayan bir script. `verify` ikisini de paketleme anında üretilen bir manifest'e karşı karşılaştırır. Yeşil sonucun ne kanıtladığı açıkça yazılıdır: baytlar yayıncının kaydettiğiyle aynıdır, kimin yayınladığı değil.
110
+ - **`multi-agent-pipeline verify`.** Kurulum bir kopyadır ve yazıldığı andan itibaren iki taraf birbirinden bağımsız kayar: kurulu ağaçtaki bir düzenleme kaynağı olmayan bir davranıştır, kurulumun atladığı dosya ise dokümanın anlattığı ama kimsede olmayan bir script. `verify` ikisini de paketleme anında üretilen bir manifest'e karşı karşılaştırır. Yeşil sonucun ne kanıtladığı açıkça yazılıdır: baytlar yayıncının kaydettiğiyle aynıdır, kimin yayınladığı değil. Ayrıntılar: [verify](pipeline/multi-agent-refs/features/verify.md).
111
111
  - **Maliyet, tek koşunun ötesinde.** Görev başına tavan, bütçeyi gerçekten bitiren iki şeyi göremez: hiçbir koşuyu aşmayan kayma, ve her koşu tavanın altında kalırken bir saatte bir haftayı yakan tek oturum. `cost-analyze` projeksiyon yapar, medyan mutlak sapmayla aileden ayrılan günü bulur ve ivmeyi raporlar - liste fiyatından tahmin olarak, ve bunu dipnotta değil her koşuda söyler.
112
112
  - **Bir koşunun durumu tek yerde.** `{project}/{taskId}/` kanonik, düz yerleşim hâlâ okunuyor, ve iki yerde birden duran koşu bir kez sayılıyor.
113
113
  - **Sunucu hazırlığı, tamamen opt-in.** `doctor --profile=server` yalnızca klavyede kimse yokken anlamı olan dört kontrol ekler, `install --unattended` izin profilini yazmadan önce gösterir. Varsayılan kurulum hiçbir izin yazmaz ve varsayılan doctor koşusu sunucu kontrollerini dışarıda bırakır: sunucu kontrolünden kaldığı söylenen bir dizüstü, doctor'ı görmezden gelmeyi öğrenir.
@@ -429,7 +429,7 @@ başlatır ve sayfayı tek kullanımlık bir kodla açar; sunucu
429
429
  | `/multi-agent:office-off` | Sunucuyu durdurur; sunucu ancak bununla durur. |
430
430
 
431
431
  Güvenlik modeli: [ofis tehdit modeli](pipeline/multi-agent-refs/features/office-threat-model.md).
432
- Ofis yalnızca bu makinede çalışır: telefon eşleme, aktarım ya da uzaktan erişim yoktur.
432
+ Ofisin kendisi yalnızca bu makinede çalışır ve ağa port açmaz. Telefon kontrolü ayrı, isteğe bağlı bir özelliktir ve aşağıda anlatılır.
433
433
 
434
434
  ### Telefondan uzaktan kontrol (isteğe bağlı, varsayılan kapalı)
435
435
 
@@ -570,7 +570,7 @@ Pipeline'ı kurmak yalnız onu çalıştırdığında işe yaramıyor. Sıradan
570
570
 
571
571
  - **Zaten onboard ettiğin servisler.** `setup`'ın eşlediği token okunabilir durumda - mantıksal adı `credential-store.sh` ile çöz, issue'yu, sayfayı, logu getir. **Okuma sıradan iş, yazma değil.** Jira yorumu, issue düzenleme ve PR açma pipeline komutlarından geçer, çünkü onları güvenli kılan kurallar (issue asla otomatik kapanmaz, `Closes:` değil `Ref:`, dışa dönük metinde humanizer) orada yaşıyor.
572
572
  - **`/multi-agent:stack`'in bu repo için açtığı stack skilleri.** Yönlendirmeyi her toolkit'in kendi `index` skill'i yapar; pipeline o tablonun kopyasını tutmaz.
573
- - **`multi-agent` MCP.** <!-- fact:toolCount -->259<!-- /fact --> araç, çoğu çalışan uygulama için - ekran durumu, crash logu, tasarım karşılaştırma, store ön-kontrolü, web kazıma ve tarayıcı test durumları. Bazı kontrolleri gözle değil ölçümle yapar. WCAG kontrastı `design_contrast_check` ile, tema ya da RTL değişince kayan yerleşim `ios_visual_diff` (`mode: "layout"`) ile ölçülür. Mağaza metni sınırlarını `store_listing_lint` denetler. `store_review_themes` yorumları temalara ayırır ve alıntıyı birebir bırakır. Güvenlik bulgularının gerçek satırlara dayandığını `security_evidence_check` doğrular; `security_sarif_export` kod tarama ekranları için SARIF yazar. Öğrenim kaydı (`learnings_*`) ve kod grafiği (`graph_*`) de buradan okunur.
573
+ - **`multi-agent` MCP.** <!-- fact:toolCount -->258<!-- /fact --> araç, çoğu çalışan uygulama için - ekran durumu, crash logu, tasarım karşılaştırma, store ön-kontrolü, web kazıma ve tarayıcı test durumları. Bazı kontrolleri gözle değil ölçümle yapar. WCAG kontrastı `design_contrast_check` ile, tema ya da RTL değişince kayan yerleşim `ios_visual_diff` (`mode: "layout"`) ile ölçülür. Mağaza metni sınırlarını `store_listing_lint` denetler. `store_review_themes` yorumları temalara ayırır ve alıntıyı birebir bırakır. Güvenlik bulgularının gerçek satırlara dayandığını `security_evidence_check` doğrular; `security_sarif_export` kod tarama ekranları için SARIF yazar. Öğrenim kaydı (`learnings_*`) ve kod grafiği (`graph_*`) de buradan okunur.
574
574
 
575
575
  Uninstall bu katmanı korur: token'lar, onları açan okuyucu, adlarını tutan eşleme ve MCP kaydı. Pipeline'ı kaldırmak, onun üzerinden onboard ettiğin credential'ları kaybetmek anlamına gelmemeli.
576
576
 
@@ -578,7 +578,7 @@ Uninstall bu katmanı korur: token'lar, onları açan okuyucu, adlarını tutan
578
578
 
579
579
  Her koşu, bakımcının sitesine kaba bir özet gönderir. Amaç, bozulan bir kurulumun kaydından teşhis edilebilmesidir. Gönderilen her alan dört türden biridir: bir sayı ya da mantıksal değer; paketin içinde gelen kapalı bir listeden bir değer (komutlar, skill'ler, araçlar, modeller, modlar, kesinti kodları); anahtarlı bir özet (koşu, repo ve makine kimlikleri; site bunları ada çeviremez); ya da belgelenmiş özne (erişim için kullanılan GitHub kullanıcı adı ve kendi yazdığın geri bildirim metni). Listede olmayan adlar `other` ya da `private` olarak gider.
580
580
 
581
- Hiç gönderilmez: prompt, kod, diff, dosya yolu, repo adı, bilet anahtarı, başlık, token değeri. İki alan isteğe bağlıdır ve çıkmadan önce indirgenir: başlık yalnız kelime sayısı, bilet biçimi bayrağı ve dil koduna döner; pull request adresi yalnız dört açık kod sunucusu için tutulur.
581
+ Aşağıdaki iki isteğe bağlı alan dışında hiç gönderilmez (pull request adresi reposunu adlandırır): prompt, kod, diff, dosya yolu, repo adı, bilet anahtarı, başlık, token değeri. İki alan isteğe bağlıdır ve çıkmadan önce indirgenir: başlık yalnız kelime sayısı, bilet biçimi bayrağı ve dil koduna döner; pull request adresi yalnız dört açık kod sunucusu için tutulur.
582
582
 
583
583
  `usageLog.optOut: true` raporlamayı her ağ çağrısından ve her kimlik bilgisi okumasından önce kapatır. İki şey çalışmaya devam eder: yalnız kullanıcı adını ve sürümü gönderen erişim kontrolü ve bilerek gönderdiğin geri bildirim. `/multi-agent:doctor` son gönderimin sonucunu gösterir. Alan tablosunun tamamı `pipeline/multi-agent-refs/features/usage-reporting.md` içindedir.
584
584
 
package/SECURITY.md CHANGED
@@ -41,3 +41,19 @@ Out of scope:
41
41
  ## Coordinated Disclosure
42
42
 
43
43
  We follow standard coordinated disclosure: researchers are credited (with permission) in the release notes once a fix is shipped. Public disclosure timelines are agreed with the reporter, defaulting to 90 days from initial report or 30 days after a patch is released - whichever is earlier.
44
+
45
+ ## Telemetry
46
+
47
+ Usage reporting sends coarse run metadata to the maintainer's site so a failing install can be diagnosed. It can be turned off with `usageLog.optOut: true`, which stops run reporting before any network call or credential read. Two things still run on an opted-out machine: the access check, which sends the GitHub login and the version and nothing else, and feedback you type and send yourself. The full field table is in [`pipeline/multi-agent-refs/features/usage-reporting.md`](pipeline/multi-agent-refs/features/usage-reporting.md).
48
+
49
+ Field categories that are sent:
50
+
51
+ - Numbers and booleans: durations, token totals, estimated cost, review iterations, whether a pull request was opened, autopilot and local-mode flags.
52
+ - Values from closed lists shipped inside the package: command, skill, tool, plugin, code-host and MCP server names, model ids, modes, stacks, phase numbers, run status and event, closed halt and error codes, operating system, CLI, language, the installed version.
53
+ - Keyed digests: run, repository and machine identifiers, computed under a per-install secret so the site cannot turn them back into names.
54
+ - Per-run and per-machine counts: MCP tool calls and typed `/multi-agent` commands, by shipped name only.
55
+ - Health and credential summaries: one status per section with a message id, and per logical credential key a status with a check time, limited to documented key names.
56
+ - The documented subject: the GitHub login used for the access check and registration, and feedback text you write yourself.
57
+ - Opt-in, reduced before leaving the machine: a task title becomes a word count, a ticket-shape flag and a language code; a pull request address is kept only for the four public code hosts, without credentials, query or fragment.
58
+
59
+ Never sent, outside the opt-ins above (a pull request address names its repository): prompts, code, diffs, file paths, repository names, ticket keys, titles, token values, command arguments or tool results. A name that is not on a shipped list goes out as `other` or `private`.
package/docs/ecosystem.md CHANGED
@@ -7,7 +7,7 @@ separately, wired together at install time and at run time:
7
7
  |---|---|---|
8
8
  | **`multi-agent-pipeline`** (this repo) | Orchestration: the <!-- fact:phaseCount -->6<!-- /fact -->-phase flow, the <!-- fact:commandCount -->80<!-- /fact --> slash commands, quality gates, review/triage, cross-CLI parity | npm package (`@mmerterden/multi-agent-pipeline`), installs itself onto Claude Code / Copilot CLI / Codex CLI |
9
9
  | **`multi-agent-plugins`** | Stack knowledge: per-platform component/lifecycle skills (iOS, Android, Frontend, Backend) + shared knowledge | Claude Code marketplace, 6 independently-versioned plugins |
10
- | **`multi-agent-mcp`** | The pipeline's hands on devices and browsers: <!-- fact:toolCount -->259<!-- /fact --> MCP tools across <!-- fact:toolFamilyCount -->25<!-- /fact --> families (simulator/emulator control, end-to-end locators and assertions, memory, crash diagnostics, accessibility audit, store compliance and listing lint, web automation and scraping, Figma-vs-mock design audit with contrast checks, code intelligence, a code graph, a learnings ledger, wallet passes, an agent-DSL batch runner, a full-text context index with text-to-image rendering, provider-backed and community research, opt-in social reading, verified hand-off of simple text tasks to free models, video key frames and transcripts, offline security scoring with evidence checks, SARIF export and MCP config launch-selector audits, read-only access to related repositories at their latest branch, travel document fixtures, a voice channel, App Store Connect and Play Console APIs, virtual iPhones, offline facts about builds you own) | npm package, registered as a standard stdio MCP server on every host |
10
+ | **`multi-agent-mcp`** | The pipeline's hands on devices and browsers: <!-- fact:toolCount -->258<!-- /fact --> MCP tools across <!-- fact:toolFamilyCount -->25<!-- /fact --> families (simulator/emulator control, end-to-end locators and assertions, memory, crash diagnostics, accessibility audit, store compliance and listing lint, web automation and scraping, Figma-vs-mock design audit with contrast checks, code intelligence, a code graph, a learnings ledger, wallet passes, an agent-DSL batch runner, a full-text context index with text-to-image rendering, provider-backed and community research, opt-in social reading, verified hand-off of simple text tasks to free models, video key frames and transcripts, offline security scoring with evidence checks, SARIF export and MCP config launch-selector audits, read-only access to related repositories at their latest branch, travel document fixtures, a voice channel, App Store Connect and Play Console APIs, virtual iPhones, offline facts about builds you own) | npm package, registered as a standard stdio MCP server on every host |
11
11
 
12
12
  None of the three depends on the others at the code level. They compose through two
13
13
  narrow contracts: the **Skill tool** (pipeline → plugin, at Phase 2) and the **MCP
@@ -239,8 +239,8 @@ Detail: [`unattended-security.md`](../pipeline/multi-agent-refs/features/unatten
239
239
 
240
240
  ### multi-agent-mcp's tools, by category
241
241
 
242
- <!-- fact:toolCount -->259<!-- /fact --> tools in <!-- fact:toolFamilyCount -->25<!-- /fact --> families, counted from the server's own `tools/list` response
243
- at toolkit <!-- fact:toolkitVersion -->4.3.0<!-- /fact --> rather than from a README. Three families are defined in
242
+ <!-- fact:toolCount -->258<!-- /fact --> tools in <!-- fact:toolFamilyCount -->25<!-- /fact --> families, counted from the server's own `tools/list` response
243
+ at toolkit <!-- fact:toolkitVersion -->4.4.0<!-- /fact --> rather than from a README. Three families are defined in
244
244
  modules the main file only spreads in, so a count taken from the source reads
245
245
  low; the response is the only place the whole surface appears at once. A
246
246
  family is the prefix every tool name carries.
@@ -257,8 +257,8 @@ skill or a command such as `multi-agent:review`. Both qualified forms
257
257
  let `lint-mcp-refs.mjs` check that the tool exists.
258
258
 
259
259
  The families can be narrowed per host: `MCP_TOOLKIT_CAPS` serves only the named
260
- ones, and unset serves all <!-- fact:toolCount -->259<!-- /fact -->. A frontend repo that sets `web,code,context`
261
- sees 50 tools instead of <!-- fact:toolCount -->259<!-- /fact -->, which matters because every registered server's
260
+ ones, and unset serves all <!-- fact:toolCount -->258<!-- /fact -->. A frontend repo that sets `web,code,context`
261
+ sees 50 tools instead of <!-- fact:toolCount -->258<!-- /fact -->, which matters because every registered server's
262
262
  tool list is charged against the context window on every turn.
263
263
 
264
264
  Per-family tool counts are `toolCategories` in [`facts.json`](facts.json), taken from the
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-11",
4
- "version": "23.4.0",
4
+ "version": "23.5.0",
5
5
  "phaseSchema": 2,
6
6
  "phases": [
7
7
  {
@@ -41,13 +41,13 @@
41
41
  "skillCountAll": 256,
42
42
  "agentCount": 11,
43
43
  "hosts": ["Claude Code", "Codex CLI", "Copilot CLI"],
44
- "toolCount": 259,
44
+ "toolCount": 258,
45
45
  "toolCategories": {
46
46
  "ios": 42,
47
47
  "web": 38,
48
48
  "android": 35,
49
49
  "store": 35,
50
- "binary": 12,
50
+ "binary": 11,
51
51
  "vphone": 10,
52
52
  "media": 9,
53
53
  "code": 8,
@@ -70,5 +70,5 @@
70
70
  "test": 1
71
71
  },
72
72
  "pluginSkillCount": 269,
73
- "toolkitVersion": "4.3.0"
73
+ "toolkitVersion": "4.4.0"
74
74
  }
package/docs/features.md CHANGED
@@ -54,7 +54,7 @@ The install is not only useful while `/multi-agent` is running. `rules/outside-t
54
54
 
55
55
  - **Onboarded service credentials.** Resolve the logical name through `credential-store.sh` and read the issue, page or log. Writes route through the pipeline commands, which carry the rules that make them safe - issues are never auto-closed, PR bodies use `Ref:`, outward prose goes through the humanizer.
56
56
  - **The stack skills enabled for this repo.** Each toolkit's own `index` skill routes. The pipeline reads the effective `enabledPlugins` rather than keeping a stack table, so a seventh toolkit needs no code change.
57
- - **The `multi-agent` MCP.** <!-- fact:toolCount -->259<!-- /fact --> tools, most of them for a running app.
57
+ - **The `multi-agent` MCP.** <!-- fact:toolCount -->258<!-- /fact --> tools, most of them for a running app.
58
58
 
59
59
  Uninstall preserves the whole layer - tokens, the reader that opens them, the mapping that names them, the MCP registration. It is 1.5 kB of always-loaded text; the detail lives in a ref that loads on demand, and a gate keeps both under a ceiling because every byte there is paid by every session.
60
60
 
@@ -9,17 +9,10 @@
9
9
  * @module install/_platform-filter
10
10
  */
11
11
 
12
- import { existsSync, mkdirSync, readdirSync, rmSync, writeFileSync } from "fs";
13
- import { dirname, join } from "path";
12
+ import { readdirSync, writeFileSync } from "fs";
13
+ import { join } from "path";
14
14
  import { isDryRun } from "./_common.mjs";
15
15
  import { routeSkill } from "../pipeline/scripts/_stack-routing.mjs";
16
- import {
17
- aliasSkillMarkdown,
18
- aliasesFor,
19
- isAliasSkill,
20
- isUserInvocableOff,
21
- loadRenamed,
22
- } from "../pipeline/scripts/_renamed-skills.mjs";
23
16
 
24
17
  /** Uninstall reads this to know exactly which external skill dirs are ours to remove. */
25
18
  export const EXTERNAL_SKILLS_MANIFEST = ".external-skills-manifest.json";
@@ -78,49 +71,3 @@ export function writeExternalSkillsManifest(dest, names) {
78
71
  /* best-effort - a missing manifest just means uninstall falls back */
79
72
  }
80
73
  }
81
-
82
- /**
83
- * Write an alias skill under each renamed skill's old name, next to the
84
- * delivered skill it points at (pipeline/skills/renamed.json).
85
- *
86
- * An existing directory under the old name is replaced only when it is ours:
87
- * an alias written earlier, or a name `isOurs` vouches for (the previous
88
- * delivery manifest). A user's own directory that happens to carry the old
89
- * name is left alone.
90
- *
91
- * @param {string} dest - the host's skills directory
92
- * @param {string} pipelineSrc - absolute path to the package's `pipeline/`
93
- * @param {string[]} delivered - external skill names copied into `dest`
94
- * @param {(name: string) => boolean} [isOurs]
95
- * @returns {string[]} the old names now holding an alias
96
- */
97
- export function writeRenamedAliases(dest, pipelineSrc, delivered, isOurs = () => false) {
98
- let renamed;
99
- try {
100
- renamed = loadRenamed(dirname(pipelineSrc));
101
- } catch {
102
- return [];
103
- }
104
- const external = join(pipelineSrc, "skills", "shared", "external");
105
- const written = [];
106
- for (const [oldName, newName] of aliasesFor(renamed, delivered)) {
107
- const dir = join(dest, oldName);
108
- if (existsSync(dir) && !isOurs(oldName) && !isAliasSkill(join(dir, "SKILL.md"))) continue;
109
- written.push(oldName);
110
- if (isDryRun()) continue;
111
- try {
112
- rmSync(dir, { recursive: true, force: true });
113
- mkdirSync(dir, { recursive: true });
114
- writeFileSync(
115
- join(dir, "SKILL.md"),
116
- aliasSkillMarkdown(oldName, newName, {
117
- removeIn: renamed.removeIn,
118
- userInvocable: !isUserInvocableOff(join(external, newName, "SKILL.md")),
119
- }),
120
- );
121
- } catch {
122
- /* best-effort - the new name is delivered either way */
123
- }
124
- }
125
- return written;
126
- }
package/install/codex.mjs CHANGED
@@ -44,7 +44,6 @@ import {
44
44
  import {
45
45
  partitionExternalSkillsByPlugins,
46
46
  writeExternalSkillsManifest,
47
- writeRenamedAliases,
48
47
  } from "./_platform-filter.mjs";
49
48
  import { generateCodexInstructions } from "./_codex-instructions.mjs";
50
49
  import { mergeManagedBlock } from "./_managed-block.mjs";
@@ -490,8 +489,7 @@ function installSkillRefs(pipelineSrc, dest, home, platformFlag) {
490
489
  for (const name of keep) {
491
490
  count += copyTreeRewritten(join(externalSrc, name), join(dest, name));
492
491
  }
493
- const aliases = writeRenamedAliases(dest, pipelineSrc, keep);
494
- writeExternalSkillsManifest(dest, [...keep, ...aliases]);
492
+ writeExternalSkillsManifest(dest, keep);
495
493
  console.log(
496
494
  ` -> stack filter (${selectionSource}): ${keep.length} kept, ${skipped.length} skipped`,
497
495
  );
@@ -31,7 +31,6 @@ import {
31
31
  EXTERNAL_SKILLS_MANIFEST,
32
32
  partitionExternalSkillsByPlugins,
33
33
  writeExternalSkillsManifest,
34
- writeRenamedAliases,
35
34
  } from "./_platform-filter.mjs";
36
35
  import { DEV_ONLY_SCRIPTS, countDevOnlyFiles } from "./_dev-only-files.mjs";
37
36
  import { generateCopilotInstructions } from "./_copilot-instructions.mjs";
@@ -453,13 +452,10 @@ function installSkills(opts) {
453
452
  /* non-fatal */
454
453
  }
455
454
  }
456
- const aliases = writeRenamedAliases(dest, pipelineSrc, keep, (n) =>
457
- Boolean(prevDelivered?.has(n)),
458
- );
459
455
  // A name the previous delivery wrote that this catalog no longer has at all
460
- // (a renamed skill's old copy, an alias past its removal release) is ours
461
- // to remove; nothing else would ever clean it up.
462
- const current = new Set([...keep, ...skipped, ...aliases]);
456
+ // (a skill that was renamed or dropped) is ours to remove; nothing else
457
+ // would ever clean it up.
458
+ const current = new Set([...keep, ...skipped]);
463
459
  for (const name of prevDelivered ?? []) {
464
460
  if (current.has(name) || isDryRun()) continue;
465
461
  try {
@@ -468,7 +464,7 @@ function installSkills(opts) {
468
464
  /* non-fatal */
469
465
  }
470
466
  }
471
- writeExternalSkillsManifest(dest, [...keep, ...aliases]);
467
+ writeExternalSkillsManifest(dest, keep);
472
468
  console.log(
473
469
  ` -> stack filter (${selectionSource}): ${keep.length} kept, ${skipped.length} skipped`,
474
470
  );