@mmerterden/multi-agent-pipeline 23.3.0 → 23.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/CHANGELOG.md +73 -0
  2. package/README.md +27 -8
  3. package/README.tr.md +28 -9
  4. package/SECURITY.md +16 -0
  5. package/docs/adr/0008-installer-modularization-and-secret-leak-defense.md +1 -1
  6. package/docs/adr/0010-own-code-graph.md +299 -8
  7. package/docs/architecture.md +3 -3
  8. package/docs/ecosystem.md +10 -10
  9. package/docs/engineering.md +4 -4
  10. package/docs/facts.json +8 -8
  11. package/docs/features.md +5 -5
  12. package/docs/performance.md +17 -17
  13. package/install/_dev-only-files.mjs +9 -0
  14. package/install/_platform-filter.mjs +2 -55
  15. package/install/claude.mjs +28 -2
  16. package/install/codex.mjs +1 -3
  17. package/install/copilot.mjs +4 -8
  18. package/install/templates/claude-hooks.json +32 -1
  19. package/manifest.json +236 -167
  20. package/package.json +11 -3
  21. package/pipeline/commands/multi-agent/SKILL.md +1 -1
  22. package/pipeline/commands/multi-agent/design-check/SKILL.md +3 -2
  23. package/pipeline/commands/multi-agent/diff-explain/SKILL.md +3 -3
  24. package/pipeline/commands/multi-agent/graph/SKILL.md +57 -24
  25. package/pipeline/commands/multi-agent/pair/SKILL.md +92 -0
  26. package/pipeline/commands/multi-agent/prune-prompts/SKILL.md +1 -1
  27. package/pipeline/commands/multi-agent/search/SKILL.md +7 -1
  28. package/pipeline/commands/multi-agent/status/SKILL.md +4 -0
  29. package/pipeline/commands/multi-agent/sync/SKILL.md +3 -3
  30. package/pipeline/contract/CHANGELOG.md +63 -0
  31. package/pipeline/contract/README.md +1 -0
  32. package/pipeline/contract/build.mjs +13 -1
  33. package/pipeline/contract/fixtures/error-invalid-request.json +1 -1
  34. package/pipeline/contract/fixtures/error-unauthorized.json +1 -1
  35. package/pipeline/contract/fixtures/runs-awaiting-question.json +4 -1
  36. package/pipeline/contract/fixtures/runs-empty.json +1 -1
  37. package/pipeline/contract/fixtures/runs-failed.json +4 -1
  38. package/pipeline/contract/fixtures/runs-old-schema.json +3 -0
  39. package/pipeline/contract/fixtures/runs-pr-opened-redacted.json +4 -1
  40. package/pipeline/contract/fixtures/runs-pr-opened.json +4 -1
  41. package/pipeline/contract/fixtures/runs-running.json +4 -1
  42. package/pipeline/contract/manifest.json +41 -15
  43. package/pipeline/contract/types/index.d.ts +81 -3
  44. package/pipeline/lib/detach-self.mjs +95 -0
  45. package/pipeline/lib/public-mcp-servers.mjs +33 -0
  46. package/pipeline/lib/rotated-log.mjs +93 -0
  47. package/pipeline/lib/stack-detect.sh +1 -1
  48. package/pipeline/lib/tls-trust.mjs +29 -0
  49. package/pipeline/lib/usage-lifecycle.mjs +9 -11
  50. package/pipeline/lib/usage-names.generated.mjs +613 -0
  51. package/pipeline/lib/usage-run-key.mjs +235 -0
  52. package/pipeline/lib/usage-vocab.mjs +210 -0
  53. package/pipeline/multi-agent-refs/analysis/intake.md +2 -2
  54. package/pipeline/multi-agent-refs/analysis/render.md +1 -1
  55. package/pipeline/multi-agent-refs/channels/generator.md +4 -5
  56. package/pipeline/multi-agent-refs/cross-cli-contract.md +3 -3
  57. package/pipeline/multi-agent-refs/design-check/init-inventory.md +11 -1
  58. package/pipeline/multi-agent-refs/design-check/scope-and-ledger.md +1 -1
  59. package/pipeline/multi-agent-refs/features/code-graph.md +146 -11
  60. package/pipeline/multi-agent-refs/features/code-intelligence.md +16 -14
  61. package/pipeline/multi-agent-refs/features/dev-critic.md +7 -7
  62. package/pipeline/multi-agent-refs/features/model-fallback.md +6 -4
  63. package/pipeline/multi-agent-refs/features/remote-control.md +253 -0
  64. package/pipeline/multi-agent-refs/features/review-delta.md +1 -1
  65. package/pipeline/multi-agent-refs/features/review-file-set.md +3 -3
  66. package/pipeline/multi-agent-refs/features/review-multi-repo.md +1 -1
  67. package/pipeline/multi-agent-refs/features/session-brief.md +42 -0
  68. package/pipeline/multi-agent-refs/features/skill-conformance.md +3 -3
  69. package/pipeline/multi-agent-refs/features/usage-reporting.md +255 -27
  70. package/pipeline/multi-agent-refs/help/en.md +3 -2
  71. package/pipeline/multi-agent-refs/help/tr.md +3 -2
  72. package/pipeline/multi-agent-refs/knowledge.md +1 -1
  73. package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +2 -2
  74. package/pipeline/multi-agent-refs/phases/operations.md +2 -2
  75. package/pipeline/multi-agent-refs/phases/phase-0-init.md +13 -12
  76. package/pipeline/multi-agent-refs/phases/phase-1-plan.md +4 -4
  77. package/pipeline/multi-agent-refs/phases/phase-3-review.md +2 -0
  78. package/pipeline/multi-agent-refs/phases/phase-5-report.md +1 -1
  79. package/pipeline/multi-agent-refs/platform-parity.md +2 -2
  80. package/pipeline/multi-agent-refs/wiki-capture.md +3 -17
  81. package/pipeline/office/index.html +1309 -236
  82. package/pipeline/office/toolkit.json +1 -1
  83. package/pipeline/rules/outside-the-pipeline.md +1 -1
  84. package/pipeline/schemas/activity.schema.json +23 -0
  85. package/pipeline/schemas/agent-state.schema.json +6 -1
  86. package/pipeline/schemas/code-graph-calls.schema.json +254 -0
  87. package/pipeline/schemas/code-graph-docs.schema.json +223 -0
  88. package/pipeline/schemas/code-graph-infra.schema.json +227 -0
  89. package/pipeline/schemas/code-graph.schema.json +2 -2
  90. package/pipeline/schemas/examples/design-check-config.json +27 -0
  91. package/pipeline/schemas/learning-curve.schema.json +67 -0
  92. package/pipeline/schemas/mcp-health.schema.json +96 -0
  93. package/pipeline/schemas/office-jobs.json +69 -2
  94. package/pipeline/schemas/office-jobs.schema.json +8 -1
  95. package/pipeline/schemas/phases.json +5 -0
  96. package/pipeline/schemas/phases.schema.json +8 -0
  97. package/pipeline/schemas/prefs.schema.json +46 -12
  98. package/pipeline/schemas/runs-index.schema.json +17 -0
  99. package/pipeline/schemas/toolkit-path-params.json +78 -8
  100. package/pipeline/scripts/README.md +1 -0
  101. package/pipeline/scripts/_code-graph.mjs +184 -103
  102. package/pipeline/scripts/_contract-core.mjs +1 -1
  103. package/pipeline/scripts/_contract-routes-office.mjs +33 -0
  104. package/pipeline/scripts/_diff-impact.mjs +21 -2
  105. package/pipeline/scripts/_graph-sidecars.mjs +372 -0
  106. package/pipeline/scripts/_http-post.mjs +103 -115
  107. package/pipeline/scripts/_safe-read.mjs +57 -0
  108. package/pipeline/scripts/_skill-practices.mjs +26 -0
  109. package/pipeline/scripts/_strip-code.mjs +380 -0
  110. package/pipeline/scripts/activity-snapshot.mjs +13 -1
  111. package/pipeline/scripts/aggregate-metrics.mjs +3 -5
  112. package/pipeline/scripts/build-stack-plugins.mjs +1 -47
  113. package/pipeline/scripts/call-graph/index.mjs +78 -0
  114. package/pipeline/scripts/call-graph/lang/cpp.mjs +308 -0
  115. package/pipeline/scripts/call-graph/lang/csharp.mjs +130 -0
  116. package/pipeline/scripts/call-graph/lang/go.mjs +303 -0
  117. package/pipeline/scripts/call-graph/lang/java.mjs +370 -0
  118. package/pipeline/scripts/call-graph/lang/kotlin.mjs +397 -0
  119. package/pipeline/scripts/call-graph/lang/python.mjs +399 -0
  120. package/pipeline/scripts/call-graph/lang/rust.mjs +345 -0
  121. package/pipeline/scripts/call-graph/lang/shared.mjs +230 -0
  122. package/pipeline/scripts/call-graph/lang/swift.mjs +432 -0
  123. package/pipeline/scripts/call-graph/lang/typescript.mjs +692 -0
  124. package/pipeline/scripts/call-graph/lex.mjs +396 -0
  125. package/pipeline/scripts/call-graph/platform.mjs +86 -0
  126. package/pipeline/scripts/call-graph/profiles.mjs +89 -0
  127. package/pipeline/scripts/call-graph/resolve.mjs +1125 -0
  128. package/pipeline/scripts/call-graph/scan.mjs +267 -0
  129. package/pipeline/scripts/code-graph-rules/android.json +7 -2
  130. package/pipeline/scripts/code-graph-rules/cpp.json +99 -0
  131. package/pipeline/scripts/code-graph-rules/csharp.json +102 -0
  132. package/pipeline/scripts/code-graph-rules/go.json +2 -1
  133. package/pipeline/scripts/code-graph-rules/ios.json +3 -1
  134. package/pipeline/scripts/code-graph-rules/java.json +76 -0
  135. package/pipeline/scripts/code-graph-rules/node.json +7 -2
  136. package/pipeline/scripts/code-graph-rules/python.json +6 -2
  137. package/pipeline/scripts/code-graph-rules/rust.json +105 -0
  138. package/pipeline/scripts/contract-server.mjs +3 -0
  139. package/pipeline/scripts/design-check-config.mjs +205 -0
  140. package/pipeline/scripts/feedback-send.mjs +26 -26
  141. package/pipeline/scripts/gate-ledger.mjs +2 -1
  142. package/pipeline/scripts/gen-facts.mjs +1 -2
  143. package/pipeline/scripts/gen-usage-names.mjs +124 -0
  144. package/pipeline/scripts/graph-affected.mjs +109 -20
  145. package/pipeline/scripts/graph-build.mjs +95 -15
  146. package/pipeline/scripts/graph-export.mjs +272 -0
  147. package/pipeline/scripts/graph-hint.mjs +15 -2
  148. package/pipeline/scripts/graph-query.mjs +305 -26
  149. package/pipeline/scripts/graph-report.mjs +187 -1
  150. package/pipeline/scripts/health-report.mjs +3 -4
  151. package/pipeline/scripts/infra/docs.mjs +317 -0
  152. package/pipeline/scripts/infra/extract.mjs +998 -0
  153. package/pipeline/scripts/infra/graph.mjs +245 -0
  154. package/pipeline/scripts/infra/yaml-lite.mjs +311 -0
  155. package/pipeline/scripts/job-launch.mjs +67 -2
  156. package/pipeline/scripts/learning-curve.mjs +288 -178
  157. package/pipeline/scripts/log-metric.sh +10 -1
  158. package/pipeline/scripts/mcp-health.mjs +309 -0
  159. package/pipeline/scripts/note-agent-event.mjs +3 -4
  160. package/pipeline/scripts/note-command-use.mjs +333 -0
  161. package/pipeline/scripts/note-command-use.sh +126 -0
  162. package/pipeline/scripts/note-mcp-call.sh +89 -0
  163. package/pipeline/scripts/note-mcp-failure.mjs +272 -1
  164. package/pipeline/scripts/note-session.sh +62 -3
  165. package/pipeline/scripts/note-skill-use.mjs +58 -2
  166. package/pipeline/scripts/office-build.mjs +115 -1
  167. package/pipeline/scripts/office-memory.mjs +14 -5
  168. package/pipeline/scripts/pair.mjs +333 -0
  169. package/pipeline/scripts/pre-push-check.sh +1 -1
  170. package/pipeline/scripts/remote/cbor.mjs +128 -0
  171. package/pipeline/scripts/remote/contract.mjs +98 -0
  172. package/pipeline/scripts/remote/handler.mjs +330 -0
  173. package/pipeline/scripts/remote/handles.mjs +57 -0
  174. package/pipeline/scripts/remote/lifecycle.mjs +186 -0
  175. package/pipeline/scripts/remote/listener.mjs +204 -0
  176. package/pipeline/scripts/remote/lockout.mjs +103 -0
  177. package/pipeline/scripts/remote/nonces.mjs +61 -0
  178. package/pipeline/scripts/remote/pairing.mjs +519 -0
  179. package/pipeline/scripts/remote/qr-encode.mjs +459 -0
  180. package/pipeline/scripts/remote/store.mjs +191 -0
  181. package/pipeline/scripts/remote/transport.mjs +211 -0
  182. package/pipeline/scripts/remote/verbs.json +70 -0
  183. package/pipeline/scripts/remote/verbs.mjs +217 -0
  184. package/pipeline/scripts/remote/webauthn.mjs +169 -0
  185. package/pipeline/scripts/remote/wire.mjs +364 -0
  186. package/pipeline/scripts/remote-listener.mjs +83 -0
  187. package/pipeline/scripts/route-learn.mjs +4 -4
  188. package/pipeline/scripts/run-kill.mjs +1 -1
  189. package/pipeline/scripts/run-write.mjs +13 -2
  190. package/pipeline/scripts/runs-index.mjs +30 -3
  191. package/pipeline/scripts/search-logs.sh +9 -0
  192. package/pipeline/scripts/session-brief.mjs +458 -0
  193. package/pipeline/scripts/session-brief.sh +130 -0
  194. package/pipeline/scripts/skill-usage.mjs +16 -5
  195. package/pipeline/scripts/test-gap-rules/cpp.json +25 -0
  196. package/pipeline/scripts/test-gap-rules/csharp.json +20 -0
  197. package/pipeline/scripts/test-gap-rules/java.json +20 -0
  198. package/pipeline/scripts/test-gap-rules/rust.json +14 -0
  199. package/pipeline/scripts/token-budget-report.mjs +3 -2
  200. package/pipeline/scripts/uninstall.mjs +29 -0
  201. package/pipeline/scripts/usage-access.mjs +16 -31
  202. package/pipeline/scripts/usage-health.mjs +31 -62
  203. package/pipeline/scripts/usage-register-beacon.mjs +11 -22
  204. package/pipeline/scripts/usage-register.mjs +39 -29
  205. package/pipeline/scripts/usage-report.mjs +579 -178
  206. package/pipeline/scripts/validate-code-graph.mjs +361 -111
  207. package/pipeline/scripts/write-state.mjs +39 -0
  208. package/pipeline/skills/.skill-manifest.json +21 -17
  209. package/pipeline/skills/.skills-index.json +13 -2
  210. package/pipeline/skills/shared/README.md +5 -4
  211. package/pipeline/skills/shared/core/multi-agent-design-check/SKILL.md +1 -1
  212. package/pipeline/skills/shared/core/multi-agent-diff-explain/SKILL.md +3 -3
  213. package/pipeline/skills/shared/core/multi-agent-graph/SKILL.md +55 -21
  214. package/pipeline/skills/shared/core/multi-agent-pair/SKILL.md +41 -0
  215. package/pipeline/skills/shared/core/multi-agent-prune-prompts/SKILL.md +1 -1
  216. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +3 -3
  217. package/pipeline/skills/shared/external/app-store-optimization/SKILL.md +2 -3
  218. package/pipeline/skills/shared/external/app-store-optimization/references/keyword-research-methodology.md +2 -2
  219. package/pipeline/skills/shared/external/app-store-optimization/references/product-page-variants.md +2 -2
  220. package/pipeline/skills/shared/external/app-store-review/SKILL.md +11 -4
  221. package/pipeline/skills/shared/external/build-settings-audit/SKILL.md +1 -1
  222. package/pipeline/skills/shared/external/build-time-benchmark/SKILL.md +5 -5
  223. package/pipeline/skills/shared/external/build-time-fixes/SKILL.md +5 -5
  224. package/pipeline/skills/shared/external/build-time-optimizer/SKILL.md +6 -6
  225. package/pipeline/skills/shared/external/free-llm-apis/references/providers.md +1 -0
  226. package/pipeline/skills/shared/external/ios-coding-standard/references/STANDARD.md +2 -2
  227. package/pipeline/skills/shared/external/ios-haptics/references/core-haptics.md +1 -1
  228. package/pipeline/skills/shared/external/localization-reuse-map/references/publish-and-snapshot.md +1 -1
  229. package/pipeline/skills/shared/external/package-build-audit/SKILL.md +3 -3
  230. package/pipeline/skills/shared/external/reverse-engineer-own-app/SKILL.md +2 -3
  231. package/pipeline/skills/shared/external/swift-compile-hotspots/SKILL.md +2 -2
  232. package/pipeline/skills/shared/external/weatherkit/SKILL.md +5 -6
  233. package/pipeline/skills/skills-index.md +3 -2
  234. package/docs/FIGMA_PIPELINE.md +0 -137
  235. package/pipeline/lib/identifier-scan.mjs +0 -156
  236. package/pipeline/scripts/_renamed-skills.mjs +0 -164
  237. package/pipeline/scripts/publish-staged.mjs +0 -324
  238. package/pipeline/skills/renamed.json +0 -30
  239. package/pipeline/skills/shared/external/ios-coding-standard/scripts/check_structure.py +0 -765
