@mmerterden/multi-agent-pipeline 10.3.0 → 10.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/README.md +3 -2
- package/package.json +1 -1
- package/pipeline/commands/multi-agent/dev-local.md +2 -0
- package/pipeline/commands/multi-agent/finish.md +98 -0
- package/pipeline/commands/multi-agent/help.md +2 -0
- package/pipeline/commands/multi-agent/refs/cross-cli-contract.md +5 -4
- package/pipeline/commands/multi-agent/resume.md +2 -0
- package/pipeline/commands/multi-agent/sync.md +3 -3
- package/pipeline/skills/shared/core/multi-agent-finish/SKILL.md +47 -0
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,26 @@ Internal file-layout changes that don't affect the slash-command surface are sti
|
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
|
+
## [10.4.0] - 2026-07-02
|
|
18
|
+
|
|
19
|
+
New `finish` command: run the pipeline tail over work you already did locally.
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- **`/multi-agent:finish`** (`multi-agent-finish` on Copilot CLI). Takes the
|
|
24
|
+
current branch's local work (diff vs base + working tree) and runs the
|
|
25
|
+
pipeline **tail** in one command — Phase 4 Review → Phase 5 Build+Test success
|
|
26
|
+
gate → Phase 6 Commit/push/PR → Phase 7 technical analysis + a Jira comment
|
|
27
|
+
with test scenarios — **without re-developing** (phases 1-3 skipped). Works
|
|
28
|
+
after `dev-local`/`local` (which skip Review + Test) or after hand-coding /
|
|
29
|
+
hand-testing. Interactive and `autopilot` modes. Reuses the existing
|
|
30
|
+
`phase-4-review` / `phase-5-test` / `phase-6-commit` / `phase-7-report` /
|
|
31
|
+
`channels` contracts; distinct from `resume` (tracked task) and `review`/
|
|
32
|
+
`channels` (single-step). If the repo has no tests it reports "no tests
|
|
33
|
+
present" — never fabricates results.
|
|
34
|
+
- Command inventory 34 → 35 (`cross-cli-contract` §1, README counts, `help.md`
|
|
35
|
+
EN+TR, `sync.md` synced-command list); cross-refs added in `dev-local`/`resume`.
|
|
36
|
+
|
|
17
37
|
## [10.3.0] - 2026-07-02
|
|
18
38
|
|
|
19
39
|
Android (Jetpack Compose) parity for the interaction skills shipped in 10.2.0,
|
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
|
|
12
12
|
| Surface | Count |
|
|
13
13
|
|---|---|
|
|
14
|
-
| Slash commands (colon-form `/multi-agent:*`) |
|
|
15
|
-
| Copilot skills (dash-form `multi-agent-*`) |
|
|
14
|
+
| Slash commands (colon-form `/multi-agent:*`) | 35 |
|
|
15
|
+
| Copilot skills (dash-form `multi-agent-*`) | 35 |
|
|
16
16
|
| Platforms (native: Claude Code, Copilot CLI · adapter: Cursor, Antigravity, VS Code Copilot Chat, Codex CLI) | 6 |
|
|
17
17
|
| Store-compliance skills (`apple-archive-compliance`, `google-play-compliance`) | 2 |
|
|
18
18
|
| Figma skills (iOS + Android + Common) | 41 |
|
|
@@ -154,6 +154,7 @@ slows down the install.
|
|
|
154
154
|
|
|
155
155
|
## What's new
|
|
156
156
|
|
|
157
|
+
- **v10.4.0** (2026-07-02) - New `/multi-agent:finish` command: continue already-done LOCAL work through the pipeline tail in one shot — parallel review → build+test success gate → commit/push/PR → technical analysis + a Jira comment with test scenarios, without re-developing (phases 1-3 skipped). Pairs with `dev-local`/`local` (which skip Review + Test) or with hand-coded/hand-tested changes. Command inventory 34 → 35.
|
|
157
158
|
- **v10.3.0** (2026-07-02) - Android (Jetpack Compose) parity for the 10.2.0 interaction skills: `figma-navigation` / `figma-overlays` / `figma-bottom-sheets` now carry both a SwiftUI and a Compose section (Navigation Compose; Snackbar/AlertDialog/Dialog + state-driven loading; `ModalBottomSheet`), same emit-intent rules and `ui.*` config hooks on both platforms. Plus a review pass: corrected the `animated-gradient-border` snippet (animate `AngularGradient(angle:)` on a static shape, not `rotationEffect`) and genericized the sheet corner-radius example token.
|
|
158
159
|
- **v10.2.0** (2026-07-02) - Generic SwiftUI interaction coverage for figma-to-swiftui: three new cross-cutting integration skills (`figma-navigation`, `figma-overlays`, `figma-bottom-sheets`) + a reconcile-and-extend workflow (`figma-evolve-component`), all native-SwiftUI-first with an optional per-project `ui.*` config hook (so the same capabilities work on any SwiftUI codebase, no app-specific coupling). Phase 3D dev detection (§1.5.4) and Phase 4 review both consume them; `figma-to-swiftui` accessibility reference enriched with the VoiceOver-minimalism decision tree; new `animated-gradient-border` UI pattern. Figma-common skills 27 → 31, total figma skills 37 → 41.
|
|
159
160
|
- **v10.1.0** (2026-06-20) - Fable 5 retired (no longer available): the five heavy agent personas plus Phase 1 / Phase 2 / Phase 4 reviewer-1 + triage and `--dev` fast mode now route to Opus (top available tier); fallback ladder is `opus -> sonnet`. Per-task cost guard (`costBudget`) now defaults on in warn mode. Token economy: Phase 4 shared cache prefix + single-repo diff cap, Phase 1 light Explore tier for small bugfixes, triage prior-art injection capped.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mmerterden/multi-agent-pipeline",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.4.0",
|
|
4
4
|
"description": "8-phase AI development pipeline with full orchestration on Claude Code, Copilot CLI, Cursor, Antigravity, and VS Code Copilot Chat. Analysis, planning, TDD, CLI-aware parallel review with consensus surfacing + Opus triage, default-FAIL evidence gates, secret + intent guards, per-phase cost ledger, persistent learnings memory, wiki generation, commit automation. Token-preserving uninstall.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -20,6 +20,8 @@ Phase 7: Report → Jira / Wiki + log + knowledge/memory
|
|
|
20
20
|
|
|
21
21
|
`--dev local` skips Phase 1 (Analysis), Phase 2 (Planning + Approval Gate), Phase 4 (Review), and Phase 5 (User Test - local/autopilot variants skip the interactive test gate). It differs from `--dev` on two axes: no git worktree is created (development happens directly on the current branch in `$PROJECT_ROOT`), and the interactive User Test phase is skipped.
|
|
22
22
|
|
|
23
|
+
> **Want the quality tail afterwards?** Since this mode skips Review + Test, run [`/multi-agent:finish`](./finish.md) on the same branch when you're done to add parallel review, a build+test success gate, PR, and a Jira technical-analysis + test-scenario comment - without re-developing.
|
|
24
|
+
|
|
23
25
|
## When to use it
|
|
24
26
|
|
|
25
27
|
- Quick bug fix or small feature - review overhead is unnecessary
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Continue already-done LOCAL work through the pipeline tail: Review → Build+Test → Commit/PR → Report (technical analysis + Jira test-scenario comment). No dev phase."
|
|
3
|
+
allowed-tools: Agent, Bash, Read, Write, Edit, Glob, Grep, TaskCreate, TaskUpdate, TaskList, TaskGet, AskUserQuestion, WebFetch, WebSearch, Skill
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# multi-agent finish - Ship Local Work Through the Pipeline Tail
|
|
7
|
+
|
|
8
|
+
> **Language (read FIRST)**: Before any status output, read `prefs.global.outputLanguage` and render every conversational line in it. `AskUserQuestion` and external payloads stay English. Full contract: `refs/rules.md` "Language Application".
|
|
9
|
+
|
|
10
|
+
You already did the work locally - wrote code on the current branch and maybe tested it by hand (or ran `/multi-agent:local` / `/multi-agent:dev-local`, which skip Review + Test). `/multi-agent:finish` picks up from there and runs the **pipeline tail** over that existing local work in one command: parallel review, a build + test success gate, commit/push + PR, then the technical analysis and a **Jira comment with test scenarios**. It does NOT re-develop - Analysis / Planning / Dev (phases 1-3) are intentionally skipped; the diff already on the branch IS the input.
|
|
11
|
+
|
|
12
|
+
## When to use it
|
|
13
|
+
|
|
14
|
+
- You ran `dev-local` / `local` (which skip Review + Test) and now want the full quality tail on the same branch.
|
|
15
|
+
- You hand-coded or hand-tested a change and want review + build/test + PR + Jira write-up without re-running dev.
|
|
16
|
+
- You want the "reviewed, built, tested, PR'd, documented on Jira" finish with a single command.
|
|
17
|
+
|
|
18
|
+
## When NOT to use it
|
|
19
|
+
|
|
20
|
+
- You haven't written the change yet - use `/multi-agent`, `/multi-agent:local`, or `/multi-agent:dev-local`.
|
|
21
|
+
- You only want the review, nothing else - use `/multi-agent:review`. Only the report/channels - `/multi-agent:channels`. Only device UI testing - `/multi-agent:test` / `/multi-agent:manual-test`.
|
|
22
|
+
|
|
23
|
+
## Input
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
/multi-agent:finish # current branch vs its base; resolve Jira id from branch name
|
|
27
|
+
/multi-agent:finish DIJITAL-12345 # bind to an explicit Jira id for the Phase 7 comment
|
|
28
|
+
/multi-agent:finish --base develop # override the base branch for the diff
|
|
29
|
+
/multi-agent:finish autopilot # no gate prompts: auto-fix blocking findings, auto-PR, auto-comment
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Pipeline
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Phase 0: Init → project/branch detect, resolve base + diff (work-already-done), Jira id, state (NO worktree)
|
|
36
|
+
Phase 4: Review → deterministic gates + parallel review (Opus + Sonnet) + Opus triage
|
|
37
|
+
Phase 5: Build+Test → stack-aware build gate + run existing tests; SUCCESS required (automated, not the interactive user-test)
|
|
38
|
+
Phase 6: Commit → commit remaining local changes + push + open PR if none exists
|
|
39
|
+
Phase 7: Report → technical analysis + Jira comment with test scenarios (channels: Jira / PR / Confluence / Wiki)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Phases 1-3 (Analysis / Planning / Dev) are skipped by design - `finish` treats the current branch's local changes as the Phase 3 output.
|
|
43
|
+
|
|
44
|
+
## Phase 0 - Context resolution (finish-specific)
|
|
45
|
+
|
|
46
|
+
1. **Project + branch:** detect project (cwd), current branch (`git branch --show-current`). No worktree; work stays on the current branch.
|
|
47
|
+
2. **Base + diff:** resolve base branch in order: `--base <arg>` → `figma-config.project.baseBranch` → `develop` → the branch's upstream/merge-base. The **work under review** is `git diff <base>...HEAD` PLUS uncommitted working-tree changes (`git status`). Abort with a clear message if the diff is empty (`ERR: no local work to finish on <branch> vs <base>`).
|
|
48
|
+
3. **Task binding:** Jira id from the `--`/positional arg, else parse the branch name (`bugfix/DIJITAL-XXXX` / `feature/DIJITAL-XXXX`); `taskType` inferred from the diff (bugfix/feature/refactor/chore) for the report wording. GitHub issue `#N` from branch/arg when present.
|
|
49
|
+
4. **Prior state (optional):** if an `agent-state.json` / tracker-state exists for this branch (left by a prior `dev-local`/`local` run), load its analysis summary + Jira/issue binding to enrich the report; otherwise synthesize a minimal state over the diff. Never require a prior full-pipeline run.
|
|
50
|
+
5. Persist state under `.claude/logs/multi-agent/{project}/{taskId}/` (same as `--local`).
|
|
51
|
+
|
|
52
|
+
## Phase execution (reuse the existing phase contracts)
|
|
53
|
+
|
|
54
|
+
- **Phase 4 Review** — run per `refs/phases/phase-4-review.md` against the resolved diff: deterministic gates (Step 1.x), stack-specific parallel reviewers (Opus + Sonnet on Claude Code; +GPT on Copilot CLI), Opus triage → `triage.accepted`. Blocking/important accepted findings:
|
|
55
|
+
- interactive: present them and ask (`AskUserQuestion`) whether to fix now (loop back through a minimal Phase-3-style TDD fix) or proceed;
|
|
56
|
+
- `autopilot` (or `prefs.global.finish.autoFix == true`): auto-fix accepted blocking/important findings, then re-review the fix, before advancing.
|
|
57
|
+
- **Phase 5 Build+Test** — the **automated success gate** (this is what "build+test success" means here; the interactive device user-test is `/multi-agent:manual-test`). Stack-aware: build via `figma-config.build` (iOS scheme / Android gradle / detected backend/frontend build) and run the existing test suite if present (`swift test` / `xcodebuild test` / `./gradlew test` / `pytest` / `npm test` / `vitest`). Require success to advance; on failure, surface logs and (interactive) stop or (autopilot) attempt a bounded fix loop. **If the repo has no tests, report "no tests present" — never fabricate test results.**
|
|
58
|
+
- **Phase 6 Commit/PR** — per `refs/phases/phase-6-commit.md`: stage + commit any remaining local changes with a conventional message (`{type}(scope): desc [DIJITAL-{id}]`), push, and open a PR **only if one does not already exist** for the branch. PR body per `refs/pipeline-output-formatting` and `rules/git-conventions` — `Ref: #N` / `Related: #N`, never `Closes/Fixes/Resolves`; NO AI/bot attribution anywhere.
|
|
59
|
+
- **Phase 7 Report** — per `refs/phases/phase-7-report.md` + `channels.md`: produce the **technical analysis** and **test scenarios**, then post to the configured channels. Default content for `finish`: a Jira **comment** carrying the technical analysis + the test scenarios (and, when the PR was opened, the PR description). Every body runs through the humanizer; bot/tool/AI signatures are FORBIDDEN in comments.
|
|
60
|
+
|
|
61
|
+
## Modes
|
|
62
|
+
|
|
63
|
+
- **interactive** (default): stops at the Phase 4 gate when there are blocking/important findings; asks before committing/PR when appropriate.
|
|
64
|
+
- **`autopilot`**: no prompts - auto-fix accepted blocking/important findings, auto-commit/push/PR, auto-post the Jira comment. Mirrors `local-autopilot`.
|
|
65
|
+
|
|
66
|
+
## Required: Phase Tracker Contract
|
|
67
|
+
|
|
68
|
+
**The phase tracker is mandatory.** Full spec: [`refs/tracker-contract.md`](./refs/tracker-contract.md). `finish` registers only its active phase set - `0:Init 4:Review 5:Build+Test 6:Commit 7:Report` (phases 1-3 are not part of the finish set; do not register tiles for them).
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# Phase 0, first shell call (every CLI):
|
|
72
|
+
bash $HOME/.claude/scripts/phase-tracker.sh init "$TASK_ID"
|
|
73
|
+
for p in "0:Init" "4:Review" "5:Build+Test" "6:Commit" "7:Report"; do
|
|
74
|
+
bash $HOME/.claude/scripts/phase-tracker.sh add "${p%%:*}" "${p#*:}"
|
|
75
|
+
done
|
|
76
|
+
bash $HOME/.claude/scripts/phase-tracker.sh update 0 in_progress
|
|
77
|
+
|
|
78
|
+
# Every phase boundary (every CLI):
|
|
79
|
+
bash $HOME/.claude/scripts/phase-tracker.sh update <N> in_progress|completed|failed|skipped
|
|
80
|
+
# After every LLM call (every CLI):
|
|
81
|
+
bash $HOME/.claude/scripts/phase-tracker.sh tokens <N> <in> <out>
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Visual channel - Claude Code (native TaskList widget, required)
|
|
85
|
+
|
|
86
|
+
Register one tile per phase in **strict creation order** (`0 → 4 → 5 → 6 → 7`) BEFORE any TaskUpdate, capture each `taskId`, persist via `phase-tracker.sh meta <N> tasklist_id "<taskId>"`, then flip status with `TaskUpdate` at each boundary. Out-of-order TaskCreate scrambles the tile stack. Full contract: `refs/tracker-contract.md` "TaskCreate ordering (strict)".
|
|
87
|
+
|
|
88
|
+
### Visual channel - Copilot CLI / plain shell
|
|
89
|
+
|
|
90
|
+
No TaskList widget. After every state change call `bash $HOME/.claude/scripts/phase-tracker.sh render` (prints the bordered ANSI phase table as the last tool result). Do NOT call TaskCreate on these CLIs.
|
|
91
|
+
|
|
92
|
+
## Examples
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
/multi-agent:dev-local "DIJITAL-12345" # develop locally (Init→Dev→Commit→Report, no review/test)
|
|
96
|
+
# … you inspect / hand-test the change …
|
|
97
|
+
/multi-agent:finish # now: review + build/test + PR + Jira analysis & test scenarios
|
|
98
|
+
```
|
|
@@ -90,6 +90,7 @@ Dedicated commands (same as flags above):
|
|
|
90
90
|
/multi-agent:local-autopilot "task" = multi-agent "task" --local autopilot
|
|
91
91
|
/multi-agent:dev-local "task" = multi-agent "task" --dev --local
|
|
92
92
|
/multi-agent:dev-local-autopilot "task" = multi-agent "task" --dev --local autopilot
|
|
93
|
+
/multi-agent:finish [jira-id] [autopilot] Continue already-done LOCAL work: Review → Build+Test → PR → Jira analysis + test scenarios (no dev)
|
|
93
94
|
|
|
94
95
|
------------------------------------------------------------
|
|
95
96
|
|
|
@@ -296,6 +297,7 @@ Dedicated komutlar (yukarıdaki flag'lerin eşdeğeri):
|
|
|
296
297
|
/multi-agent:local-autopilot "task" = multi-agent "task" --local autopilot
|
|
297
298
|
/multi-agent:dev-local "task" = multi-agent "task" --dev --local
|
|
298
299
|
/multi-agent:dev-local-autopilot "task" = multi-agent "task" --dev --local autopilot
|
|
300
|
+
/multi-agent:finish [jira-id] [autopilot] Lokalde biten işi sürdür: Review → Build+Test → PR → Jira teknik analiz + test senaryoları (dev yok)
|
|
299
301
|
|
|
300
302
|
------------------------------------------------------------
|
|
301
303
|
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## 1. Command Inventory (
|
|
9
|
+
## 1. Command Inventory (35 commands)
|
|
10
10
|
|
|
11
11
|
```
|
|
12
12
|
analysis, analysis-resolve, autopilot, build-optimize, channels, delete, dev,
|
|
13
|
-
dev-autopilot, dev-local, dev-local-autopilot, diff-explain, garbage-collect,
|
|
13
|
+
dev-autopilot, dev-local, dev-local-autopilot, diff-explain, finish, garbage-collect,
|
|
14
14
|
help, issue, jira, kill, language, local, local-autopilot, log, manual-test,
|
|
15
15
|
prune-logs, purge, refactor, resume, review, scan, search, setup, stack, status,
|
|
16
16
|
sync, test, update
|
|
@@ -21,6 +21,7 @@ Categories:
|
|
|
21
21
|
- **Interactive pickers** (single-purpose, not modes): `jira`, `issue`
|
|
22
22
|
- **Full 8-phase modes**: `autopilot`, `local`, `local-autopilot`
|
|
23
23
|
- **Fast modes** (Init -> Dev(Opus) -> Commit -> Report): `dev`, `dev-autopilot`, `dev-local`, `dev-local-autopilot`
|
|
24
|
+
- **Tail modes** (run the pipeline tail over already-done local work): `finish`
|
|
24
25
|
- **Ops commands** (one-shot, no worktree): `status`, `log`, `kill`, `purge`, `delete`, `resume`, `review`, `analysis`, `analysis-resolve`, `build-optimize`, `channels`, `scan`, `search`, `diff-explain`, `garbage-collect`, `prune-logs`
|
|
25
26
|
- **Meta-ops**: `setup`, `sync`, `update`, `help`, `refactor`, `test`, `stack`, `manual-test`, `language`
|
|
26
27
|
|
|
@@ -28,7 +29,7 @@ Categories:
|
|
|
28
29
|
|
|
29
30
|
### 1.1 Figma component subphase skills
|
|
30
31
|
|
|
31
|
-
In addition to the
|
|
32
|
+
In addition to the 35 top-level multi-agent commands, the figma-to-component pipeline ships platform-specific skills that multi-agent dispatches from Phase 3 (see `refs/component-dispatch.md`). The structure is **platform-parallel iOS + Android with a shared common pool**:
|
|
32
33
|
|
|
33
34
|
| Location | Skill count | Purpose |
|
|
34
35
|
|---|---|---|
|
|
@@ -310,7 +311,7 @@ For clipboard ops, callers still gate with `if command -v pbpaste >/dev/null; th
|
|
|
310
311
|
|
|
311
312
|
This contract is validated by:
|
|
312
313
|
|
|
313
|
-
- `smoke-cross-cli-behavior.sh` - asserts all
|
|
314
|
+
- `smoke-cross-cli-behavior.sh` - asserts all 35 commands behave identically, pulls from Section 2 (placeholder vocab), Section 5 (argument parsing), Section 6 (output formats); also regression-locks the 6-persona agent deployment
|
|
314
315
|
- `smoke-commands-skills-parity.sh` (50 assertions) - enforces colon-form command ↔ dash-form skill directory parity
|
|
315
316
|
- `smoke-compliance-skills.sh` (45 assertions) - enforces store-compliance skill catalog + 4 consumer wiring
|
|
316
317
|
- `smoke-personal-data.sh` - extended in 0.5.5 to treat deprecated placeholders (`{github-username}`, `{your-website}`, `{website-repo}`) as leaks; adds `mmerterden` to public-handle blocklist for generic docs
|
|
@@ -9,6 +9,8 @@ argument-hint: "[#id] - optional: task ID (e.g. #2). If omitted, the most rece
|
|
|
9
9
|
|
|
10
10
|
Resume a paused or failed task from the last successful phase.
|
|
11
11
|
|
|
12
|
+
> **Not the same as `/multi-agent:finish`.** `resume` continues a **tracked pipeline task** (needs its `agent-state.json`/worktree) from where it stopped. `/multi-agent:finish` takes **ad-hoc local work** on the current branch (no prior task required) and runs the pipeline tail — Review → Build+Test → PR → Jira report — over it.
|
|
13
|
+
|
|
12
14
|
## Steps
|
|
13
15
|
|
|
14
16
|
1. **Find the task** - parse `#N` from the argument, or pick the most recent worktree with `status != "done"`.
|
|
@@ -61,7 +61,7 @@ Run every step automatically:
|
|
|
61
61
|
Step 0: FIGMA_SYNC SKIP (deprecated - feedback_figma_source_deprecated)
|
|
62
62
|
Step 1: PLATFORM Detect macOS / Linux / Windows (Git Bash / WSL); export PLATFORM env
|
|
63
63
|
Step 1.5: DETECT Compare timestamps, find stale targets
|
|
64
|
-
Step 2: COPILOT Claude Code -> Copilot CLI (instructions +
|
|
64
|
+
Step 2: COPILOT Claude Code -> Copilot CLI (instructions + 35 sub-command skills)
|
|
65
65
|
Step 2a: CODEX Claude Code -> Codex CLI (global ~/.codex prompt + AGENTS.md + config.toml mcp)
|
|
66
66
|
- runs via `node pipeline/scripts/sync-adapters.mjs`, which fires the
|
|
67
67
|
codex adapter ONCE (global) when `~/.codex` exists on this machine
|
|
@@ -302,11 +302,11 @@ This step runs only on the Claude <-> Copilot axis. Cursor / Copilot Chat do not
|
|
|
302
302
|
|-------------|-------------|
|
|
303
303
|
| `~/.claude/commands/multi-agent/{cmd}.md` | `~/.copilot/skills/multi-agent-{cmd}/SKILL.md` |
|
|
304
304
|
|
|
305
|
-
**
|
|
305
|
+
**35 commands are synced** (canonical inventory - must match `cross-cli-contract.md` section 1; drift = contract violation):
|
|
306
306
|
|
|
307
307
|
```
|
|
308
308
|
analysis, analysis-resolve, autopilot, build-optimize, channels, delete, dev,
|
|
309
|
-
dev-autopilot, dev-local, dev-local-autopilot, diff-explain, garbage-collect,
|
|
309
|
+
dev-autopilot, dev-local, dev-local-autopilot, diff-explain, finish, garbage-collect,
|
|
310
310
|
help, issue, jira, kill, language, local, local-autopilot, log, manual-test,
|
|
311
311
|
prune-logs, purge, refactor, resume, review, scan, search, setup, stack, status,
|
|
312
312
|
sync, test, update
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: multi-agent-finish
|
|
3
|
+
language: en
|
|
4
|
+
description: "Continue already-done LOCAL work through the pipeline tail: Review → Build+Test → Commit/PR → Report (technical analysis + Jira test-scenario comment). No dev phase."
|
|
5
|
+
user-invocable: true
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# multi-agent finish - Ship Local Work Through the Pipeline Tail
|
|
9
|
+
|
|
10
|
+
You already wrote (and maybe hand-tested) the change on the current branch - or ran `dev-local` / `local`, which skip Review + Test. `finish` picks up from there and runs the **pipeline tail** over that existing local work in one command, without re-developing.
|
|
11
|
+
|
|
12
|
+
## Pipeline
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
Phase 0: Init → project/branch detect, resolve base + diff (work already done), Jira id, state (NO worktree)
|
|
16
|
+
Phase 4: Review → deterministic gates + parallel review + Opus triage
|
|
17
|
+
Phase 5: Build+Test → stack-aware build + run existing tests; SUCCESS required (automated gate, not the interactive user-test)
|
|
18
|
+
Phase 6: Commit → commit remaining changes + push + open PR if none exists
|
|
19
|
+
Phase 7: Report → technical analysis + Jira comment with test scenarios (channels: Jira / PR / Confluence / Wiki)
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Phases 1-3 (Analysis / Planning / Dev) are skipped by design - the branch's local diff IS the input.
|
|
23
|
+
|
|
24
|
+
## When to use it
|
|
25
|
+
|
|
26
|
+
- After `dev-local` / `local` (which skip Review + Test) to run the full quality tail on the same branch.
|
|
27
|
+
- After hand-coding / hand-testing a change, to get review + build/test + PR + Jira write-up without re-running dev.
|
|
28
|
+
|
|
29
|
+
## When NOT to use it
|
|
30
|
+
|
|
31
|
+
- Change not written yet → `multi-agent` / `multi-agent:local` / `multi-agent:dev-local`.
|
|
32
|
+
- Only the review → `multi-agent:review`; only report/channels → `multi-agent:channels`; only device UI test → `multi-agent:test` / `multi-agent:manual-test`.
|
|
33
|
+
|
|
34
|
+
## Input
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
multi-agent finish # current branch vs base; Jira id from branch name
|
|
38
|
+
multi-agent finish DIJITAL-12345 # explicit Jira id for the Phase 7 comment
|
|
39
|
+
multi-agent finish --base develop # override base branch for the diff
|
|
40
|
+
multi-agent finish autopilot # no gate prompts: auto-fix, auto-PR, auto-comment
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Notes
|
|
44
|
+
|
|
45
|
+
- Build+Test is the automated success gate (not the interactive device user-test - that is `multi-agent:manual-test`). If the repo has no tests, it reports "no tests present" - never fabricates results.
|
|
46
|
+
- Commit/PR follows house rules: conventional message, `Ref: #N` (never Closes/Fixes), NO AI/bot attribution. PR opened only if one does not already exist.
|
|
47
|
+
- Full phase contract lives in the Claude Code command `commands/multi-agent/finish.md`; this skill is the Copilot-CLI counterpart.
|