@mmerterden/multi-agent-pipeline 23.6.0 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/CHANGELOG.md +56 -1
  2. package/README.md +61 -27
  3. package/README.tr.md +46 -12
  4. package/SECURITY.md +3 -3
  5. package/docs/architecture.md +47 -8
  6. package/docs/ecosystem.md +20 -18
  7. package/docs/engineering.md +1 -1
  8. package/docs/facts.json +8 -6
  9. package/docs/features.md +59 -15
  10. package/install/_codex-agents.mjs +13 -8
  11. package/install/_common.mjs +24 -0
  12. package/install/_dev-only-files.mjs +4 -0
  13. package/install/_mcp-register.mjs +6 -2
  14. package/install/_rewrite-tree.mjs +197 -0
  15. package/install/codex.mjs +96 -180
  16. package/install/copilot.mjs +24 -54
  17. package/install/index.mjs +29 -11
  18. package/install/templates/codex-instructions.md +21 -5
  19. package/install/templates/copilot-instructions.md +21 -14
  20. package/manifest.json +2082 -0
  21. package/package.json +6 -2
  22. package/pipeline/commands/multi-agent/SKILL.md +7 -5
  23. package/pipeline/commands/multi-agent/analysis/SKILL.md +4 -0
  24. package/pipeline/commands/multi-agent/autopilot-on/SKILL.md +31 -3
  25. package/pipeline/commands/multi-agent/autopilot-status/SKILL.md +5 -1
  26. package/pipeline/commands/multi-agent/channels/SKILL.md +16 -8
  27. package/pipeline/commands/multi-agent/log/SKILL.md +2 -0
  28. package/pipeline/commands/multi-agent/resume/SKILL.md +2 -0
  29. package/pipeline/commands/multi-agent/review-rounds/SKILL.md +94 -0
  30. package/pipeline/commands/multi-agent/stack/SKILL.md +1 -1
  31. package/pipeline/commands/multi-agent/sync/SKILL.md +3 -3
  32. package/pipeline/contract/manifest.json +1 -1
  33. package/pipeline/contract/types/index.d.ts +1 -0
  34. package/pipeline/lib/_jira-auth.sh +50 -78
  35. package/pipeline/lib/_service-account.sh +191 -0
  36. package/pipeline/lib/credential-inventory.sh +49 -37
  37. package/pipeline/lib/credential-store.sh +48 -3
  38. package/pipeline/lib/fetch-confluence.sh +76 -92
  39. package/pipeline/lib/fetch-crashlytics.sh +30 -59
  40. package/pipeline/lib/fetch-figma-annotations.sh +9 -9
  41. package/pipeline/lib/fetch-fortify.sh +77 -81
  42. package/pipeline/lib/fetch-graylog.sh +38 -77
  43. package/pipeline/lib/figma-mcp-refresh.sh +23 -4
  44. package/pipeline/lib/figma-screenshot.sh +7 -8
  45. package/pipeline/lib/figma-token.sh +39 -46
  46. package/pipeline/lib/host.mjs +138 -0
  47. package/pipeline/lib/host.sh +48 -0
  48. package/pipeline/lib/issue-fetcher.sh +25 -41
  49. package/pipeline/lib/jira-publish.sh +23 -21
  50. package/pipeline/lib/local-model.mjs +93 -0
  51. package/pipeline/lib/md2confluence-v3.py +37 -30
  52. package/pipeline/lib/model-dispatch.sh +41 -4
  53. package/pipeline/lib/model-resolve.mjs +58 -0
  54. package/pipeline/lib/post-pr-review.sh +38 -53
  55. package/pipeline/lib/reviewer-families.mjs +70 -0
  56. package/pipeline/lib/service-account.mjs +2131 -0
  57. package/pipeline/lib/service-account.sh +35 -0
  58. package/pipeline/lib/usage-names.generated.mjs +3 -0
  59. package/pipeline/lib/usage-token.mjs +64 -24
  60. package/pipeline/lib/usage-vocab.mjs +1 -1
  61. package/pipeline/lib/user-facing.mjs +11 -3
  62. package/pipeline/lib/vercel-deploy.sh +17 -26
  63. package/pipeline/multi-agent-refs/_entry-picker.md +62 -0
  64. package/pipeline/multi-agent-refs/_input-parser.md +1 -1
  65. package/pipeline/multi-agent-refs/analysis/intake.md +2 -0
  66. package/pipeline/multi-agent-refs/analysis/reusable-refs.md +1 -0
  67. package/pipeline/multi-agent-refs/analysis/unattended.md +135 -0
  68. package/pipeline/multi-agent-refs/autopilot-on/details.md +16 -0
  69. package/pipeline/multi-agent-refs/channels/generator.md +10 -2
  70. package/pipeline/multi-agent-refs/channels/menu.md +3 -1
  71. package/pipeline/multi-agent-refs/channels/preview.md +3 -1
  72. package/pipeline/multi-agent-refs/channels/reference.md +16 -2
  73. package/pipeline/multi-agent-refs/channels/report-file.md +188 -0
  74. package/pipeline/multi-agent-refs/component-dispatch.md +2 -2
  75. package/pipeline/multi-agent-refs/cross-cli-contract.md +38 -30
  76. package/pipeline/multi-agent-refs/features/autopilot-circuit-breaker.md +4 -4
  77. package/pipeline/multi-agent-refs/features/doctor.md +37 -11
  78. package/pipeline/multi-agent-refs/features/free-models.md +3 -3
  79. package/pipeline/multi-agent-refs/features/local-model.md +87 -0
  80. package/pipeline/multi-agent-refs/features/model-fallback.md +25 -10
  81. package/pipeline/multi-agent-refs/features/product-context.md +6 -5
  82. package/pipeline/multi-agent-refs/features/review-delta.md +1 -1
  83. package/pipeline/multi-agent-refs/features/review-rounds.md +40 -0
  84. package/pipeline/multi-agent-refs/features/rework-escalation.md +5 -4
  85. package/pipeline/multi-agent-refs/features/service-accounts.md +233 -0
  86. package/pipeline/multi-agent-refs/features/unattended-security.md +10 -1
  87. package/pipeline/multi-agent-refs/help/en.md +31 -2
  88. package/pipeline/multi-agent-refs/help/tr.md +31 -2
  89. package/pipeline/multi-agent-refs/orchestrator/copilot-pipeline.md +3 -2
  90. package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +2 -1
  91. package/pipeline/multi-agent-refs/phases/modes.md +20 -1
  92. package/pipeline/multi-agent-refs/phases/operations.md +1 -1
  93. package/pipeline/multi-agent-refs/phases/phase-0-init.md +1 -1
  94. package/pipeline/multi-agent-refs/phases/phase-2-dev.md +4 -4
  95. package/pipeline/multi-agent-refs/phases/phase-3-review.md +7 -3
  96. package/pipeline/multi-agent-refs/phases/phase-5-report.md +12 -10
  97. package/pipeline/multi-agent-refs/phases.md +4 -3
  98. package/pipeline/multi-agent-refs/resume/details.md +2 -0
  99. package/pipeline/multi-agent-refs/review/panel.md +30 -18
  100. package/pipeline/multi-agent-refs/setup/discovery.md +17 -5
  101. package/pipeline/multi-agent-refs/setup/token-save-flow.md +21 -2
  102. package/pipeline/multi-agent-refs/sync/overview.md +11 -5
  103. package/pipeline/multi-agent-refs/tracker-contract.md +28 -10
  104. package/pipeline/office/index.html +4 -4
  105. package/pipeline/schemas/agent-state.schema.json +19 -1
  106. package/pipeline/schemas/autopilot-config.schema.json +29 -4
  107. package/pipeline/schemas/hosts.json +512 -0
  108. package/pipeline/schemas/hosts.schema.json +310 -0
  109. package/pipeline/schemas/launch.json +22 -2
  110. package/pipeline/schemas/launch.schema.json +2 -1
  111. package/pipeline/schemas/phases.json +21 -3
  112. package/pipeline/schemas/phases.schema.json +8 -0
  113. package/pipeline/schemas/prefs.schema.json +346 -7
  114. package/pipeline/schemas/token-budget.json +2 -2
  115. package/pipeline/scripts/.doctor-mut.47076.mjs +2253 -0
  116. package/pipeline/scripts/_autopilot-config.mjs +67 -4
  117. package/pipeline/scripts/_autopilot-item.mjs +67 -0
  118. package/pipeline/scripts/_autopilot-outcomes.mjs +6 -0
  119. package/pipeline/scripts/_cost.mjs +75 -3
  120. package/pipeline/scripts/analysis-sources.mjs +22 -5
  121. package/pipeline/scripts/analysis-unattended.mjs +360 -0
  122. package/pipeline/scripts/anonymize-findings.mjs +3 -7
  123. package/pipeline/scripts/autopilot-arming.mjs +19 -10
  124. package/pipeline/scripts/autopilot-intake.mjs +124 -27
  125. package/pipeline/scripts/autopilot-menubar.swift +7 -0
  126. package/pipeline/scripts/autopilot-runner.mjs +77 -48
  127. package/pipeline/scripts/autopilot-status.sh +32 -9
  128. package/pipeline/scripts/bulk-read.sh +37 -5
  129. package/pipeline/scripts/confluence-readback.mjs +15 -7
  130. package/pipeline/scripts/cost-table.json +65 -25
  131. package/pipeline/scripts/doctor.mjs +119 -32
  132. package/pipeline/scripts/entry-mode.mjs +101 -0
  133. package/pipeline/scripts/estimate.mjs +30 -16
  134. package/pipeline/scripts/feedback-send.mjs +11 -8
  135. package/pipeline/scripts/gen-facts.mjs +16 -13
  136. package/pipeline/scripts/jira-attach.sh +23 -28
  137. package/pipeline/scripts/jira-search.sh +5 -21
  138. package/pipeline/scripts/launch-request.mjs +15 -9
  139. package/pipeline/scripts/migrate-prefs.mjs +56 -0
  140. package/pipeline/scripts/phase-tracker.sh +146 -38
  141. package/pipeline/scripts/priority-review.mjs +14 -7
  142. package/pipeline/scripts/product-context.mjs +26 -7
  143. package/pipeline/scripts/prune-logs.sh +4 -2
  144. package/pipeline/scripts/report-file.mjs +285 -0
  145. package/pipeline/scripts/review-rounds.mjs +592 -0
  146. package/pipeline/scripts/rework-escalation.mjs +26 -7
  147. package/pipeline/scripts/service-read.mjs +19 -17
  148. package/pipeline/scripts/skill-siblings.mjs +17 -1
  149. package/pipeline/scripts/status-overview.mjs +20 -10
  150. package/pipeline/scripts/uninstall.mjs +145 -57
  151. package/pipeline/scripts/usage-register.mjs +34 -11
  152. package/pipeline/scripts/usage-report.mjs +31 -26
  153. package/pipeline/scripts/validate-state.mjs +19 -11
  154. package/pipeline/scripts/validate-triage.mjs +11 -1
  155. package/pipeline/scripts/work-items.mjs +25 -28
  156. package/pipeline/scripts/write-store-config.mjs +37 -11
  157. package/pipeline/skills/.skill-manifest.json +11 -7
  158. package/pipeline/skills/.skills-index.json +13 -2
  159. package/pipeline/skills/shared/README.md +4 -3
  160. package/pipeline/skills/shared/core/multi-agent/SKILL.md +14 -6
  161. package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +2 -0
  162. package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +11 -8
  163. package/pipeline/skills/shared/core/multi-agent-resume/SKILL.md +1 -1
  164. package/pipeline/skills/shared/core/multi-agent-review-rounds/SKILL.md +92 -0
  165. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +3 -3
  166. package/pipeline/skills/skills-index.md +2 -1
  167. package/pipeline/lib/credential-resolve.mjs +0 -75
package/CHANGELOG.md CHANGED
@@ -14,7 +14,62 @@ Internal file-layout changes that don't affect the slash-command surface are sti
14
14
 
15
15
  ---
16
16
 
17
- ## [Unreleased]
17
+ ## [24.0.0] - 2026-11-16
18
+
19
+ ### Added
20
+
21
+ - **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.
22
+ - **`--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.
23
+ - **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.
24
+ - **`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.
25
+ - **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.
26
+ - **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.
27
+
28
+ ### Changed
29
+
30
+ - **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.
31
+ - **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.
32
+ - **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.
33
+
34
+ ### Fixed
35
+
36
+ - **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.
37
+
38
+ 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.
39
+
40
+ 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.
41
+
42
+ - **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.
43
+
44
+ - **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.
45
+
46
+ - **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.
47
+
48
+ - **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.
49
+
50
+ - **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.
51
+
52
+ - **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.
53
+
54
+ - **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.
55
+
56
+ ## [23.7.0] - 2026-11-13
57
+
58
+ ### Added
59
+
60
+ - `/multi-agent:review-rounds`: how many times review may send work back to development before the run stops, 1 to 3. With no argument it shows the effective value and its source and asks with a picker (2 rounds recommended, 3 rounds, 1 round); `status` prints, `1`, `2` or `3` sets it globally, `--repo` scopes it to the current repository, `reset` removes the override. Unattended runs never open the picker. The office lists it as a terminal command until its settings window carries the switch.
61
+ - `/multi-agent "task" --review-rounds N`: the limit for one run, stored as `state.reviewRounds`.
62
+ - `scripts/review-rounds.mjs`: the one resolver every reader of the limit goes through (`get`, `set`, `reset`, `parse`, `record`). Precedence: run flag, `prefs.projects.<slug>.maxReworkCycles`, `prefs.global.review.maxReworkCycles`, default. A stored value outside 1 to 3 is ignored and reported.
63
+ - `docs/facts.json` carries `reworkDefault` beside `reworkCap`.
64
+
65
+ ### Changed
66
+
67
+ - The default review rework limit is 2, down from 3. A run that never set the preference now allows two rework rounds before the Phase 2 hard-kill ruling applies; `/multi-agent:review-rounds 3` or `/multi-agent "task" --review-rounds 3` restores three. The ceiling stays 3 (the Phase 2 `retryCount` cap). An explicit stored value is kept as it is; nothing is migrated.
68
+ - With limit N, review sends work back to development N times, every rework is reviewed again, and the run stops when a review still has accepted findings after N reworks (N reworks, at most N + 1 reviews). The decision moved to Phase 3 Step 4: `review-rounds.mjs next` answers `rework` (and records it) or `rule`, which runs `rework-rulings.mjs` on the current triage. Phase 2 re-entry no longer counts or compares anything.
69
+ - `review-rounds.mjs next` is idempotent per review iteration: it records `phases["2"].reworkForIteration` with the increment, answers `rework` again without counting twice, and resume re-enters a decided, unfinished rework instead of deciding again.
70
+ - Reworks are counted in `state.phases["2"].reworkCount` (integer 0 to 3, validated); `retryCount` counts build and component-dispatch retries only, with its own cap of 3.
71
+ - The rework-escalation script and the autopilot circuit-breaker read the same resolver. In an autopilot run `prefs.global.autopilotCircuitBreaker.maxReworkCycles`, when set and the breaker is enabled, lowers the limit (source `breaker`); it has no default and never raises it. The limit itself is `prefs.global.review.maxReworkCycles` (default 2).
72
+ - The per-repo key is the repository's folder name as is (no normalisation), the same value as `state.project`, on the command side and the run side. `--repo` outside a repository, or with a key it cannot resolve, or `--project` without `--repo`, exits 2 and writes nothing. A repeated `--review-rounds` flag is refused.
18
73
 