package/CHANGELOG.md CHANGED
@@ -16,6 +16,79 @@ Internal file-layout changes that don't affect the slash-command surface are sti
16
16
 
17
17
  ## [Unreleased]
18
18
 
19
+ ## [23.5.0] - 2026-11-11
20
+
21
+ ### Added
22
+
23
+ - `mcp-health.mjs` and `GET /v1/mcp-health` (client contract 2.3.0, local only): per MCP server and tool over the last seven days, the calls, the server-side failures and the minute of the last failure, from the local failure log (`mcp-failures.jsonl`, with its previous generation) and the call counter (`mcp-calls.json` plus the lines `mcp-calls.log` has not folded yet). A server is named only from the shipped public list (any other is `private`) and a tool only from the shipped tool list of this product's server (any other is `other`); files are read through the bounded regular-file reader, never through a link, and a file over the size cap is named in `skipped`. The office server room shows the result as an MCP servers table, in English and Turkish.
24
+ - The audit line of a phone request (`remote/audit.jsonl`) carries `run`: the run's opaque handle for a verb about one run, and only a handle the executor issued to that device, never the run id.
25
+ - `design-check-config.mjs` checks the user's `design-check-config.json` against `design-check-config.schema.json` before `/multi-agent:design-check` reads it (step 3b of its Phase 0), naming every bad key by its dotted path and never echoing a value. A missing file is valid.
26
+ - `lint-unused-exports.mjs --baseline <file>` fails only on an exported symbol that is unused and not in the baseline, `--write-baseline <file>` writes the current set; `npm test` runs it against `fixtures/unused-exports-baseline.txt`.
27
+ - `lint-phase-labels.mjs` checks an "Agent definitions (used in Phase N and Phase M)" lead against the phases the listed agent files declare.
28
+
29
+ ### Changed
30
+
31
+ - README and README.tr no longer say the office has no phone pairing; they say the office opens no port and point at the opt-in phone control below. `SECURITY.md` lists the telemetry field categories that are sent and the ones that never are. `features/verify.md` is linked from the README.
32
+ - `dispatcher.md` names Phase 1 and Phase 3 for the agent definitions.
33
+ - The recorded toolkit is 4.4.0 with 258 tools: `binary_analyse` is opt-in there (`MCP_TOOLKIT_CAPS` must include `binary-analyse`), so the tool count, the path-parameter table and the usage name list no longer carry it.
34
+
35
+ ### Fixed
36
+
37
+ - `stack-detect.sh` finds a manifest below the repository root when the repository has no submodules and the caller runs under `set -u` on bash 3.2: the empty submodule prune list is expanded safely, where it used to end the search with an unbound-variable error and report no stack.
38
+
39
+ ### Removed
40
+
41
+ - The skill rename mechanism: `skills/renamed.json` (23 retired entries, due at 21.0.0), `_renamed-skills.mjs`, the alias skills it wrote into the plugins and the Copilot and Codex copies, and the lint checks that read it. The plugin build writes no alias skill and removes any left in a plugin; the upstream overlap gate pairs a skill with an upstream skill of another name only through the `upstreamCorpusAliases` preference, and still compares every shipped file by content against the corpus.
42
+ - The tracked `out.txt` at the repository root.
43
+
44
+ ## [23.4.0] - 2026-11-11
45
+
46
+ ### Changed
47
+
48
+ - `reverse-engineer-own-app` points the store cross-check at `ios_app_store_audit` only; `ios-coding-standard` no longer ships a structure checker its skill never called.
49
+ - The free-model provider table lists the toolkit's local OpenAI-compatible provider.
50
+ - The leak gates no longer spell private names in the repository. `smoke-personal-data.sh` and `smoke-install-leak-gate.sh` read names that identify a person, an employer or a project from a private deny-list outside the repo (`$MA_LEAK_DENYLIST`, else `~/.config/multi-agent-mcp/leak-denylist.txt`; lines `re:`, `re-case:` and `id:`, the same file and format the toolkit reads), loaded by `pipeline/scripts/_leak-denylist.sh`. Without the list the run prints `skipped: private deny-list not installed` and checks the structural shapes only; `--strict` (or `MA_LEAK_STRICT=1`, set by the pre-push gate) fails instead, and an unusable list always fails. A hit is reported as `path:line` and the deny-list entry's line number, never the pattern or the matched text; the tarball step does the same through `leak_scan_paths`. The loader strips trailing whitespace from an entry, rejects an empty one and warns when the list is readable by group or others. A structural pass flags e-mail addresses, `user:password` URLs, `/Users/` and `/home/` directories and ticket URLs that are not placeholders, also without a list, and the tarball step runs it too. In `--root` mode on an install sandbox only the trees the installer owns (the top-level directories of `install-layout.tsv`) are scanned, not other programs' caches. `smoke-install-leak-gate.sh` sets `MULTI_AGENT_SKIP_MCP_REGISTER=1`, because the registration step ran the real Copilot CLI against the sandbox home and that CLI unpacked its own 119 MB package there. `run-smokes.mjs` hands the real list to isolated suites and repeats every `skipped:` line a suite printed (count and names) in its summary.
51
+ - The release workflow writes the list from the `LEAK_DENYLIST` repository secret to a temp file at run time and fails when the secret is missing; `publish-staged.mjs` runs `smoke-personal-data.sh --strict` in the package directory before it packs (or the command of `--leak-gate`), and `package.json` gets `prepublishOnly` with the same strict gate.
52
+ - Phase numbers in prose follow `pipeline/schemas/phases.json`: reviewers, the review panel and triage belong to Phase 3, the dev critic to Phase 2.5, in the dev-critic, model-fallback, review, diff-explain and cost-summary docs and `docs/engineering.md`. `lint-phase-labels.mjs` (run by `smoke-phase-labels.sh`) fails when a role is written beside the wrong phase number, in either word order, with any spacing and in Turkish (`Faz N`); the roles per phase are the `roles` lists in `phases.json`, and a role listed under two phases (the critic) is valid beside either.
53
+ - ROADMAP.md describes the present state, drops two dangling references and the process note about the old header, and states the model-selection non-goal in terms of the rungs, the fable switch and rule routing that exist and the 21.x - 23.x lines instead of a v16 candidate list; the opt-in telemetry idea is dropped because operational reporting is not opt-in.
54
+ - `docs/adr/0008` describes the current CI workflows, and `docs/performance.md` shows model ids from `cost-table.json` and no longer claims nothing leaves the machine.
55
+ - `prefs.schema.json` drops the `gitIdentities` key; `migrate-prefs.mjs` still removes it from an old preferences file. `global.office.remote` stays declared as deprecated so an un-migrated preferences file validates, and `migrate-prefs.mjs` removes it. The other deprecated keys stay because a runtime fallback or a gate still reads them.
56
+ - `publish-staged.mjs` and `identifier-scan.mjs` (moved from `lib/` to `scripts/`) are maintainer tools and are left out of the installed scripts and the npm package.
57
+
58
+ ### Added
59
+
60
+ - `lint-unused-exports.mjs`: reports exported symbols that no other source file uses (tests and docs do not count as callers). Symbols a test imports are left out unless `--include-tested` is given, so the default report is the symbols nothing references. Advisory by default, `--strict` exits 1, `--list` prints them, `fixtures/unused-exports-allow.txt` lists public entry points when it exists.
61
+ - `gen-access-check.mjs` writes the Access check block of the 26 command files that carry it from `fixtures/access-check-blocks.json` (six variants); `--check` is in the test chain and fails on a hand edit or an unlisted copy.
62
+ - `validate-schemas.mjs` validates `schemas/examples/<name>.json` against `<name>.schema.json`; `design-check-config.schema.json` gets a worked example and a test.
63
+ - `test/codex-model-tables.test.mjs` holds the Codex tier table in `model-fallback.md` to `CODEX_TIER_MAP` and the Codex review panel to one reading across `phase-3-review.md` and `review/panel.md`.
64
+ - `features/cost-analysis.md` is linked from `/multi-agent:status`.
65
+ - `/multi-agent:pair` (phone control, off by default): pairs a phone through a QR code and a fallback code, and `--list`, `--revoke <device>`, `--off`, `--start` and `--status` manage the pairings. A paired phone can list runs, read a run's status and pending question, answer with one of the offered options and stop a run's session; nothing else is reachable and `start_run` is declared but refused. Nothing runs until the site enables the feature for the account and a phone is paired. The computer opens no port, only polls the site over HTTPS, and re-verifies every request against a passkey pinned at pairing. Details: `features/remote-control.md`.
66
+ - The run identifier in usage reports is a keyed digest: `r` plus 16 hex characters, an HMAC-SHA256 of the run id under a per-install secret kept owner-only in `usage-run-key`. The same machine and run always give the same value, so the events of one run join, and the raw id stays in the local logs. When the secret cannot be read or created the send is skipped and `usage-last-send.json` records reason `run-key-unavailable`.
67
+ - Typed-command counter: a `UserPromptSubmit` hook (`note-command-use.sh`) counts which `/multi-agent` commands are typed, by shipped name only (anything else counts as `other`), and the usage report carries the counts as `cmds` with a batch id `cb` so a resend is never added twice. Counting follows `usageLog.enabled` and `usageLog.optOut` and stores no arguments or prompt text.
68
+ - Opt-in session brief (`sessionBrief` in the preferences, `session-brief.sh` on `SessionStart` for Claude Code): an index of the repository's learnings ledger, one line about its code graph, the skill indexes of the enabled toolkits and, as a separate setting, a few working notes. Off until `enabled` is true, silent in unattended and pipeline contexts, and `MULTI_AGENT_SESSION_BRIEF=0` turns it off for one process.
69
+ - Code graph sidecars. The main graph file stays schema 1.2.0 with the same node and edge kinds as before and validates under the previous validator; capabilities that add nodes or edges live in files beside it, each with its own schema and version, a record of the graph it was built against, node and edge caps with a `truncated` marker, and a staleness check: `<graph>.calls.json` (built by default, `--no-calls` to skip), `<graph>.docs.json` (`--docs`) and `<graph>.infra.json` (`--infra`). `code-graph.config.json` beside the graph sets the layers per repo; a flag wins. `graph-query`, `graph-affected`, `graph-report`, `graph-export` and `graph-hint` join the sidecars that are present and say when one is absent, stale, built against another graph, invalid or truncated. Call edges never count toward degree, so hubs stay structural.
70
+ - Call edges (calls sidecar): `calls` edges from the function that contains a call to the function, method or type it reaches, resolved without a language server for Swift, Kotlin, TypeScript and JavaScript, Python, Go, Rust, Java, C#, C and C++. Each edge records how it was derived (`via`) and a `confidence`: `high` when a binding was resolved, `medium` for inference, `low` for a name and argument count only. A name imported from outside the repo produces no edge. A call through a protocol, interface or overridden method also reaches each implementer. `eval-call-edges.mjs` measures precision and recall on nine hand-checked cases and runs in `npm test`. Hand-classified samples of 40 `high` edges per tree found 37 of 37, 39 of 39 and 34 of 35 correct (JavaScript, TypeScript, Swift) and 7 of 8, 6 of 8 and 5 of 8 on `low`; the Swift error class (a bare name resolved to a nested type or to a repository type with a platform name) is now zero. `low` is an unresolved binding, often right in script-style code and a lead elsewhere. Python, Go, Rust, Java, C#, C++ and Kotlin precision is fixture-verified only. See `features/code-graph.md`.
71
+ - Stacks `rust`, `java`, `csharp` and `cpp` for `graph-build` (rules under `code-graph-rules/` and `test-gap-rules/`).
72
+ - `graph-query --callers <fn>` and `--callees <fn>` (depth up to 15, `--min-confidence`), a confidence per hop and a weakest-hop line on `--path` (the stronger of two equal-length routes wins), `--seed` to start a walk at named nodes, `--include` to rank documentation, rationale, infrastructure and configuration nodes.
73
+ - Infrastructure, configuration, dependency, documentation and rationale nodes (infra and docs sidecars): Dockerfile, Compose, Kubernetes, Helm, Kustomize, Terraform, Terragrunt, GitHub Actions and GitLab CI, `.env`, Gradle, application config, dependency manifests, Markdown and AsciiDoc sections, and NOTE / WHY / ADR comments, with `sets`, `uses`, `builds`, `runs`, `reads`, `mentions` and `explains` edges. Code that reads an environment variable or key by a literal name reaches its definition through one `env:` or `config:` node. Names only; values are never stored.
74
+ - `graph-export.mjs` writes the graph as Graphviz, GraphML, CSV or a Mermaid flowchart, with a module-level architecture view. CSV cells that start like a formula are neutralised and labels are escaped per format.
75
+ - `graph-report` lists the most-called functions with their span, functions nothing calls (candidates, with the blind spots named), and environment variables read but never set or set but never read.
76
+ - `graph-affected` reports files added since the build (`freshness.addedFiles`), and follows callers of a function seed. `graph-hint` names up to three graph nodes with the searched name.
77
+ - The free-text `graph-query` walk and the tier sections leave `calls` edges and non-code nodes out unless asked, so ranking is unchanged.
78
+ - Call edges of low confidence are leads. `graph-query --callers`, `--callees` and `--path`, `graph-export` and the report's most-called table read edges of medium confidence and better by default; `--min-confidence low` adds the leads, labelled. `graph-affected` never follows a low edge, prints each row's confidence and `via`, and marks a dependent reached only through medium edges, so `analysis.touchedAreas[]` can list those as unconfirmed. `graph-export` carries the weakest confidence of each arrow into CSV, GraphML, DOT and Mermaid.
79
+ - Name scope for call edges: a type nested in another type is reached by its bare name only from inside the outer type or an extension of it, or written qualified; names the platform owns (`URL`, `Date`, `Timeline`, `print`, `Map`, ...) bind to a repository declaration only when it is in lexical scope; in Swift a declaration in another build target is `low` unless the caller's target can see it. JavaScript and TypeScript arity ranks and never rejects; nested functions are hoisted and visible to closures; re-exports are followed; calls in default parameter values and destructuring defaults are read.
80
+ - The main graph also changes on a tree that holds strings or templates, because string and template handling was fixed: symbols and references built from text inside a string disappear, real ones appear, and a multi-line constant gets a correct end line. On this repository 31 such symbol nodes and 112 edges disappeared, 3 nodes and 7 edges appeared and 62 spans changed their end line. Degrees follow.
81
+ - A function node's id is its qualified name, with the parameter labels of an overload and a numeral for a true duplicate, so it no longer changes when lines above it move.
82
+ - The calls schema and validator refuse a `certain` confidence; the validator fails a sidecar whose `parent` does not match the main graph it is validated with. The module view of `graph-export` descends a directory level when everything lives under one directory, and call resolution has its own time budget.
83
+ - The code-graph string and comment stripper is dialect-driven: nested block comments (Swift, Kotlin, Rust), Swift and Rust raw strings, C++ raw strings, JavaScript regular-expression literals and nested template literals, and calls inside string interpolation are handled; `#if` / `#else` branches each keep their own bracket state.
84
+ - `validate-code-graph.mjs` validates a graph together with its sidecars, caps its error output, and rejects a kind newer than the declared schema version.
85
+ - The documentation and configuration extractors read only regular files inside the repo root, run every pattern in linear time, and keep YAML maps without a prototype; each file and each collection has a time budget, and what was skipped is listed under `coverage`.
86
+
87
+ ### Removed
88
+
89
+ - `docs/FIGMA_PIPELINE.md`, a guide to a retired skill catalog (the current flow is `rules/figma-pipeline.md` and the stack plugins).
90
+ - The legacy wiki prompt flow in `wiki-capture.md` and the version stub in the analysis intake ref.
91
+
19
92
  ## [23.3.0] - 2026-11-10
20
93
 
21
94
  ### Changed
package/README.md CHANGED
@@ -108,7 +108,7 @@ The phase list lives in `pipeline/schemas/phases.json`, and `smoke-phase-contrac
108
108
 
109
109
  ### Install verification, cost, and one state directory
110
110
 
111
- - **`multi-agent-pipeline verify`.** The install is a copy, and from the moment it is written the two halves drift independently: an edit in the installed tree is behaviour with no source, and a file the installer skipped is a script the docs describe and nobody has. `verify` compares both against a manifest built at pack time. What a green result proves is stated plainly - the bytes match what the publisher recorded, not who published them.
111
+ - **`multi-agent-pipeline verify`.** The install is a copy, and from the moment it is written the two halves drift independently: an edit in the installed tree is behaviour with no source, and a file the installer skipped is a script the docs describe and nobody has. `verify` compares both against a manifest built at pack time. What a green result proves is stated plainly - the bytes match what the publisher recorded, not who published them. Details: [verify](pipeline/multi-agent-refs/features/verify.md).
112
112
  - **Cost, past the single run.** The per-task ceiling cannot see the two ways a budget actually empties: a drift that trips nothing, and one session that burns a week in an hour while every run stays under its cap. `cost-analyze` projects, finds days out of family by median absolute deviation, and reports acceleration - as LIST-price estimates, which it says on every run rather than in a footnote.
113
113
  - **A run's state lives in one place.** `{project}/{taskId}/` is canonical, the flat layout is still read, and a run that exists in both is counted once.
114
114
  - **Server readiness, entirely opt-in.** `doctor --profile=server` adds four checks that only matter when nobody is at the keyboard, and `install --unattended` writes a permission profile after printing it. The default install writes no permissions and the default doctor run leaves the server checks out, because a laptop told it fails a server check learns to ignore doctor.
@@ -158,7 +158,7 @@ The discipline behind all of this - bounded loops, evidence gates, token-budgete
158
158
 
159
159
  ## Commands
160
160
 
161
- `/multi-agent` plus <!-- fact:commandCount -->79<!-- /fact --> sub-commands. `/multi-agent:help` renders the same catalog in your terminal, in your `outputLanguage`.
161
+ `/multi-agent` plus <!-- fact:commandCount -->80<!-- /fact --> sub-commands. `/multi-agent:help` renders the same catalog in your terminal, in your `outputLanguage`.
162
162
 
163
163
  ### Pipeline entries
164
164
 
@@ -431,7 +431,17 @@ the page with a one-time code; the server runs until `/multi-agent:office-off`.
431
431
  | `/multi-agent:office-off` | Stop the server; it runs until you do |
432
432
 
433
433
  Security model: [office threat model](pipeline/multi-agent-refs/features/office-threat-model.md).
434
- The office is local to this machine: no phone pairing, no relay, no remote access.
434
+ The office itself is local to this machine and opens no port to the network. Phone control is a separate, opt-in feature described below.
435
+
436
+ ### Remote control from a phone (optional, off by default)
437
+
438
+ `/multi-agent:pair` pairs a phone so you can list runs, read a run's pending
439
+ question, answer it with one of its offered options and stop a run's session
440
+ from the phone. Nothing runs until the site enables it for your account and a
441
+ phone is paired; no port is opened, the computer only polls the site over
442
+ HTTPS, and every request is re-verified here against a passkey pinned at
443
+ pairing. What leaves the machine and what the site can and cannot do:
444
+ [remote control](pipeline/multi-agent-refs/features/remote-control.md).
435
445
 
436
446
  ## Which model answers
437
447
 
@@ -490,17 +500,17 @@ This enables the matching plugin (+ the shared `ai-common` plugin) in the repo's
490
500
 
491
501
  ## Tool support
492
502
 
493
- 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 -->79<!-- /fact --> commands.
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.
494
504
 
495
505
  | Tool | Flag | What it installs |
496
506
  | ----------- | -------------------- | ------------------------------------------------------------------------------------------------------ |
497
507
  | Claude Code | `--claude` (default) | slash commands + skills + agents + the enforcement hooks (secret scan, agent-guard, read-size gate, run-scope guard, run-stop guard) |
498
- | Copilot CLI | `--copilot` | instructions + <!-- fact:commandCount -->79<!-- /fact --> sub-command skills + scripts |
499
- | Codex CLI | `--codex` | one router skill + <!-- fact:commandCount -->79<!-- /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` |
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` |
500
510
 
501
511
  Filter skills by stack with `--platform=ios\|android\|all`.
502
512
 
503
- **Why Codex gets one skill and not <!-- fact:commandCount -->79<!-- /fact -->.** Codex assembles every discovered skill's name
513
+ **Why Codex gets one skill and not <!-- fact:commandCount -->80<!-- /fact -->.** Codex assembles every discovered skill's name
504
514
  and description into a single prompt block and drops entries when it overflows, with no
505
515
  error. Measured on 0.145: installing one plugin that declares 142 skills surfaced only
506
516
  75 of them and evicted an unrelated user skill. So on Codex the pipeline ships a single
@@ -542,6 +552,7 @@ The **secret scan** runs as a `PreToolUse` hook on Claude Code (hard-blocks a co
542
552
  | `run-scope-guard.sh` (Figma phase rule, worktree boundary warning) | PreToolUse Figma tools, file edits | none: the phase records its own MCP calls | none |
543
553
  | `run-stop-guard.sh` (no silent stop mid-run) | Stop | none: halts stay the phase's own write | none |
544
554
  | `task-mirror.sh` (native task list into the run tracker, so the office shows it) | PostToolUse `TaskCreate`/`TaskUpdate` | none: the phase calls `phase-tracker.sh task` itself | none: the phase calls `phase-tracker.sh task` itself |
555
+ | `session-brief.sh` (opt-in, `sessionBrief.enabled`: a cached index of the repo's learnings ledger with a pointer per line and one code-graph line, about 350 tokens per session and again after each compaction; nothing for a repo with neither; silent when unattended) | SessionStart | none | none |
545
556
  | `file-context.sh` (what the repo's memory says about a file, when it is read or searched, fitted to the 10,000-character hook output limit) | PreToolUse `Read`/`Grep`/`Glob`, PostToolUse `Read` | none | none |
546
557
  | `graph-hint.sh` (points a whole-repo identifier search at a current code graph, once per session) | PreToolUse `Grep`/`Glob` | none | none |
547
558
  | `note-agent-event.sh` (a subagent's outcome or a failed tool call, into the session notes) | SubagentStop, PostToolUseFailure | none | none |
@@ -561,10 +572,18 @@ Installing the pipeline is not only useful when you run it. Open an ordinary ses
561
572
 
562
573
  - **Services you already onboarded.** The token `setup` mapped is readable now - resolve the logical name through `credential-store.sh` and fetch the issue, the page, the log. **Reads are ordinary work; writes are not.** Posting a Jira comment, editing an issue or opening a PR goes through the pipeline commands, because the rules that make those safe (never auto-close, `Ref:` not `Closes:`, humanizer on outward prose) live there.
563
574
  - **The stack skills `/multi-agent:stack` enabled for the repo.** Each toolkit's own `index` skill routes; the pipeline keeps no copy of that table.
564
- - **The `multi-agent` MCP.** <!-- fact:toolCount -->251<!-- /fact --> tools, most of them for a running app - screen state, crash logs, design comparison, store pre-submission, web scraping and browser test states. Several measure instead of judging by eye: WCAG contrast (`design_contrast_check`), layout shift across themes or a mirrored locale (`ios_visual_diff` with `mode: "layout"`), store listing limits (`store_listing_lint`), review themes with verbatim quotes (`store_review_themes`) and whether security findings cite real lines (`security_evidence_check`, with `security_sarif_export` for code-scanning views). The learnings ledger and the code graph are readable through it too (`learnings_*`, `graph_*`).
575
+ - **The `multi-agent` MCP.** <!-- fact:toolCount -->258<!-- /fact --> tools, most of them for a running app - screen state, crash logs, design comparison, store pre-submission, web scraping and browser test states. Several measure instead of judging by eye: WCAG contrast (`design_contrast_check`), layout shift across themes or a mirrored locale (`ios_visual_diff` with `mode: "layout"`), store listing limits (`store_listing_lint`), review themes with verbatim quotes (`store_review_themes`) and whether security findings cite real lines (`security_evidence_check`, with `security_sarif_export` for code-scanning views). The learnings ledger and the code graph are readable through it too (`learnings_*`, `graph_*`).
565
576
 
566
577
  Uninstall preserves this layer: the tokens, the reader that opens them, the mapping that names them, and the MCP registration. Removing the pipeline should not cost you the credentials you onboarded through it.
567
578
 
579
+ ## Usage reporting
580
+
581
+ A run reports coarse metadata to the maintainer's site so a failing install can be diagnosed from its record. Every field is one of four things: a number or a boolean, a value from a closed list shipped inside the package (commands, skills, tools, models, modes, halt codes), a keyed digest (run, repository and machine identifiers, which the site cannot turn back into names), or the documented subject (the GitHub login used for access, and feedback text you write yourself). Names that are not on a shipped list go out as `other` or `private`.
582
+
583
+ Never sent, outside the two opt-in fields below (a pull request address names its repository): prompts, code, diffs, file paths, repository names, ticket keys, titles, token values. Two fields are opt-in and reduced before they leave: a title becomes a word count, a ticket-shape flag and a language code, and a pull request address is kept only for the four public code hosts.
584
+
585
+ `usageLog.optOut: true` turns reporting off before any network call or credential read. Two things still run: the access check, which sends the login and the version and nothing else, and feedback you send on purpose. `/multi-agent:doctor` shows the outcome of the last send. The full field table is in `pipeline/multi-agent-refs/features/usage-reporting.md`.
586
+
568
587
  ## Platform support
569
588
 
570
589
  Runs on **macOS** only. The package declares `os: ["darwin"]`, so `npm` refuses to install it elsewhere rather than letting a run fail halfway through: every credential read shells `security`, every iOS build `xcodebuild`, every piece of visual evidence `simctl`. Node.js 20.11+ (tested on 20 and 22). Reasoning: [ADR-0012](docs/adr/0012-macos-only.md).
package/README.tr.md CHANGED
@@ -107,7 +107,7 @@ Faz listesi `pipeline/schemas/phases.json`'da duruyor; `smoke-phase-contract.sh`
107
107
 
108
108
  ### Kurulum doğrulama, maliyet ve tek bir durum dizini
109
109
 
110
- - **`multi-agent-pipeline verify`.** Kurulum bir kopyadır ve yazıldığı andan itibaren iki taraf birbirinden bağımsız kayar: kurulu ağaçtaki bir düzenleme kaynağı olmayan bir davranıştır, kurulumun atladığı dosya ise dokümanın anlattığı ama kimsede olmayan bir script. `verify` ikisini de paketleme anında üretilen bir manifest'e karşı karşılaştırır. Yeşil sonucun ne kanıtladığı açıkça yazılıdır: baytlar yayıncının kaydettiğiyle aynıdır, kimin yayınladığı değil.
110
+ - **`multi-agent-pipeline verify`.** Kurulum bir kopyadır ve yazıldığı andan itibaren iki taraf birbirinden bağımsız kayar: kurulu ağaçtaki bir düzenleme kaynağı olmayan bir davranıştır, kurulumun atladığı dosya ise dokümanın anlattığı ama kimsede olmayan bir script. `verify` ikisini de paketleme anında üretilen bir manifest'e karşı karşılaştırır. Yeşil sonucun ne kanıtladığı açıkça yazılıdır: baytlar yayıncının kaydettiğiyle aynıdır, kimin yayınladığı değil. Ayrıntılar: [verify](pipeline/multi-agent-refs/features/verify.md).
111
111
  - **Maliyet, tek koşunun ötesinde.** Görev başına tavan, bütçeyi gerçekten bitiren iki şeyi göremez: hiçbir koşuyu aşmayan kayma, ve her koşu tavanın altında kalırken bir saatte bir haftayı yakan tek oturum. `cost-analyze` projeksiyon yapar, medyan mutlak sapmayla aileden ayrılan günü bulur ve ivmeyi raporlar - liste fiyatından tahmin olarak, ve bunu dipnotta değil her koşuda söyler.
112
112
  - **Bir koşunun durumu tek yerde.** `{project}/{taskId}/` kanonik, düz yerleşim hâlâ okunuyor, ve iki yerde birden duran koşu bir kez sayılıyor.
113
113
  - **Sunucu hazırlığı, tamamen opt-in.** `doctor --profile=server` yalnızca klavyede kimse yokken anlamı olan dört kontrol ekler, `install --unattended` izin profilini yazmadan önce gösterir. Varsayılan kurulum hiçbir izin yazmaz ve varsayılan doctor koşusu sunucu kontrollerini dışarıda bırakır: sunucu kontrolünden kaldığı söylenen bir dizüstü, doctor'ı görmezden gelmeyi öğrenir.
@@ -157,7 +157,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
157
157
 
158
158
  ## Komutlar
159
159
 
160
- `/multi-agent` ve <!-- fact:commandCount -->79<!-- /fact --> alt komut. `/multi-agent:help` aynı katalogu terminalde, `outputLanguage` ayarına göre gösterir.
160
+ `/multi-agent` ve <!-- fact:commandCount -->80<!-- /fact --> alt komut. `/multi-agent:help` aynı katalogu terminalde, `outputLanguage` ayarına göre gösterir.
161
161
 
162
162
  ### Pipeline girişleri
163
163
 
@@ -192,7 +192,7 @@ Koşunun kendisinde ayarlanabilen tek şey autopilot; geri kalan her şey kendi
192
192
  | `/multi-agent:review-priority` | Ekibin açık bug priority'lerini kural dosyasına göre denetler. Salt okur; her seferinde tek onaylı değişiklik |
193
193
  | `/multi-agent:review-issue` | Aynı puanlama, GitHub issue'su için |
194
194
  | `/multi-agent:review-analysis` | Yazılmış analiz dokümanını review eder; bulgular ihlal edilen Locked kuralını gösterir |
195
- | `/multi-agent:diff-explain` | Faz 4 triyaj bulgusunu onu doğuran diff satırlarına eşler |
195
+ | `/multi-agent:diff-explain` | Faz 3 triyaj bulgusunu onu doğuran diff satırlarına eşler |
196
196
  | `/multi-agent:estimate` | Benzer kapanmış işlerden efor aralığı: rol başına P25-P75, dayandığı ticket'larla |
197
197
  | `/multi-agent:postmortem` | Koşunun transkriptlerinden post-mortem: döngüler, takılmalar, dosya:satır dayanaklı kök-neden hipotezleri |
198
198
  | `/multi-agent:scenario-audit` | Test senaryolarını koda karşı denetler; her VAR çözülen bir dosya:satıra dayanır |
@@ -429,7 +429,17 @@ başlatır ve sayfayı tek kullanımlık bir kodla açar; sunucu
429
429
  | `/multi-agent:office-off` | Sunucuyu durdurur; sunucu ancak bununla durur. |
430
430
 
431
431
  Güvenlik modeli: [ofis tehdit modeli](pipeline/multi-agent-refs/features/office-threat-model.md).
432
- Ofis yalnızca bu makinede çalışır: telefon eşleme, aktarım ya da uzaktan erişim yoktur.
432
+ Ofisin kendisi yalnızca bu makinede çalışır ve ağa port açmaz. Telefon kontrolü ayrı, isteğe bağlı bir özelliktir ve aşağıda anlatılır.
433
+
434
+ ### Telefondan uzaktan kontrol (isteğe bağlı, varsayılan kapalı)
435
+
436
+ `/multi-agent:pair` bir telefonu eşler; telefondan koşuları listeleyebilir,
437
+ bekleyen soruyu sunulan seçeneklerden biriyle yanıtlayabilir ve bir koşunun
438
+ oturumunu durdurabilirsiniz. Site hesabınız için açana ve bir telefon eşlenene
439
+ kadar hiçbir şey çalışmaz; port açılmaz, bilgisayar siteyi yalnızca HTTPS ile
440
+ yoklar ve her istek eşleşmede sabitlenen bir passkey'e karşı burada yeniden
441
+ doğrulanır. Makineden ne çıktığı ve sitenin neyi yapıp yapamayacağı:
442
+ [uzaktan kontrol](pipeline/multi-agent-refs/features/remote-control.md).
433
443
 
434
444
  ## Hangi model cevaplıyor
435
445
 
@@ -488,17 +498,17 @@ Bu, ilgili plugin'i (+ ortak `ai-common` plugin'ini) repo'nun `.claude/settings.
488
498
 
