@mmerterden/multi-agent-pipeline 23.4.0 → 23.6.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.
- package/CHANGELOG.md +47 -6
- package/README.md +4 -4
- package/README.tr.md +4 -4
- package/SECURITY.md +16 -0
- package/docs/architecture.md +1 -1
- package/docs/ecosystem.md +9 -9
- package/docs/facts.json +10 -10
- package/docs/features.md +1 -1
- package/install/_platform-filter.mjs +2 -55
- package/install/codex.mjs +1 -3
- package/install/copilot.mjs +4 -8
- package/package.json +2 -2
- package/pipeline/commands/multi-agent/design-check/SKILL.md +1 -0
- package/pipeline/contract/CHANGELOG.md +14 -0
- package/pipeline/contract/README.md +1 -0
- package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
- package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
- package/pipeline/contract/manifest.json +14 -1
- package/pipeline/contract/types/index.d.ts +28 -2
- package/pipeline/lib/stack-detect.sh +1 -1
- package/pipeline/lib/usage-names.generated.mjs +9 -1
- package/pipeline/multi-agent-refs/design-check/init-inventory.md +11 -1
- package/pipeline/multi-agent-refs/features/remote-control.md +2 -1
- package/pipeline/multi-agent-refs/features/usage-reporting.md +5 -5
- package/pipeline/multi-agent-refs/help/en.md +1 -1
- package/pipeline/multi-agent-refs/help/tr.md +1 -1
- package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +1 -1
- package/pipeline/multi-agent-refs/outside-the-pipeline.md +2 -1
- package/pipeline/multi-agent-refs/toolkit-tools.md +1 -0
- package/pipeline/office/index.html +104 -5
- package/pipeline/office/toolkit.json +1 -1
- package/pipeline/rules/outside-the-pipeline.md +1 -1
- package/pipeline/schemas/mcp-health.schema.json +96 -0
- package/pipeline/schemas/toolkit-path-params.json +40 -7
- package/pipeline/scripts/_contract-core.mjs +1 -1
- package/pipeline/scripts/_contract-routes-office.mjs +12 -0
- package/pipeline/scripts/_stack-routing.mjs +1 -0
- package/pipeline/scripts/build-stack-plugins.mjs +1 -47
- package/pipeline/scripts/contract-server.mjs +2 -0
- package/pipeline/scripts/design-check-config.mjs +205 -0
- package/pipeline/scripts/gen-facts.mjs +1 -2
- package/pipeline/scripts/health-report.mjs +35 -8
- package/pipeline/scripts/mcp-health.mjs +309 -0
- package/pipeline/scripts/remote/handler.mjs +19 -6
- package/pipeline/scripts/remote/store.mjs +8 -5
- package/pipeline/scripts/skill-usage.mjs +16 -5
- package/pipeline/scripts/usage-health.mjs +10 -1
- package/pipeline/skills/.skill-manifest.json +6 -2
- package/pipeline/skills/.skills-index.json +12 -1
- package/pipeline/skills/shared/README.md +4 -3
- package/pipeline/skills/shared/external/ink-animation/SKILL.md +230 -0
- package/pipeline/skills/shared/external/ink-animation/evals/evals.json +41 -0
- package/pipeline/skills/skills-index.md +2 -1
- package/manifest.json +0 -2055
- package/pipeline/scripts/_renamed-skills.mjs +0 -164
- package/pipeline/skills/renamed.json +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -16,6 +16,43 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
16
16
|
|
|
17
17
|
## [Unreleased]
|
|
18
18
|
|
|
19
|
+
## [23.6.0] - 2026-11-13
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- The `ink-animation` skill (ai-common-toolkit): a hand-inked procedural line animation from a scene description, as one animated SVG or HTML file or an MP4, driven by the toolkit's `media_ink_plan`, `media_ink_check` and `media_ink_render`. It is routed to the common plugin like the other cross-stack knowledge skills.
|
|
24
|
+
- Toolkit 4.5.0 tool surface, 267 tools: the three `media_ink_*` tools and six `vphone_*` tools (`vphone_list_apps`, `vphone_launch_app`, `vphone_open_url`, `vphone_tap_element`, `vphone_type_element`, `vphone_wait_for`). The path-parameter table, the usage name list and the tool lists in `outside-the-pipeline.md` and `docs/ecosystem.md` carry them.
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- A health section that is built from several parts reports one specific reason id to usage reporting: the id of the part that decides the section's colour (`services.refused`, `install.behind`, `sessions.open`, `autopilot.waiting`, `disk.prune` and so on), where it used to report the generic join id. `usage-health.mjs` keeps only an id from the health message catalogue and reports `other` for anything else.
|
|
29
|
+
- The recorded toolkit is 4.5.0 with 267 tools in 25 families, and the plugin marketplace carries 270 skills.
|
|
30
|
+
|
|
31
|
+
## [23.5.0] - 2026-11-11
|
|
32
|
+
|
|
33
|
+
### Added
|
|
34
|
+
|
|
35
|
+
- `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.
|
|
36
|
+
- 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.
|
|
37
|
+
- `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.
|
|
38
|
+
- `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`.
|
|
39
|
+
- `lint-phase-labels.mjs` checks an "Agent definitions (used in Phase N and Phase M)" lead against the phases the listed agent files declare.
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- 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.
|
|
44
|
+
- `dispatcher.md` names Phase 1 and Phase 3 for the agent definitions.
|
|
45
|
+
- 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.
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- `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.
|
|
50
|
+
|
|
51
|
+
### Removed
|
|
52
|
+
|
|
53
|
+
- 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.
|
|
54
|
+
- The tracked `out.txt` at the repository root.
|
|
55
|
+
|
|
19
56
|
## [23.4.0] - 2026-11-11
|
|
20
57
|
|
|
21
58
|
### Changed
|
|
@@ -27,7 +64,7 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
27
64
|
- 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
65
|
- 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
66
|
- `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`
|
|
67
|
+
- `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
68
|
- `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
69
|
|
|
33
70
|
### Added
|
|
@@ -37,11 +74,10 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
37
74
|
- `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
75
|
- `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
76
|
- `features/cost-analysis.md` is linked from `/multi-agent:status`.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- `
|
|
44
|
-
- The legacy wiki prompt flow in `wiki-capture.md` and the version stub in the analysis intake ref.
|
|
77
|
+
- `/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`.
|
|
78
|
+
- 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`.
|
|
79
|
+
- 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.
|
|
80
|
+
- 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
81
|
- 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
82
|
- 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
83
|
- Stacks `rust`, `java`, `csharp` and `cpp` for `graph-build` (rules under `code-graph-rules/` and `test-gap-rules/`).
|
|
@@ -60,6 +96,11 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
60
96
|
- `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
97
|
- 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
98
|
|
|
99
|
+
### Removed
|
|
100
|
+
|
|
101
|
+
- `docs/FIGMA_PIPELINE.md`, a guide to a retired skill catalog (the current flow is `rules/figma-pipeline.md` and the stack plugins).
|
|
102
|
+
- The legacy wiki prompt flow in `wiki-capture.md` and the version stub in the analysis intake ref.
|
|
103
|
+
|
|
63
104
|
## [23.3.0] - 2026-11-10
|
|
64
105
|
|
|
65
106
|
### 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
|
|
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 -->
|
|
575
|
+
- **The `multi-agent` MCP.** <!-- fact:toolCount -->267<!-- /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
|
-
|
|
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 -->
|
|
573
|
+
- **`multi-agent` MCP.** <!-- fact:toolCount -->267<!-- /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
|
-
|
|
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/architecture.md
CHANGED
|
@@ -120,7 +120,7 @@ graph TB
|
|
|
120
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/>174 curated skills<br/>(authoring source for the<br/>multi-agent-plugins marketplace)"]
|
|
124
124
|
end
|
|
125
125
|
|
|
126
126
|
subgraph "Quality Gates"
|
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 -->
|
|
10
|
+
| **`multi-agent-mcp`** | The pipeline's hands on devices and browsers: <!-- fact:toolCount -->267<!-- /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
|
|
@@ -113,7 +113,7 @@ hand-authored *inside* `multi-agent-plugins` and are never touched by sync.
|
|
|
113
113
|
<!-- facts: skillCount="skills - single authoring source" -->
|
|
114
114
|
```mermaid
|
|
115
115
|
graph TD
|
|
116
|
-
EXT["pipeline/skills/shared/external/<br/>
|
|
116
|
+
EXT["pipeline/skills/shared/external/<br/>174 skills - single authoring source<br/>(the pipeline's own phases read these too)"]
|
|
117
117
|
|
|
118
118
|
EXT -->|"cross-stack skills"| COMMONP["ai-common-toolkit"]
|
|
119
119
|
EXT -->|"outside facts for analysis"| ANAP["ai-analyst-toolkit"]
|
|
@@ -136,7 +136,7 @@ graph TD
|
|
|
136
136
|
style EXT fill:#ffd,stroke:#333
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
Together the plugins carry more skills than the <!-- fact:skillCount -->
|
|
139
|
+
Together the plugins carry more skills than the <!-- fact:skillCount -->174<!-- /fact -->-skill source because each
|
|
140
140
|
plugin also carries its own authored `reference/`, `workflow/` and `tools/`
|
|
141
141
|
skills and an `index` router. A vendored knowledge skill ships in exactly one
|
|
142
142
|
plugin: cross-stack skills go to `ai-common-toolkit` rather than into every
|
|
@@ -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 -->
|
|
243
|
-
at toolkit <!-- fact:toolkitVersion -->4.
|
|
242
|
+
<!-- fact:toolCount -->267<!-- /fact --> tools in <!-- fact:toolFamilyCount -->25<!-- /fact --> families, counted from the server's own `tools/list` response
|
|
243
|
+
at toolkit <!-- fact:toolkitVersion -->4.5.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 -->
|
|
261
|
-
sees 50 tools instead of <!-- fact:toolCount -->
|
|
260
|
+
ones, and unset serves all <!-- fact:toolCount -->267<!-- /fact -->. A frontend repo that sets `web,code,context`
|
|
261
|
+
sees 50 tools instead of <!-- fact:toolCount -->267<!-- /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
|
|
@@ -272,7 +272,7 @@ it are in [`toolkit-tools.md`](../pipeline/multi-agent-refs/toolkit-tools.md), w
|
|
|
272
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
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
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`)
|
|
275
|
+
| `vphone` | virtual iPhones from the separately installed vphone-launchpad host, reached outside a run (`outside-the-pipeline.md`): lifecycle, screenshots, UI tree, element-based tap, typing and waits, app listing and launch, URL opening, `vphone_rpc`; the iOS stack guide lists them |
|
|
276
276
|
| `code` | `/multi-agent:refactor`, Phase 3 reviewers needing a real symbol graph rather than grep |
|
|
277
277
|
| `design` | `design-check` (mock-mode vs Figma conformance, component variants, `design_visual_compare`, `design_contrast_check`) |
|
|
278
278
|
| `graph` | `/multi-agent:graph` and the code-graph feature: projects, queries, neighbours, paths, `graph_stats`, `graph_hubs`, `graph_cluster` |
|
|
@@ -288,7 +288,7 @@ it are in [`toolkit-tools.md`](../pipeline/multi-agent-refs/toolkit-tools.md), w
|
|
|
288
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
289
|
| `agent` | `agent_run_steps`, `agent_query_output`: any skill that needs a scripted multi-step device flow in one round trip |
|
|
290
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) |
|
|
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); `media_ink_plan`, `media_ink_check` and `media_ink_render` for a procedural pen-on-paper animation (the `ink-animation` skill) |
|
|
292
292
|
| `coverage` | `coverage_gap`: `/multi-agent:test-gen` |
|
|
293
293
|
| `social` | `social_read` for the research engine, off unless `MCP_TOOLKIT_CAPS` has `social`, never unattended |
|
|
294
294
|
| `test` | `test_results_classify`: test-result triage |
|
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
|
-
"generatedAt": "2026-11-
|
|
4
|
-
"version": "23.
|
|
3
|
+
"generatedAt": "2026-11-13",
|
|
4
|
+
"version": "23.6.0",
|
|
5
5
|
"phaseSchema": 2,
|
|
6
6
|
"phases": [
|
|
7
7
|
{
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
},
|
|
38
38
|
"reworkCap": 3,
|
|
39
39
|
"commandCount": 80,
|
|
40
|
-
"skillCount":
|
|
41
|
-
"skillCountAll":
|
|
40
|
+
"skillCount": 174,
|
|
41
|
+
"skillCountAll": 257,
|
|
42
42
|
"agentCount": 11,
|
|
43
43
|
"hosts": ["Claude Code", "Codex CLI", "Copilot CLI"],
|
|
44
|
-
"toolCount":
|
|
44
|
+
"toolCount": 267,
|
|
45
45
|
"toolCategories": {
|
|
46
46
|
"ios": 42,
|
|
47
47
|
"web": 38,
|
|
48
48
|
"android": 35,
|
|
49
49
|
"store": 35,
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
50
|
+
"vphone": 16,
|
|
51
|
+
"media": 12,
|
|
52
|
+
"binary": 11,
|
|
53
53
|
"code": 8,
|
|
54
54
|
"design": 8,
|
|
55
55
|
"graph": 8,
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
"social": 1,
|
|
70
70
|
"test": 1
|
|
71
71
|
},
|
|
72
|
-
"pluginSkillCount":
|
|
73
|
-
"toolkitVersion": "4.
|
|
72
|
+
"pluginSkillCount": 270,
|
|
73
|
+
"toolkitVersion": "4.5.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 -->
|
|
57
|
+
- **The `multi-agent` MCP.** <!-- fact:toolCount -->267<!-- /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 {
|
|
13
|
-
import {
|
|
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
|
-
|
|
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
|
);
|
package/install/copilot.mjs
CHANGED
|
@@ -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
|
|
461
|
-
//
|
|
462
|
-
const current = new Set([...keep, ...skipped
|
|
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,
|
|
467
|
+
writeExternalSkillsManifest(dest, keep);
|
|
472
468
|
console.log(
|
|
473
469
|
` -> stack filter (${selectionSource}): ${keep.length} kept, ${skipped.length} skipped`,
|
|
474
470
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmerterden/multi-agent-pipeline",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.6.0",
|
|
4
4
|
"description": "6-phase AI development pipeline with full orchestration on Claude Code, Copilot CLI and Codex CLI. Analysis, planning, TDD, CLI-aware parallel review with consensus surfacing + Fable triage, default-FAIL evidence gates, secret + intent guards, per-phase cost ledger, persistent learnings memory, wiki generation, commit automation. Token-preserving uninstall.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"start": "node index.js",
|
|
23
|
-
"test": "npm run format:check && npm run lint && node --test test/*.test.mjs && node --test test/*.serial.mjs && node pipeline/scripts/run-smokes.mjs && node pipeline/scripts/lint-skills.mjs && node pipeline/scripts/gen-skills-index.mjs --check && node pipeline/scripts/build-skills-index.mjs --check && node pipeline/scripts/gen-free-llm-skill.mjs --check && node pipeline/scripts/gen-secret-patterns.mjs --check && node pipeline/scripts/gen-free-hosts.mjs --check && node pipeline/scripts/gen-usage-names.mjs --check && node pipeline/scripts/sync-skill-copies.mjs --check && node pipeline/scripts/gen-toolkit-path-params.mjs --check && node pipeline/scripts/gen-fact-marks.mjs --check && node pipeline/scripts/gen-office-command-matrix.mjs --check && node pipeline/scripts/gen-access-check.mjs --check && node pipeline/scripts/lint-personas.mjs && node pipeline/scripts/lint-mcp-refs.mjs && node pipeline/scripts/eval-triage.mjs && node pipeline/scripts/eval-golden-tasks.mjs && node pipeline/scripts/eval-intent.mjs && node pipeline/scripts/eval-recall.mjs && node pipeline/scripts/eval-call-edges.mjs && node pipeline/scripts/eval-persona-walk.mjs && node pipeline/scripts/eval-guard-robustness.mjs --fast && node pipeline/scripts/validate-schemas.mjs && node pipeline/scripts/validate-prefs.mjs && node pipeline/scripts/scorecard.mjs",
|
|
23
|
+
"test": "npm run format:check && npm run lint && node --test test/*.test.mjs && node --test test/*.serial.mjs && node pipeline/scripts/run-smokes.mjs && node pipeline/scripts/lint-skills.mjs && node pipeline/scripts/gen-skills-index.mjs --check && node pipeline/scripts/build-skills-index.mjs --check && node pipeline/scripts/gen-free-llm-skill.mjs --check && node pipeline/scripts/gen-secret-patterns.mjs --check && node pipeline/scripts/gen-free-hosts.mjs --check && node pipeline/scripts/gen-usage-names.mjs --check && node pipeline/scripts/sync-skill-copies.mjs --check && node pipeline/scripts/gen-toolkit-path-params.mjs --check && node pipeline/scripts/gen-fact-marks.mjs --check && node pipeline/scripts/gen-office-command-matrix.mjs --check && node pipeline/scripts/gen-access-check.mjs --check && node pipeline/scripts/lint-unused-exports.mjs --baseline pipeline/scripts/fixtures/unused-exports-baseline.txt && node pipeline/scripts/lint-personas.mjs && node pipeline/scripts/lint-mcp-refs.mjs && node pipeline/scripts/eval-triage.mjs && node pipeline/scripts/eval-golden-tasks.mjs && node pipeline/scripts/eval-intent.mjs && node pipeline/scripts/eval-recall.mjs && node pipeline/scripts/eval-call-edges.mjs && node pipeline/scripts/eval-persona-walk.mjs && node pipeline/scripts/eval-guard-robustness.mjs --fast && node pipeline/scripts/validate-schemas.mjs && node pipeline/scripts/validate-prefs.mjs && node pipeline/scripts/scorecard.mjs",
|
|
24
24
|
"test:unit": "node --test test/*.test.mjs && node --test test/*.serial.mjs",
|
|
25
25
|
"test:smoke": "node pipeline/scripts/run-smokes.mjs",
|
|
26
26
|
"lint:skills": "node pipeline/scripts/lint-skills.mjs",
|
|
@@ -43,6 +43,7 @@ Read `$HOME/.claude/multi-agent-refs/design-check/mcp-currency-gate.md` for step
|
|
|
43
43
|
|
|
44
44
|
0. **MCP currency gate** before anything expensive: session stale or disk stale: **HALT** (reconnect, or update the checkout). Never substitute a local `node` call for a missing tool.
|
|
45
45
|
1-3. Repo picker, module picker, platform detect.
|
|
46
|
+
3b. **Config check**: `design-check-config.mjs --repo <repo>` holds `design-check-config.json` to its schema; exit 1: print its output as written and **HALT**, exit 2: the repo path does not resolve, stop, any other exit continues (a missing file is valid). Detail in `init-inventory.md`.
|
|
46
47
|
4. **Mock feasibility** (`design_mock_detect`): `false`: offer the **snapshot lane** (`captureLane = "snapshot"`, no in-app flips), declined or not renderable: **HALT** with `reason`, never fabricate a comparison. `"debug-only"`: warn, Continue / Cancel. `true`: persist `state.designCheck.mock`.
|
|
47
48
|
5. **Scenario inventory** (`design_scenario_inventory`) is the target set; persist verbatim. `truncated: true`: say so and pass `coverage.truncatedInventory: true` in Phase 4. `targetCount: 0`: only the default launch state is auditable. List `ignored[]`.
|
|
48
49
|
6-7. Scope resolve, `--resume`; confirm only above `coverage.confirmAbove` relaunches, as a cost estimate, never offering a smaller scope.
|
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
Versions of the client contract (`manifest.json` `contractVersion`), separate
|
|
4
4
|
from the package version. See `README.md` for what counts as minor and major.
|
|
5
5
|
|
|
6
|
+
## 2.3.0
|
|
7
|
+
|
|
8
|
+
Added. Nothing existing changes shape.
|
|
9
|
+
|
|
10
|
+
- `mcp-health` 1.0.0 (`GET /v1/mcp-health`, new, local only): per MCP server and
|
|
11
|
+
tool over the last seven days, the calls, the server-side failures and the
|
|
12
|
+
minute of the last failure, read from the local failure log and call counter.
|
|
13
|
+
A server is named only from the shipped public list (any other is `private`)
|
|
14
|
+
and a tool only from the shipped tool list of this product's own server (any
|
|
15
|
+
other is `other`). `skipped` names a source left out for being over the size
|
|
16
|
+
cap or unreadable. `callsCounted` is false when usage counting is off or no
|
|
17
|
+
counter file exists; `calls` then holds only failed calls. Names, counts and
|
|
18
|
+
minutes only.
|
|
19
|
+
|
|
6
20
|
## 2.2.0
|
|
7
21
|
|
|
8
22
|
Added. Nothing existing changes shape.
|
|
@@ -65,6 +65,7 @@ same bytes (`test/contract-parity.test.mjs`):
|
|
|
65
65
|
| Key cabinet (names and verdicts, never values) | `office-credentials.mjs --json [--probe]` | `GET /v1/credentials` |
|
|
66
66
|
| Institutional memory | `office-memory.mjs --json` | `GET /v1/memory` |
|
|
67
67
|
| Server room: sessions, today per model, health lights (local only) | `office-server-room.mjs --json` | `GET /v1/server-room` |
|
|
68
|
+
| MCP health: calls, failures and last failure per server and tool (local only) | `mcp-health.mjs --json` | `GET /v1/mcp-health` |
|
|
68
69
|
| Memory archive: decisions, security notes, learnings, graph report (local only) | `office-archive.mjs --json` | `GET /v1/archive` |
|
|
69
70
|
| Prune old run logs (two steps) | `office-prune.mjs preview\|apply N --json` | `POST /v1/prune-logs` |
|
|
70
71
|
| Disk space: measure, then the ticked categories (two steps, local only) | `disk-cleaner.mjs --dry-run\|--apply --json [--only=ids]` | `POST /v1/disk-clean` |
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"contractVersion": "2.
|
|
2
|
+
"contractVersion": "2.3.0",
|
|
3
3
|
"supportedMajors": [2, 1],
|
|
4
4
|
"description": "The pipeline's client contract: every surface a client reads or writes, the CLI invocation and the HTTP route that carry it, and the schema its JSON follows. Schemas are not copied here; schemasDir points at the one tree the producers validate against. Paths in cli are relative to the pipeline directory (installed: ~/.claude).",
|
|
5
5
|
"schemasDir": "../schemas",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"office-credentials.schema.json",
|
|
66
66
|
"office-memory.schema.json",
|
|
67
67
|
"office-server-room.schema.json",
|
|
68
|
+
"mcp-health.schema.json",
|
|
68
69
|
"office-archive.schema.json",
|
|
69
70
|
"prune-logs.schema.json",
|
|
70
71
|
"prune-logs-request.schema.json",
|
|
@@ -692,6 +693,18 @@
|
|
|
692
693
|
"risk": "read",
|
|
693
694
|
"note": "Every session from the activity document with its work, last step, tokens, estimated cost and duration; today's tokens per model; and six health lights (doctor, hooks, toolkit, gate, errors, autopilot) read from health-report.mjs's JSON, never probed, reused for two minutes. The rack status is the report's worst section. Local only: it carries session titles and work."
|
|
694
695
|
},
|
|
696
|
+
{
|
|
697
|
+
"id": "mcp-health",
|
|
698
|
+
"method": "GET",
|
|
699
|
+
"path": "/v1/mcp-health",
|
|
700
|
+
"query": [],
|
|
701
|
+
"cli": ["node", "scripts/mcp-health.mjs", "--json"],
|
|
702
|
+
"schema": "mcp-health.schema.json",
|
|
703
|
+
"version": "1.0.0",
|
|
704
|
+
"remote": "local-only",
|
|
705
|
+
"risk": "read",
|
|
706
|
+
"note": "Per MCP server and tool over the last seven days: calls, server-side failures and the minute of the last failure, from the local failure log and call counter. Servers are named only from the shipped public list (any other is private) and tools only from the shipped list of this product's server (any other is other); never arguments, results or error text. A source over the size cap is named in skipped; callsCounted is false when successful calls are not being counted. Local only."
|
|
707
|
+
},
|
|
695
708
|
{
|
|
696
709
|
"id": "archive",
|
|
697
710
|
"method": "GET",
|