19
74
  ## [23.6.0] - 2026-11-13
20
75
 
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 **Codex CLI**. 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.
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 CLI. macOS only. Zero runtime dependencies.
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 ten paths, optional for the rest. 96 shell files call it. The ten that publish or decide - the autopilot queue, Jira comments, Jira Issue Links, PR reviews, issue updates, the plan file, both Figma fetchers, log search and Jira auth - 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.
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 --all # all three
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,7 @@ 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.
106
107
 
107
108
  `/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
109
 
@@ -148,7 +149,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
148
149
  ## Modes
149
150
 
150
151
  | Mode | Command | Flow |
151
- | --------- | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
152
+ | --------- | ------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
152
153
  | Full | `/multi-agent "task"` | All <!-- fact:phaseCount -->6<!-- /fact --> phases, interactive |
153
154
  | 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
155
  | Audit | `/multi-agent:design-check` | Mock-mode vs Figma conformance, local-only |
@@ -158,16 +159,18 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
158
159
 
159
160
  ## Commands
160
161
 
161
- `/multi-agent` plus <!-- fact:commandCount -->80<!-- /fact --> sub-commands. `/multi-agent:help` renders the same catalog in your terminal, in your `outputLanguage`.
162
+ `/multi-agent` plus <!-- fact:commandCount -->81<!-- /fact --> sub-commands. `/multi-agent:help` renders the same catalog in your terminal, in your `outputLanguage`.
162
163
 
163
164
  ### Pipeline entries
164
165
 
165
166
  | Command | What it does |
166
- | ------------------------------------- | ---------------------------------------------------------------------------------------------------- |
167
+ | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
167
168
  | `/multi-agent "task"` | The pipeline; Phase 0 asks where the branch lives |
168
169
  | `/multi-agent "task" autopilot` | The same pipeline, unattended: worktree resolved, no confirmations; `--loop N` repeats it in the background |
169
170
  | `/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