489
499
  ## Araç desteği
490
500
 
491
- Pipeline **Claude Code**, **Copilot CLI** ve **Codex CLI** üzerinde native çalışır - üçü de aynı `pipeline/` kaynağından kurulur ve aynı <!-- fact:commandCount -->79<!-- /fact --> komutu alır.
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.
492
502
 
493
503
  | Araç | Bayrak | Ne kurar |
494
504
  | ----------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
495
505
  | Claude Code | `--claude` (varsayılan) | slash komutları + skill'ler + agent'lar + üç `PreToolUse` hook'u (secret scan, agent-guard, okuma-boyutu geçidi) |
496
- | Copilot CLI | `--copilot` | talimatlar + <!-- fact:commandCount -->79<!-- /fact --> alt-komut skill'i + script'ler |
497
- | Codex CLI | `--codex` | bir router skill + ref olarak <!-- fact:commandCount -->79<!-- /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` |
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` |
498
508
 
499
509
  Skill'leri stack'e göre filtrele: `--platform=ios\|android\|all`.
500
510
 
501
- **Codex neden <!-- fact:commandCount -->79<!-- /fact --> değil de tek bir skill alıyor.** Codex, keşfettiği her skill'in adını
511
+ **Codex neden <!-- fact:commandCount -->80<!-- /fact --> değil de tek bir skill alıyor.** Codex, keşfettiği her skill'in adını
502
512
  ve açıklamasını tek bir prompt bloğuna toplar ve blok taştığında girdileri hatasızca
