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