171
 
172
+ **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.
173
+
171
174
  ### Task control
172
175
 
173
176
  | Command | What it does |
@@ -186,7 +189,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
186
189
  ### Review
187
190
 
188
191
  | Command | What it does |
189
- | ---------------------------------- | ------------------------------------------------------------------------------------------- |
192
+ | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
190
193
  | `/multi-agent:review` | Parallel review of a branch diff or a PR; inline comments + approve/needs-work on PR input |
191
194
  | `/multi-agent:review-jira` | Grade a Jira issue's readiness for development, comment the gaps |
192
195
  | `/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 +209,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
206
209
  ### Analysis
207
210
 
208
211
  | Command | What it does |
209
- | --------------------------------- | ----------------------------------------------------------------------------------------- |
212
+ | --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
210
213
  | `/multi-agent:analysis` | Standalone feature spec: global (23-section handoff) or corporate (IG/UC/FG) profile |
211
214
  | `/multi-agent:analysis-resolve` | Answer an analysis doc's Section 20 open questions one row at a time |
212
215
  | `/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 +220,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
217
220
  ### Testing on a device
218
221
 
219
222
  | Command | What it does |
220
- | ---------------------------------------- | ------------------------------------------------------------------------- |
223
+ | ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
221
224
  | `/multi-agent:test` | UI Bug Hunter on a booted simulator or emulator: screenshot, tap, analyze |