503
513
  düşürür. 0.145 üzerinde ölçüldü: 142 skill deklare eden bir plugin kurulduğunda sadece
504
514
  75'i yüzeye çıktı ve alakasız bir kullanıcı skill'i tahliye edildi. Bu yüzden Codex'te
@@ -542,6 +552,7 @@ triage notu bunu belirtir.
542
552
  | `run-stop-guard.sh` (koşu ortasında sessizce durmaz) | Stop | yok: duraklama fazın kendi yazımı olarak kalır | yok |
543
553
  | `task-mirror.sh` (terminaldeki görev listesini koşunun takipçisine yazar, ofis de onu gösterir) | PostToolUse `TaskCreate`/`TaskUpdate` | yok: faz `phase-tracker.sh task`'ı kendisi çağırır | yok: faz `phase-tracker.sh task`'ı kendisi çağırır |
544
554
  | `file-context.sh` (okunan ya da aranan dosya hakkında repo hafızasının söylediklerini verir; çıktı 10.000 karakterlik hook sınırına sığdırılır) | PreToolUse `Read`/`Grep`/`Glob`, PostToolUse `Read` | yok | yok |
555
+ | `session-brief.sh` (isteğe bağlı, `sessionBrief.enabled`: reponun öğrenme defterinin satır başına işaretçili önbellekli dizini ve tek satır kod grafiği; oturum başına ve her sıkıştırmadan sonra yaklaşık 350 token; ikisi de yoksa hiçbir şey basmaz; gözetimsiz çalışmada sessiz) | SessionStart | yok | yok |
545
556
  | `graph-hint.sh` (tüm repoda bir tanımlayıcı aranırken güncel kod grafiğini önerir, oturumda bir kez) | PreToolUse `Grep`/`Glob` | yok | yok |
