@mmerterden/multi-agent-pipeline 24.1.1 → 24.3.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 +40 -0
- package/README.md +6 -5
- package/README.tr.md +6 -5
- package/docs/architecture.md +3 -3
- package/docs/ecosystem.md +5 -5
- package/docs/facts.json +4 -4
- package/install/_common.mjs +65 -0
- package/install/_plugin-skills.mjs +76 -18
- package/install/claude.mjs +7 -0
- package/install/codex.mjs +15 -1
- package/install/copilot.mjs +7 -0
- package/manifest.json +48 -43
- package/package.json +1 -1
- package/pipeline/commands/multi-agent/sync/SKILL.md +3 -3
- package/pipeline/commands/multi-agent/version/SKILL.md +67 -0
- package/pipeline/contract/CHANGELOG.md +10 -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 +4 -3
- package/pipeline/contract/types/index.d.ts +7 -5
- package/pipeline/lib/toolkit-install.mjs +147 -0
- package/pipeline/lib/usage-names.generated.mjs +2 -0
- package/pipeline/multi-agent-refs/cross-cli-contract.md +4 -4
- package/pipeline/multi-agent-refs/help/en.md +2 -1
- package/pipeline/multi-agent-refs/help/tr.md +2 -1
- package/pipeline/office/index.html +2 -2
- package/pipeline/schemas/disk-clean-request.schema.json +8 -2
- package/pipeline/schemas/disk-clean.schema.json +3 -2
- package/pipeline/schemas/hosts.json +7 -0
- package/pipeline/schemas/hosts.schema.json +17 -0
- package/pipeline/schemas/office-jobs.json +8 -0
- package/pipeline/schemas/version-report.schema.json +256 -0
- package/pipeline/scripts/_contract-core.mjs +1 -1
- package/pipeline/scripts/disk-cleaner.mjs +232 -5
- package/pipeline/scripts/feedback-send.mjs +7 -11
- package/pipeline/scripts/health-report.mjs +30 -53
- package/pipeline/scripts/version-report.mjs +868 -0
- package/pipeline/skills/.skill-manifest.json +8 -4
- package/pipeline/skills/.skills-index.json +12 -1
- package/pipeline/skills/shared/README.md +4 -3
- package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +3 -3
- package/pipeline/skills/shared/core/multi-agent-version/SKILL.md +27 -0
- package/pipeline/skills/shared/external/disk-cleaner/SKILL.md +2 -1
- package/pipeline/skills/shared/external/disk-cleaner/scripts/disk-cleaner.mjs +232 -5
- package/pipeline/skills/skills-index.md +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,46 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## [24.3.0] - 2026-11-18
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **A gate holds the four hosts to one knowledge-skill set.** The skills reach them by three routes: Claude Code loads them from the marketplace plugin, Copilot has them written into its skills directory, and Codex and the local host read them as reference files. Three routes are three ways for one host to fall behind, and the symptom is silent, because the router cites a skill by path and the path simply is not there. `smoke-host-skill-parity.sh` installs all four into a temporary home and asserts that every install-fed host carries every knowledge skill, that those hosts carry the same set, and that each knowledge skill routes to exactly one plugin, which is what a plugin-fed host ships. It also asserts a plugin-fed host receives none from the installer, since two copies of one skill is how a host comes to read the stale one.
|
|
22
|
+
- **`/multi-agent:clean-disk` can delete what a test run left behind.** A suite that runs every night writes the biggest regenerable thing on the machine and nothing deleted it: the result bundles, the recordings and screenshots taken while it ran, and the report files. The new `test-artifacts` target finds all three by shape rather than by any harness's directory names, so no product's paths live in the repository: a run is recognised by a result bundle or a report shaped like a test report, and media and report files count only inside such a directory, so a recording somebody saved among their own files is never a candidate. Nothing version control tracks is ever offered, which is what keeps a committed fixture from being read as a run's output. It is opt-in (`--test-artifacts`, older than `--artifact-days`, default 7), never unattended, and confirmed per run, because a recording can be the only evidence of a failure anybody still has. A harness that keeps its results outside a repository is named with `--artifact-root` or `DISK_CLEANER_ARTIFACT_ROOTS`.
|
|
23
|
+
|
|
24
|
+
- **The host registry says how a host receives its skills.** `install.knowledgeSkills` is `install` or `plugin`, and `install.knowledgeSkillsRoot` names the tree when it is `install`. The parity gate reads it rather than discovering the layout, so a host whose delivery changes has to declare it first.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **The installer read a stale copy of a plugin in silence.** Three places on a machine hold a copy of one plugin: a working checkout, the marketplace directory and the version-named plugin cache, and they sit at three different versions (measured here: a checkout at 0.26.4 against 0.26.2 in both others for one plugin, 0.11.0 against 0.10.0 and 0.9.1 for another). The resolver took the first path that existed, which was written when the checkout was the only thing `/multi-agent:sync` rebuilt: a user who had not pulled for a month got last month's skills while a newer copy sat beside it, and nothing said so. The newest copy now wins, the marketplace directory is read as a source, a copy that declares no version is used only when nothing declares one, and the install log names the version it read.
|
|
29
|
+
- **`npm pack` was not reproducible, and it broke the publisher's resume path.** `manifest.json` ships inside the tarball and carried a clock reading, so two packs of one commit were two different tarballs. A publish interrupted between steps could not then prove the second tarball was the first, and the registry refused bytes it already held. The timestamp now comes from the source: `SOURCE_DATE_EPOCH` when set, otherwise the commit's own date, and the clock only outside a checkout, where there is no commit to date the content by.
|
|
30
|
+
- **An install only ever added files, so attribution files an earlier version wrote stayed.** This ecosystem publishes no third-party notice, but six `NOTICE-*.md` from versions that did were still sitting in a Copilot skills tree; the uninstaller removed them and an update did not. Install now prunes that one named class from the root of a host's skills tree, and a test proves an update removes a leftover.
|
|
31
|
+
- **The Codex install emptied its own skill tree when the package carried none.** It rebuilds the tree by wiping it and copying the sources back, which only holds while there is a source to copy. With no source tree the wipe ran alone and put nothing back, and this host reads a skill by path, so the result was a host that could load none. The sources are checked first and the installed tree is left as it was found.
|
|
32
|
+
- **Three smoke suites were held to a budget smaller than their own work.** The general 180-second timeout is a hang detector, and it answers for almost every suite; the install-leak gate measured 258 seconds, gate-wiring 273, because they install four hosts and run other suites against each tree. A red that means "the machine was busy" stops being read. Those three now have their own budgets, each recorded with what it measured at, and an explicit `SMOKE_TIMEOUT_SECONDS` still governs every suite.
|
|
33
|
+
- **Twenty-three timing assertions failed on a busy machine rather than on a slow path.** A fixed wall-clock bound asks two questions at once, and only one is worth failing over: measured at load 25, a scan that takes 6 ms alone took 151 against a 100 ms bound, while a bare `node -e 0` took 91 ms against the 35 to 45 it costs unloaded. Budgets are now scaled by how slow the machine is right now, probed with a node start, and the factor never drops below 1, so no gate is loosened on an idle machine. A quadratic path, which overshoots by orders of magnitude, still fails.
|
|
34
|
+
- **The disk cleaner found build output by name, so it missed most of it.** A tool that chooses its own `-derivedDataPath` writes the same tree under a name no list can enumerate. Measured on one machine: four such copies beside a repository's worktrees held 104 GB, the walk went through all of it looking for a folder called `DerivedData`, and the report came back with 11 GB. The shape decides now, not the name: Xcode writes `Build` beside its `.noindex` caches, SwiftPM a `build.db` beside its manifest, and an ordinary directory costs one extra stat. On the same machine it then found a 4 GB `build` directory the name list had never matched.
|
|
35
|
+
- **Two gates were red and nothing read them.** `lint-host-literals` and the skills index both sit after the smoke suites in `npm test`, so a smoke failure meant they never ran: three test files enumerated host ids past the ratchet and the shared skills README described a command by its old wording. The test fixtures now take their hosts from the registry, which also made one of them cover the third install-fed host, and the ratchet is exact.
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
|
|
39
|
+
- **`run-smokes.mjs` can be imported.** Its budget table and resolver are exported and the run itself sits behind an entry-point check, so what a suite's budget resolves to is a unit test rather than a sleep.
|
|
40
|
+
|
|
41
|
+
## [24.2.0] - 2026-11-18
|
|
42
|
+
|
|
43
|
+
### Added
|
|
44
|
+
|
|
45
|
+
- **`/multi-agent:version`** reports the three repositories of the ecosystem in one table, by name: `multi-agent-pipeline`, `multi-agent-mcp` and `multi-agent-plugins`, each with the version in use, the latest one upstream, its release date, the date it landed here and a verdict. They ship separately, so "am I up to date" has three answers, and the one that is behind is usually not the one the question was about. `current` requires an upstream read in the same run, so offline every npm row is `unknown` with its reason rather than a stale reassurance; a marketplace clone is compared by ancestry, so a commit fetched but never merged reads as behind rather than ahead. Drift between local parts - a host on another version, a version marker that does not read, a toolkit older than the one the release was built against, a plugin enabled but not installed, a server registration pinned to one version - is reported as a note, never as a verdict. Reads only: no cache file, no npm invocation, no upgrade, and a registration whose spec is a URL is never echoed, because such a URL carries a token. `--json` carries the whole document (`schemas/version-report.schema.json`), and the office panel runs it like `doctor` and `health`.
|
|
46
|
+
|
|
47
|
+
### Fixed
|
|
48
|
+
|
|
49
|
+
- **A machine without Claude Code reported itself as having no install.** `/multi-agent:health` read one fixed host tree, so a Copilot CLI-only or Local LLM-only machine was told the pipeline was not installed, and a version difference on the fourth host was never reported. Host versions now come from the registry (`schemas/hosts.json`), every installed host is compared against the first one, and each is named by its label.
|
|
50
|
+
- **A bug report from the fourth host carried no version.** `/multi-agent:feedback` looked for the version marker in three host trees and reported `unknown` from the local host; it now reads the registry's hosts.
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
|
|
54
|
+
- **24.2.0 is the supported-version floor.** The registry's `required` dist-tag points at it, so an install below it halts at Phase 0 and asks for `/multi-agent:update` instead of starting a run on a version that is no longer supported. `/multi-agent:version` reports that state as `below-floor`, with the reason, rather than as a plain "behind".
|
|
55
|
+
- The lookup that finds which copy of the MCP server a host would run moved into `lib/toolkit-install.mjs`, so the health report and the version report answer from the same code. A registration's `env` is not read by either: a credential kept there cannot reach a report.
|
|
56
|
+
|
|
17
57
|
## [24.1.1] - 2026-11-18
|
|
18
58
|
|
|
19
59
|
### Changed
|
package/README.md
CHANGED
|
@@ -161,7 +161,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
161
161
|
|
|
162
162
|
## Commands
|
|
163
163
|
|
|
164
|
-
`/multi-agent` plus <!-- fact:commandCount -->
|
|
164
|
+
`/multi-agent` plus <!-- fact:commandCount -->82<!-- /fact --> sub-commands. `/multi-agent:help` renders the same catalog in your terminal, in your `outputLanguage`.
|
|
165
165
|
|
|
166
166
|
### Pipeline entries
|
|
167
167
|
|
|
@@ -275,6 +275,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
275
275
|
| `/multi-agent:review-rounds [1\|2\|3\|status\|reset] [--repo]` | How many times review may send work back to development: <!-- fact:reworkDefault -->2<!-- /fact --> rounds by default, adjustable from 1 to <!-- fact:reworkCap -->3<!-- /fact -->. No argument opens a picker; `/multi-agent "task" --review-rounds N` sets it for one run |
|
|
276
276
|
| `/multi-agent:sync` | One-shot sync: Claude Code, Copilot CLI, pipeline repo, website, toolkit MCP |
|
|
277
277
|
| `/multi-agent:update` | Update to the latest published npm release and run migrations |
|
|
278
|
+
| `/multi-agent:version` | The version of each repository this machine runs - pipeline, MCP toolkit, plugin marketplace - with the date each was released and which one is behind |
|
|
278
279
|
| `/multi-agent:doctor` | Health check of the install: layout, preferences, credentials, hooks, host capabilities; the exit code is the verdict |
|
|
279
280
|
| `/multi-agent:health` | One look at the machine: services, toolkit, install, sessions and today's cost, autopilot, office, disk, the last local gate, errors; `--lang en\|tr` picks the language |
|
|
280
281
|
| `/multi-agent:uninstall` | Remove the pipeline from every CLI. Keychain tokens always left intact |
|
|
@@ -529,18 +530,18 @@ This enables the matching plugin (+ the shared `ai-common` plugin) in the repo's
|
|
|
529
530
|
|
|
530
531
|
## Tool support
|
|
531
532
|
|
|
532
|
-
The pipeline runs natively on **Claude Code**, **Copilot CLI**, **Codex CLI** and the **local-model host** - every one installs from the same `pipeline/` source and gets the same <!-- fact:commandCount -->
|
|
533
|
+
The pipeline runs natively on **Claude Code**, **Copilot CLI**, **Codex CLI** and the **local-model host** - every one installs from the same `pipeline/` source and gets the same <!-- fact:commandCount -->82<!-- /fact --> commands. Which host you are on is a record in `pipeline/schemas/hosts.json`, not a branch in each installer.
|
|
533
534
|
|
|
534
535
|
| Tool | Flag | What it installs |
|
|
535
536
|
| ----------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
536
537
|
| Claude Code | `--claude` (default) | slash commands + skills + agents + the enforcement hooks (secret scan, agent-guard, read-size gate, run-scope guard, run-stop guard) |
|
|
537
|
-
| Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->
|
|
538
|
-
| Codex CLI | `--codex` | one router skill + <!-- fact:commandCount -->
|
|
538
|
+
| Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->82<!-- /fact --> sub-command skills + scripts + its own `multi-agent-refs` tree |
|
|
539
|
+
| Codex CLI | `--codex` | one router skill + <!-- fact:commandCount -->82<!-- /fact --> specs as refs + a `/multi-agent-<name>` prompt per user-only command + <!-- fact:agentCount -->11<!-- /fact --> agent TOML + `AGENTS.md` block + `codex mcp add` |
|
|
539
540
|
| Local LLM | `--local` | the same as Codex CLI, in `~/.codex-local/`, bound to a model served from this machine ([local LLM](pipeline/multi-agent-refs/features/local-model.md)) |
|
|
540
541
|
|
|
541
542
|
Filter skills by stack with `--platform=ios\|android\|all`.
|
|
542
543
|
|
|
543
|
-
**Why Codex gets one skill and not <!-- fact:commandCount -->
|
|
544
|
+
**Why Codex gets one skill and not <!-- fact:commandCount -->82<!-- /fact -->.** Codex assembles every discovered skill's name
|
|
544
545
|
and description into a single prompt block and drops entries when it overflows, with no
|
|
545
546
|
error. Measured on 0.145: installing one plugin that declares 142 skills surfaced only
|
|
546
547
|
75 of them and evicted an unrelated user skill. So on Codex the pipeline ships a single
|
package/README.tr.md
CHANGED
|
@@ -160,7 +160,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
|
|
|
160
160
|
|
|
161
161
|
## Komutlar
|
|
162
162
|
|
|
163
|
-
`/multi-agent` ve <!-- fact:commandCount -->
|
|
163
|
+
`/multi-agent` ve <!-- fact:commandCount -->82<!-- /fact --> alt komut. `/multi-agent:help` aynı katalogu terminalde, `outputLanguage` ayarına göre gösterir.
|
|
164
164
|
|
|
165
165
|
### Pipeline girişleri
|
|
166
166
|
|
|
@@ -274,6 +274,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
|
|
|
274
274
|
| `/multi-agent:review-rounds [1\|2\|3\|status\|reset] [--repo]` | Review işi geliştirmeye kaç kez geri gönderebilir: varsayılan <!-- fact:reworkDefault -->2<!-- /fact --> tur, 1 ile <!-- fact:reworkCap -->3<!-- /fact --> arasında ayarlanır. Argümansız çalışınca seçici açılır; `/multi-agent "görev" --review-rounds N` tek koşu için ayarlar |
|
|
275
275
|
| `/multi-agent:sync` | Tek atımlık senkron: Claude Code, Copilot CLI, pipeline repo, website, toolkit MCP |
|
|
276
276
|
| `/multi-agent:update` | npm'deki son yayına günceller ve migration'ları koşar |
|
|
277
|
+
| `/multi-agent:version` | Bu makinenin koştuğu her deponun sürümü - pipeline, MCP toolkit, plugin marketplace - yayın tarihleriyle ve hangisinin geride kaldığıyla |
|
|
277
278
|
| `/multi-agent:doctor` | Kurulumun sağlık kontrolü: yerleşim, tercihler, kimlik bilgileri, hook'lar, host yetenekleri; çıkış kodu verdiktin kendisi |
|
|
278
279
|
| `/multi-agent:health` | Makineye tek bakış: servisler, toolkit, kurulum, oturumlar ve bugünün maliyeti, otopilot, ofis, disk, son yerel kapı, hatalar; dili `--lang en\|tr` seçer |
|
|
279
280
|
| `/multi-agent:uninstall` | Pipeline'ı her CLI'dan kaldırır. Keychain token'larına hiç dokunmaz |
|
|
@@ -525,18 +526,18 @@ Bu, ilgili plugin'i (+ ortak `ai-common` plugin'ini) repo'nun `.claude/settings.
|
|
|
525
526
|
|
|
526
527
|
## Araç desteği
|
|
527
528
|
|
|
528
|
-
Pipeline **Claude Code**, **Copilot CLI**, **Codex CLI** ve **yerel model host'u** üzerinde native çalışır - her biri aynı `pipeline/` kaynağından kurulur ve aynı <!-- fact:commandCount -->
|
|
529
|
+
Pipeline **Claude Code**, **Copilot CLI**, **Codex CLI** ve **yerel model host'u** üzerinde native çalışır - her biri aynı `pipeline/` kaynağından kurulur ve aynı <!-- fact:commandCount -->82<!-- /fact --> komutu alır. Hangi host'ta olduğun, her kuruluma yazılmış bir dal değil, `pipeline/schemas/hosts.json` içindeki bir kayıttır.
|
|
529
530
|
|
|
530
531
|
| Araç | Bayrak | Ne kurar |
|
|
531
532
|
| ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
532
533
|
| Claude Code | `--claude` (varsayılan) | slash komutları + skill'ler + agent'lar + üç `PreToolUse` hook'u (secret scan, agent-guard, okuma-boyutu geçidi) |
|
|
533
|
-
| Copilot CLI | `--copilot` | talimatlar + <!-- fact:commandCount -->
|
|
534
|
-
| Codex CLI | `--codex` | bir router skill + ref olarak <!-- fact:commandCount -->
|
|
534
|
+
| Copilot CLI | `--copilot` | talimatlar + <!-- fact:commandCount -->82<!-- /fact --> alt-komut skill'i + script'ler |
|
|
535
|
+
| Codex CLI | `--codex` | bir router skill + ref olarak <!-- fact:commandCount -->82<!-- /fact --> spec + yalnızca kullanıcının yazdığı her komut için bir `/multi-agent-<ad>` prompt'u + <!-- fact:agentCount -->11<!-- /fact --> agent TOML + `AGENTS.md` bloğu + `codex mcp add` |
|
|
535
536
|
| Yerel LLM | `--local` | Codex CLI ile aynısı, `~/.codex-local/` içine, bu makinede sunulan bir modele bağlı ([yerel LLM](pipeline/multi-agent-refs/features/local-model.md)) |
|
|
536
537
|
|
|
537
538
|
Skill'leri stack'e göre filtrele: `--platform=ios\|android\|all`.
|
|
538
539
|
|
|
539
|
-
**Codex neden <!-- fact:commandCount -->
|
|
540
|
+
**Codex neden <!-- fact:commandCount -->82<!-- /fact --> değil de tek bir skill alıyor.** Codex, keşfettiği her skill'in adını
|
|
540
541
|
ve açıklamasını tek bir prompt bloğuna toplar ve blok taştığında girdileri hatasızca
|
|
541
542
|
düşürür. 0.145 üzerinde ölçüldü: 142 skill deklare eden bir plugin kurulduğunda sadece
|
|
542
543
|
75'i yüzeye çıktı ve alakasız bir kullanıcı skill'i tahliye edildi. Bu yüzden Codex'te
|
package/docs/architecture.md
CHANGED
|
@@ -153,7 +153,7 @@ graph TB
|
|
|
153
153
|
end
|
|
154
154
|
|
|
155
155
|
subgraph "Pipeline Specs"
|
|
156
|
-
CMD[commands/<br/>
|
|
156
|
+
CMD[commands/<br/>82 command files]
|
|
157
157
|
AGT[agents/<br/>11 agent personas]
|
|
158
158
|
RUL[rules/<br/>domain rules]
|
|
159
159
|
PHS[multi-agent-refs/phases/<br/>phase specs + contracts]
|
|
@@ -246,8 +246,8 @@ repo and the website, plus the two independently shipped repos
|
|
|
246
246
|
```mermaid
|
|
247
247
|
graph TD
|
|
248
248
|
CC["Claude Code<br/>(source of truth)"]
|
|
249
|
-
COP["Copilot CLI<br/>(instructions +
|
|
250
|
-
COD["Codex CLI<br/>(1 router skill +
|
|
249
|
+
COP["Copilot CLI<br/>(instructions + 82 sub-command skills<br/>+ its own refs tree)"]
|
|
250
|
+
COD["Codex CLI<br/>(1 router skill + 82 refs)"]
|
|
251
251
|
REPO["Pipeline Repo<br/>(npm package)"]
|
|
252
252
|
WEB["Website"]
|
|
253
253
|
PLUGREPO["multi-agent-plugins<br/>(6 plugins, own repo)"]
|
package/docs/ecosystem.md
CHANGED
|
@@ -5,7 +5,7 @@ separately, wired together at install time and at run time:
|
|
|
5
5
|
|
|
6
6
|
| Repo | What it owns | Ships as |
|
|
7
7
|
| -------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
8
|
-
| **`multi-agent-pipeline`** (this repo) | Orchestration: the <!-- fact:phaseCount -->6<!-- /fact -->-phase flow, the <!-- fact:commandCount -->
|
|
8
|
+
| **`multi-agent-pipeline`** (this repo) | Orchestration: the <!-- fact:phaseCount -->6<!-- /fact -->-phase flow, the <!-- fact:commandCount -->82<!-- /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
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
|
|
|
@@ -19,7 +19,7 @@ Either can be swapped or removed without touching the other two's source.
|
|
|
19
19
|
graph LR
|
|
20
20
|
subgraph PIPE ["multi-agent-pipeline (orchestrator)"]
|
|
21
21
|
direction TB
|
|
22
|
-
PHASES["6 phases ·
|
|
22
|
+
PHASES["6 phases · 82 commands"]
|
|
23
23
|
GATES["deterministic gates + review triage"]
|
|
24
24
|
end
|
|
25
25
|
|
|
@@ -70,8 +70,8 @@ only those:
|
|
|
70
70
|
graph TD
|
|
71
71
|
CC["Claude Code<br/>~/.claude/commands/multi-agent/<br/>(source of truth)"]
|
|
72
72
|
|
|
73
|
-
CC -->|"Step 2: copy + reformat<br/>
|
|
74
|
-
CC -->|"Step 2b: transform<br/>(install.js --codex)"| COD["Codex CLI<br/>1 router skill +
|
|
73
|
+
CC -->|"Step 2: copy + reformat<br/>82 sub-command skills"| COP["Copilot CLI<br/>~/.copilot/skills/"]
|
|
74
|
+
CC -->|"Step 2b: transform<br/>(install.js --codex)"| COD["Codex CLI<br/>1 router skill + 82 refs<br/>+ 11 agent TOML"]
|
|
75
75
|
CC -->|"Step 3: genericize<br/>(strip personal data)"| REPO["multi-agent-pipeline repo<br/>pipeline/"]
|
|
76
76
|
CC -->|"Step 4: version + feature sync"| WEB["Website<br/>projects.ts / i18n.tsx"]
|
|
77
77
|
|
|
@@ -162,7 +162,7 @@ measurements behind this table):
|
|
|
162
162
|
|
|
163
163
|
| | Claude Code | Copilot CLI | Codex CLI | Local LLM |
|
|
164
164
|
| ---- | ---- | ---- | ---- | ---- |
|
|
165
|
-
| **Pipeline commands** | <!-- fact:commandCount -->
|
|
165
|
+
| **Pipeline commands** | <!-- fact:commandCount -->82<!-- /fact --> slash-command skills, native | <!-- fact:commandCount -->82<!-- /fact --> sub-command skills, `multi-agent-{cmd}` naming, copied in | 1 router skill (`multi-agent`) + <!-- fact:commandCount -->82<!-- /fact --> command specs as reference files - Codex silently truncates its skills block past a few dozen entries, so sub-commands are not peer skills here | 1 router skill + <!-- fact:commandCount -->82<!-- /fact --> command specs as reference files, the Codex shape in `~/.codex-local/` |
|
|
166
166
|
| **Pipeline refs** (phase specs, contracts, standalone command specs) | `~/.claude/multi-agent-refs/` | `~/.copilot/multi-agent-refs/`, with every ref path retargeted into it, so a Copilot-only machine resolves them on its own; the per-sub-command specs are not copied there, because each already ships as its own skill and the rewrite points at those | `~/.codex/multi-agent-refs/`, including the per-sub-command specs, which the router reads by path | `~/.codex-local/multi-agent-refs/`, the same tree as Codex CLI with the root rewritten |
|
|
167
167
|
| **Stack plugins** | Marketplace plugin, loaded natively, resolved by `.claude/settings.json` enabled-list | Enabled plugin's authored skills copied flat into `~/.copilot/skills/`; `knowledge/` **not** re-copied (already delivered via `shared/external`) | Copied as reference files under `~/.codex/multi-agent-refs/skills/`, plugin-prefixed on name clash (e.g. `architecture` → `ai-ios-toolkit-architecture`) | Copied as reference files under `~/.codex-local/multi-agent-refs/skills/`, as on Codex CLI |
|
|
168
168
|
| **Component dispatch (Phase 3)** | Marketplace plugin's `create-component`/`create-screen` skill via the Skill tool | No plugin loader - the enabled stack plugin's authored skills (incl. `create-component`) are copied flat into `~/.copilot/skills/` at install time (the old frozen `figma-*` copies are pruned, they were never a fallback) | Not part of the enforced parity axis; classification + state-shape must match, skill _inventory_ does not | Same as Codex CLI: classification and state shape match, skill inventory does not |
|
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": "24.
|
|
3
|
+
"generatedAt": "2026-11-18",
|
|
4
|
+
"version": "24.3.0",
|
|
5
5
|
"phaseSchema": 2,
|
|
6
6
|
"phases": [
|
|
7
7
|
{
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
},
|
|
39
39
|
"reworkCap": 3,
|
|
40
40
|
"reworkDefault": 2,
|
|
41
|
-
"commandCount":
|
|
41
|
+
"commandCount": 82,
|
|
42
42
|
"skillCount": 174,
|
|
43
|
-
"skillCountAll":
|
|
43
|
+
"skillCountAll": 259,
|
|
44
44
|
"agentCount": 11,
|
|
45
45
|
"hosts": ["Claude Code", "Codex CLI", "Copilot CLI", "Local LLM"],
|
|
46
46
|
"toolCount": 267,
|
package/install/_common.mjs
CHANGED
|
@@ -802,6 +802,71 @@ export function pruneOrphanSkillFiles(skillsDir) {
|
|
|
802
802
|
return removed;
|
|
803
803
|
}
|
|
804
804
|
|
|
805
|
+
/**
|
|
806
|
+
* Names of attribution files, which this ecosystem does not ship.
|
|
807
|
+
*
|
|
808
|
+
* The set is closed on purpose: it names the file kinds an attribution step
|
|
809
|
+
* writes, not a pattern, so a skill called `notices` or a user's `credits`
|
|
810
|
+
* directory can never be matched.
|
|
811
|
+
*/
|
|
812
|
+
const ATTRIBUTION_FILES = Object.freeze([
|
|
813
|
+
/^NOTICE(-.*)?\.md$/i,
|
|
814
|
+
/^NOTICE$/,
|
|
815
|
+
/^THIRD-PARTY(-NOTICES?)?\.md$/i,
|
|
816
|
+
/^ATTRIBUTION(S)?\.md$/i,
|
|
817
|
+
/^CREDITS\.md$/i,
|
|
818
|
+
]);
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Remove attribution files at the root of a host's skills tree.
|
|
822
|
+
*
|
|
823
|
+
* The ecosystem carries no third-party attribution: an approach taken from a
|
|
824
|
+
* repository is rewritten under our own tests, and the upstream-overlap gate is
|
|
825
|
+
* what keeps that honest, so there is no notice to publish. Versions that did
|
|
826
|
+
* publish one wrote these files into the host, and nothing removed them when the
|
|
827
|
+
* repository stopped shipping them - an installed tree is a copy, and a copy
|
|
828
|
+
* only ever gained files.
|
|
829
|
+
*
|
|
830
|
+
* Only the root of the tree is swept, and only names a notice step writes. A
|
|
831
|
+
* skill lives in `<name>/SKILL.md`, so no file this rule can reach is a skill on
|
|
832
|
+
* any host, and a directory is never touched.
|
|
833
|
+
*
|
|
834
|
+
* This prunes one named class, not everything the package no longer ships. A
|
|
835
|
+
* general sweep cannot run here: hosts also carry skills the pipeline does not
|
|
836
|
+
* own - local-only wrappers among them - and the installed copies have their
|
|
837
|
+
* paths rewritten, so neither the manifest's hashes nor its file list can tell a
|
|
838
|
+
* leftover from a file that is meant to be there.
|
|
839
|
+
*
|
|
840
|
+
* @param {string} skillsDir
|
|
841
|
+
* @returns {number} files removed
|
|
842
|
+
*/
|
|
843
|
+
export function pruneAttributionFiles(skillsDir) {
|
|
844
|
+
if (!existsSync(skillsDir)) return 0;
|
|
845
|
+
let entries;
|
|
846
|
+
try {
|
|
847
|
+
entries = readdirSync(skillsDir, { withFileTypes: true });
|
|
848
|
+
} catch {
|
|
849
|
+
return 0;
|
|
850
|
+
}
|
|
851
|
+
let removed = 0;
|
|
852
|
+
for (const entry of entries) {
|
|
853
|
+
if (!entry.isFile()) continue;
|
|
854
|
+
if (!ATTRIBUTION_FILES.some((re) => re.test(entry.name))) continue;
|
|
855
|
+
if (dryRun) {
|
|
856
|
+
console.log(` [dry-run] would prune attribution file ${join(skillsDir, entry.name)}`);
|
|
857
|
+
removed++;
|
|
858
|
+
continue;
|
|
859
|
+
}
|
|
860
|
+
try {
|
|
861
|
+
rmSync(join(skillsDir, entry.name), { force: true });
|
|
862
|
+
removed++;
|
|
863
|
+
} catch {
|
|
864
|
+
/* non-fatal */
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
return removed;
|
|
868
|
+
}
|
|
869
|
+
|
|
805
870
|
/**
|
|
806
871
|
* Ship the skills index into a host's skills tree.
|
|
807
872
|
*
|
|
@@ -79,39 +79,92 @@ function semverCompare(a, b) {
|
|
|
79
79
|
return a.localeCompare(b);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
+
/** The version a plugin directory declares, or null when it declares none. */
|
|
83
|
+
function declaredVersion(pluginDir) {
|
|
84
|
+
try {
|
|
85
|
+
const v = JSON.parse(
|
|
86
|
+
readFileSync(join(pluginDir, ".claude-plugin", "plugin.json"), "utf-8"),
|
|
87
|
+
).version;
|
|
88
|
+
return typeof v === "string" && v ? v : null;
|
|
89
|
+
} catch {
|
|
90
|
+
return null;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
82
94
|
/**
|
|
83
|
-
*
|
|
95
|
+
* Every copy of one plugin on this machine, with the version each declares.
|
|
84
96
|
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
*
|
|
97
|
+
* Three places hold one: a working checkout, the marketplace directory Claude
|
|
98
|
+
* Code keeps, and its version-named plugin cache. A machine can have all three
|
|
99
|
+
* at once, at three different versions - measured here: the checkout at 0.26.4
|
|
100
|
+
* and both others at 0.26.2 for one plugin, 0.11.0 against 0.10.0 and 0.9.1 for
|
|
101
|
+
* another.
|
|
89
102
|
*
|
|
90
103
|
* @param {string} home
|
|
91
104
|
* @param {string} pluginName
|
|
92
|
-
* @returns {{path: string, source: string
|
|
105
|
+
* @returns {{path: string, source: string, version: string|null}[]}
|
|
93
106
|
*/
|
|
94
|
-
function
|
|
95
|
-
const
|
|
96
|
-
|
|
107
|
+
function pluginCopies(home, pluginName) {
|
|
108
|
+
const found = [];
|
|
109
|
+
const add = (dir, source) => {
|
|
110
|
+
const skills = join(dir, "skills");
|
|
111
|
+
if (existsSync(skills)) found.push({ path: skills, source, version: declaredVersion(dir) });
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
add(join(home, "multi-agent-plugins", "plugins", pluginName), "local checkout");
|
|
115
|
+
add(
|
|
116
|
+
join(home, ".claude", "plugins", "marketplaces", "multi-agent-plugins", "plugins", pluginName),
|
|
117
|
+
"marketplace",
|
|
118
|
+
);
|
|
97
119
|
|
|
98
120
|
const cacheRoot = join(home, ".claude", "plugins", "cache", "multi-agent-plugins", pluginName);
|
|
99
121
|
if (existsSync(cacheRoot)) {
|
|
100
|
-
|
|
101
|
-
|
|
122
|
+
let versions;
|
|
123
|
+
try {
|
|
124
|
+
versions = readdirSync(cacheRoot).filter((v) => {
|
|
102
125
|
try {
|
|
103
126
|
return statSync(join(cacheRoot, v)).isDirectory();
|
|
104
127
|
} catch {
|
|
105
128
|
return false;
|
|
106
129
|
}
|
|
107
|
-
})
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
130
|
+
});
|
|
131
|
+
} catch {
|
|
132
|
+
versions = [];
|
|
133
|
+
}
|
|
134
|
+
for (const v of versions.sort(semverCompare).reverse()) {
|
|
135
|
+
const dir = join(cacheRoot, v);
|
|
136
|
+
const skills = join(dir, "skills");
|
|
137
|
+
// The directory name is the version here, and it is the one the loader
|
|
138
|
+
// reads; a plugin.json inside it only confirms it.
|
|
139
|
+
if (existsSync(skills)) found.push({ path: skills, source: `plugin cache ${v}`, version: v });
|
|
112
140
|
}
|
|
113
141
|
}
|
|
114
|
-
return
|
|
142
|
+
return found;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Find a plugin's `skills/` directory.
|
|
147
|
+
*
|
|
148
|
+
* The NEWEST copy wins, not the first path that happens to exist. Preferring the
|
|
149
|
+
* checkout was written when it was the only thing `/multi-agent:sync` rebuilt, and
|
|
150
|
+
* it reads a stale checkout in silence: a user who has not pulled for a month gets
|
|
151
|
+
* last month's skills while a newer copy sits in the cache, and nothing says so.
|
|
152
|
+
*
|
|
153
|
+
* A copy that declares no version loses to one that declares any, and is used only
|
|
154
|
+
* when nothing else is there: an unversioned tree cannot be compared, and guessing
|
|
155
|
+
* it is current is the behaviour this replaces.
|
|
156
|
+
*
|
|
157
|
+
* @param {string} home
|
|
158
|
+
* @param {string} pluginName
|
|
159
|
+
* @returns {{path: string, source: string, version: string|null}|null}
|
|
160
|
+
*/
|
|
161
|
+
function resolvePluginSkills(home, pluginName) {
|
|
162
|
+
const copies = pluginCopies(home, pluginName);
|
|
163
|
+
if (copies.length === 0) return null;
|
|
164
|
+
const versioned = copies.filter((c) => c.version);
|
|
165
|
+
if (versioned.length === 0) return copies[0];
|
|
166
|
+
// Stable on a tie: the order pluginCopies built, which puts the checkout first.
|
|
167
|
+
return versioned.reduce((best, c) => (semverCompare(c.version, best.version) > 0 ? c : best));
|
|
115
168
|
}
|
|
116
169
|
|
|
117
170
|
/**
|
|
@@ -270,7 +323,12 @@ export function installAuthoredPluginSkills(opts) {
|
|
|
270
323
|
perPlugin++;
|
|
271
324
|
}
|
|
272
325
|
}
|
|
273
|
-
if (perPlugin > 0)
|
|
326
|
+
if (perPlugin > 0) {
|
|
327
|
+
// The version too: three copies of one plugin can sit on a machine, and
|
|
328
|
+
// "which one did this install read" is otherwise unanswerable from the log.
|
|
329
|
+
const from = resolved.version ? `${resolved.source} ${resolved.version}` : resolved.source;
|
|
330
|
+
plugins.push(`${pluginName} (${from}, ${perPlugin} skills)`);
|
|
331
|
+
}
|
|
274
332
|
}
|
|
275
333
|
|
|
276
334
|
if (isDryRun()) {
|
package/install/claude.mjs
CHANGED
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
isSkillDirName,
|
|
30
30
|
listFiles,
|
|
31
31
|
pruneLegacyMultiAgentSkills,
|
|
32
|
+
pruneAttributionFiles,
|
|
32
33
|
pruneOrphanSkillFiles,
|
|
33
34
|
readInstallManifest,
|
|
34
35
|
removePipelineAgentFiles,
|
|
@@ -563,6 +564,12 @@ function installSkills(opts) {
|
|
|
563
564
|
console.log(` -> pruned ${orphans} stale flat skill file(s) from an older layout`);
|
|
564
565
|
}
|
|
565
566
|
|
|
567
|
+
// Attribution files an earlier version wrote. Runs on every host, so no tree keeps a notice the repository has dropped.
|
|
568
|
+
const notices = pruneAttributionFiles(dest);
|
|
569
|
+
if (notices > 0) {
|
|
570
|
+
console.log(` -> pruned ${notices} attribution file(s) this ecosystem does not ship`);
|
|
571
|
+
}
|
|
572
|
+
|
|
566
573
|
console.log(
|
|
567
574
|
` -> ${claudeSkillCount} skill files installed to ${dest} (stack skills: marketplace plugins)`,
|
|
568
575
|
);
|
package/install/codex.mjs
CHANGED
|
@@ -398,13 +398,27 @@ export function installUserOnlyPrompts(pipelineSrc, promptsDir, hostId = "codex"
|
|
|
398
398
|
* - the pipeline's own `skills/shared/external` (what `~/.claude/skills` receives)
|
|
399
399
|
* - the enabled stack plugin's authored skills (what the marketplace provides)
|
|
400
400
|
*/
|
|
401
|
-
function installSkillRefs(pipelineSrc, dest, home, platformFlag, copyTree) {
|
|
401
|
+
export function installSkillRefs(pipelineSrc, dest, home, platformFlag, copyTree) {
|
|
402
402
|
copyTree = orDefault(copyTree);
|
|
403
403
|
const externalSrc = join(pipelineSrc, "skills", "shared", "external");
|
|
404
404
|
const coreSrc = join(pipelineSrc, "skills", "shared", "core");
|
|
405
405
|
|
|
406
406
|
if (ensureRealDir(dest) === null) return;
|
|
407
407
|
ensureDir(dest);
|
|
408
|
+
|
|
409
|
+
// The wipe is how this target handles staleness: the tree is rebuilt from the
|
|
410
|
+
// sources on every install rather than diffed. That only holds while there is
|
|
411
|
+
// a source to rebuild from. With neither tree present the same two lines empty
|
|
412
|
+
// the host's whole reference set and put nothing back, and this host reads its
|
|
413
|
+
// skills by path - an empty tree is not a degraded install, it is a host that
|
|
414
|
+
// can no longer load a skill at all. An incomplete package is the package's
|
|
415
|
+
// problem; the installed tree is left as it was found.
|
|
416
|
+
if (!existsSync(externalSrc) && !existsSync(coreSrc)) {
|
|
417
|
+
console.log(
|
|
418
|
+
" -> skipped skill refs: the package carries no skill source tree (kept what is installed)",
|
|
419
|
+
);
|
|
420
|
+
return;
|
|
421
|
+
}
|
|
408
422
|
wipeDir(dest);
|
|
409
423
|
|
|
410
424
|
let count = 0;
|
package/install/copilot.mjs
CHANGED
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
ensureSharedPreferences,
|
|
23
23
|
isDryRun,
|
|
24
24
|
isSkillDirName,
|
|
25
|
+
pruneAttributionFiles,
|
|
25
26
|
pruneOrphanSkillFiles,
|
|
26
27
|
removePipelineAgentFiles,
|
|
27
28
|
symlinkDir,
|
|
@@ -504,6 +505,12 @@ function installSkills(opts) {
|
|
|
504
505
|
console.log(` -> pruned ${orphans} stale flat skill file(s) from an older layout`);
|
|
505
506
|
}
|
|
506
507
|
|
|
508
|
+
// Attribution files an earlier version wrote. This is the tree the six leftovers sat in.
|
|
509
|
+
const notices = pruneAttributionFiles(dest);
|
|
510
|
+
if (notices > 0) {
|
|
511
|
+
console.log(` -> pruned ${notices} attribution file(s) this ecosystem does not ship`);
|
|
512
|
+
}
|
|
513
|
+
|
|
507
514
|
console.log(` -> ${copilotSkillCount} skill files installed to ${dest}`);
|
|
508
515
|
|
|
509
516
|
const sharedReadmeSrc = join(pipelineSrc, "skills", "shared", "README.md");
|