222
225
  | `/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
226
  | `/multi-agent:test-accessibility` | VoiceOver labels, sub-44pt tap targets, traits, and contrast measured as a WCAG ratio |
@@ -230,7 +233,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
230
233
  ### Design, build and store
231
234
 
232
235
  | Command | What it does |
233
- | ------------------------------------ | ---------------------------------------------------------------------------------------- |
236
+ | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------- |
234
237
  | `/multi-agent:design-check` | Mock-mode vs Figma audit with a coverage gate; annotated HTML + PDF report |
235
238
  | `/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
239
  | `/multi-agent:testflight-validation` | iOS-pinned alias of `store-ready`. Validates only, never uploads |
@@ -262,11 +265,12 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
262
265
  ### Setup and maintenance
263
266
 
264
267
  | Command | What it does |
265
- | -------------------------------- | ------------------------------------------------------------------------------ |
268
+ | -------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
266
269
  | `/multi-agent:setup` | First-run wizard: keychain token discovery, git identity, pipeline preparation |
267
270
  | `/multi-agent:stack [ids]` | Enable the marketplace plugin(s) for this repo. Multi-select |
268
271
  | `/multi-agent:scaffold <stack> <name>` | New project skeleton from the toolkit's scaffold skill, green before its first commit |
269
272
  | `/multi-agent:language [en\|tr]` | Show or set `outputLanguage`; `promptLanguage` stays English |
273
+ | `/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 |
270
274
  | `/multi-agent:sync` | One-shot sync: Claude Code, Copilot CLI, pipeline repo, website, toolkit MCP |
271
275
  | `/multi-agent:update` | Update to the latest published npm release and run migrations |
272
276
  | `/multi-agent:doctor` | Health check of the install: layout, preferences, credentials, hooks, host capabilities; the exit code is the verdict |
@@ -294,6 +298,8 @@ picking work up on its own, on ONE machine you choose, from repos you choose.
294
298
  | `/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 |
295
299
  | `/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 |
296
300
 
301
+ **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.
302
+
297
303
  ### Autopilot (unattended)
298
304
 
299
305
  The runner is a launchd tick. Each tick takes the head of the queue, runs the
@@ -355,7 +361,7 @@ too. A laptop left unplugged with the mode on stays awake until it is plugged in
355
361
  or the mode is turned off; `awake.enabled: false` removes the agent and leaves
356
362
  only the per-run lock, which macOS honours on AC only.
357
363
 
358
- **The three commands ship to all three CLIs and behave identically there**, because
364
+ **The three commands ship to all three CLIs and behave identically there** (the local-model host does not offer continuous mode), because
359
365
  what they control is not a CLI feature: it is a launchd user agent whose tick
360
366
  spawns a `claude --bg` child regardless of which CLI you typed the command in.
361
367
  Continuous mode therefore needs the `claude` binary on `PATH` everywhere. The
@@ -450,7 +456,7 @@ Routing lets a policy pick the rung instead, per call site, and is off until you
450
456
  turn it on.
451
457
 
452
458
  | Command | What it does |
453
- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
459
+ | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
454
460
  | `/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 |
455
461
  | `/multi-agent:route-off` | Disarm it. The rules are KEPT, so turning it back on does not re-ask for the same configuration |
456
462
  | `/multi-agent:route-status` | Whether it is armed, which rule applies where, which rung the last dispatches took, and what this run has cost |
@@ -477,10 +483,31 @@ back to Claude and the tokens kept off Claude. Contract:
477
483
  [`free-models.md`](pipeline/multi-agent-refs/features/free-models.md).
478
484
 
479
485
  **The honest limit, which `route-status` prints rather than hides.** A subagent
480
- is dispatched by the host, so Phase 1-3 personas stay inside the Anthropic ladder
481
- whatever the rules say. The `free` rung answers only where the pipeline makes the
486
+ is dispatched by the host, so Phase 1-3 personas stay on the ladder that host
487
+ offers whatever the rules say: a rung the running host does not carry, or whose
488
+ model belongs to a provider it does not dispatch, is skipped and the next rung
489
+ in the rule answers. The `free` rung answers only where the pipeline makes the
482
490
  call itself, `bulk-read.sh` and the `delegate` call site, and decisions, plans,
483
- code, reviews and triage never leave Claude.
491
+ code, reviews and triage stay with the host's own models.
492
+
493
+ ### Where it runs: the host registry
494
+
495
+ 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.
496
+
497
+ | Host | Install flag and root | Model rungs | Review panel | Children at once | Network |
498
+ | ---- | --------------------- | ----------- | ------------ | ---------------- | ------- |
499
+ | Claude Code | `--claude`, `~/.claude` | fable, opus, sonnet, haiku | three in parallel, one vendor | no stated ceiling | required |
500
+ | Copilot CLI | `--copilot`, `~/.copilot` | opus, sonnet, haiku | three in parallel, two vendors | no stated ceiling | required |
501
+ | Codex CLI | `--codex`, `~/.codex` | four rungs, each a model and a reasoning effort | three in parallel, one vendor | 3 | required |
502
+ | Local model | `--local`, `~/.codex-local` | all four collapse to the one model you serve | one reviewer, triage on the same model | 1 | optional |
503
+
504
+ ### A model served from your own machine
505
+
506
+ `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.
507
+
508
+ 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.
509
+
510
+ 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)
484
511
 
485
512
  **The top rung is a switch.** `/multi-agent:fable-on` and `/multi-agent:fable-off` turn `fable` on and off
486
513
  (`prefs.global.modelFallback.fableEnabled`, shipped off). The review commands,
@@ -500,17 +527,18 @@ This enables the matching plugin (+ the shared `ai-common` plugin) in the repo's
500
527
 
501
528
  ## Tool support
502
529
 
503
- The pipeline runs natively on **Claude Code**, **Copilot CLI** and **Codex CLI** - all three install from the same `pipeline/` source and get the same <!-- fact:commandCount -->80<!-- /fact --> commands.
530
+ 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.
504
531
 
505
532
  | Tool | Flag | What it installs |
506
- | ----------- | -------------------- | ------------------------------------------------------------------------------------------------------ |
533
+ | ----------- | -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
507
534
  | Claude Code | `--claude` (default) | slash commands + skills + agents + the enforcement hooks (secret scan, agent-guard, read-size gate, run-scope guard, run-stop guard) |
508
- | Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->80<!-- /fact --> sub-command skills + scripts |
509
- | Codex CLI | `--codex` | one router skill + <!-- fact:commandCount -->80<!-- /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` |
535
+ | Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->81<!-- /fact --> sub-command skills + scripts + its own `multi-agent-refs` tree |
536
+ | 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` |
537
+ | 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)) |
510
538
 
511
539
  Filter skills by stack with `--platform=ios\|android\|all`.
512
540
 
513
- **Why Codex gets one skill and not <!-- fact:commandCount -->80<!-- /fact -->.** Codex assembles every discovered skill's name
541
+ **Why Codex gets one skill and not <!-- fact:commandCount -->81<!-- /fact -->.** Codex assembles every discovered skill's name
514
542
  and description into a single prompt block and drops entries when it overflows, with no
515
543
  error. Measured on 0.145: installing one plugin that declares 142 skills surfaced only
516
544
  75 of them and evicted an unrelated user skill. So on Codex the pipeline ships a single
@@ -519,13 +547,19 @@ nothing until read - same commands, same behaviour, a layout the host can actual
519
547
 
520
548
  Reviewer sets differ because the available models do: Claude Code runs 3 reviewers
521
549
  (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
522
- xhigh, gpt-5.4, gpt-5.6 at medium). Claude Code and Codex are single-vendor panels, so
550
+ xhigh, gpt-5.4, gpt-5.6 at medium), and the local-model host 1, with triage on the same
551
+ model - a panel of one is the honest limit of running on a single local model, not a
552
+ configuration choice. Claude Code and Codex are single-vendor panels, so
523
553
  consensus among their three is weaker evidence than the same consensus on Copilot CLI,
524
554
  the one host whose panel spans two vendors, and the triage note says so.
525
555
 
526
556
  ## Tokens & integrations
527
557
 
528
- `setup` scans your OS keychain and maps each token by a **logical name** (e.g. `jira`) to its real keychain entry - the pipeline resolves tokens through that mapping (`credential-store.sh`), so literal keychain names never appear in synced files. 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.
558
+ `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.
559
+
560
+ `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.
561
+
562
+ 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)
529
563
 
530
564
  | Token | Used for | Phase |
531
565
  | --------------------- | ---------------------------------------------------------------- | ----------------------- |
@@ -545,7 +579,7 @@ The **secret scan** runs as a `PreToolUse` hook on Claude Code (hard-blocks a co
545
579
  **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.
546
580
 
547
581
  | Hook | Claude Code | Codex CLI | Copilot CLI |
548
- | --- | --- | --- | --- |
582
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------- | ---------------------------------------------------- |
549
583
  | `pre-commit-check.sh` (secret scan, owned paths, attended build/test evidence, unattended ledger) | PreToolUse `Bash` | none: pre-push check | none: pre-push check |
550
584
  | `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 |
551
585
  | `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 |
@@ -591,7 +625,7 @@ Runs on **macOS** only. The package declares `os: ["darwin"]`, so `npm` refuses
591
625
  ## Companion repos
592
626
 
593
627
  | Repo | What it is |
594
- | --------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
628
+ | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
595
629
  | [`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. |
596
630
  | [`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. |
597
631
 
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 **Codex CLI** 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.
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 CLI üzerinde native çalışır. Yalnızca macOS. Sıfır runtime dependency.
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`** - on yol için zorunlu, geri kalanı için opsiyonel. 96 kabuk dosyası ona başvuruyor. Yayınlayan ya da karar veren bu on yol - autopilot kuyruğu, Jira yorumları, Jira Issue Link'leri, PR review'ları, issue güncellemeleri, plan dosyası, iki Figma fetcher'ı, log araması ve Jira auth - `jq` yokken çalışmak yerine exit 3 ile reddediyor, çünkü eksik bir `jq` boş VERİ olarak görünür ve iş onunla devam eder. Diğer yerlerde `jq` olmadan da çalışıyor, yalnızca daha az şey yapıyor. Kurulum, eksikse bir not basıyor.
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 --all # üçü birden
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,7 @@ 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.
105
106
 
106
107
  `/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
108
 
@@ -157,7 +158,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
157
158
 
158
159
  ## Komutlar
159
160
 
160
- `/multi-agent` ve <!-- fact:commandCount -->80<!-- /fact --> alt komut. `/multi-agent:help` aynı katalogu terminalde, `outputLanguage` ayarına göre gösterir.
161
+ `/multi-agent` ve <!-- fact:commandCount -->81<!-- /fact --> alt komut. `/multi-agent:help` aynı katalogu terminalde, `outputLanguage` ayarına göre gösterir.
161
162
 
162
163
  ### Pipeline girişleri
163
164
 
@@ -167,6 +168,8 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
167
168
  | `/multi-agent "task" autopilot` | Aynı pipeline, gözetimsiz: worktree'ye çözülür, onay sorulmaz |
168
169
  | `/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
170
 
171
+ **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.
172
+
170
173
  ### Görev kontrolü
171
174
 
172
175
  | Komut | Ne yapar |
@@ -266,6 +269,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
266
269
  | `/multi-agent:stack [id]` | Bu repo için marketplace plugin'lerini etkinleştirir. Çoklu seçim |
267
270
  | `/multi-agent:scaffold <stack> <ad>` | Toolkit'in scaffold skill'i ile yeni proje iskeleti; ilk commit'ten önce yeşil |
268
271
  | `/multi-agent:language [en\|tr]` | `outputLanguage`'i gösterir veya değiştirir; `promptLanguage` İngilizce kalır |
272
+ | `/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 |
269
273
  | `/multi-agent:sync` | Tek atımlık senkron: Claude Code, Copilot CLI, pipeline repo, website, toolkit MCP |
270
274
  | `/multi-agent:update` | npm'deki son yayına günceller ve migration'ları koşar |
271
275
  | `/multi-agent:doctor` | Kurulumun sağlık kontrolü: yerleşim, tercihler, kimlik bilgileri, hook'lar, host yetenekleri; çıkış kodu verdiktin kendisi |
@@ -294,6 +298,8 @@ alması.
294
298
  | `/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 |
295
299
  | `/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 |
296
300
 
301
+ **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.
302
+
297
303
  ### Autopilot (gözetimsiz)
298
304
 
299
305
  Koşucu bir launchd tick'idir. Her tick kuyruğun başındaki maddeyi alır, tüm
@@ -480,6 +486,25 @@ merdiveninde kalır. `free` basamağı yalnız pipeline'ın çağrıyı kendisi
480
486
  yerlerde cevap verir, `bulk-read.sh` ve `delegate` çağrı noktası; karar, plan,
481
487
  kod, review ve triyaj asla Claude'dan çıkmaz.
482
488
 
489
+ ### Nerede koşuyor: host kayıt defteri
490
+
491
+ 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.
492
+
493
+ | Host | Kurulum bayrağı ve kök | Model basamakları | Review paneli | Aynı anda çocuk | Ağ |
494
+ | ---- | ---------------------- | ----------------- | ------------- | --------------- | -- |
495
+ | Claude Code | `--claude`, `~/.claude` | fable, opus, sonnet, haiku | paralel üç, tek vendor | belirtilmiş tavan yok | zorunlu |
496
+ | Copilot CLI | `--copilot`, `~/.copilot` | opus, sonnet, haiku | paralel üç, iki vendor | belirtilmiş tavan yok | zorunlu |
497
+ | Codex CLI | `--codex`, `~/.codex` | dört basamak; her biri bir model ve bir akıl yürütme eforu | paralel üç, tek vendor | 3 | zorunlu |
498
+ | Yerel model | `--local`, `~/.codex-local` | dördü de senin sunduğun tek modele iner | tek reviewer, triyaj aynı modelde | 1 | isteğe bağlı |
499
+
500
+ ### Kendi makinende sunulan bir model
501
+
502
+ `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.
503
+
504
+ İ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.
505
+
506
+ 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)
507
+
483
508
  **Üst basamak bir anahtar.** `/multi-agent:fable-on` `fable`'ı açar, `/multi-agent:fable-off` kapatır
