@mmerterden/multi-agent-pipeline 16.11.0 → 16.13.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 (67) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +9 -7
  3. package/README.tr.md +9 -7
  4. package/docs/adr/0001-three-model-triage.md +5 -0
  5. package/docs/adr/0010-own-code-graph.md +129 -0
  6. package/docs/adr/README.md +1 -0
  7. package/docs/architecture.md +2 -2
  8. package/docs/ecosystem.md +5 -5
  9. package/docs/features.md +26 -2
  10. package/package.json +1 -1
  11. package/pipeline/claude-md-template.md +1 -1
  12. package/pipeline/commands/multi-agent/SKILL.md +1 -1
  13. package/pipeline/commands/multi-agent/analysis/SKILL.md +1 -1
  14. package/pipeline/commands/multi-agent/graph/SKILL.md +105 -0
  15. package/pipeline/commands/multi-agent/help/SKILL.md +10 -10
  16. package/pipeline/commands/multi-agent/resume-local/SKILL.md +2 -2
  17. package/pipeline/commands/multi-agent/review/SKILL.md +3 -3
  18. package/pipeline/commands/multi-agent/review-analysis/SKILL.md +1 -1
  19. package/pipeline/commands/multi-agent/sync/SKILL.md +12 -12
  20. package/pipeline/commands/multi-agent/uninstall/SKILL.md +9 -7
  21. package/pipeline/lib/figma-screenshot.sh +107 -7
  22. package/pipeline/lib/md2confluence-v3.py +133 -25
  23. package/pipeline/multi-agent-refs/analysis/locked.md +4 -3
  24. package/pipeline/multi-agent-refs/analysis/render.md +44 -9
  25. package/pipeline/multi-agent-refs/analysis/review.md +17 -1
  26. package/pipeline/multi-agent-refs/analysis-template-corporate.md +14 -3
  27. package/pipeline/multi-agent-refs/cross-cli-contract.md +10 -10
  28. package/pipeline/multi-agent-refs/features/code-graph.md +62 -0
  29. package/pipeline/multi-agent-refs/features/model-fallback.md +44 -2
  30. package/pipeline/multi-agent-refs/knowledge.md +7 -1
  31. package/pipeline/multi-agent-refs/phases/phase-0-init.md +1 -1
  32. package/pipeline/multi-agent-refs/phases/phase-1-analysis.md +5 -0
  33. package/pipeline/multi-agent-refs/phases/phase-4-review.md +9 -9
  34. package/pipeline/multi-agent-refs/phases/phase-7-report.md +2 -0
  35. package/pipeline/preferences-template.json +2 -0
  36. package/pipeline/schemas/analysis-spec.schema.json +2 -0
  37. package/pipeline/schemas/code-graph.schema.json +91 -0
  38. package/pipeline/schemas/prefs.schema.json +45 -0
  39. package/pipeline/schemas/reviewer-output.schema.json +1 -1
  40. package/pipeline/schemas/token-budget.json +2 -2
  41. package/pipeline/schemas/triage-output.schema.json +1 -1
  42. package/pipeline/scripts/_code-graph.mjs +518 -0
  43. package/pipeline/scripts/_path-match.mjs +87 -0
  44. package/pipeline/scripts/anonymize-findings.mjs +1 -1
  45. package/pipeline/scripts/code-graph-rules/android.json +130 -0
  46. package/pipeline/scripts/code-graph-rules/ios.json +95 -0
  47. package/pipeline/scripts/code-graph-rules/node.json +151 -0
  48. package/pipeline/scripts/code-graph-rules/python.json +91 -0
  49. package/pipeline/scripts/graph-affected.mjs +161 -0
  50. package/pipeline/scripts/graph-build.mjs +157 -0
  51. package/pipeline/scripts/graph-query.mjs +191 -0
  52. package/pipeline/scripts/graph-report.mjs +237 -0
  53. package/pipeline/scripts/smoke-cross-cli-behavior.sh +13 -10
  54. package/pipeline/scripts/test-gap-rules/ios.json +38 -10
  55. package/pipeline/scripts/test-gap-scan.mjs +2 -21
  56. package/pipeline/scripts/uninstall.mjs +11 -2
  57. package/pipeline/scripts/validate-analysis-doc.mjs +85 -23
  58. package/pipeline/scripts/validate-code-graph.mjs +174 -0
  59. package/pipeline/skills/.skills-index.json +14 -3
  60. package/pipeline/skills/shared/README.md +6 -5
  61. package/pipeline/skills/shared/core/multi-agent/SKILL.md +3 -3
  62. package/pipeline/skills/shared/core/multi-agent-graph/SKILL.md +106 -0
  63. package/pipeline/skills/shared/core/multi-agent-help/SKILL.md +2 -2
  64. package/pipeline/skills/shared/core/multi-agent-review/SKILL.md +2 -2
  65. package/pipeline/skills/shared/core/multi-agent-sync/SKILL.md +11 -11
  66. package/pipeline/skills/shared/core/multi-agent-uninstall/SKILL.md +4 -4
  67. package/pipeline/skills/skills-index.md +4 -3
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-review
3
3
  language: en
