maestro-flow 0.5.40 → 0.5.42
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/.agents/skills/maestro-analyze/SKILL.md +0 -42
- package/.agents/skills/maestro-blueprint/SKILL.md +0 -22
- package/.agents/skills/maestro-brainstorm/SKILL.md +4 -24
- package/.agents/skills/maestro-execute/SKILL.md +1 -1
- package/.agents/skills/maestro-grill/SKILL.md +0 -16
- package/.agents/skills/maestro-milestone-audit/SKILL.md +0 -15
- package/.agents/skills/maestro-plan/SKILL.md +5 -62
- package/.agents/skills/maestro-roadmap/SKILL.md +0 -8
- package/.agents/skills/odyssey-debug/SKILL.md +109 -143
- package/.agents/skills/odyssey-improve/SKILL.md +127 -141
- package/.agents/skills/odyssey-planex/SKILL.md +140 -231
- package/.agents/skills/odyssey-review-test-fix/SKILL.md +136 -90
- package/.agents/skills/odyssey-ui/SKILL.md +123 -143
- package/.agents/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
- package/.agents/skills/team-coordinate/specs/role-spec-template.md +197 -198
- package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
- package/.agents/skills/team-roadmap-dev/specs/team-config.json +1 -1
- package/.agents/skills/team-swarm/roles/analyst/role.md +172 -176
- package/.agy/skills/maestro-analyze/SKILL.md +0 -42
- package/.agy/skills/maestro-blueprint/SKILL.md +0 -22
- package/.agy/skills/maestro-brainstorm/SKILL.md +4 -24
- package/.agy/skills/maestro-execute/SKILL.md +1 -1
- package/.agy/skills/maestro-grill/SKILL.md +0 -16
- package/.agy/skills/maestro-milestone-audit/SKILL.md +0 -15
- package/.agy/skills/maestro-plan/SKILL.md +5 -62
- package/.agy/skills/maestro-roadmap/SKILL.md +0 -8
- package/.agy/skills/odyssey-debug/SKILL.md +109 -143
- package/.agy/skills/odyssey-improve/SKILL.md +127 -141
- package/.agy/skills/odyssey-planex/SKILL.md +140 -231
- package/.agy/skills/odyssey-review-test-fix/SKILL.md +136 -90
- package/.agy/skills/odyssey-ui/SKILL.md +123 -143
- package/.agy/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
- package/.agy/skills/team-coordinate/specs/role-spec-template.md +197 -198
- package/.agy/skills/team-roadmap-dev/SKILL.md +141 -153
- package/.agy/skills/team-roadmap-dev/specs/team-config.json +1 -1
- package/.agy/skills/team-swarm/roles/analyst/role.md +172 -176
- package/.claude/commands/maestro-analyze.md +0 -42
- package/.claude/commands/maestro-blueprint.md +0 -22
- package/.claude/commands/maestro-brainstorm.md +4 -24
- package/.claude/commands/maestro-execute.md +1 -1
- package/.claude/commands/maestro-grill.md +0 -16
- package/.claude/commands/maestro-milestone-audit.md +0 -15
- package/.claude/commands/maestro-plan.md +5 -62
- package/.claude/commands/maestro-roadmap.md +0 -8
- package/.claude/commands/odyssey-debug.md +109 -143
- package/.claude/commands/odyssey-improve.md +127 -141
- package/.claude/commands/odyssey-planex.md +140 -231
- package/.claude/commands/odyssey-review-test-fix.md +136 -90
- package/.claude/commands/odyssey-ui.md +123 -143
- package/.claude/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
- package/.claude/skills/team-coordinate/specs/role-spec-template.md +197 -198
- package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
- package/.claude/skills/team-roadmap-dev/specs/team-config.json +1 -1
- package/.claude/skills/team-swarm/roles/analyst/role.md +181 -185
- package/.codex/skills/odyssey-debug/SKILL.md +114 -169
- package/.codex/skills/odyssey-improve/SKILL.md +144 -188
- package/.codex/skills/odyssey-planex/SKILL.md +162 -242
- package/.codex/skills/odyssey-review-test-fix/SKILL.md +96 -90
- package/.codex/skills/odyssey-ui/SKILL.md +128 -173
- package/dashboard/dist-server/src/commands/install-backend.js +31 -16
- package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
- package/dashboard/dist-server/src/core/component-defs.js +25 -0
- package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
- package/dashboard/dist-server/src/tools/spec-loader.js +32 -20
- package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
- package/dashboard/dist-server/src/tools/spec-seeds.d.ts +8 -0
- package/dashboard/dist-server/src/tools/spec-seeds.js +114 -0
- package/dashboard/dist-server/src/tools/spec-seeds.js.map +1 -1
- package/dist/src/commands/install-backend.d.ts.map +1 -1
- package/dist/src/commands/install-backend.js +31 -16
- package/dist/src/commands/install-backend.js.map +1 -1
- package/dist/src/commands/spec.d.ts.map +1 -1
- package/dist/src/commands/spec.js +13 -3
- package/dist/src/commands/spec.js.map +1 -1
- package/dist/src/core/component-defs.d.ts.map +1 -1
- package/dist/src/core/component-defs.js +25 -0
- package/dist/src/core/component-defs.js.map +1 -1
- package/dist/src/tools/spec-init.d.ts +4 -3
- package/dist/src/tools/spec-init.d.ts.map +1 -1
- package/dist/src/tools/spec-init.js +9 -5
- package/dist/src/tools/spec-init.js.map +1 -1
- package/dist/src/tools/spec-loader.d.ts.map +1 -1
- package/dist/src/tools/spec-loader.js +32 -20
- package/dist/src/tools/spec-loader.js.map +1 -1
- package/dist/src/tools/spec-seeds.d.ts +8 -0
- package/dist/src/tools/spec-seeds.d.ts.map +1 -1
- package/dist/src/tools/spec-seeds.js +114 -0
- package/dist/src/tools/spec-seeds.js.map +1 -1
- package/dist/src/utils/update-notices.js +11 -0
- package/dist/src/utils/update-notices.js.map +1 -1
- package/package.json +1 -1
- package/workflows/agy-instructions.md +147 -161
- package/workflows/claude-instructions.md +100 -48
- package/workflows/codex-instructions.md +147 -161
- package/workflows/execute.md +4 -3
- package/workflows/explore-usage.md +41 -81
- package/workflows/grill.md +11 -0
- package/workflows/milestone-audit.md +8 -0
- package/workflows/odyssey-base-codex.md +305 -0
- package/workflows/odyssey-base.md +89 -91
- package/workflows/plan.md +6 -0
|
@@ -1,169 +1,169 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: team-roadmap-dev
|
|
3
|
-
description: Unified team skill for roadmap-driven development workflow. Coordinator discusses roadmap with user, then dispatches phased execution pipeline (plan -> execute -> verify). All roles invoke this skill with --role arg. Triggers on "team roadmap-dev".
|
|
4
|
-
allowed-tools: TeamCreate(*), TeamDelete(*), SendMessage(*), TaskCreate(*), TaskUpdate(*), TaskList(*), TaskGet(*), Agent(*), AskUserQuestion(*), Read(*), Write(*), Edit(*), Bash(*), Glob(*), Grep(*), mcp__maestro__team_msg(*)
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Team Roadmap Dev
|
|
8
|
-
|
|
9
|
-
Roadmap-driven development with phased execution pipeline. Coordinator discusses roadmap with the user and manages phase transitions. Workers are spawned as team-worker agents.
|
|
10
|
-
|
|
11
|
-
## Architecture
|
|
12
|
-
|
|
13
|
-
```
|
|
14
|
-
Skill(skill="team-roadmap-dev", args="<task-description>")
|
|
15
|
-
|
|
|
16
|
-
SKILL.md (this file) = Router
|
|
17
|
-
|
|
|
18
|
-
+--------------+--------------+
|
|
19
|
-
| |
|
|
20
|
-
no --role flag --role <name>
|
|
21
|
-
| |
|
|
22
|
-
Coordinator Worker
|
|
23
|
-
roles/coordinator/role.md roles/<name>/role.md
|
|
24
|
-
|
|
|
25
|
-
+-- roadmap-discuss -> dispatch -> spawn workers -> STOP
|
|
26
|
-
|
|
|
27
|
-
+-------+-------+-------+
|
|
28
|
-
v v v
|
|
29
|
-
[planner] [executor] [verifier]
|
|
30
|
-
(team-worker agents)
|
|
31
|
-
|
|
32
|
-
Pipeline (per phase):
|
|
33
|
-
PLAN-N01 -> EXEC-N01 -> VERIFY-N01 (gap closure loop if needed)
|
|
34
|
-
|
|
35
|
-
Multi-phase:
|
|
36
|
-
Phase 1 -> Phase 2 -> ... -> Phase N -> Complete
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Role Registry
|
|
40
|
-
|
|
41
|
-
| Role | Path | Prefix | Inner Loop |
|
|
42
|
-
|------|------|--------|------------|
|
|
43
|
-
| coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | — | — |
|
|
44
|
-
| planner | [roles/planner/role.md](roles/planner/role.md) | PLAN-* | true |
|
|
45
|
-
| executor | [roles/executor/role.md](roles/executor/role.md) | EXEC-* | true |
|
|
46
|
-
| verifier | [roles/verifier/role.md](roles/verifier/role.md) | VERIFY-* | true |
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## Pre-load (coordinator, before dispatch)
|
|
50
|
-
|
|
51
|
-
1. **Codebase docs**: If `.workflow/codebase/ARCHITECTURE.md` exists, read for module boundaries
|
|
52
|
-
2. **Specs (arch)**: `maestro load --type spec --category arch` — load arch constraints as shared context
|
|
53
|
-
3. **Specs (coding)**: `maestro load --type spec --category coding` — load coding constraints as shared context
|
|
54
|
-
4. **Wiki knowledge**: `maestro search "roadmap milestone development" --json` — top 5 entries as prior context
|
|
55
|
-
5. All optional — proceed without if unavailable
|
|
56
|
-
## Role Router
|
|
57
|
-
|
|
58
|
-
Parse `$ARGUMENTS`:
|
|
59
|
-
- Has `--role <name>` → Read `roles/<name>/role.md`, execute Phase 2-4
|
|
60
|
-
- No `--role` → `@roles/coordinator/role.md`, execute entry router
|
|
61
|
-
|
|
62
|
-
## Shared Constants
|
|
63
|
-
|
|
64
|
-
- **Session prefix**: `RD`
|
|
65
|
-
- **Session path**: `.workflow/.team/RD-<slug>-<date>/`
|
|
66
|
-
- **Team name**: `roadmap-dev`
|
|
67
|
-
- **CLI tools**: `maestro delegate --mode analysis` (read-only), `maestro delegate --mode write` (modifications)
|
|
68
|
-
- **Message bus**: `mcp__maestro__team_msg(session_id=<session-id>, ...)`
|
|
69
|
-
|
|
70
|
-
## Worker Spawn Template
|
|
71
|
-
|
|
72
|
-
Coordinator spawns workers using this template:
|
|
73
|
-
|
|
74
|
-
```
|
|
75
|
-
Agent({
|
|
76
|
-
subagent_type: "team-worker",
|
|
77
|
-
description: "Spawn <role> worker",
|
|
78
|
-
team_name: "roadmap-dev",
|
|
79
|
-
name: "<role>",
|
|
80
|
-
run_in_background: true,
|
|
81
|
-
prompt: `## Role Assignment
|
|
82
|
-
role: <role>
|
|
83
|
-
role_spec: <skill_root>/roles/<role>/role.md
|
|
84
|
-
session: <session-folder>
|
|
85
|
-
session_id: <session-id>
|
|
86
|
-
team_name: roadmap-dev
|
|
87
|
-
requirement: <task-description>
|
|
88
|
-
inner_loop: true
|
|
89
|
-
|
|
90
|
-
## Progress Milestones
|
|
91
|
-
session_id: <session-id>
|
|
92
|
-
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
93
|
-
Report blockers immediately via team_msg type="blocker".
|
|
94
|
-
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
95
|
-
|
|
96
|
-
Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
|
|
97
|
-
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).`
|
|
98
|
-
})
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
**All worker roles** (planner, executor, verifier): Set `inner_loop: true`.
|
|
102
|
-
|
|
103
|
-
## User Commands
|
|
104
|
-
|
|
105
|
-
| Command | Action |
|
|
106
|
-
|---------|--------|
|
|
107
|
-
| `check` / `status` | Output execution status graph (phase-grouped), no advancement |
|
|
108
|
-
| `resume` / `continue` | Check worker states, advance next step |
|
|
109
|
-
|
|
110
|
-
## Session Directory
|
|
111
|
-
|
|
112
|
-
```
|
|
113
|
-
.workflow/.team/RD-<slug>-<date>/
|
|
114
|
-
+-- roadmap.md # Phase plan with requirements and success criteria
|
|
115
|
-
+-- state.md # Living memory (
|
|
116
|
-
+-- config.json # Session settings (mode, depth, gates)
|
|
117
|
-
+-- wisdom/ # Cross-task knowledge accumulation
|
|
118
|
-
| +-- learnings.md
|
|
119
|
-
| +-- decisions.md
|
|
120
|
-
| +-- conventions.md
|
|
121
|
-
| +-- issues.md
|
|
122
|
-
+-- phase-1/ # Per-phase artifacts
|
|
123
|
-
| +-- context.md
|
|
124
|
-
| +-- IMPL_PLAN.md
|
|
125
|
-
| +-- TODO_LIST.md
|
|
126
|
-
| +-- .task/IMPL-*.json
|
|
127
|
-
| +-- summary-*.md
|
|
128
|
-
| +-- verification.md
|
|
129
|
-
+-- phase-N/
|
|
130
|
-
| +-- ...
|
|
131
|
-
+-- .msg/
|
|
132
|
-
+-- messages.jsonl # Team message bus log
|
|
133
|
-
+-- meta.json # Session metadata + shared state
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
## Completion Action
|
|
137
|
-
|
|
138
|
-
When the pipeline completes:
|
|
139
|
-
|
|
140
|
-
```
|
|
141
|
-
AskUserQuestion({
|
|
142
|
-
questions: [{
|
|
143
|
-
question: "Roadmap Dev pipeline complete. What would you like to do?",
|
|
144
|
-
header: "Completion",
|
|
145
|
-
multiSelect: false,
|
|
146
|
-
options: [
|
|
147
|
-
{ label: "Archive & Clean (Recommended)", description: "Archive session, clean up tasks and team resources" },
|
|
148
|
-
{ label: "Keep Active", description: "Keep session active for follow-up work or inspection" },
|
|
149
|
-
{ label: "Export Results", description: "Export deliverables to a specified location, then clean" }
|
|
150
|
-
]
|
|
151
|
-
}]
|
|
152
|
-
})
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
## Specs Reference
|
|
156
|
-
|
|
157
|
-
- [specs/pipelines.md](specs/pipelines.md) — Pipeline definitions and task registry
|
|
158
|
-
|
|
159
|
-
## Error Handling
|
|
160
|
-
|
|
161
|
-
| Scenario | Resolution |
|
|
162
|
-
|----------|------------|
|
|
163
|
-
| Unknown --role value | Error with role registry list |
|
|
164
|
-
| Role file not found | Error with expected path (roles/{name}/role.md) |
|
|
165
|
-
| project-tech.json missing | Coordinator invokes /workflow:spec:setup |
|
|
166
|
-
| Phase verification fails with gaps | Coordinator triggers gap closure loop (max 3 iterations) |
|
|
167
|
-
| Max gap closure iterations (3) | Report to user, ask for guidance |
|
|
168
|
-
| Worker crash | Respawn worker, reassign task |
|
|
169
|
-
| Session corruption | Attempt recovery, fallback to manual reconciliation |
|
|
1
|
+
---
|
|
2
|
+
name: team-roadmap-dev
|
|
3
|
+
description: Unified team skill for roadmap-driven development workflow. Coordinator discusses roadmap with user, then dispatches phased execution pipeline (plan -> execute -> verify). All roles invoke this skill with --role arg. Triggers on "team roadmap-dev".
|
|
4
|
+
allowed-tools: TeamCreate(*), TeamDelete(*), SendMessage(*), TaskCreate(*), TaskUpdate(*), TaskList(*), TaskGet(*), Agent(*), AskUserQuestion(*), Read(*), Write(*), Edit(*), Bash(*), Glob(*), Grep(*), mcp__maestro__team_msg(*)
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Team Roadmap Dev
|
|
8
|
+
|
|
9
|
+
Roadmap-driven development with phased execution pipeline. Coordinator discusses roadmap with the user and manages phase transitions. Workers are spawned as team-worker agents.
|
|
10
|
+
|
|
11
|
+
## Architecture
|
|
12
|
+
|
|
13
|
+
```
|
|
14
|
+
Skill(skill="team-roadmap-dev", args="<task-description>")
|
|
15
|
+
|
|
|
16
|
+
SKILL.md (this file) = Router
|
|
17
|
+
|
|
|
18
|
+
+--------------+--------------+
|
|
19
|
+
| |
|
|
20
|
+
no --role flag --role <name>
|
|
21
|
+
| |
|
|
22
|
+
Coordinator Worker
|
|
23
|
+
roles/coordinator/role.md roles/<name>/role.md
|
|
24
|
+
|
|
|
25
|
+
+-- roadmap-discuss -> dispatch -> spawn workers -> STOP
|
|
26
|
+
|
|
|
27
|
+
+-------+-------+-------+
|
|
28
|
+
v v v
|
|
29
|
+
[planner] [executor] [verifier]
|
|
30
|
+
(team-worker agents)
|
|
31
|
+
|
|
32
|
+
Pipeline (per phase):
|
|
33
|
+
PLAN-N01 -> EXEC-N01 -> VERIFY-N01 (gap closure loop if needed)
|
|
34
|
+
|
|
35
|
+
Multi-phase:
|
|
36
|
+
Phase 1 -> Phase 2 -> ... -> Phase N -> Complete
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Role Registry
|
|
40
|
+
|
|
41
|
+
| Role | Path | Prefix | Inner Loop |
|
|
42
|
+
|------|------|--------|------------|
|
|
43
|
+
| coordinator | [roles/coordinator/role.md](roles/coordinator/role.md) | — | — |
|
|
44
|
+
| planner | [roles/planner/role.md](roles/planner/role.md) | PLAN-* | true |
|
|
45
|
+
| executor | [roles/executor/role.md](roles/executor/role.md) | EXEC-* | true |
|
|
46
|
+
| verifier | [roles/verifier/role.md](roles/verifier/role.md) | VERIFY-* | true |
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## Pre-load (coordinator, before dispatch)
|
|
50
|
+
|
|
51
|
+
1. **Codebase docs**: If `.workflow/codebase/ARCHITECTURE.md` exists, read for module boundaries
|
|
52
|
+
2. **Specs (arch)**: `maestro load --type spec --category arch` — load arch constraints as shared context
|
|
53
|
+
3. **Specs (coding)**: `maestro load --type spec --category coding` — load coding constraints as shared context
|
|
54
|
+
4. **Wiki knowledge**: `maestro search "roadmap milestone development" --json` — top 5 entries as prior context
|
|
55
|
+
5. All optional — proceed without if unavailable
|
|
56
|
+
## Role Router
|
|
57
|
+
|
|
58
|
+
Parse `$ARGUMENTS`:
|
|
59
|
+
- Has `--role <name>` → Read `roles/<name>/role.md`, execute Phase 2-4
|
|
60
|
+
- No `--role` → `@roles/coordinator/role.md`, execute entry router
|
|
61
|
+
|
|
62
|
+
## Shared Constants
|
|
63
|
+
|
|
64
|
+
- **Session prefix**: `RD`
|
|
65
|
+
- **Session path**: `.workflow/.team/RD-<slug>-<date>/`
|
|
66
|
+
- **Team name**: `roadmap-dev`
|
|
67
|
+
- **CLI tools**: `maestro delegate --mode analysis` (read-only), `maestro delegate --mode write` (modifications)
|
|
68
|
+
- **Message bus**: `mcp__maestro__team_msg(session_id=<session-id>, ...)`
|
|
69
|
+
|
|
70
|
+
## Worker Spawn Template
|
|
71
|
+
|
|
72
|
+
Coordinator spawns workers using this template:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
Agent({
|
|
76
|
+
subagent_type: "team-worker",
|
|
77
|
+
description: "Spawn <role> worker",
|
|
78
|
+
team_name: "roadmap-dev",
|
|
79
|
+
name: "<role>",
|
|
80
|
+
run_in_background: true,
|
|
81
|
+
prompt: `## Role Assignment
|
|
82
|
+
role: <role>
|
|
83
|
+
role_spec: <skill_root>/roles/<role>/role.md
|
|
84
|
+
session: <session-folder>
|
|
85
|
+
session_id: <session-id>
|
|
86
|
+
team_name: roadmap-dev
|
|
87
|
+
requirement: <task-description>
|
|
88
|
+
inner_loop: true
|
|
89
|
+
|
|
90
|
+
## Progress Milestones
|
|
91
|
+
session_id: <session-id>
|
|
92
|
+
Report progress via team_msg at natural phase boundaries (context loaded -> core work done -> verification).
|
|
93
|
+
Report blockers immediately via team_msg type="blocker".
|
|
94
|
+
Report completion via team_msg type="task_complete" after final SendMessage.
|
|
95
|
+
|
|
96
|
+
Read role_spec file (@<skill_root>/roles/<role>/role.md) to load Phase 2-4 domain instructions.
|
|
97
|
+
Execute built-in Phase 1 (task discovery) -> role Phase 2-4 -> built-in Phase 5 (report).`
|
|
98
|
+
})
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
**All worker roles** (planner, executor, verifier): Set `inner_loop: true`.
|
|
102
|
+
|
|
103
|
+
## User Commands
|
|
104
|
+
|
|
105
|
+
| Command | Action |
|
|
106
|
+
|---------|--------|
|
|
107
|
+
| `check` / `status` | Output execution status graph (phase-grouped), no advancement |
|
|
108
|
+
| `resume` / `continue` | Check worker states, advance next step |
|
|
109
|
+
|
|
110
|
+
## Session Directory
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
.workflow/.team/RD-<slug>-<date>/
|
|
114
|
+
+-- roadmap.md # Phase plan with requirements and success criteria
|
|
115
|
+
+-- state.md # Living memory (concise)
|
|
116
|
+
+-- config.json # Session settings (mode, depth, gates)
|
|
117
|
+
+-- wisdom/ # Cross-task knowledge accumulation
|
|
118
|
+
| +-- learnings.md
|
|
119
|
+
| +-- decisions.md
|
|
120
|
+
| +-- conventions.md
|
|
121
|
+
| +-- issues.md
|
|
122
|
+
+-- phase-1/ # Per-phase artifacts
|
|
123
|
+
| +-- context.md
|
|
124
|
+
| +-- IMPL_PLAN.md
|
|
125
|
+
| +-- TODO_LIST.md
|
|
126
|
+
| +-- .task/IMPL-*.json
|
|
127
|
+
| +-- summary-*.md
|
|
128
|
+
| +-- verification.md
|
|
129
|
+
+-- phase-N/
|
|
130
|
+
| +-- ...
|
|
131
|
+
+-- .msg/
|
|
132
|
+
+-- messages.jsonl # Team message bus log
|
|
133
|
+
+-- meta.json # Session metadata + shared state
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Completion Action
|
|
137
|
+
|
|
138
|
+
When the pipeline completes:
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
AskUserQuestion({
|
|
142
|
+
questions: [{
|
|
143
|
+
question: "Roadmap Dev pipeline complete. What would you like to do?",
|
|
144
|
+
header: "Completion",
|
|
145
|
+
multiSelect: false,
|
|
146
|
+
options: [
|
|
147
|
+
{ label: "Archive & Clean (Recommended)", description: "Archive session, clean up tasks and team resources" },
|
|
148
|
+
{ label: "Keep Active", description: "Keep session active for follow-up work or inspection" },
|
|
149
|
+
{ label: "Export Results", description: "Export deliverables to a specified location, then clean" }
|
|
150
|
+
]
|
|
151
|
+
}]
|
|
152
|
+
})
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Specs Reference
|
|
156
|
+
|
|
157
|
+
- [specs/pipelines.md](specs/pipelines.md) — Pipeline definitions and task registry
|
|
158
|
+
|
|
159
|
+
## Error Handling
|
|
160
|
+
|
|
161
|
+
| Scenario | Resolution |
|
|
162
|
+
|----------|------------|
|
|
163
|
+
| Unknown --role value | Error with role registry list |
|
|
164
|
+
| Role file not found | Error with expected path (roles/{name}/role.md) |
|
|
165
|
+
| project-tech.json missing | Coordinator invokes /workflow:spec:setup |
|
|
166
|
+
| Phase verification fails with gaps | Coordinator triggers gap closure loop (max 3 iterations) |
|
|
167
|
+
| Max gap closure iterations (3) | Report to user, ask for guidance |
|
|
168
|
+
| Worker crash | Respawn worker, reassign task |
|
|
169
|
+
| Session corruption | Attempt recovery, fallback to manual reconciliation |
|