484
509
  (`prefs.global.modelFallback.fableEnabled`, kapalı gelir). Review komutları,
485
510
  triyaj ve plan critic kendi yuvalarını bu anahtar üzerinden çözer: Claude
@@ -498,17 +523,18 @@ Bu, ilgili plugin'i (+ ortak `ai-common` plugin'ini) repo'nun `.claude/settings.
498
523
 
499
524
  ## Araç desteği
500
525
 
501
- Pipeline **Claude Code**, **Copilot CLI** ve **Codex CLI** üzerinde native çalışır - üçü de aynı `pipeline/` kaynağından kurulur ve aynı <!-- fact:commandCount -->80<!-- /fact --> komutu alır.
526
+ 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.
502
527
 
503
528
  | Araç | Bayrak | Ne kurar |
504
529
  | ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
505
530
  | Claude Code | `--claude` (varsayılan) | slash komutları + skill'ler + agent'lar + üç `PreToolUse` hook'u (secret scan, agent-guard, okuma-boyutu geçidi) |
506
- | Copilot CLI | `--copilot` | talimatlar + <!-- fact:commandCount -->80<!-- /fact --> alt-komut skill'i + script'ler |
507
- | Codex CLI | `--codex` | bir router skill + ref olarak <!-- fact:commandCount -->80<!-- /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` |
531
+ | Copilot CLI | `--copilot` | talimatlar + <!-- fact:commandCount -->81<!-- /fact --> alt-komut skill'i + script'ler |
532
+ | 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` |
533
+ | 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)) |
508
534
 
509
535
  Skill'leri stack'e göre filtrele: `--platform=ios\|android\|all`.
510
536
 
511
- **Codex neden <!-- fact:commandCount -->80<!-- /fact --> değil de tek bir skill alıyor.** Codex, keşfettiği her skill'in adını
537
+ **Codex neden <!-- fact:commandCount -->81<!-- /fact --> değil de tek bir skill alıyor.** Codex, keşfettiği her skill'in adını
512
538
  ve açıklamasını tek bir prompt bloğuna toplar ve blok taştığında girdileri hatasızca
513
539
  düşürür. 0.145 üzerinde ölçüldü: 142 skill deklare eden bir plugin kurulduğunda sadece
514
540
  75'i yüzeye çıktı ve alakasız bir kullanıcı skill'i tahliye edildi. Bu yüzden Codex'te
@@ -518,13 +544,21 @@ host'un gerçekten tutabildiği bir düzen.
518
544
 
519
545
  Reviewer setleri farklı çünkü mevcut modeller farklı: Claude Code 3 reviewer çalıştırır
520
546
  (Fable + Opus + Sonnet; fable basamağı kapalıyken 2), Copilot CLI 3 (Opus + GPT-5.4 + Sonnet), Codex CLI 3 (xhigh'da
521
- gpt-5.6, gpt-5.4, medium'da gpt-5.6). Codex tek-vendor olduğu için üçü arasındaki
547
+ gpt-5.6, gpt-5.4, medium'da gpt-5.6), yerel model host'u ise 1 ve triyaj da aynı
548
+ modelde koşar - tek bir yerel modelde koşmanın dürüst sınırı budur, yapılandırma
549
+ tercihi değil. Codex tek-vendor olduğu için üçü arasındaki
522
550
  konsensüs, iki-vendor'lu bir host'taki aynı konsensüsten daha zayıf bir kanıttır ve
523
551
  triage notu bunu belirtir.
524
552
 
525
553
  ## Token'lar ve entegrasyonlar
526
554
 
527
- `setup` OS keychain'ini tarar ve her token'ı **mantıksal bir isimle** (örn. `jira`) gerçek keychain girdisine eşler - pipeline token'ları bu eşleme üzerinden çözer (`credential-store.sh`), böylece literal keychain isimleri hiçbir sync edilen dosyada görünmez. 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.
555
+ `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.
556
+
557
+ 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.
558
+
559
+ 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.
560
+
561
+ 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)
528
562
 
529
563
  | Token | Ne için kullanılır | Faz |
530
564
  | --------------------- | ------------------------------------------------------------------ | ----------------------- |
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
- | 23.x | ✅ active |
10
- | 22.x | ⚠️ security fixes only |
11
- | ≤ 21.x | ❌ end-of-life |
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