4
- description: "Run parallel review on a branch diff or a Pull Request: 2 models on Claude Code (Fable + Sonnet), 3 models on Copilot CLI (GPT + Opus + Sonnet). On PR input, posts per-finding inline comments + approve/needs-work. With no input (interactive), lists open GitHub + Bitbucket PRs to multi-select. Use when a branch diff or a pull request needs reviewing before it merges."
4
+ description: "Run parallel review on a branch diff or a Pull Request: 3 models on Claude Code (Fable + Opus + Sonnet), 3 models on Copilot CLI (GPT + Opus + Sonnet). On PR input, posts per-finding inline comments + approve/needs-work. With no input (interactive), lists open GitHub + Bitbucket PRs to multi-select. Use when a branch diff or a pull request needs reviewing before it merges."
5
5
  user-invocable: true
6
6
  argument-hint: "[#N | repo#N | PR-URL | branch] - PR by number/URL, repo+number, or branch (GitHub + Bitbucket Server). If omitted: interactive PR picker, else current branch."
7
7
  ---
@@ -33,7 +33,7 @@ Skip Phase 0-3 and review a diff only. Input shapes: a PR (`#N`, `repo#N`, GitHu
33
33
 
34
34
  3. **Start parallel reviewers** - reviewer set depends on the host CLI:
35
35
 
36
- **Claude Code (2 in parallel):**
36
+ **Claude Code (3 in parallel):**
37
37
  - Agent 1: `claude-fable-5` → security + architecture
38
38
  - Agent 2: `claude-sonnet-5` → general quality
39
39
 
@@ -31,7 +31,7 @@ Run all steps automatically:
31
31
 
32
32
  ```
33
33
  Step 1: DETECT Compare timestamps, find stale targets
34
- Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 53 sub-command skills)
34
+ Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 54 sub-command skills)
35
35
  Step 2b: CODEX Claude Code -> Codex CLI (1 router skill + 51 specs as refs + 8 agent TOML)
36
36
  Step 3: REPO Claude Code -> pipeline repo (genericized, personal data scrub)
37
37
  Step 3d: DEV-TOOLKIT Companion MCP server -> detect movement, ship gates, commit + publish
@@ -98,7 +98,7 @@ If nothing is stale -> report "All targets up to date" and stop.
98
98
  ## Codex Sync (Step 2b)
99
99
 
100
100
  This step does **not** hand-copy files. The Codex tree is a *transform* of the Claude
101
- tree, not a mirror: the 53 sub-command specs become reference files (Codex silently
101
+ tree, not a mirror: the 54 sub-command specs become reference files (Codex silently
102
102
  truncates its skills block - see `cross-cli-contract.md` 2.6), every reference to a
103
103
  CLI-owned tree is retargeted (`agents/<persona>.md` becomes `.toml`, the dispatcher
104
104
  becomes the router skill), the 8 personas are regenerated as TOML with a model +
@@ -207,7 +207,7 @@ When invoked with the `release` argument:
207
207
  3. LINT + TEST ESLint + smoke tests
208
208
  4. VERSION package.json version bump (patch/minor/major)
209
209
  5. Commit + TAG git commit + git tag v{VERSION}
210
- 6. PUSH git push --tags -> release.yml auto-publish
210
+ 6. PUSH git push --tags; publish is local (release.yml off)
211
211
  7. DEV-TOOLKIT Ship the companion MCP server if it moved (Step 3d gates, then publish)
212
212
  8. WEBSITE Version + features -> {website-host} (maintainer identity, build verified Ready)
213
213
  9. COPILOT Copilot CLI instructions + skills sync
@@ -224,18 +224,18 @@ When invoked with the `release` argument:
224
224
  |-------------|-------------|
225
225
  | `~/.claude/commands/multi-agent/{cmd}.md` | `~/.copilot/skills/multi-agent-{cmd}/SKILL.md` |
226
226
 
227
- **53 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
227
+ **54 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
228
228
 
229
229
  ```
230
230
  analysis, analysis-resolve, autopilot, build-optimize, channels,
231
231
  complaint-analysis, create-jira, design-check, dev, dev-autopilot, dev-local,
232
- dev-local-autopilot, diff-explain, feedback, forget, garbage-collect, help,
233
- ios-coding-standard, issue, jira, kill, language, local, local-autopilot,
234
- log, manual-test, prune-logs, prune-prompts, purge, refactor, resume,
235
- resume-local, review, review-analysis, review-issue, review-jira, routines,
236
- save, scan, search, setup, stack, status, store-ready, sync, test,
237
- test-accessibility, test-dark-mode, test-dynamic-type, test-screenshots,
238
- testflight-validation, uninstall, update
232
+ dev-local-autopilot, diff-explain, feedback, forget, garbage-collect,
233
+ graph, help, ios-coding-standard, issue, jira, kill, language, local,
234
+ local-autopilot, log, manual-test, prune-logs, prune-prompts, purge,
235
+ refactor, resume, resume-local, review, review-analysis, review-issue,
236
+ review-jira, routines, save, scan, search, setup, stack, status,
237
+ store-ready, sync, test, test-accessibility, test-dark-mode,
238
+ test-dynamic-type, test-screenshots, testflight-validation, uninstall, update
239
239
  ```
240
240
 
241
241
  **NOT synced**: `refs/*` - Lazy-load references, Claude Code specific
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: multi-agent-uninstall
3
3
  language: en
4
- description: "Uninstall the pipeline from Claude Code + Copilot CLI. Keychain access tokens are always left untouched; --all-data also clears pipeline settings and logs. Asks for double confirmation. Use when the pipeline should be removed from Claude Code and Copilot CLI."
4
+ description: "Uninstall the pipeline from Claude Code + Copilot CLI. Keychain access tokens are always left untouched; --all-data also clears pipeline settings, logs, per-repo memory and the knowledge base. Asks for double confirmation. Use when the pipeline should be removed from Claude Code and Copilot CLI."
5
5
  user-invocable: true
6
6
  argument-hint: "[--dry-run] [--all-data] [--claude] [--copilot] [--target=<path>]"
7
7
  ---
@@ -17,7 +17,7 @@ Removes the pipeline itself from the system. **Different from `multi-agent-purge
17
17
  | `multi-agent-purge` | Active tasks' worktree / branch / log / state (development data) |
18
18
  | `multi-agent-uninstall` | The pipeline itself: skills, commands, agents, scripts - from every CLI |
19
19
 
20
- Two modes: **standard** (default) removes distributed files and keeps settings + logs; **full cleanup** (`--all-data`) also removes `multi-agent-preferences.json` and `~/.claude/logs/multi-agent/`. Tokens are never touched in either mode.
20
+ Two modes: **standard** (default) removes distributed files and keeps every data root; **full cleanup** (`--all-data`) also removes `multi-agent-preferences.json`, `~/.claude/logs/multi-agent/`, `~/.claude/memory/multi-agent/` and `~/.claude/knowledge/`. Tokens are never touched in either mode. Memory written inside a repo (`$PROJECT_ROOT/.multi-agent/memory/`) is never touched at all.
21
21
 
22
22
  ## Never deleted (either mode)
23
23
 
@@ -30,13 +30,13 @@ Two modes: **standard** (default) removes distributed files and keeps settings +
30
30
  1. **Determine the scope** - parse `$ARGUMENTS`:
31
31
  - No target flag: all installed targets (default)
32
32
  - `--claude / --copilot`: selective
33
- - `--all-data`: full cleanup (also removes settings + logs)
33
+ - `--all-data`: full cleanup (also removes settings, logs, per-repo memory and the knowledge base)
34
34
  - `--target=<path>`: adapter target (default cwd)
35
35
  - `--dry-run`: only report, delete nothing
36
36
 
37
37
  2. **Ask the cleanup depth** (skip if `--all-data` or `--dry-run` already given) - `AskUserQuestion` in `outputLanguage`:
38
38
  - `question`: "How much should uninstall remove? Tokens are preserved either way."
39
- - `header`: "Scope" · `options`: `{ label: "Standard", description: "Remove pipeline files; keep settings + logs" }`, `{ label: "Full cleanup", description: "Also remove settings + all task logs/state/metrics" }`
39
+ - `header`: "Scope" · `options`: `{ label: "Standard", description: "Remove pipeline files; keep settings, logs, memory, knowledge" }`, `{ label: "Full cleanup", description: "Also remove settings, logs, per-repo memory and the knowledge base" }`
40
40
  - **Full cleanup** adds `--all-data`.
41
41
 
42
42
  3. **Show a preview** (run the script with `--dry-run`):
@@ -3,7 +3,7 @@
3
3
  > Auto-generated by `pipeline/scripts/build-skills-index.mjs` - do not hand-edit.
4
4
  > Regenerate with `node pipeline/scripts/build-skills-index.mjs`.
5
5
 
6
- **210 skills** across 2 groups.
6
+ **211 skills** across 2 groups.
7
7
 
8
8
  | Group | Name | Platform | Description |
9
9
  |-------|------|----------|-------------|
@@ -110,6 +110,7 @@
110
110
  | core | `multi-agent-feedback` | - | Send one message to the maintainer: a bug, an idea or a question. Only the text you type is sent - no logs, no repo names, no paths. Shows t |
111
111
  | core | `multi-agent-forget` | - | Remove a saved /multi-agent routine (created by /multi-agent:save): deletes its local-only command and its registry entry. Asks which one an |
112
112
  | core | `multi-agent-garbage-collect` | - | Sweep leftover /tmp scratch (picker state, review diffs, channel payloads, analysis drafts) from past runs. Dry-run first; confirms before d |
113
+ | core | `multi-agent-graph` | - | Build and query this repo's code graph: a deterministic, LLM-free map of symbols, imports and references used to narrow Phase 1's Explore sc |
113
114
  | core | `multi-agent-help` | - | Multi-agent pipeline usage guide - renders in EN or TR per prefs.global.outputLanguage (falls back to promptLanguage for backward compatib |
114
115
  | core | `multi-agent-ios-coding-standard` | - | Audit an iOS module against the shared coding-standard registry (99 stable-ID rules), produce a remediation plan, then hand off to dev/dev-l |
115
116
  | core | `multi-agent-issue` | - | List unassigned GitHub issues, pick one, auto-assign, and launch the multi-agent pipeline. Use when a GitHub issue should be picked up and s |
@@ -126,7 +127,7 @@
126
127
  | core | `multi-agent-refactor` | - | Analyse the project: extract adapted best-practices, hunt real bugs + improvement areas, check upstream drift of derived skills, research th |
127
128
  | core | `multi-agent-resume` | - | Resume a stopped or failed task from the phase where it left off. Use when a task stopped or failed and should carry on from where it left o |
128
129
  | core | `multi-agent-resume-local` | - | Continue already-done LOCAL work through the pipeline tail: Review → Build+Test → Commit/PR → Report (technical analysis + Jira test-scenari |
129
- | core | `multi-agent-review` | - | Run parallel review on a branch diff or a Pull Request: 2 models on Claude Code (Fable + Sonnet), 3 models on Copilot CLI (GPT + Opus + Sonn |
130
+ | core | `multi-agent-review` | - | Run parallel review on a branch diff or a Pull Request: 3 models on Claude Code (Fable + Opus + Sonnet), 3 models on Copilot CLI (GPT + Opus |
130
131
  | core | `multi-agent-review-analysis` | - | Review a written analysis document instead of a diff: resolve it from a path, a Confluence page or a Jira issue, run the deterministic gates |
131
132
  | core | `multi-agent-review-issue` | - | Assess whether a GitHub issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / sta |
132
133
  | core | `multi-agent-review-jira` | - | Assess whether a Jira issue is ready for multi-agent development: fetch it, grade scope / acceptance criteria / repro / design / API / stack |
@@ -215,5 +216,5 @@
215
216
  | external | `xcode-build-benchmark` | - | Benchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped `.build-benchmark/` artifacts. Use wh |
216
217
  | external | `xcode-build-fixer` | - | Apply approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement. Use when a developer has |
217
218
  | external | `xcode-build-orchestrator` | - | Orchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing findings, requesting explic |
218
- | external | `xcode-compilation-analyzer` | - | Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift web diagnostics, then produce a recommend-firs |
219
+ | external | `xcode-compilation-analyzer` | - | Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-firs |
219
220
  | external | `xcode-project-analyzer` | - | Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval |