@mmerterden/multi-agent-pipeline 23.7.0 → 24.1.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 +60 -1
- package/README.md +59 -24
- package/README.tr.md +43 -8
- package/SECURITY.md +3 -3
- package/docs/architecture.md +41 -4
- package/docs/ecosystem.md +15 -13
- package/docs/facts.json +5 -4
- package/docs/features.md +67 -15
- package/install/_codex-agents.mjs +13 -8
- package/install/_common.mjs +24 -0
- package/install/_dev-only-files.mjs +5 -0
- package/install/_mcp-register.mjs +6 -2
- package/install/_rewrite-tree.mjs +197 -0
- package/install/codex.mjs +96 -180
- package/install/copilot.mjs +24 -54
- package/install/index.mjs +29 -11
- package/install/templates/codex-instructions.md +21 -5
- package/install/templates/copilot-instructions.md +21 -14
- package/manifest.json +2083 -0
- package/package.json +8 -2
- package/pipeline/commands/multi-agent/SKILL.md +5 -4
- package/pipeline/commands/multi-agent/analysis/SKILL.md +5 -1
- package/pipeline/commands/multi-agent/autopilot-on/SKILL.md +31 -3
- package/pipeline/commands/multi-agent/autopilot-status/SKILL.md +5 -1
- package/pipeline/commands/multi-agent/channels/SKILL.md +16 -8
- package/pipeline/commands/multi-agent/log/SKILL.md +2 -0
- package/pipeline/commands/multi-agent/stack/SKILL.md +1 -1
- package/pipeline/contract/CHANGELOG.md +15 -0
- package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
- package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
- package/pipeline/contract/fixtures/runs-awaiting-question.json +6 -1
- package/pipeline/contract/fixtures/runs-empty.json +1 -1
- package/pipeline/contract/fixtures/runs-failed.json +21 -1
- package/pipeline/contract/fixtures/runs-old-schema.json +18 -3
- package/pipeline/contract/fixtures/runs-pr-opened-redacted.json +31 -1
- package/pipeline/contract/fixtures/runs-pr-opened.json +31 -1
- package/pipeline/contract/fixtures/runs-running.json +16 -1
- package/pipeline/contract/manifest.json +14 -14
- package/pipeline/contract/types/index.d.ts +20 -1
- package/pipeline/lib/_jira-auth.sh +50 -78
- package/pipeline/lib/_service-account.sh +191 -0
- package/pipeline/lib/credential-inventory.sh +49 -37
- package/pipeline/lib/credential-store.sh +48 -3
- package/pipeline/lib/fetch-confluence.sh +76 -92
- package/pipeline/lib/fetch-crashlytics.sh +30 -59
- package/pipeline/lib/fetch-figma-annotations.sh +9 -9
- package/pipeline/lib/fetch-fortify.sh +77 -81
- package/pipeline/lib/fetch-graylog.sh +38 -77
- package/pipeline/lib/figma-mcp-refresh.sh +23 -4
- package/pipeline/lib/figma-screenshot.sh +7 -8
- package/pipeline/lib/figma-token.sh +39 -46
- package/pipeline/lib/host.mjs +138 -0
- package/pipeline/lib/host.sh +48 -0
- package/pipeline/lib/issue-fetcher.sh +25 -41
- package/pipeline/lib/jira-publish.sh +23 -21
- package/pipeline/lib/local-model.mjs +93 -0
- package/pipeline/lib/md2confluence-v3.py +37 -30
- package/pipeline/lib/model-dispatch.sh +41 -4
- package/pipeline/lib/model-resolve.mjs +58 -0
- package/pipeline/lib/post-pr-review.sh +38 -53
- package/pipeline/lib/reviewer-families.mjs +70 -0
- package/pipeline/lib/service-account.mjs +2131 -0
- package/pipeline/lib/service-account.sh +35 -0
- package/pipeline/lib/usage-token.mjs +64 -24
- package/pipeline/lib/usage-vocab.mjs +1 -1
- package/pipeline/lib/user-facing.mjs +11 -3
- package/pipeline/lib/vercel-deploy.sh +17 -26
- package/pipeline/multi-agent-refs/_entry-picker.md +62 -0
- package/pipeline/multi-agent-refs/analysis/intake.md +2 -0
- package/pipeline/multi-agent-refs/analysis/render.md +12 -1
- package/pipeline/multi-agent-refs/analysis/reusable-refs.md +1 -0
- package/pipeline/multi-agent-refs/analysis/unattended.md +135 -0
- package/pipeline/multi-agent-refs/autopilot-on/details.md +16 -0
- package/pipeline/multi-agent-refs/channels/generator.md +10 -2
- package/pipeline/multi-agent-refs/channels/menu.md +3 -1
- package/pipeline/multi-agent-refs/channels/preview.md +3 -1
- package/pipeline/multi-agent-refs/channels/reference.md +16 -2
- package/pipeline/multi-agent-refs/channels/report-file.md +188 -0
- package/pipeline/multi-agent-refs/cross-cli-contract.md +35 -27
- package/pipeline/multi-agent-refs/features/doctor.md +37 -11
- package/pipeline/multi-agent-refs/features/free-models.md +3 -3
- package/pipeline/multi-agent-refs/features/local-model.md +87 -0
- package/pipeline/multi-agent-refs/features/model-fallback.md +25 -10
- package/pipeline/multi-agent-refs/features/product-context.md +6 -5
- package/pipeline/multi-agent-refs/features/service-accounts.md +233 -0
- package/pipeline/multi-agent-refs/features/unattended-security.md +10 -1
- package/pipeline/multi-agent-refs/help/en.md +36 -1
- package/pipeline/multi-agent-refs/help/tr.md +34 -1
- package/pipeline/multi-agent-refs/orchestrator/copilot-pipeline.md +2 -1
- package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +2 -1
- package/pipeline/multi-agent-refs/phases/modes.md +20 -1
- package/pipeline/multi-agent-refs/phases/phase-0-init.md +1 -0
- package/pipeline/multi-agent-refs/phases/phase-4-commit.md +1 -0
- package/pipeline/multi-agent-refs/phases/phase-5-report.md +13 -11
- package/pipeline/multi-agent-refs/phases.md +4 -3
- package/pipeline/multi-agent-refs/review/panel.md +30 -18
- package/pipeline/multi-agent-refs/setup/discovery.md +17 -5
- package/pipeline/multi-agent-refs/setup/token-save-flow.md +21 -2
- package/pipeline/multi-agent-refs/sync/overview.md +11 -5
- package/pipeline/multi-agent-refs/tracker-contract.md +64 -20
- package/pipeline/office/index.html +77 -4
- package/pipeline/schemas/activity.schema.json +63 -4
- package/pipeline/schemas/autopilot-config.schema.json +29 -4
- package/pipeline/schemas/hosts.json +512 -0
- package/pipeline/schemas/hosts.schema.json +310 -0
- package/pipeline/schemas/launch.json +22 -2
- package/pipeline/schemas/launch.schema.json +2 -1
- package/pipeline/schemas/now-lines.json +103 -0
- package/pipeline/schemas/now-lines.schema.json +42 -0
- package/pipeline/schemas/phases.json +19 -1
- package/pipeline/schemas/phases.schema.json +8 -0
- package/pipeline/schemas/prefs.schema.json +331 -4
- package/pipeline/schemas/runs-index.schema.json +22 -1
- package/pipeline/scripts/_autopilot-config.mjs +67 -4
- package/pipeline/scripts/_autopilot-item.mjs +67 -0
- package/pipeline/scripts/_autopilot-outcomes.mjs +6 -0
- package/pipeline/scripts/_contract-core.mjs +1 -1
- package/pipeline/scripts/_cost.mjs +75 -3
- package/pipeline/scripts/activity-snapshot.mjs +27 -1
- package/pipeline/scripts/analysis-sources.mjs +22 -5
- package/pipeline/scripts/analysis-unattended.mjs +360 -0
- package/pipeline/scripts/anonymize-findings.mjs +3 -7
- package/pipeline/scripts/autopilot-arming.mjs +19 -10
- package/pipeline/scripts/autopilot-intake.mjs +124 -27
- package/pipeline/scripts/autopilot-menubar.swift +7 -0
- package/pipeline/scripts/autopilot-runner.mjs +77 -48
- package/pipeline/scripts/autopilot-status.sh +32 -9
- package/pipeline/scripts/bulk-read.sh +37 -5
- package/pipeline/scripts/confluence-readback.mjs +15 -7
- package/pipeline/scripts/cost-table.json +65 -25
- package/pipeline/scripts/doctor.mjs +119 -32
- package/pipeline/scripts/entry-mode.mjs +101 -0
- package/pipeline/scripts/estimate.mjs +30 -16
- package/pipeline/scripts/feedback-send.mjs +11 -8
- package/pipeline/scripts/gen-facts.mjs +7 -9
- package/pipeline/scripts/jira-attach.sh +23 -28
- package/pipeline/scripts/jira-search.sh +5 -21
- package/pipeline/scripts/launch-request.mjs +15 -9
- package/pipeline/scripts/migrate-prefs.mjs +56 -0
- package/pipeline/scripts/phase-tracker.sh +226 -50
- package/pipeline/scripts/priority-review.mjs +14 -7
- package/pipeline/scripts/product-context.mjs +26 -7
- package/pipeline/scripts/prune-logs.sh +4 -2
- package/pipeline/scripts/render-work-summary.sh +51 -1
- package/pipeline/scripts/report-file.mjs +285 -0
- package/pipeline/scripts/rework-escalation.mjs +19 -4
- package/pipeline/scripts/runs-index.mjs +2 -1
- package/pipeline/scripts/service-read.mjs +19 -17
- package/pipeline/scripts/skill-siblings.mjs +17 -1
- package/pipeline/scripts/status-overview.mjs +20 -10
- package/pipeline/scripts/uninstall.mjs +145 -57
- package/pipeline/scripts/usage-register.mjs +34 -11
- package/pipeline/scripts/usage-report.mjs +31 -26
- package/pipeline/scripts/validate-triage.mjs +11 -1
- package/pipeline/scripts/work-items.mjs +25 -28
- package/pipeline/scripts/write-store-config.mjs +37 -11
- package/pipeline/skills/.skill-manifest.json +4 -4
- package/pipeline/skills/.skills-index.json +1 -1
- package/pipeline/skills/shared/core/multi-agent/SKILL.md +11 -3
- package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +2 -0
- package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +11 -8
- package/pipeline/lib/credential-resolve.mjs +0 -75
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,66 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
-
## [
|
|
17
|
+
## [24.1.0] - 2026-11-17
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **A phase says what it is doing, on every host.** `schemas/now-lines.json` is the canonical set of current-action lines, 67 of them across the six phases, each within 60 characters, and `multi-agent-refs/tracker-contract.md` carries the `phase-tracker.sh now <id>` call for every phase in one table rather than a copy per phase document. The line reaches the native task widget's subject, the ASCII card's `Now:` row and the office's phase card from the one record that already existed; a phase that moved without writing a line falls back to the name of its own step in progress, so no surface goes blank. `scripts/lint-now-lines.mjs` holds the two halves to each other: every phase has lines, the names match `schemas/phases.json`, nothing is over the cap, and the contract has a call row naming each phase and its id - a row, not a loose mention, because the document also carries a worked example with a phase id in it.
|
|
22
|
+
|
|
23
|
+
- **Model, elapsed time, tokens, cost and step count on the progress widget.** `phase-tracker.sh subjects` composes a subject of at most 96 characters in a fixed drop order - cost first, then the action, then tokens - with a floor that keeps a truncated action readable instead of cutting it to nothing, and `render` gains a model column on the card. A working phase reads, in one line, which model is spending, for how long, how many tokens, roughly how much, which step of how many, and what it is doing right now.
|
|
24
|
+
|
|
25
|
+
- **A plain closing summary.** `scripts/render-work-summary.sh --format terminal` prints what changed, what was checked, what was delivered and what is left for you, as text rather than a report body, and Phase 5 calls it at the end of every run.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- **The office shows what the terminal shows.** Each `phaseHistory` entry in the activity document now carries the phase's model, its current action, its own token spend and its sub-steps with their states, and the panel renders them under the phase. Client contract 2.4.0: `runs-index` 1.6.0 gives each phase its own `tokens`, and `activity` 1.5.0 the four new fields. Previously the page could name the phase and nothing else, which is the one thing a reader already knows.
|
|
30
|
+
|
|
31
|
+
- **`now` is the single write on every host.** The tracker contract asked Claude Code for `TaskUpdate({activeForm})` and the other three hosts for nothing, so three of four hosts had no way to record an action at all. Every host writes `now`; Claude Code additionally mirrors it to `activeForm`.
|
|
32
|
+
|
|
33
|
+
- **A Jira analysis comment points at the Confluence page when both are chosen.** The comment carries the lead and the exported page's URL instead of repeating the whole document in two places; Confluence is written first so the URL exists, and a failed Confluence write falls back to the full document in the comment.
|
|
34
|
+
|
|
35
|
+
### Fixed
|
|
36
|
+
|
|
37
|
+
- **A scratch file could be published, because the gate filtered it out instead of refusing it.** `smoke-doctor` writes a mutated copy of `doctor.mjs` beside the original for the length of its run; `smoke-pack-contents` removed that path from the packed list before comparing it, so a copy left behind by an interrupted run was invisible to every check and shipped inside 24.0.0's tarball. The pattern is now a `files` negation, so npm cannot pack it at all; the smoke asserts its absence instead of filtering it; `smoke-doctor` sweeps a sibling left by an earlier run, which is the only cleanup that survives being killed; and `files` negations that guard a git-ignored path no longer count as inert, since being absent is their normal state. The install fingerprint drops to 413 scripts, the number without the leftover.
|
|
38
|
+
|
|
39
|
+
## [24.0.0] - 2026-11-16
|
|
40
|
+
|
|
41
|
+
### Added
|
|
42
|
+
|
|
43
|
+
- **A host registry, and a fourth host.** `schemas/hosts.json` (with its schema) is the single place a host is described: its install flag and root, the subtrees it installs, where its sub-command specs live and under what prefix, its path-rewrite rules, its model rung table, its review panel, its dispatch mechanism, its price ceiling and its headless argv. `lib/host.mjs`, `lib/host.sh`, `lib/model-resolve.mjs`, `lib/reviewer-families.mjs` and `scripts/gen-host-tables.mjs` all read it, so a host is added by describing it rather than by editing the places that branch on one.
|
|
44
|
+
- **`--local`: a model served from your own machine.** Host id `local`, root `.codex-local`, Codex CLI as the engine, all four rungs collapsed onto one model, a review panel of one, concurrency 1, network `optional`, price 0. `lib/local-model.mjs` validates the endpoint, `/multi-agent:doctor` gains a `local-model` check, and `prefs.global.localModel.baseUrl` is loopback-only unless `allowRemote` says otherwise. The requirement is a server that implements the Responses API (`POST /v1/responses`), not any OpenAI-compatible one: Ollama 0.13.4+ qualifies, and LM Studio and generic servers were not measured. An end-to-end run against a real local model has not been recorded.
|
|
45
|
+
- **Service accounts.** `prefs.global.serviceAccounts[]` carries, per entry, a service, a scope saying where that credential may be sent, and `secrets` mapping each slot to a credential-store item name. `lib/service-account.mjs` is the only module that decides a destination, `lib/service-account.sh` is its shell front door and `lib/_service-account.sh` is what a fetcher sources. Two rules hold everywhere: a secret is never produced without a destination checked against the account holding it, and a file carrying no `serviceAccounts[]` resolves identically, because the same entries are derived in memory from the flat keys.
|
|
46
|
+
- **`scripts/lint-credential-reads.mjs`**: a per-file ratchet over every line that reads a credential name, a host or the store directly. It cannot go up.
|
|
47
|
+
- **A picker for a bare invocation.** `/multi-agent` and `/multi-agent:analysis` typed with nothing after them now ask for their parameters instead of printing the guide. `scripts/entry-mode.mjs` decides between `typed`, `picker`, `usage` and `refuse-unattended`, and `multi-agent-refs/_entry-picker.md` is the one page both hosts act on. Every typed form, and autopilot, route exactly as before.
|
|
48
|
+
- **An unattended queue for `/multi-agent:analysis`.** Per-repo `analysisQueue`, `analysisGithubLabel` and `analysisJiraLabel` (offered as `agent-analysis`), a history key of its own so the same ticket can be analysed and later developed, the terminal outcome `doc-delivered`, and the `analysis-autopilot` mode in `schemas/phases.json` and `schemas/launch.json`. A repo is enrolled by saying yes, never by leaving a label unset. A label that collides with the repo's development label is refused. `scripts/analysis-unattended.mjs` derives each intake answer from the item, the repo and preferences, and parks with the question and its fix where nothing can be derived rather than guessing.
|
|
49
|
+
|
|
50
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- **A credential and its destination are now one decision.** Every fetcher that used to read `keychainMapping` and `hosts` separately asks the resolver instead: the Jira family, Confluence, Fortify, both Figma fetchers, Jira attachments, Graylog, Crashlytics, the Bitbucket PR reviewer, Vercel, the Figma MCP refresh, the arming check and the Node readers. A shell caller receives a curl config that carries the URL and the credential together, with the scheme locked and redirects refused, so the credential no longer reaches a shell variable, argv or a trace. `lib/credential-resolve.mjs`, which looked the three halves up without joining them, is gone.
|
|
53
|
+
- **A host is matched exactly.** A subdomain of a configured host, and an environment override naming another host, are refused rather than allowed. Both used to resolve, and both are a credential reaching a host nobody named. A credential supplied through the environment together with its own `*_HOST` variable is still one statement about one instance and still resolves.
|
|
54
|
+
- **Jira authentication no longer involves jq.** `_jira-auth.sh` and `jira-publish.sh` build a per-call curl config, so the exit code 3 that meant "a value had to come from preferences and jq is not installed" can no longer happen.
|
|
55
|
+
|
|
56
|
+
### Fixed
|
|
57
|
+
|
|
58
|
+
- **Sub-steps are back on the progress widget, and they are the phase set's property now.** Every phase declares its sub-steps in `schemas/phases.json` (`steps`) and `phase-tracker.sh add` registers them, so a run reaches its first boundary with `0.1 Intake`, `0.2 Workspace`, `0.3 Task contract` under Phase 0 and the same under Plan, Review, Commit and Report. Dev declares none: its sub-steps are Phase 1's plan tasks, which `plan` attaches. The trackers of finished runs are what made the call: every phase but a Dev with an attached plan held an empty `subs`, because a step a phase had to announce before it existed only appeared when the model remembered the call.
|
|
59
|
+
|
|
60
|
+
Three places were dropping the rows even once they existed. `tiles` built the Codex `update_plan` payload from the phase list alone, so sub-steps never reached that host at all; the per-phase `subjects <id>` read returned the phase row plus its sub rows into a single `TaskUpdate` subject; and `sub` changed the state file and the card without printing the host's mirror call, so a moved step moved nowhere the user could see. The Codex payload now carries every row with its own status, `subjects <id>` is one line because a tile subject is one string, and `sub` prints the same `-- NEXT (required) --` block `update` does.
|
|
61
|
+
|
|
62
|
+
The number rides inside the row text (` 3.2 Review panel`), which is where it has to be: the widget renders one string per row and no field beside it. `tiles` asks for a rebuild only when rows arrive after the list exists, which is the plan attach and nothing else - `tiles --rebuild`, which `plan` now calls through the `tiles` action so each host is told in its own calls rather than handed Claude Code's.
|
|
63
|
+
|
|
64
|
+
- **A configured account kept its host but lost its port and its scheme.** An account derived from the flat keys stored a bare hostname, so `hosts.jira = "http://127.0.0.1:9"` came back as `https://127.0.0.1`: another port, another scheme, and a request nobody meant to send. The origin is now taken from the entry whose host is that account's, so a second account of the same service never inherits the first one's port.
|
|
65
|
+
|
|
66
|
+
- **A refusal was lost in the subshell that produced it.** The shell helper kept the resolver's refusal in a variable, and every caller reads it through a command substitution, which is a subshell. The caller therefore saw nothing and reported whatever its own default branch said, so "this host is not one this account may be sent to" was printed as "no token". The refusal is written to a file the parent can read, and a regression test calls the helper the way a fetcher actually does.
|
|
67
|
+
|
|
68
|
+
- **The local host could be installed but not removed.** `uninstall.mjs` knew three hosts, so `~/.codex-local` survived every form of the command, `--all` included. The Codex removal is now one body with two roots, `--local` is a target of its own, and the MCP entry is handed back under the `CODEX_HOME` the installer wrote it with instead of the default one. Three tests cover the targeting: each flag removes its own tree and leaves the other standing, and `--all` removes both.
|
|
69
|
+
|
|
70
|
+
- **The installer's help listed three hosts.** `--local` was accepted and `--all` already installed it, but neither appeared in `--help`. The host lines are rendered from the registry now, so a host that exists cannot go unlisted.
|
|
71
|
+
|
|
72
|
+
- **A smoke could run in the checkout that invoked it.** `mktemp -d` returns an empty string when it fails, and an empty value is not an error where it is consumed: `cd ""` is a no-op that succeeds and `git -C ""` means the current directory. Three smokes therefore wrote fixtures, committed and deleted in whatever repository was running them. Each now proves the directory exists before entering it, and `scripts/lint-temp-guards.mjs` fails the suite when a new one does not.
|
|
73
|
+
|
|
74
|
+
- **The uninstaller named its hosts in its own text.** Its flag list, its "name a host" line and the local host's root and label are read from the registry now, so the retired-flag message lists every flag that exists rather than the three it was written with.
|
|
75
|
+
|
|
76
|
+
- **The credential inventory looked for its helpers in three host trees.** The service-account helper and the credential store are discovered across all four, so a machine carrying only the local host finds them by the same path as any other.
|
|
18
77
|
|
|
19
78
|
## [23.7.0] - 2026-11-13
|
|
20
79
|
|
package/README.md
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
🇹🇷 Türkçe: [README.tr.md](./README.tr.md)
|
|
10
10
|
|
|
11
|
-
A <!-- fact:phaseCount -->6<!-- /fact -->-phase AI development pipeline for **Claude Code**, **Copilot CLI** and **
|
|
11
|
+
A <!-- fact:phaseCount -->6<!-- /fact -->-phase AI development pipeline for **Claude Code**, **Copilot CLI**, **Codex CLI** and a **local-model host**. Drives a Jira issue or GitHub URL to a merged PR in one command - analysis → plan → TDD → review → test → commit → PR - with multi-repo orchestration, a plan-approval gate, CLI-aware parallel review, and store-compliance checks. Component and Figma-to-code work is dispatched to the per-stack marketplace plugins (iOS/SwiftUI, Android/Compose) rather than bundled, so component skills live in one place.
|
|
12
12
|
|
|
13
|
-
Runs natively on Claude Code, Copilot CLI and Codex
|
|
13
|
+
Runs natively on Claude Code, Copilot CLI, Codex CLI and a fourth host that is the Codex engine pointed at a model served from your own machine. macOS only. Zero runtime dependencies.
|
|
14
14
|
|
|
15
15
|
📐 **[Architecture diagrams](./docs/architecture.md)** - the <!-- fact:phaseCount -->6<!-- /fact -->-phase flow, operating modes, review/triage, Figma subphases, component layout. **[Ecosystem diagram](./docs/ecosystem.md)** - how this repo, the `multi-agent-plugins` marketplace and `multi-agent-mcp` compose.
|
|
16
16
|
|
|
17
17
|
### Prerequisites
|
|
18
18
|
|
|
19
19
|
- **Node.js >= 20.11** - required; the pipeline's own tooling runs on it.
|
|
20
|
-
- **`jq`** - required for
|
|
20
|
+
- **`jq`** - required for nine paths, optional for the rest. 97 shell files call it. The nine that publish or decide - the autopilot queue, Jira comments, Jira Issue Links, PR reviews, issue updates, the plan file, both Figma fetchers and log search - refuse with exit 3 rather than run, because a missing `jq` renders as empty DATA and the work carries on with it. Everywhere else it still degrades. The install prints a note when it is missing.
|
|
21
21
|
- **`gh`** - for GitHub issue and PR work. Its built-in `--jq` is independent of the `jq` binary.
|
|
22
22
|
|
|
23
23
|
## Quick Start
|
|
@@ -27,7 +27,8 @@ Runs natively on Claude Code, Copilot CLI and Codex CLI. macOS only. Zero runtim
|
|
|
27
27
|
npx @mmerterden/multi-agent-pipeline install --claude # Claude Code only (default)
|
|
28
28
|
npx @mmerterden/multi-agent-pipeline install --copilot # Copilot CLI only
|
|
29
29
|
npx @mmerterden/multi-agent-pipeline install --codex # Codex CLI only
|
|
30
|
-
npx @mmerterden/multi-agent-pipeline install --
|
|
30
|
+
npx @mmerterden/multi-agent-pipeline install --local # a model served from this machine
|
|
31
|
+
npx @mmerterden/multi-agent-pipeline install --all # every host above
|
|
31
32
|
|
|
32
33
|
# then, once:
|
|
33
34
|
/multi-agent:setup # keychain token scan + git identity + default stack
|
|
@@ -102,7 +103,9 @@ branch lives, a worktree or your current checkout:
|
|
|
102
103
|
- **4 · Commit/PR** - conventional commit, push (must succeed), open a PR (`Ref: #N`, never auto-close). An unattended run stops at the commit and hands a PR request to the autopilot runner, which verifies it and opens a draft PR.
|
|
103
104
|
- **5 · Report** - technical summary + a Jira comment with test scenarios, posted through the channels layer. This is the one step a terminal autopilot run still pauses at; an unattended run ends at the Phase 4 hand-off, and the runner posts the reports you configured once the PR is open.
|
|
104
105
|
|
|
105
|
-
The phase list lives in `pipeline/schemas/phases.json`, and `smoke-phase-contract.sh` holds every other copy of it - the generator's output, the token budget, the state-schema bounds, the progress fractions in sample output - to that one file.
|
|
106
|
+
The phase list lives in `pipeline/schemas/phases.json`, and `smoke-phase-contract.sh` holds every other copy of it - the generator's output, the token budget, the state-schema bounds, the progress fractions in sample output - to that one file. Each phase also declares its own sub-steps there (`steps`), and `phase-tracker.sh add` registers them with the host's progress widget, so a run reaches its first boundary already showing `0.1 Intake`, `0.2 Workspace` and `0.3 Task contract` under Phase 0, and the same under Plan, Review, Commit and Report. Dev declares none on purpose: its sub-steps are Phase 1's plan tasks, which the plan attaches when it is approved. The number rides inside the row text, because the widget renders one string per row and carries no field beside it.
|
|
107
|
+
|
|
108
|
+
While a phase works it also says what it is doing: `schemas/now-lines.json` holds the canonical lines, `multi-agent-refs/tracker-contract.md` carries the `phase-tracker.sh now <id>` call for every phase in one table, and `scripts/lint-now-lines.mjs` holds the two to each other. The line reaches the native task widget's subject, the card's `Now:` row and the office's phase card from the one record, and a phase that moved without writing a line falls back to the name of its step in progress. The same subject carries the model spending, the elapsed time, the tokens, the rough cost and the step count, dropped in a fixed order when the line will not fit. At the end of a run `scripts/render-work-summary.sh --format terminal` prints a plain summary: what changed, what was checked, what was delivered and what is left for you.
|
|
106
109
|
|
|
107
110
|
`/multi-agent:analysis` runs its own shorter chain and reviews what it wrote before publishing it: the draft goes through the same three-reviewer set and triage as a code diff, a blocking finding returns it to synthesis with dispatch closed, and the gaps that survive are either searched, asked about, or recorded with an owner.
|
|
108
111
|
|
|
@@ -148,7 +151,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
148
151
|
## Modes
|
|
149
152
|
|
|
150
153
|
| Mode | Command | Flow |
|
|
151
|
-
| --------- | ------------------------------------ |
|
|
154
|
+
| --------- | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
152
155
|
| Full | `/multi-agent "task"` | All <!-- fact:phaseCount -->6<!-- /fact --> phases, interactive |
|
|
153
156
|
| Autopilot | `/multi-agent "task" autopilot` | The same <!-- fact:phaseCount -->6<!-- /fact --> phases, no confirmations; the workspace resolves to a worktree and the user-test gate inside Review is skipped |
|
|
154
157
|
| Audit | `/multi-agent:design-check` | Mock-mode vs Figma conformance, local-only |
|
|
@@ -163,11 +166,13 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
163
166
|
### Pipeline entries
|
|
164
167
|
|
|
165
168
|
| Command | What it does |
|
|
166
|
-
|
|
|
169
|
+
| ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
167
170
|
| `/multi-agent "task"` | The pipeline; Phase 0 asks where the branch lives |
|
|
168
171
|
| `/multi-agent "task" autopilot` | The same pipeline, unattended: worktree resolved, no confirmations; `--loop N` repeats it in the background |
|
|
169
172
|
| `/multi-agent:resume` | Unfinished work, either source: a stopped run picks up where it left off, a branch with no run behind it gets the tail (Review → Build+Test → Commit/PR → Report) |
|
|
170
173
|
|
|
174
|
+
**Typed with nothing after it, `/multi-agent` and `/multi-agent:analysis` ask instead of printing the guide.** Both are argument-shaped - a key, a URL, `repo#N`, free text, a sub-command - which is fast once you know the forms and a wall to read before that. `/multi-agent` offers your tracker items, unassigned issues, describing a task in one line, or the guide; `/multi-agent:analysis` offers a new analysis, or checking, refreshing or conforming a document you name. Every typed form routes exactly as before, and the account, maturity and dev-context steps still run after the answer. `scripts/entry-mode.mjs` decides which of four it is - `typed`, `picker`, `usage` (a modifier such as `autopilot` with no task, where asking would silently drop the modifier) or `refuse-unattended` - so the answer comes out the same on every host, and an unattended run started with no task says so in one line instead of waiting until it times out having produced nothing.
|
|
175
|
+
|
|
171
176
|
### Task control
|
|
172
177
|
|
|
173
178
|
| Command | What it does |
|
|
@@ -186,7 +191,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
186
191
|
### Review
|
|
187
192
|
|
|
188
193
|
| Command | What it does |
|
|
189
|
-
| ---------------------------------- |
|
|
194
|
+
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
190
195
|
| `/multi-agent:review` | Parallel review of a branch diff or a PR; inline comments + approve/needs-work on PR input |
|
|
191
196
|
| `/multi-agent:review-jira` | Grade a Jira issue's readiness for development, comment the gaps |
|
|
192
197
|
| `/multi-agent:address-review` | Answer human review on your own open PR: verify each thread, fix test-first or push back with a `file:line`; every reply, resolve and push approved one at a time, drafts only in autopilot |
|
|
@@ -206,7 +211,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
206
211
|
### Analysis
|
|
207
212
|
|
|
208
213
|
| Command | What it does |
|
|
209
|
-
| --------------------------------- |
|
|
214
|
+
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
210
215
|
| `/multi-agent:analysis` | Standalone feature spec: global (23-section handoff) or corporate (IG/UC/FG) profile |
|
|
211
216
|
| `/multi-agent:analysis-resolve` | Answer an analysis doc's Section 20 open questions one row at a time |
|
|
212
217
|
| `/multi-agent:analysis-jira` | Turn a final analysis document into a Jira story tree: stories from its rule ids, two-way coverage, full preview, creates only what is missing |
|
|
@@ -217,7 +222,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
217
222
|
### Testing on a device
|
|
218
223
|
|
|
219
224
|
| Command | What it does |
|
|
220
|
-
| ---------------------------------------- |
|
|
225
|
+
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
|
|
221
226
|
| `/multi-agent:test` | UI Bug Hunter on a booted simulator or emulator: screenshot, tap, analyze |
|
|
222
227
|
| `/multi-agent:test-dark-mode` | Walk every screen light then dark, report contrast and colour bugs; layout shift between the two is measured, not eyeballed |
|
|
223
228
|
| `/multi-agent:test-accessibility` | VoiceOver labels, sub-44pt tap targets, traits, and contrast measured as a WCAG ratio |
|
|
@@ -230,7 +235,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
230
235
|
### Design, build and store
|
|
231
236
|
|
|
232
237
|
| Command | What it does |
|
|
233
|
-
| ------------------------------------ |
|
|
238
|
+
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
234
239
|
| `/multi-agent:design-check` | Mock-mode vs Figma audit with a coverage gate; annotated HTML + PDF report |
|
|
235
240
|
| `/multi-agent:store-ready` | Pre-submission gates for iOS and Android: package audit, store validation, policy review; listing text checked for limits and banned claims |
|
|
236
241
|
| `/multi-agent:testflight-validation` | iOS-pinned alias of `store-ready`. Validates only, never uploads |
|
|
@@ -262,7 +267,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
|
|
|
262
267
|
### Setup and maintenance
|
|
263
268
|
|
|
264
269
|
| Command | What it does |
|
|
265
|
-
|
|
|
270
|
+
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
266
271
|
| `/multi-agent:setup` | First-run wizard: keychain token discovery, git identity, pipeline preparation |
|
|
267
272
|
| `/multi-agent:stack [ids]` | Enable the marketplace plugin(s) for this repo. Multi-select |
|
|
268
273
|
| `/multi-agent:scaffold <stack> <name>` | New project skeleton from the toolkit's scaffold skill, green before its first commit |
|
|
@@ -295,6 +300,8 @@ picking work up on its own, on ONE machine you choose, from repos you choose.
|
|
|
295
300
|
| `/multi-agent:autopilot-status` | What is running and at which phase, what is queued, what is waiting for an answer, the PRs of the last day, and the rolling spend |
|
|
296
301
|
| `/multi-agent:autopilot-off` | Remove the schedule. Work already running finishes; the repo selection is kept. `--now` also stops the item in flight, after naming it and asking |
|
|
297
302
|
|
|
303
|
+
**Analysis queues separately.** `/multi-agent:analysis` has an unattended queue of its own on its own tracker labels, so a repository can take analysis work without taking development work and the reverse. The labels are per repository - `analysisGithubLabel` and `analysisJiraLabel`, both defaulting to `agent-analysis` - and a configuration that gives an analysis label the same value as the development label is refused with both fields named, because one item would otherwise be picked up by both queues. An analysis item runs the analysis command against the item itself and ends at the document: the terminal outcome is `doc-delivered`, and an analysis item never opens a pull request. The per-repo Jira search for it is by label, so a repository with a custom development JQL still picks analysis work up.
|
|
304
|
+
|
|
298
305
|
### Autopilot (unattended)
|
|
299
306
|
|
|
300
307
|
The runner is a launchd tick. Each tick takes the head of the queue, runs the
|
|
@@ -356,7 +363,7 @@ too. A laptop left unplugged with the mode on stays awake until it is plugged in
|
|
|
356
363
|
or the mode is turned off; `awake.enabled: false` removes the agent and leaves
|
|
357
364
|
only the per-run lock, which macOS honours on AC only.
|
|
358
365
|
|
|
359
|
-
**The three commands ship to all three CLIs and behave identically there
|
|
366
|
+
**The three commands ship to all three CLIs and behave identically there** (the local-model host does not offer continuous mode), because
|
|
360
367
|
what they control is not a CLI feature: it is a launchd user agent whose tick
|
|
361
368
|
spawns a `claude --bg` child regardless of which CLI you typed the command in.
|
|
362
369
|
Continuous mode therefore needs the `claude` binary on `PATH` everywhere. The
|
|
@@ -451,7 +458,7 @@ Routing lets a policy pick the rung instead, per call site, and is off until you
|
|
|
451
458
|
turn it on.
|
|
452
459
|
|
|
453
460
|
| Command | What it does |
|
|
454
|
-
| --------------------------- |
|
|
461
|
+
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
455
462
|
| `/multi-agent:route-on` | Pick a strategy, a scope and the rules that say which rung a call lands on; `--free` sends simple text work to verified free models first. Validated against `route-config.schema.json` before anything is written |
|
|
456
463
|
| `/multi-agent:route-off` | Disarm it. The rules are KEPT, so turning it back on does not re-ask for the same configuration |
|
|
457
464
|
| `/multi-agent:route-status` | Whether it is armed, which rule applies where, which rung the last dispatches took, and what this run has cost |
|
|
@@ -478,10 +485,31 @@ back to Claude and the tokens kept off Claude. Contract:
|
|
|
478
485
|
[`free-models.md`](pipeline/multi-agent-refs/features/free-models.md).
|
|
479
486
|
|
|
480
487
|
**The honest limit, which `route-status` prints rather than hides.** A subagent
|
|
481
|
-
is dispatched by the host, so Phase 1-3 personas stay
|
|
482
|
-
whatever the rules say
|
|
488
|
+
is dispatched by the host, so Phase 1-3 personas stay on the ladder that host
|
|
489
|
+
offers whatever the rules say: a rung the running host does not carry, or whose
|
|
490
|
+
model belongs to a provider it does not dispatch, is skipped and the next rung
|
|
491
|
+
in the rule answers. The `free` rung answers only where the pipeline makes the
|
|
483
492
|
call itself, `bulk-read.sh` and the `delegate` call site, and decisions, plans,
|
|
484
|
-
code, reviews and triage
|
|
493
|
+
code, reviews and triage stay with the host's own models.
|
|
494
|
+
|
|
495
|
+
### Where it runs: the host registry
|
|
496
|
+
|
|
497
|
+
Every host is one record in `pipeline/schemas/hosts.json`, validated by `hosts.schema.json`, and that record is the only place a host differs. It names the install flag and root, the subtrees installed under it, where its sub-command specs live and what prefixes them, the path rewrites that turn one authored tree into that host's shape, the model rung table, the review panel and the triage slot, how a child is handed its model, the price ceiling the cost ledger prices a run at, and the argv for a headless call. `lib/host.mjs` and `lib/host.sh` read it, `lib/model-resolve.mjs` resolves a rung through it, `lib/reviewer-families.mjs` takes the panel from it, and `scripts/gen-host-tables.mjs` renders the dispatch and panel tables in the reference documents from it, so a table and the registry cannot drift apart. Adding a host is a record, not a branch in each consumer.
|
|
498
|
+
|
|
499
|
+
| Host | Install flag and root | Model rungs | Review panel | Children at once | Network |
|
|
500
|
+
| ---- | --------------------- | ----------- | ------------ | ---------------- | ------- |
|
|
501
|
+
| Claude Code | `--claude`, `~/.claude` | fable, opus, sonnet, haiku | three in parallel, one vendor | no stated ceiling | required |
|
|
502
|
+
| Copilot CLI | `--copilot`, `~/.copilot` | opus, sonnet, haiku | three in parallel, two vendors | no stated ceiling | required |
|
|
503
|
+
| Codex CLI | `--codex`, `~/.codex` | four rungs, each a model and a reasoning effort | three in parallel, one vendor | 3 | required |
|
|
504
|
+
| Local model | `--local`, `~/.codex-local` | all four collapse to the one model you serve | one reviewer, triage on the same model | 1 | optional |
|
|
505
|
+
|
|
506
|
+
### A model served from your own machine
|
|
507
|
+
|
|
508
|
+
`install --local` is the Codex engine pointed at a model on this machine, installed into a tree of its own so it cannot retune an existing Codex install. It is not "any OpenAI-compatible server": the engine speaks the OpenAI **Responses** API and no other, so the server has to answer `POST /v1/responses`. Ollama serves that endpoint from v0.13.3 and the engine asks for v0.13.4 or newer; whether another local server qualifies is a question about which endpoint that server offers, and LM Studio and generic servers have not been measured here.
|
|
509
|
+
|
|
510
|
+
Two values are yours and live in preferences, validated before either reaches a config or an agent file: `global.localModel.baseUrl` (loopback unless you set `allowRemote`, because the base URL is where every prompt in a run goes), `global.localModel.model`, and `global.localModel.contextWindow`, which is required rather than guessed - a window set too small truncates the diff and the run then reports on a file it never saw. `/multi-agent:doctor` carries a `local-model` check that reads them, and with `--probe` asks the server whether it answers.
|
|
511
|
+
|
|
512
|
+
The profile claims the pipeline runs, not that it runs as well: one reviewer instead of three is less disagreement to triage, and a smaller model reads a diff less carefully. Autopilot is not offered on it. Price is zero per token and the ledger still counts tokens, so a run stays comparable with one that cost money. The gate `smoke-local-host.sh` covers the registry shape, the preference refusals, an install that keeps to its own tree and the agent binding with and without a configured model; no model is started there, and no end-to-end run against a real local model has been recorded. [Local model host](./pipeline/multi-agent-refs/features/local-model.md)
|
|
485
513
|
|
|
486
514
|
**The top rung is a switch.** `/multi-agent:fable-on` and `/multi-agent:fable-off` turn `fable` on and off
|
|
487
515
|
(`prefs.global.modelFallback.fableEnabled`, shipped off). The review commands,
|
|
@@ -501,13 +529,14 @@ This enables the matching plugin (+ the shared `ai-common` plugin) in the repo's
|
|
|
501
529
|
|
|
502
530
|
## Tool support
|
|
503
531
|
|
|
504
|
-
The pipeline runs natively on **Claude Code**, **Copilot CLI** and **
|
|
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 -->81<!-- /fact --> commands. Which host you are on is a record in `pipeline/schemas/hosts.json`, not a branch in each installer.
|
|
505
533
|
|
|
506
534
|
| Tool | Flag | What it installs |
|
|
507
|
-
| ----------- | -------------------- |
|
|
535
|
+
| ----------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
508
536
|
| Claude Code | `--claude` (default) | slash commands + skills + agents + the enforcement hooks (secret scan, agent-guard, read-size gate, run-scope guard, run-stop guard) |
|
|
509
|
-
| Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->81<!-- /fact --> sub-command skills + scripts
|
|
537
|
+
| Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->81<!-- /fact --> sub-command skills + scripts + its own `multi-agent-refs` tree |
|
|
510
538
|
| Codex CLI | `--codex` | one router skill + <!-- fact:commandCount -->81<!-- /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
|
+
| Local model | `--local` | the same as Codex CLI, in `~/.codex-local/`, bound to a model served from this machine ([local model](pipeline/multi-agent-refs/features/local-model.md)) |
|
|
511
540
|
|
|
512
541
|
Filter skills by stack with `--platform=ios\|android\|all`.
|
|
513
542
|
|
|
@@ -520,13 +549,19 @@ nothing until read - same commands, same behaviour, a layout the host can actual
|
|
|
520
549
|
|
|
521
550
|
Reviewer sets differ because the available models do: Claude Code runs 3 reviewers
|
|
522
551
|
(Fable + Opus + Sonnet; 2 while the fable rung is off), Copilot CLI 3 (Opus + GPT-5.4 + Sonnet), Codex CLI 3 (gpt-5.6 at
|
|
523
|
-
xhigh, gpt-5.4, gpt-5.6 at medium)
|
|
552
|
+
xhigh, gpt-5.4, gpt-5.6 at medium), and the local-model host 1, with triage on the same
|
|
553
|
+
model - a panel of one is the honest limit of running on a single local model, not a
|
|
554
|
+
configuration choice. Claude Code and Codex are single-vendor panels, so
|
|
524
555
|
consensus among their three is weaker evidence than the same consensus on Copilot CLI,
|
|
525
556
|
the one host whose panel spans two vendors, and the triage note says so.
|
|
526
557
|
|
|
527
558
|
## Tokens & integrations
|
|
528
559
|
|
|
529
|
-
`setup` scans your OS keychain and
|
|
560
|
+
`setup` scans your OS keychain and records each credential as a **service account**: one entry that carries the service, the host the credential may be sent to, and the credential-store item **names** that hold it (`prefs.global.serviceAccounts`). Literal keychain names never appear in synced files, and no value is ever written to preferences. Tokens stay in the macOS Keychain, are **never committed or logged**, and are all **optional** - the pipeline asks for any it needs at Phase 0.
|
|
561
|
+
|
|
562
|
+
`pipeline/lib/service-account.mjs` is the only module that decides a destination, and two rules shape it. **A secret is never produced without a destination that was checked against the account holding it**: a request naming no host is refused rather than answered from the default account, and a host no account covers is refused rather than matched to the nearest one. **A file with no `serviceAccounts` in it resolves identically**, because the same entries are derived in memory from the flat keys - a missing array is the old shape, read the new way, not a refusal.
|
|
563
|
+
|
|
564
|
+
The host is matched **exactly**: a subdomain of a configured host, a name that merely ends in one, and userinfo in the URL are refused rather than allowed, and `http` is accepted only at loopback, where there is no network to carry the request. A credential supplied through an environment variable is answered too - a CI job, a container and a first run before setup all supply one that way - but it is bound differently, because nobody said which host it belongs to: it reaches a host a configured account already covers, the vendor's own hosts, whatever its own `*_HOST` variable names, and loopback, and nothing else. It never wins a destination a configured account also covers, and it never becomes the default. Shell callers go through `pipeline/lib/_service-account.sh`, which hands curl a config carrying the URL and the credential together and refuses redirects, so nothing can point the request elsewhere between the check and the send; the credential reaches neither argv, an environment variable, nor a log. One account per service is a complete setup; two accounts of the same service are told apart by the host, the identity or the account id. [Service accounts](./pipeline/multi-agent-refs/features/service-accounts.md)
|
|
530
565
|
|
|
531
566
|
| Token | Used for | Phase |
|
|
532
567
|
| --------------------- | ---------------------------------------------------------------- | ----------------------- |
|
|
@@ -546,7 +581,7 @@ The **secret scan** runs as a `PreToolUse` hook on Claude Code (hard-blocks a co
|
|
|
546
581
|
**Hooks per host.** The enforcement hooks are Claude Code's; `install` registers them and `/multi-agent:doctor` (`hook-reachability`) says which are missing from your settings.
|
|
547
582
|
|
|
548
583
|
| Hook | Claude Code | Codex CLI | Copilot CLI |
|
|
549
|
-
|
|
|
584
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------- | ---------------------------------------------------- |
|
|
550
585
|
| `pre-commit-check.sh` (secret scan, owned paths, attended build/test evidence, unattended ledger) | PreToolUse `Bash` | none: pre-push check | none: pre-push check |
|
|
551
586
|
| `agent-guard.sh` (attribution, force-push, skipped git hooks, argv secrets, closure confirmations, read-only repos, your own `guardRules`, unattended policy) | PreToolUse `Bash`, file edits, fetch and toolkit tools | none | none |
|
|
552
587
|
| `pr-write-guard.sh` (asks before `/multi-agent:address-review` writes to GitHub, denies it unattended) | PreToolUse `Bash` | none: the engine's own propose/apply token stands alone | none |
|
|
@@ -592,7 +627,7 @@ Runs on **macOS** only. The package declares `os: ["darwin"]`, so `npm` refuses
|
|
|
592
627
|
## Companion repos
|
|
593
628
|
|
|
594
629
|
| Repo | What it is |
|
|
595
|
-
|
|
|
630
|
+
| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
596
631
|
| [`multi-agent-ecosystem/multi-agent-plugins`](https://github.com/multi-agent-ecosystem/multi-agent-plugins) | Marketplace of per-stack skill toolkits (iOS / Android / Frontend / Backend + common). `/multi-agent:stack` enables the matching plugin. |
|
|
597
632
|
| [`multi-agent-ecosystem/multi-agent-mcp`](https://github.com/multi-agent-ecosystem/multi-agent-mcp) | MCP server for device, browser, store and code tools - powers `/multi-agent:test` and the Review phase's device checks; every family by stack and phase is in [`toolkit-tools.md`](pipeline/multi-agent-refs/toolkit-tools.md). Published on the public npm registry as [`@mmerterden/multi-agent-mcp`](https://www.npmjs.com/package/@mmerterden/multi-agent-mcp); the installer registers it with each CLI for you, so `npx` resolves it with no extra configuration. |
|
|
598
633
|
|
package/README.tr.md
CHANGED
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
🇬🇧 English: [README.md](./README.md)
|
|
10
10
|
|
|
11
|
-
**Claude Code**, **Copilot CLI** ve **
|
|
11
|
+
**Claude Code**, **Copilot CLI**, **Codex CLI** ve bir **yerel model host'u** için <!-- fact:phaseCount -->6<!-- /fact --> fazlı bir AI geliştirme pipeline'ı. Bir Jira issue'sunu veya GitHub URL'sini tek komutla merge edilmiş bir PR'a dönüştürür - analiz → plan → TDD → review → test → commit → PR - çoklu-repo orkestrasyonu, bir plan-onay kapısı, CLI-farkında paralel review ve store-uyumluluk kontrolleriyle birlikte. Component ve Figma-to-code işleri paket içine gömülmek yerine stack başına marketplace plugin'lerine (iOS/SwiftUI, Android/Compose) devredilir, böylece component skill'leri tek bir yerde yaşar.
|
|
12
12
|
|
|
13
|
-
Claude Code, Copilot CLI ve Codex
|
|
13
|
+
Claude Code, Copilot CLI, Codex CLI ve dördüncü bir host - kendi makinende sunulan bir modele bağlanan Codex motoru - üzerinde native çalışır. Yalnızca macOS. Sıfır runtime dependency.
|
|
14
14
|
|
|
15
15
|
📐 **[Mimari diyagramları](./docs/architecture.md)** - <!-- fact:phaseCount -->6<!-- /fact --> faz akışı, çalışma modları, review/triage, Figma subphase'leri, component yapısı. **[Ekosistem diyagramı](./docs/ecosystem.md)** - bu repo, `multi-agent-plugins` marketplace'i ve `multi-agent-mcp`'nin nasıl bir araya geldiği.
|
|
16
16
|
|
|
17
17
|
### Önkoşullar
|
|
18
18
|
|
|
19
19
|
- **Node.js >= 20.11** - zorunlu; pipeline'ın kendi araçları bunun üzerinde koşuyor.
|
|
20
|
-
- **`jq`** -
|
|
20
|
+
- **`jq`** - dokuz yol için zorunlu, geri kalanı için opsiyonel. 97 kabuk dosyası ona başvuruyor. Yayınlayan ya da karar veren bu dokuz yol - autopilot kuyruğu, Jira yorumları, Jira Issue Link'leri, PR review'ları, issue güncellemeleri, plan dosyası, iki Figma fetcher'ı ve log araması - `jq` yokken çalışmak yerine exit 3 ile reddediyor, çünkü eksik bir `jq` boş VERİ olarak görünür ve iş onunla devam eder. Diğer yerlerde `jq` olmadan da çalışıyor, yalnızca daha az şey yapıyor. Kurulum, eksikse bir not basıyor.
|
|
21
21
|
- **`gh`** - GitHub issue ve PR işleri için. Kendi dahili `--jq`'su, `jq` ikilisinden bağımsız.
|
|
22
22
|
|
|
23
23
|
## Hızlı Başlangıç
|
|
@@ -27,7 +27,8 @@ Claude Code, Copilot CLI ve Codex CLI üzerinde native çalışır. Yalnızca ma
|
|
|
27
27
|
npx @mmerterden/multi-agent-pipeline install --claude # sadece Claude Code (varsayılan)
|
|
28
28
|
npx @mmerterden/multi-agent-pipeline install --copilot # sadece Copilot CLI
|
|
29
29
|
npx @mmerterden/multi-agent-pipeline install --codex # sadece Codex CLI
|
|
30
|
-
npx @mmerterden/multi-agent-pipeline install --
|
|
30
|
+
npx @mmerterden/multi-agent-pipeline install --local # bu makinede sunulan bir model
|
|
31
|
+
npx @mmerterden/multi-agent-pipeline install --all # yukarıdaki her host
|
|
31
32
|
|
|
32
33
|
# sonra, bir kere:
|
|
33
34
|
/multi-agent:setup # keychain token taraması + git kimliği + varsayılan stack
|
|
@@ -101,7 +102,9 @@ yaşayacağı: worktree mi, mevcut checkout'un mu.
|
|
|
101
102
|
- **4 · Commit/PR** - conventional commit, push (başarılı olmalı), bir PR aç (`Ref: #N`, asla otomatik kapatma). Gözetimsiz bir koşu commit'te durur ve bir PR isteğini autopilot koşucusuna bırakır; koşucu isteği doğrular ve taslak bir PR açar.
|
|
102
103
|
- **5 · Report** - teknik özet + test senaryolarıyla bir Jira yorumu, channels katmanından gönderilir. Terminalden başlatılan bir autopilot koşusunun hâlâ durduğu tek adım bu; gözetimsiz bir koşu Faz 4 devrinde biter ve koşucu, PR açıldıktan sonra yapılandırdığın raporları gönderir.
|
|
103
104
|
|
|
104
|
-
Faz listesi `pipeline/schemas/phases.json`'da duruyor; `smoke-phase-contract.sh` onun diğer her kopyasını - üreticinin çıktısını, token bütçesini, state-şema sınırlarını, örnek çıktılardaki ilerleme kesirlerini - bu tek dosyaya bağlı tutuyor.
|
|
105
|
+
Faz listesi `pipeline/schemas/phases.json`'da duruyor; `smoke-phase-contract.sh` onun diğer her kopyasını - üreticinin çıktısını, token bütçesini, state-şema sınırlarını, örnek çıktılardaki ilerleme kesirlerini - bu tek dosyaya bağlı tutuyor. Her faz kendi alt adımlarını da orada bildirir (`steps`) ve `phase-tracker.sh add` bunları host'un ilerleme widget'ına kaydeder; böylece koşu ilk sınırına geldiğinde Faz 0 altında `0.1 Intake`, `0.2 Workspace` ve `0.3 Task contract` satırları zaten görünür, aynısı Plan, Review, Commit ve Report için de geçerlidir. Dev bilerek hiç bildirmez: onun alt adımları Faz 1'in plan görevleridir ve plan onaylandığında eklenir. Numara satır metninin içinde taşınır, çünkü widget satır başına tek bir dize basar ve yanında başka alan tutmaz.
|
|
106
|
+
|
|
107
|
+
Bir faz çalışırken ne yaptığını da söyler: kanonik satırlar `schemas/now-lines.json`'da durur, `multi-agent-refs/tracker-contract.md` her faz için `phase-tracker.sh now <id>` çağrısını tek tabloda taşır ve `scripts/lint-now-lines.mjs` ikisini birbirine bağlı tutar. Satır tek kayıttan hem native görev widget'ının konusuna, hem kartın `Now:` satırına, hem de ofisin faz kartına gider; satır yazmadan ilerleyen faz, kendi işleyen adımının adına düşer. Aynı konu harcayan modeli, geçen süreyi, token sayısını, yaklaşık tutarı ve adım sayısını da taşır; sığmadığında sabit bir sırayla eksiltilir. Koşunun sonunda `scripts/render-work-summary.sh --format terminal` yalın bir özet basar: ne değişti, ne denetlendi, ne teslim edildi, sende ne kaldı.
|
|
105
108
|
|
|
106
109
|
`/multi-agent:analysis` kendi kısa zincirini koşar ve yazdığını yayınlamadan önce review eder: taslak, bir kod diff'iyle aynı üç-reviewer setinden ve triyajdan geçer, bloklayıcı bulgu dokümanı sentez fazına geri gönderip dispatch'i kapatır, hayatta kalan boşluklar ya aranır ya sana sorulur ya da sahibiyle birlikte kayda girer.
|
|
107
110
|
|
|
@@ -167,6 +170,8 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
|
|
|
167
170
|
| `/multi-agent "task" autopilot` | Aynı pipeline, gözetimsiz: worktree'ye çözülür, onay sorulmaz |
|
|
168
171
|
| `/multi-agent:resume` | Yarım kalan iş, iki kaynaktan da: duran koşu kaldığı yerden devam eder, arkasında koşu olmayan branch kuyruğu alır (Review → Build+Test → Commit/PR → Report) |
|
|
169
172
|
|
|
173
|
+
**Arkasında hiçbir şey yazılmadan çağrıldığında `/multi-agent` ve `/multi-agent:analysis` rehberi basmak yerine sorar.** İkisi de argüman bekler: bir anahtar, bir URL, `repo#N`, düz metin, bir alt komut. Biçimleri bilen için hızlı, bilmeyen için okunacak bir duvar. `/multi-agent` dört seçenek sunar: tracker maddelerin, atanmamış issue'lar, görevi tek cümleyle anlatmak, ya da rehber. Analiz komutu da dördünü sunar: yeni analiz, bir dokümanı kontrol etmek, tazelemek ya da biçime uydurmak. Yazılan her biçim eskisi gibi yönlenir; hesap, olgunluk ve dev-context adımları cevaptan sonra yine koşar. Hangisi olduğuna `scripts/entry-mode.mjs` karar verir - `typed`, `picker`, `usage` (görevsiz bir ek, örneğin tek başına `autopilot`; sorsaydık ek sessizce düşerdi) ya da `refuse-unattended` - böylece cevap her host'ta aynı çıkar ve görevsiz başlatılan gözetimsiz bir koşu, hiçbir şey üretmeden zaman aşımını beklemek yerine tek satırda durur.
|
|
174
|
+
|
|
170
175
|
### Görev kontrolü
|
|
171
176
|
|
|
172
177
|
| Komut | Ne yapar |
|
|
@@ -295,6 +300,8 @@ alması.
|
|
|
295
300
|
| `/multi-agent:autopilot-status` | Ne koşuyor hangi fazda, sırada ne var, ne cevap bekliyor, son bir günün PR'ları ve yuvarlanan harcama |
|
|
296
301
|
| `/multi-agent:autopilot-off` | Zamanlamayı kaldırır. Koşan iş biter; repo seçimi saklanır. `--now` o an koşan maddeyi de durdurur, önce adını söyleyip sorar |
|
|
297
302
|
|
|
303
|
+
**Analizin kuyruğu ayrıdır.** `/multi-agent:analysis` için kendi etiketleri üzerinde ayrı bir gözetimsiz kuyruk var; böylece bir repo geliştirme işi almadan analiz işi alabilir, tersi de geçerli. Etiketler repo bazında tutulur - `analysisGithubLabel` ve `analysisJiraLabel`, ikisinin de varsayılanı `agent-analysis` - ve analiz etiketine geliştirme etiketiyle aynı değeri veren yapılandırma, iki alanın adı da söylenerek reddedilir; yoksa tek madde iki kuyruğa birden düşerdi. Analiz maddesi analiz komutunu maddenin kendisi üzerinde koşturur ve dokümanda biter: nihai sonuç `doc-delivered` olur, analiz maddesi hiçbir zaman PR açmaz. Jira tarafında arama etiketle yapılır, bu yüzden geliştirme için özel JQL yazan bir repo da analiz işini almaya devam eder.
|
|
304
|
+
|
|
298
305
|
### Autopilot (gözetimsiz)
|
|
299
306
|
|
|
300
307
|
Koşucu bir launchd tick'idir. Her tick kuyruğun başındaki maddeyi alır, tüm
|
|
@@ -481,6 +488,25 @@ merdiveninde kalır. `free` basamağı yalnız pipeline'ın çağrıyı kendisi
|
|
|
481
488
|
yerlerde cevap verir, `bulk-read.sh` ve `delegate` çağrı noktası; karar, plan,
|
|
482
489
|
kod, review ve triyaj asla Claude'dan çıkmaz.
|
|
483
490
|
|
|
491
|
+
### Nerede koşuyor: host kayıt defteri
|
|
492
|
+
|
|
493
|
+
Her host, `pipeline/schemas/hosts.json` içinde tek bir kayıttır ve `hosts.schema.json` ile doğrulanır; bir host'un diğerlerinden farklı olduğu tek yer o kayıttır. Kayıt şunları söyler: kurulum bayrağı ve kökü, altına kurulan ağaçlar, alt komut tanımlarının yeri ve ön eki, tek bir yazım ağacını o host'un biçimine çeviren yol kuralları, model basamakları tablosu, review paneli ve triyaj yuvası, bir çocuğa modelinin nasıl verildiği, maliyet defterinin koşuyu hangi fiyattan yazdığı ve headless çağrının argv'si. `lib/host.mjs` ile `lib/host.sh` bunu okur, `lib/model-resolve.mjs` basamağı bunun üzerinden çözer, `lib/reviewer-families.mjs` paneli buradan alır ve `scripts/gen-host-tables.mjs` referans dokümanlarındaki dispatch ve panel tablolarını buradan üretir; böylece tablo ile kayıt defteri birbirinden ayrı düşemez. Yeni bir host eklemek, her tüketiciye bir dal değil, bir kayıt eklemektir.
|
|
494
|
+
|
|
495
|
+
| Host | Kurulum bayrağı ve kök | Model basamakları | Review paneli | Aynı anda çocuk | Ağ |
|
|
496
|
+
| ---- | ---------------------- | ----------------- | ------------- | --------------- | -- |
|
|
497
|
+
| Claude Code | `--claude`, `~/.claude` | fable, opus, sonnet, haiku | paralel üç, tek vendor | belirtilmiş tavan yok | zorunlu |
|
|
498
|
+
| Copilot CLI | `--copilot`, `~/.copilot` | opus, sonnet, haiku | paralel üç, iki vendor | belirtilmiş tavan yok | zorunlu |
|
|
499
|
+
| Codex CLI | `--codex`, `~/.codex` | dört basamak; her biri bir model ve bir akıl yürütme eforu | paralel üç, tek vendor | 3 | zorunlu |
|
|
500
|
+
| Yerel model | `--local`, `~/.codex-local` | dördü de senin sunduğun tek modele iner | tek reviewer, triyaj aynı modelde | 1 | isteğe bağlı |
|
|
501
|
+
|
|
502
|
+
### Kendi makinende sunulan bir model
|
|
503
|
+
|
|
504
|
+
`install --local`, bu makinedeki bir modele bağlanan Codex motorudur ve kendi ağacına kurulur; var olan bir Codex kurulumunu yeniden ayarlayamaz. "Herhangi bir OpenAI uyumlu sunucu" değildir: motor yalnızca OpenAI **Responses** API'sini konuşur, yani sunucunun `POST /v1/responses` isteğini karşılaması gerekir. Ollama bu uç noktayı v0.13.3'ten beri sunuyor, motor ise v0.13.4 ve sonrasını istiyor; başka bir yerel sunucunun uyup uymadığı, o sunucunun hangi uç noktayı sunduğu sorusudur ve LM Studio ile genel sunucular burada ölçülmedi.
|
|
505
|
+
|
|
506
|
+
İki değer sana ait ve tercihlerde duruyor; ikisi de bir yapılandırma dosyasına ya da agent dosyasına geçmeden önce doğrulanıyor: `global.localModel.baseUrl` (`allowRemote` açıkça verilmedikçe loopback, çünkü koşudaki her prompt bu adrese gider), `global.localModel.model` ve `global.localModel.contextWindow`. Sonuncusu tahmin edilmez, zorunludur: küçük tutulan bir pencere diff'i kırpar ve koşu hiç görmediği bir dosya hakkında rapor yazar. `/multi-agent:doctor` bunları okuyan bir `local-model` kontrolü taşır; `--probe` ile sunucuya cevap verip vermediğini de sorar.
|
|
507
|
+
|
|
508
|
+
Profilin iddiası pipeline'ın koştuğudur, aynı kalitede koştuğu değil: üç yerine tek reviewer, triyaja daha az anlaşmazlık taşır ve küçük bir model diff'i daha az dikkatle okur. Bu host'ta autopilot sunulmaz. Token başına fiyat sıfırdır, defter yine de token sayar; böylece koşu, para harcayan bir koşuyla karşılaştırılabilir kalır. `smoke-local-host.sh` kayıt defterinin biçimini, tercih retlerini, kendi ağacında kalan bir kurulumu ve modelli/modelsiz agent bağlamasını kapsar; orada hiçbir model başlatılmaz ve gerçek bir yerel modele karşı uçtan uca bir koşu kaydedilmedi. [Yerel model host'u](./pipeline/multi-agent-refs/features/local-model.md)
|
|
509
|
+
|
|
484
510
|
**Üst basamak bir anahtar.** `/multi-agent:fable-on` `fable`'ı açar, `/multi-agent:fable-off` kapatır
|
|
485
511
|
(`prefs.global.modelFallback.fableEnabled`, kapalı gelir). Review komutları,
|
|
486
512
|
triyaj ve plan critic kendi yuvalarını bu anahtar üzerinden çözer: Claude
|
|
@@ -499,13 +525,14 @@ Bu, ilgili plugin'i (+ ortak `ai-common` plugin'ini) repo'nun `.claude/settings.
|
|
|
499
525
|
|
|
500
526
|
## Araç desteği
|
|
501
527
|
|
|
502
|
-
Pipeline **Claude Code**, **Copilot CLI** ve **
|
|
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 -->81<!-- /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.
|
|
503
529
|
|
|
504
530
|
| Araç | Bayrak | Ne kurar |
|
|
505
531
|
| ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
|
506
532
|
| Claude Code | `--claude` (varsayılan) | slash komutları + skill'ler + agent'lar + üç `PreToolUse` hook'u (secret scan, agent-guard, okuma-boyutu geçidi) |
|
|
507
533
|
| Copilot CLI | `--copilot` | talimatlar + <!-- fact:commandCount -->81<!-- /fact --> alt-komut skill'i + script'ler |
|
|
508
534
|
| Codex CLI | `--codex` | bir router skill + ref olarak <!-- fact:commandCount -->81<!-- /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
|
+
| Yerel model | `--local` | Codex CLI ile aynısı, `~/.codex-local/` içine, bu makinede sunulan bir modele bağlı ([yerel model](pipeline/multi-agent-refs/features/local-model.md)) |
|
|
509
536
|
|
|
510
537
|
Skill'leri stack'e göre filtrele: `--platform=ios\|android\|all`.
|
|
511
538
|
|
|
@@ -519,13 +546,21 @@ host'un gerçekten tutabildiği bir düzen.
|
|
|
519
546
|
|
|
520
547
|
Reviewer setleri farklı çünkü mevcut modeller farklı: Claude Code 3 reviewer çalıştırır
|
|
521
548
|
(Fable + Opus + Sonnet; fable basamağı kapalıyken 2), Copilot CLI 3 (Opus + GPT-5.4 + Sonnet), Codex CLI 3 (xhigh'da
|
|
522
|
-
gpt-5.6, gpt-5.4, medium'da gpt-5.6)
|
|
549
|
+
gpt-5.6, gpt-5.4, medium'da gpt-5.6), yerel model host'u ise 1 ve triyaj da aynı
|
|
550
|
+
modelde koşar - tek bir yerel modelde koşmanın dürüst sınırı budur, yapılandırma
|
|
551
|
+
tercihi değil. Codex tek-vendor olduğu için üçü arasındaki
|
|
523
552
|
konsensüs, iki-vendor'lu bir host'taki aynı konsensüsten daha zayıf bir kanıttır ve
|
|
524
553
|
triage notu bunu belirtir.
|
|
525
554
|
|
|
526
555
|
## Token'lar ve entegrasyonlar
|
|
527
556
|
|
|
528
|
-
`setup` OS keychain'ini tarar ve her
|
|
557
|
+
`setup` OS keychain'ini tarar ve her kimlik bilgisini bir **servis hesabı** olarak kaydeder: hangi servise ait olduğunu, hangi host'a gönderilebileceğini ve onu tutan kimlik deposu girdilerinin **adlarını** taşıyan tek bir kayıt (`prefs.global.serviceAccounts`). Literal keychain isimleri hiçbir sync edilen dosyada görünmez ve tercihlere hiçbir değer yazılmaz. Token'lar macOS Keychain'de kalır, **asla commit edilmez ya da loglanmaz**, ve hepsi **opsiyoneldir** - pipeline Phase 0'da ihtiyaç duyduğu herhangi birini sorar.
|
|
558
|
+
|
|
559
|
+
Hedefe karar veren tek modül `pipeline/lib/service-account.mjs` ve onu iki kural biçimlendiriyor. **Sır, onu tutan hesaba karşı kontrol edilmiş bir hedef olmadan asla üretilmez**: host belirtmeyen istek varsayılan hesaptan cevaplanmaz, reddedilir; hiçbir hesabın kapsamadığı host en yakın eşleşmeye bağlanmaz, reddedilir. **İçinde `serviceAccounts` bulunmayan dosya aynı cevabı verir**, çünkü aynı girdiler eski düz anahtarlardan bellekte türetilir - eksik dizi ret değil, eski biçimin yeni okunuşudur.
|
|
560
|
+
|
|
561
|
+
Host birebir eşleşir: tanımlı bir host'un alt alan adı, yalnızca onunla biten bir ad ve URL içindeki kullanıcı bilgisi kabul edilmez, reddedilir; `http` yalnızca loopback'te geçerlidir, çünkü orada isteği taşıyacak bir ağ yoktur. Ortam değişkeniyle verilen kimlik bilgisi de cevaplanır - bir CI işi, bir konteyner ve setup'tan önceki ilk koşu onu böyle verir - ama farklı bağlıdır, çünkü hangi host'a ait olduğunu kimse söylememiştir: tanımlı bir hesabın zaten kapsadığı bir host'a, vendor'ın kendi host'larına, kendi `*_HOST` değişkeninin adlandırdığı yere ve loopback'e ulaşır, başka hiçbir yere. Tanımlı bir hesabın da kapsadığı bir hedefi asla kazanmaz ve asla varsayılan olmaz.
|
|
562
|
+
|
|
563
|
+
Kabuk tarafındaki çağıranlar `pipeline/lib/_service-account.sh` üzerinden geçer: curl'e URL ile kimlik bilgisini birlikte taşıyan bir config verilir ve yönlendirmeler reddedilir, böylece kontrol ile istek arasında hiçbir şey curl'ü başka yere çeviremez; kimlik bilgisi ne argv'ye, ne bir ortam değişkenine, ne de bir log'a ulaşır. Bir servis için tek hesap tam bir kurulumdur; aynı servisin iki hesabı host, kimlik ya da hesap kimliğiyle ayrılır. [Servis hesapları](./pipeline/multi-agent-refs/features/service-accounts.md)
|
|
529
564
|
|
|
530
565
|
| Token | Ne için kullanılır | Faz |
|
|
531
566
|
| --------------------- | ------------------------------------------------------------------ | ----------------------- |
|
package/SECURITY.md
CHANGED
|
@@ -6,9 +6,9 @@ We provide security fixes for the latest minor of the current major. Older versi
|
|
|
6
6
|
|
|
7
7
|
| Version | Supported |
|
|
8
8
|
| ------- | ---------------------- |
|
|
9
|
-
|
|
|
10
|
-
|
|
|
11
|
-
| ≤
|
|
9
|
+
| 24.x | ✅ active |
|
|
10
|
+
| 23.x | ⚠️ security fixes only |
|
|
11
|
+
| ≤ 22.x | ❌ end-of-life |
|
|
12
12
|
|
|
13
13
|
## Reporting a Vulnerability
|
|
14
14
|
|
package/docs/architecture.md
CHANGED
|
@@ -44,6 +44,43 @@ graph LR
|
|
|
44
44
|
end
|
|
45
45
|
```
|
|
46
46
|
|
|
47
|
+
## Hosts
|
|
48
|
+
|
|
49
|
+
A host is one record in `pipeline/schemas/hosts.json`, checked against
|
|
50
|
+
`hosts.schema.json`. The record is the only place a host differs from the
|
|
51
|
+
others, so a consumer reads a field instead of branching on a name.
|
|
52
|
+
|
|
53
|
+
| What the record carries | Example of what reads it |
|
|
54
|
+
| ----------------------- | ------------------------ |
|
|
55
|
+
| install flag, install root, the subtrees installed under it | `install/index.mjs`, `install/claude.mjs`, `install/codex.mjs` |
|
|
56
|
+
| where sub-command specs live and what prefixes them | the installers and the command specs |
|
|
57
|
+
| path rewrites, from the authored tree to this host's shape | `install/_rewrite-tree.mjs` |
|
|
58
|
+
| model rung table and how the rung binds (runtime env, runtime flag, install, session) | `pipeline/lib/model-resolve.mjs` |
|
|
59
|
+
| review panel and triage slot | `pipeline/lib/reviewer-families.mjs`, `scripts/gen-host-tables.mjs` |
|
|
60
|
+
| dispatch mechanism, model argument, effort argument, children at once | the phase dispatch and `gen-host-tables.mjs` |
|
|
61
|
+
| price ceiling key, headless argv, session-usage format, network requirement | the cost ledger, headless calls, usage reading |
|
|
62
|
+
|
|
63
|
+
`pipeline/lib/host.mjs` and `pipeline/lib/host.sh` are the two readers of the
|
|
64
|
+
file; `scripts/gen-host-tables.mjs` renders the dispatch and panel tables into
|
|
65
|
+
`multi-agent-refs/review/panel.md` and
|
|
66
|
+
`multi-agent-refs/features/model-fallback.md` from it, with a `--check` mode, so
|
|
67
|
+
a documented table and the registry cannot disagree.
|
|
68
|
+
|
|
69
|
+
| Host | Install | Rungs | Panel | Children | Network |
|
|
70
|
+
| ---- | ------- | ----- | ----- | -------- | ------- |
|
|
71
|
+
| Claude Code | `--claude`, `~/.claude` | fable, opus, sonnet, haiku | three, one vendor | no stated ceiling | required |
|
|
72
|
+
| Copilot CLI | `--copilot`, `~/.copilot` | opus, sonnet, haiku | three, two vendors | no stated ceiling | required |
|
|
73
|
+
| Codex CLI | `--codex`, `~/.codex` | four, each a model and an effort | three, one vendor | 3 | required |
|
|
74
|
+
| Local model | `--local`, `~/.codex-local` | all four collapse to one model | one, triage on the same model | 1 | optional |
|
|
75
|
+
|
|
76
|
+
The local-model host is the Codex engine in a tree of its own, pointed at a
|
|
77
|
+
server on this machine that answers the OpenAI Responses API
|
|
78
|
+
(`POST /v1/responses`). It shares the Codex installer and differs only in its
|
|
79
|
+
record and in the two preference values the user supplies
|
|
80
|
+
(`global.localModel`), which `pipeline/lib/local-model.mjs` validates before
|
|
81
|
+
either reaches a config file or an agent file. Detail:
|
|
82
|
+
[`local-model.md`](../pipeline/multi-agent-refs/features/local-model.md).
|
|
83
|
+
|
|
47
84
|
## Review Architecture (Phase 3)
|
|
48
85
|
|
|
49
86
|
<!-- facts: reworkDefault="rounds by" -->
|
|
@@ -131,9 +168,9 @@ graph TB
|
|
|
131
168
|
end
|
|
132
169
|
|
|
133
170
|
IDX --> INS
|
|
134
|
-
INS -->|copies
|
|
135
|
-
INS -->|copies
|
|
136
|
-
INS -->|copies
|
|
171
|
+
INS -->|copies into the host tree| CMD
|
|
172
|
+
INS -->|copies into the host tree| AGT
|
|
173
|
+
INS -->|copies into the host tree| RUL
|
|
137
174
|
CMD --> PHS
|
|
138
175
|
SCH --> EVL
|
|
139
176
|
SCH --> SMK
|
|
@@ -209,7 +246,7 @@ repo and the website, plus the two independently shipped repos
|
|
|
209
246
|
```mermaid
|
|
210
247
|
graph TD
|
|
211
248
|
CC["Claude Code<br/>(source of truth)"]
|
|
212
|
-
COP["Copilot CLI<br/>(instructions + 81 sub-command skills)"]
|
|
249
|
+
COP["Copilot CLI<br/>(instructions + 81 sub-command skills<br/>+ its own refs tree)"]
|
|
213
250
|
COD["Codex CLI<br/>(1 router skill + 81 refs)"]
|
|
214
251
|
REPO["Pipeline Repo<br/>(npm package)"]
|
|
215
252
|
WEB["Website"]
|