@mmerterden/multi-agent-pipeline 23.7.0 → 24.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -1
- package/README.md +57 -24
- package/README.tr.md +41 -8
- package/SECURITY.md +3 -3
- package/docs/architecture.md +41 -4
- package/docs/ecosystem.md +15 -13
- package/docs/facts.json +5 -4
- package/docs/features.md +59 -15
- package/install/_codex-agents.mjs +13 -8
- package/install/_common.mjs +24 -0
- package/install/_dev-only-files.mjs +4 -0
- package/install/_mcp-register.mjs +6 -2
- package/install/_rewrite-tree.mjs +197 -0
- package/install/codex.mjs +96 -180
- package/install/copilot.mjs +24 -54
- package/install/index.mjs +29 -11
- package/install/templates/codex-instructions.md +21 -5
- package/install/templates/copilot-instructions.md +21 -14
- package/manifest.json +2082 -0
- package/package.json +6 -2
- package/pipeline/commands/multi-agent/SKILL.md +5 -4
- package/pipeline/commands/multi-agent/analysis/SKILL.md +4 -0
- package/pipeline/commands/multi-agent/autopilot-on/SKILL.md +31 -3
- package/pipeline/commands/multi-agent/autopilot-status/SKILL.md +5 -1
- package/pipeline/commands/multi-agent/channels/SKILL.md +16 -8
- package/pipeline/commands/multi-agent/log/SKILL.md +2 -0
- package/pipeline/commands/multi-agent/stack/SKILL.md +1 -1
- package/pipeline/contract/manifest.json +1 -1
- package/pipeline/contract/types/index.d.ts +1 -0
- package/pipeline/lib/_jira-auth.sh +50 -78
- package/pipeline/lib/_service-account.sh +191 -0
- package/pipeline/lib/credential-inventory.sh +49 -37
- package/pipeline/lib/credential-store.sh +48 -3
- package/pipeline/lib/fetch-confluence.sh +76 -92
- package/pipeline/lib/fetch-crashlytics.sh +30 -59
- package/pipeline/lib/fetch-figma-annotations.sh +9 -9
- package/pipeline/lib/fetch-fortify.sh +77 -81
- package/pipeline/lib/fetch-graylog.sh +38 -77
- package/pipeline/lib/figma-mcp-refresh.sh +23 -4
- package/pipeline/lib/figma-screenshot.sh +7 -8
- package/pipeline/lib/figma-token.sh +39 -46
- package/pipeline/lib/host.mjs +138 -0
- package/pipeline/lib/host.sh +48 -0
- package/pipeline/lib/issue-fetcher.sh +25 -41
- package/pipeline/lib/jira-publish.sh +23 -21
- package/pipeline/lib/local-model.mjs +93 -0
- package/pipeline/lib/md2confluence-v3.py +37 -30
- package/pipeline/lib/model-dispatch.sh +41 -4
- package/pipeline/lib/model-resolve.mjs +58 -0
- package/pipeline/lib/post-pr-review.sh +38 -53
- package/pipeline/lib/reviewer-families.mjs +70 -0
- package/pipeline/lib/service-account.mjs +2131 -0
- package/pipeline/lib/service-account.sh +35 -0
- package/pipeline/lib/usage-token.mjs +64 -24
- package/pipeline/lib/usage-vocab.mjs +1 -1
- package/pipeline/lib/user-facing.mjs +11 -3
- package/pipeline/lib/vercel-deploy.sh +17 -26
- package/pipeline/multi-agent-refs/_entry-picker.md +62 -0
- package/pipeline/multi-agent-refs/analysis/intake.md +2 -0
- package/pipeline/multi-agent-refs/analysis/reusable-refs.md +1 -0
- package/pipeline/multi-agent-refs/analysis/unattended.md +135 -0
- package/pipeline/multi-agent-refs/autopilot-on/details.md +16 -0
- package/pipeline/multi-agent-refs/channels/generator.md +10 -2
- package/pipeline/multi-agent-refs/channels/menu.md +3 -1
- package/pipeline/multi-agent-refs/channels/preview.md +3 -1
- package/pipeline/multi-agent-refs/channels/reference.md +16 -2
- package/pipeline/multi-agent-refs/channels/report-file.md +188 -0
- package/pipeline/multi-agent-refs/cross-cli-contract.md +35 -27
- package/pipeline/multi-agent-refs/features/doctor.md +37 -11
- package/pipeline/multi-agent-refs/features/free-models.md +3 -3
- package/pipeline/multi-agent-refs/features/local-model.md +87 -0
- package/pipeline/multi-agent-refs/features/model-fallback.md +25 -10
- package/pipeline/multi-agent-refs/features/product-context.md +6 -5
- package/pipeline/multi-agent-refs/features/service-accounts.md +233 -0
- package/pipeline/multi-agent-refs/features/unattended-security.md +10 -1
- package/pipeline/multi-agent-refs/help/en.md +28 -1
- package/pipeline/multi-agent-refs/help/tr.md +28 -1
- package/pipeline/multi-agent-refs/orchestrator/copilot-pipeline.md +2 -1
- package/pipeline/multi-agent-refs/orchestrator/dispatcher.md +2 -1
- package/pipeline/multi-agent-refs/phases/modes.md +20 -1
- package/pipeline/multi-agent-refs/phases/phase-5-report.md +12 -10
- package/pipeline/multi-agent-refs/phases.md +4 -3
- package/pipeline/multi-agent-refs/review/panel.md +30 -18
- package/pipeline/multi-agent-refs/setup/discovery.md +17 -5
- package/pipeline/multi-agent-refs/setup/token-save-flow.md +21 -2
- package/pipeline/multi-agent-refs/sync/overview.md +11 -5
- package/pipeline/multi-agent-refs/tracker-contract.md +28 -10
- package/pipeline/office/index.html +3 -3
- package/pipeline/schemas/autopilot-config.schema.json +29 -4
- package/pipeline/schemas/hosts.json +512 -0
- package/pipeline/schemas/hosts.schema.json +310 -0
- package/pipeline/schemas/launch.json +22 -2
- package/pipeline/schemas/launch.schema.json +2 -1
- package/pipeline/schemas/phases.json +19 -1
- package/pipeline/schemas/phases.schema.json +8 -0
- package/pipeline/schemas/prefs.schema.json +331 -4
- package/pipeline/scripts/.doctor-mut.47076.mjs +2253 -0
- package/pipeline/scripts/_autopilot-config.mjs +67 -4
- package/pipeline/scripts/_autopilot-item.mjs +67 -0
- package/pipeline/scripts/_autopilot-outcomes.mjs +6 -0
- package/pipeline/scripts/_cost.mjs +75 -3
- package/pipeline/scripts/analysis-sources.mjs +22 -5
- package/pipeline/scripts/analysis-unattended.mjs +360 -0
- package/pipeline/scripts/anonymize-findings.mjs +3 -7
- package/pipeline/scripts/autopilot-arming.mjs +19 -10
- package/pipeline/scripts/autopilot-intake.mjs +124 -27
- package/pipeline/scripts/autopilot-menubar.swift +7 -0
- package/pipeline/scripts/autopilot-runner.mjs +77 -48
- package/pipeline/scripts/autopilot-status.sh +32 -9
- package/pipeline/scripts/bulk-read.sh +37 -5
- package/pipeline/scripts/confluence-readback.mjs +15 -7
- package/pipeline/scripts/cost-table.json +65 -25
- package/pipeline/scripts/doctor.mjs +119 -32
- package/pipeline/scripts/entry-mode.mjs +101 -0
- package/pipeline/scripts/estimate.mjs +30 -16
- package/pipeline/scripts/feedback-send.mjs +11 -8
- package/pipeline/scripts/gen-facts.mjs +7 -9
- package/pipeline/scripts/jira-attach.sh +23 -28
- package/pipeline/scripts/jira-search.sh +5 -21
- package/pipeline/scripts/launch-request.mjs +15 -9
- package/pipeline/scripts/migrate-prefs.mjs +56 -0
- package/pipeline/scripts/phase-tracker.sh +146 -38
- package/pipeline/scripts/priority-review.mjs +14 -7
- package/pipeline/scripts/product-context.mjs +26 -7
- package/pipeline/scripts/prune-logs.sh +4 -2
- package/pipeline/scripts/report-file.mjs +285 -0
- package/pipeline/scripts/rework-escalation.mjs +19 -4
- package/pipeline/scripts/service-read.mjs +19 -17
- package/pipeline/scripts/skill-siblings.mjs +17 -1
- package/pipeline/scripts/status-overview.mjs +20 -10
- package/pipeline/scripts/uninstall.mjs +145 -57
- package/pipeline/scripts/usage-register.mjs +34 -11
- package/pipeline/scripts/usage-report.mjs +31 -26
- package/pipeline/scripts/validate-triage.mjs +11 -1
- package/pipeline/scripts/work-items.mjs +25 -28
- package/pipeline/scripts/write-store-config.mjs +37 -11
- package/pipeline/skills/.skill-manifest.json +4 -4
- package/pipeline/skills/.skills-index.json +1 -1
- package/pipeline/skills/shared/core/multi-agent/SKILL.md +11 -3
- package/pipeline/skills/shared/core/multi-agent-analysis/SKILL.md +2 -0
- package/pipeline/skills/shared/core/multi-agent-channels/SKILL.md +11 -8
- package/pipeline/lib/credential-resolve.mjs +0 -75
package/install/index.mjs
CHANGED
|
@@ -18,6 +18,7 @@ import { join } from "path";
|
|
|
18
18
|
import { installClaude, reportServerRename } from "./claude.mjs";
|
|
19
19
|
import { installCopilot } from "./copilot.mjs";
|
|
20
20
|
import { installCodex } from "./codex.mjs";
|
|
21
|
+
import { HOST_IDS, REGISTRY, host } from "../pipeline/lib/host.mjs";
|
|
21
22
|
import { setDryRun, writeFile } from "./_common.mjs";
|
|
22
23
|
import { startLifecycleReport } from "./_usage-lifecycle.mjs";
|
|
23
24
|
import { floorRefusal, readSupportedFloor, stampsBelowFloor } from "./_supported-floor.mjs";
|
|
@@ -36,14 +37,19 @@ const PIPELINE_ROOT = dirname(__dirname);
|
|
|
36
37
|
const PIPELINE_SRC = `${PIPELINE_ROOT}/pipeline`;
|
|
37
38
|
|
|
38
39
|
/** Tool flags surfaced in CLI help. */
|
|
39
|
-
const TOOL_FLAGS =
|
|
40
|
+
export const TOOL_FLAGS = HOST_IDS.map((id) => host(id).install.flag);
|
|
41
|
+
|
|
42
|
+
/** One help line per host, from the registry, so a new host cannot go unlisted. */
|
|
43
|
+
const HOST_HELP = HOST_IDS.map((id) => {
|
|
44
|
+
const h = host(id);
|
|
45
|
+
const note = id === REGISTRY.order[0] ? " (default when no target is named)" : "";
|
|
46
|
+
return ` ${h.install.flag.padEnd(16)}Install for ${h.label}${note}`;
|
|
47
|
+
}).join("\n");
|
|
40
48
|
|
|
41
49
|
const INSTALL_USAGE = `Usage: multi-agent-pipeline install [flags]
|
|
42
50
|
|
|
43
|
-
|
|
44
|
-
--
|
|
45
|
-
--codex Install for Codex CLI
|
|
46
|
-
--all Claude Code + Copilot CLI + Codex CLI
|
|
51
|
+
${HOST_HELP}
|
|
52
|
+
--all Every host above
|
|
47
53
|
--installed Refresh only the targets already installed
|
|
48
54
|
--link Symlink instead of copy (dev mode)
|
|
49
55
|
--index-only Ship only the skills index (dynamic skill loading)
|
|
@@ -137,6 +143,11 @@ export async function runInstall(argv) {
|
|
|
137
143
|
const forCodex =
|
|
138
144
|
flags.includes("--codex") || flags.includes("--all") || Boolean(installed?.codex);
|
|
139
145
|
|
|
146
|
+
// The local-model host: the Codex engine pointed at a model served from this
|
|
147
|
+
// machine, in a tree of its own so the two never share an agent file.
|
|
148
|
+
const forLocal =
|
|
149
|
+
flags.includes("--local") || flags.includes("--all") || Boolean(installed?.local);
|
|
150
|
+
|
|
140
151
|
const useSymlinks = flags.includes("--link");
|
|
141
152
|
const indexOnly = flags.includes("--index-only");
|
|
142
153
|
const unattended = flags.includes("--unattended") || flags.includes("--unattended-sandbox");
|
|
@@ -162,9 +173,12 @@ export async function runInstall(argv) {
|
|
|
162
173
|
// upgrade from a first install.
|
|
163
174
|
const previous = readStampVersions(stamps);
|
|
164
175
|
const below = stampsBelowFloor(
|
|
165
|
-
[
|
|
166
|
-
|
|
167
|
-
|
|
176
|
+
[
|
|
177
|
+
forClaude && stamps.claude,
|
|
178
|
+
forCopilot && stamps.copilot,
|
|
179
|
+
forCodex && stamps.codex,
|
|
180
|
+
forLocal && stamps.local,
|
|
181
|
+
].filter(Boolean),
|
|
168
182
|
floor,
|
|
169
183
|
);
|
|
170
184
|
if (below.length > 0) {
|
|
@@ -178,6 +192,7 @@ export async function runInstall(argv) {
|
|
|
178
192
|
if (forClaude) claudeMcpLegacy = installClaude(installerCtx)?.mcpLegacy;
|
|
179
193
|
if (forCopilot) installCopilot(installerCtx);
|
|
180
194
|
if (forCodex) installCodex(installerCtx);
|
|
195
|
+
if (forLocal) installCodex({ ...installerCtx, hostId: "local" });
|
|
181
196
|
} catch (err) {
|
|
182
197
|
reportInstallFailure(err);
|
|
183
198
|
process.exit(1);
|
|
@@ -185,7 +200,7 @@ export async function runInstall(argv) {
|
|
|
185
200
|
|
|
186
201
|
// Version marker: update-check.sh falls back to this for npx-only installs
|
|
187
202
|
// that have no pipeline repo clone to read a version from.
|
|
188
|
-
writeVersionMarkers({ home: HOME, forClaude, forCopilot, forCodex });
|
|
203
|
+
writeVersionMarkers({ home: HOME, forClaude, forCopilot, forCodex, forLocal });
|
|
189
204
|
|
|
190
205
|
// After the profile is applied or tightened, so the entries those write
|
|
191
206
|
// under the current id gain their old-id counterparts too.
|
|
@@ -288,6 +303,7 @@ export function versionStampPaths(home) {
|
|
|
288
303
|
claude: join(home, ".claude", ".pipeline-version"),
|
|
289
304
|
copilot: join(home, ".copilot", ".pipeline-version"),
|
|
290
305
|
codex: join(home, ".codex", ".pipeline-version"),
|
|
306
|
+
local: join(home, ".codex-local", ".pipeline-version"),
|
|
291
307
|
};
|
|
292
308
|
}
|
|
293
309
|
|
|
@@ -296,7 +312,7 @@ export function versionStampPaths(home) {
|
|
|
296
312
|
* `--installed` uses it so an update refreshes what is there and nothing else.
|
|
297
313
|
*
|
|
298
314
|
* @param {string} home
|
|
299
|
-
* @returns {{claude: boolean, copilot: boolean, codex: boolean}}
|
|
315
|
+
* @returns {{claude: boolean, copilot: boolean, codex: boolean, local: boolean}}
|
|
300
316
|
*/
|
|
301
317
|
export function installedTargets(home) {
|
|
302
318
|
const stamps = versionStampPaths(home);
|
|
@@ -304,6 +320,7 @@ export function installedTargets(home) {
|
|
|
304
320
|
claude: existsSync(stamps.claude),
|
|
305
321
|
copilot: existsSync(stamps.copilot),
|
|
306
322
|
codex: existsSync(stamps.codex),
|
|
323
|
+
local: existsSync(stamps.local),
|
|
307
324
|
};
|
|
308
325
|
}
|
|
309
326
|
|
|
@@ -395,7 +412,7 @@ function readStampVersions(stamps) {
|
|
|
395
412
|
*
|
|
396
413
|
* @param {{home: string, forClaude: boolean, forCopilot: boolean, forCodex?: boolean}} opts
|
|
397
414
|
*/
|
|
398
|
-
export function writeVersionMarkers({ home, forClaude, forCopilot, forCodex }) {
|
|
415
|
+
export function writeVersionMarkers({ home, forClaude, forCopilot, forCodex, forLocal }) {
|
|
399
416
|
const version = packageVersion();
|
|
400
417
|
if (!version) return;
|
|
401
418
|
const stamps = versionStampPaths(home);
|
|
@@ -403,6 +420,7 @@ export function writeVersionMarkers({ home, forClaude, forCopilot, forCodex }) {
|
|
|
403
420
|
if (forClaude) targets.push(stamps.claude);
|
|
404
421
|
if (forCopilot) targets.push(stamps.copilot);
|
|
405
422
|
if (forCodex) targets.push(stamps.codex);
|
|
423
|
+
if (forLocal) targets.push(stamps.local);
|
|
406
424
|
for (const target of targets) {
|
|
407
425
|
try {
|
|
408
426
|
writeFile(target, `${version}\n`);
|
|
@@ -8,9 +8,13 @@ parallel review + triage, test, commit, report). It is invoked as `/multi-agent`
|
|
|
8
8
|
or `$multi-agent`, and the orchestrator spec lives at
|
|
9
9
|
`$HOME/.codex/skills/multi-agent/SKILL.md`.
|
|
10
10
|
|
|
11
|
-
## Host adaptation (Codex
|
|
11
|
+
## Host adaptation (the Codex engine)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
Two hosts run this engine and each keeps its own tree: Codex CLI itself, and the
|
|
14
|
+
local-model host, which is the same engine pointed at a model served from this
|
|
15
|
+
machine. The paths below are rewritten to whichever tree this install owns.
|
|
16
|
+
|
|
17
|
+
| Concern | On this host |
|
|
14
18
|
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------- |
|
|
15
19
|
| Orchestrator | one skill, `multi-agent` - it reads per-command specs on demand from `$HOME/.codex/multi-agent-refs/commands/<cmd>/SKILL.md` |
|
|
16
20
|
| Phase specs | `$HOME/.codex/multi-agent-refs/phases/phase-N-*.md`, read only when that phase runs |
|
|
@@ -18,6 +22,15 @@ or `$multi-agent`, and the orchestrator spec lives at
|
|
|
18
22
|
| Progress display | the native `update_plan` tool, one plan step per phase, plus `phase-tracker.sh` state on disk |
|
|
19
23
|
| Shared state | task logs and preferences stay under `$HOME/.claude/` - that path is the cross-host state root, not a Claude Code dependency |
|
|
20
24
|
|
|
25
|
+
## A bare invocation asks
|
|
26
|
+
|
|
27
|
+
`/multi-agent` and the analysis command typed with nothing after them ask for the
|
|
28
|
+
parameter rather than printing the guide. Run
|
|
29
|
+
`node "$HOME/.codex/scripts/entry-mode.mjs" --args "$ARGUMENTS"` and act on the
|
|
30
|
+
one word it prints - `typed`, `picker`, `usage` or `refuse-unattended` - as
|
|
31
|
+
`$HOME/.codex/multi-agent-refs/_entry-picker.md` directs. An unattended run with no task stops
|
|
32
|
+
there; it never reaches a question.
|
|
33
|
+
|
|
21
34
|
## Sub-agent delegation is authorized for this pipeline
|
|
22
35
|
|
|
23
36
|
Codex does not spawn sub-agents unless instructions explicitly ask for it. The
|
|
@@ -29,9 +42,12 @@ on real fan-out, so **delegation is authorized whenever a `/multi-agent` or
|
|
|
29
42
|
`spawn_agent` that sets `model` or `reasoning_effort`. A full-history fork
|
|
30
43
|
inherits the parent model and **silently discards the override**, which would
|
|
31
44
|
collapse the whole review panel onto one model with no error.
|
|
32
|
-
2. **
|
|
33
|
-
|
|
34
|
-
|
|
45
|
+
2. **Never more concurrent children than this host allows.** The ceiling is the
|
|
46
|
+
`dispatch.maxConcurrentChildren` field of this host's record in
|
|
47
|
+
`schemas/hosts.json`: 3 on Codex CLI, where 4 concurrency slots including the
|
|
48
|
+
orchestrator make a 3-reviewer panel the ceiling and a 4th child queue; 1 on
|
|
49
|
+
the local-model host, whose review panel is a single reviewer with triage on
|
|
50
|
+
the same model. Read the record rather than assuming the Codex CLI number.
|
|
35
51
|
3. Outside an active pipeline run, the default applies: do not delegate unless
|
|
36
52
|
asked.
|
|
37
53
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
> Installed from @mmerterden/multi-agent-pipeline
|
|
4
4
|
> Full docs: https://github.com/multi-agent-ecosystem/multi-agent-pipeline
|
|
5
|
-
> Pipeline specs: ~/.copilot/skills/multi-agent/ · Scripts: ~/.copilot/scripts/
|
|
6
|
-
>
|
|
5
|
+
> Pipeline specs: ~/.copilot/skills/multi-agent/ · Refs: ~/.copilot/multi-agent-refs/ · Scripts: ~/.copilot/scripts/
|
|
6
|
+
> Every tree this host owns lives under `~/.copilot`: refs, command specs, skills, scripts, lib, schemas, agents, rules and templates. A ref fetched from GitHub names them under `~/.claude` - read that as `~/.copilot` here. Shared state (`~/.claude/knowledge/`, `~/.claude/logs/`, `~/.claude/multi-agent-preferences.json`) is the exception and stays under `~/.claude`, which is what lets a task started on another CLI resume on this one.
|
|
7
7
|
|
|
8
8
|
## Pipeline Overview
|
|
9
9
|
|
|
@@ -14,12 +14,16 @@
|
|
|
14
14
|
2. **Planning** - Task decomposition, architecture review, user approval
|
|
15
15
|
3. **Dev** - TDD cycle: test -> code -> build
|
|
16
16
|
4. **Review** - Deterministic gates + CLI-aware parallel review + triage.
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Opus +
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
The panel is a field on the host's record in `schemas/hosts.json`, so it is
|
|
18
|
+
read rather than assumed. The three CLI hosts dispatch **3 reviewers in
|
|
19
|
+
parallel**. Copilot CLI: GPT-5.4 (edge cases + cross-provider diversity) +
|
|
20
|
+
Opus (security + architecture) + Sonnet (quality + correctness), followed by
|
|
21
|
+
an Opus triage pass. Claude Code: Fable + Opus + Sonnet, followed by a Fable
|
|
22
|
+
triage pass (GPT-5.4 is not natively reachable there - the only intentional
|
|
23
|
+
cross-CLI asymmetry for Phase 3). Codex CLI: gpt-5.6 and gpt-5.4, separated by
|
|
24
|
+
reasoning effort. The local-model host is the exception: one reviewer, with
|
|
25
|
+
triage on the same model. Triage filters false-positives and out-of-scope
|
|
26
|
+
items before looping back to Phase 2.
|
|
23
27
|
5. **Test** - Optional manual testing + on-demand device audits
|
|
24
28
|
6. **Commit** - Secret scan · commit · push · PR creation
|
|
25
29
|
7. **Report** - Jira comment · Wiki + Figma screenshots · Confluence · log · knowledge + memory
|
|
@@ -31,6 +35,8 @@
|
|
|
31
35
|
|
|
32
36
|
There is one pipeline: every mode runs all 6 phases. The questions Phase 0 asks are the workspace and autopilot, never how much of the pipeline runs.
|
|
33
37
|
|
|
38
|
+
Typed with no arguments, `multi-agent` and `multi-agent-analysis` ask for the parameter instead of printing the guide. Run `node ~/.copilot/scripts/entry-mode.mjs --args "$ARGUMENTS"` and act on its one word - `typed`, `picker`, `usage` or `refuse-unattended` - as `~/.copilot/multi-agent-refs/_entry-picker.md` directs. Never ask in an unattended run.
|
|
39
|
+
|
|
34
40
|
## Language axes (en/tr)
|
|
35
41
|
|
|
36
42
|
Two prefs, two jobs - the full matrix lives in `multi-agent-refs/rules.md`
|
|
@@ -52,11 +58,11 @@ so the user's input pattern stays language-agnostic.
|
|
|
52
58
|
## Sub-Agent Personas
|
|
53
59
|
|
|
54
60
|
Phase 1 (Plan) and Phase 3 (Review) dispatch sub-agents for parallel exploration
|
|
55
|
-
and review. The persona prompts live at `~/.copilot/agents/*.md
|
|
56
|
-
|
|
61
|
+
and review. The persona prompts live at `~/.copilot/agents/*.md`, installed by the pipeline
|
|
62
|
+
installer. They are this host's copies; nothing here reads the Claude Code tree.
|
|
57
63
|
|
|
58
64
|
| Agent | File | Used in |
|
|
59
|
-
|
|
65
|
+
| ----------------- | ---------------------------------------- | ----------------------------------------- |
|
|
60
66
|
| Explorer | `~/.copilot/agents/explorer.md` | Phase 1 codebase scan (parallel dispatch) |
|
|
61
67
|
| Code Reviewer | `~/.copilot/agents/code-reviewer.md` | Phase 3 quality/correctness reviewer |
|
|
62
68
|
| iOS Architect | `~/.copilot/agents/ios-architect.md` | Phase 3 iOS architecture review |
|
|
@@ -74,7 +80,7 @@ but the actual contract is **8 interactive steps** from `refs/phases/phase-0-ini
|
|
|
74
80
|
Copilot CLI has no slash-command infrastructure to auto-route through the full ref file,
|
|
75
81
|
so execute ALL of these explicitly before touching code:
|
|
76
82
|
|
|
77
|
-
1. **Bootstrap tracker** - `bash ~/.copilot/scripts/phase-tracker.sh init
|
|
83
|
+
1. **Bootstrap tracker** - `bash ~/.copilot/scripts/phase-tracker.sh init "$TASK_ID"` (once, before Step 0; the argument is the task id, not a phase count - see Progress Tracking below)
|
|
78
84
|
2. **Load prefs** - read `~/.claude/multi-agent-preferences.json`; warn + stop if setup never ran
|
|
79
85
|
3. **Parse input** - classify (Jira ID, GitHub URL, free-text) + fetch issue via `gh` / Jira API
|
|
80
86
|
4. **Select project(s) - single OR multi-repo** - scan `$HOME`, present numbered list,
|
|
@@ -102,8 +108,8 @@ so execute ALL of these explicitly before touching code:
|
|
|
102
108
|
|
|
103
109
|
Full contract (recents schema, token resolution order, GitHub-issue → Jira auto-create policy):
|
|
104
110
|
https://github.com/multi-agent-ecosystem/multi-agent-pipeline/blob/main/pipeline/multi-agent-refs/phases/phase-0-init.md
|
|
105
|
-
or,
|
|
106
|
-
`~/.
|
|
111
|
+
or, from this host's own copy:
|
|
112
|
+
`~/.copilot/multi-agent-refs/phases/phase-0-init.md`
|
|
107
113
|
|
|
108
114
|
## Progress Tracking - required
|
|
109
115
|
|
|
@@ -285,6 +291,7 @@ multi-agent-stack [ios|android|mobile|backend|web|fullstack|all]
|
|
|
285
291
|
## UI Bug Hunter
|
|
286
292
|
|
|
287
293
|
For visual testing, use the multi-agent MCP server tools:
|
|
294
|
+
|
|
288
295
|
- ios_screenshot / android_screenshot - capture screen
|
|
289
296
|
- ios_tap / android_tap - interact with UI
|
|
290
297
|
- ios_set_appearance - toggle dark mode
|