546
557
  | `note-agent-event.sh` (alt ajanın sonucunu ya da başarısız araç çağrısını oturum notlarına yazar) | SubagentStop, PostToolUseFailure | yok | yok |
547
558
  | `note-skill-use.sh` (skill adı, sonuç, zaman, host ve repo klasör adı yerel bir loga yazılır; kullanılmayan skill'ler kanıtla ayıklanır; argüman, prompt ve çıktı asla yazılmaz) | PostToolUse / PostToolUseFailure `Skill` | yok: Codex skill dosyalarını okur, yakalanacak araç çağrısı yok | yok: Copilot hook'u kurulmaz |
@@ -559,10 +570,18 @@ Pipeline'ı kurmak yalnız onu çalıştırdığında işe yaramıyor. Sıradan
559
570
 
560
571
  - **Zaten onboard ettiğin servisler.** `setup`'ın eşlediği token okunabilir durumda - mantıksal adı `credential-store.sh` ile çöz, issue'yu, sayfayı, logu getir. **Okuma sıradan iş, yazma değil.** Jira yorumu, issue düzenleme ve PR açma pipeline komutlarından geçer, çünkü onları güvenli kılan kurallar (issue asla otomatik kapanmaz, `Closes:` değil `Ref:`, dışa dönük metinde humanizer) orada yaşıyor.
561
572
  - **`/multi-agent:stack`'in bu repo için açtığı stack skilleri.** Yönlendirmeyi her toolkit'in kendi `index` skill'i yapar; pipeline o tablonun kopyasını tutmaz.
562
- - **`multi-agent` MCP.** <!-- fact:toolCount -->251<!-- /fact --> araç, çoğu çalışan uygulama için - ekran durumu, crash logu, tasarım karşılaştırma, store ön-kontrolü, web kazıma ve tarayıcı test durumları. Bazı kontrolleri gözle değil ölçümle yapar. WCAG kontrastı `design_contrast_check` ile, tema ya da RTL değişince kayan yerleşim `ios_visual_diff` (`mode: "layout"`) ile ölçülür. Mağaza metni sınırlarını `store_listing_lint` denetler. `store_review_themes` yorumları temalara ayırır ve alıntıyı birebir bırakır. Güvenlik bulgularının gerçek satırlara dayandığını `security_evidence_check` doğrular; `security_sarif_export` kod tarama ekranları için SARIF yazar. Öğrenim kaydı (`learnings_*`) ve kod grafiği (`graph_*`) de buradan okunur.
573
+ - **`multi-agent` MCP.** <!-- fact:toolCount -->258<!-- /fact --> araç, çoğu çalışan uygulama için - ekran durumu, crash logu, tasarım karşılaştırma, store ön-kontrolü, web kazıma ve tarayıcı test durumları. Bazı kontrolleri gözle değil ölçümle yapar. WCAG kontrastı `design_contrast_check` ile, tema ya da RTL değişince kayan yerleşim `ios_visual_diff` (`mode: "layout"`) ile ölçülür. Mağaza metni sınırlarını `store_listing_lint` denetler. `store_review_themes` yorumları temalara ayırır ve alıntıyı birebir bırakır. Güvenlik bulgularının gerçek satırlara dayandığını `security_evidence_check` doğrular; `security_sarif_export` kod tarama ekranları için SARIF yazar. Öğrenim kaydı (`learnings_*`) ve kod grafiği (`graph_*`) de buradan okunur.
563
574
 
564
575
  Uninstall bu katmanı korur: token'lar, onları açan okuyucu, adlarını tutan eşleme ve MCP kaydı. Pipeline'ı kaldırmak, onun üzerinden onboard ettiğin credential'ları kaybetmek anlamına gelmemeli.
565
576
 
577
+ ## Kullanım raporu
578
+
579
+ Her koşu, bakımcının sitesine kaba bir özet gönderir. Amaç, bozulan bir kurulumun kaydından teşhis edilebilmesidir. Gönderilen her alan dört türden biridir: bir sayı ya da mantıksal değer; paketin içinde gelen kapalı bir listeden bir değer (komutlar, skill'ler, araçlar, modeller, modlar, kesinti kodları); anahtarlı bir özet (koşu, repo ve makine kimlikleri; site bunları ada çeviremez); ya da belgelenmiş özne (erişim için kullanılan GitHub kullanıcı adı ve kendi yazdığın geri bildirim metni). Listede olmayan adlar `other` ya da `private` olarak gider.
580
+
581
+ Aşağıdaki iki isteğe bağlı alan dışında hiç gönderilmez (pull request adresi reposunu adlandırır): prompt, kod, diff, dosya yolu, repo adı, bilet anahtarı, başlık, token değeri. İki alan isteğe bağlıdır ve çıkmadan önce indirgenir: başlık yalnız kelime sayısı, bilet biçimi bayrağı ve dil koduna döner; pull request adresi yalnız dört açık kod sunucusu için tutulur.
582
+
583
+ `usageLog.optOut: true` raporlamayı her ağ çağrısından ve her kimlik bilgisi okumasından önce kapatır. İki şey çalışmaya devam eder: yalnız kullanıcı adını ve sürümü gönderen erişim kontrolü ve bilerek gönderdiğin geri bildirim. `/multi-agent:doctor` son gönderimin sonucunu gösterir. Alan tablosunun tamamı `pipeline/multi-agent-refs/features/usage-reporting.md` içindedir.
584
+
566
585
  ## Platform desteği
567
586
 
568
587
  Yalnızca **macOS** üzerinde çalışır. Paket `os: ["darwin"]` beyan eder, yani `npm` başka bir platformda kurulumu reddeder - koşunun yarısında başarısız olmasındansa. Her credential okuması `security`, her iOS build'i `xcodebuild`, her ekran kaydı `simctl` çağırıyor. Node.js 20.11+ (20 ve 22'de test edildi). Gerekçe: [ADR-0012](docs/adr/0012-macos-only.md).
package/SECURITY.md CHANGED
@@ -41,3 +41,19 @@ Out of scope:
41
41
  ## Coordinated Disclosure
42
42
 
43
43
  We follow standard coordinated disclosure: researchers are credited (with permission) in the release notes once a fix is shipped. Public disclosure timelines are agreed with the reporter, defaulting to 90 days from initial report or 30 days after a patch is released - whichever is earlier.
44
+
45
+ ## Telemetry
46
+
47
+ Usage reporting sends coarse run metadata to the maintainer's site so a failing install can be diagnosed. It can be turned off with `usageLog.optOut: true`, which stops run reporting before any network call or credential read. Two things still run on an opted-out machine: the access check, which sends the GitHub login and the version and nothing else, and feedback you type and send yourself. The full field table is in [`pipeline/multi-agent-refs/features/usage-reporting.md`](pipeline/multi-agent-refs/features/usage-reporting.md).
48
+
49
+ Field categories that are sent:
50
+
51
+ - Numbers and booleans: durations, token totals, estimated cost, review iterations, whether a pull request was opened, autopilot and local-mode flags.
52
+ - Values from closed lists shipped inside the package: command, skill, tool, plugin, code-host and MCP server names, model ids, modes, stacks, phase numbers, run status and event, closed halt and error codes, operating system, CLI, language, the installed version.
53
+ - Keyed digests: run, repository and machine identifiers, computed under a per-install secret so the site cannot turn them back into names.
54
+ - Per-run and per-machine counts: MCP tool calls and typed `/multi-agent` commands, by shipped name only.
55
+ - Health and credential summaries: one status per section with a message id, and per logical credential key a status with a check time, limited to documented key names.
56
+ - The documented subject: the GitHub login used for the access check and registration, and feedback text you write yourself.
57
+ - Opt-in, reduced before leaving the machine: a task title becomes a word count, a ticket-shape flag and a language code; a pull request address is kept only for the four public code hosts, without credentials, query or fragment.
58
+
59
+ Never sent, outside the opt-ins above (a pull request address names its repository): prompts, code, diffs, file paths, repository names, ticket keys, titles, token values, command arguments or tool results. A name that is not on a shipped list goes out as `other` or `private`.
@@ -74,7 +74,7 @@ Schema validation proves each schema is well-formed. It does not prove that prod
74
74
 
75
75
  ### 6. CI matrix splits into full + lite workflows
76
76
 
77
- `.github/workflows/test.yml` keeps the full matrix (Ubuntu/macOS/Windows × Node 20/22 + credential-store round-trips). `.github/workflows/ci-lite.yml` is the workflow_dispatch-only fast lane (Ubuntu + Node 22, no credential round-trips, ~3 minutes). The lite workflow is the one contributors run via `act` while billing is paused; the full matrix runs on demand for releases.
77
+ `.github/workflows/test.yml` keeps the full matrix (macOS × Node 20/22 + credential-store round-trips). `.github/workflows/ci-lite.yml` is the fast lane (macOS + Node 22, no credential round-trips, 15-minute timeout). Both run on every push and pull request to `main` and by `workflow_dispatch`; the lite workflow can be reproduced locally with `act`.
78
78
 
79
79
  ### 7. Recovery guide gains four new playbooks
80
80