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.
Files changed (101) 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/odyssey-debug/SKILL.md +109 -143
  10. package/.agents/skills/odyssey-improve/SKILL.md +127 -141
  11. package/.agents/skills/odyssey-planex/SKILL.md +140 -231
  12. package/.agents/skills/odyssey-review-test-fix/SKILL.md +136 -90
  13. package/.agents/skills/odyssey-ui/SKILL.md +123 -143
  14. package/.agents/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
  15. package/.agents/skills/team-coordinate/specs/role-spec-template.md +197 -198
  16. package/.agents/skills/team-roadmap-dev/SKILL.md +164 -164
  17. package/.agents/skills/team-roadmap-dev/specs/team-config.json +1 -1
  18. package/.agents/skills/team-swarm/roles/analyst/role.md +172 -176
  19. package/.agy/skills/maestro-analyze/SKILL.md +0 -42
  20. package/.agy/skills/maestro-blueprint/SKILL.md +0 -22
  21. package/.agy/skills/maestro-brainstorm/SKILL.md +4 -24
  22. package/.agy/skills/maestro-execute/SKILL.md +1 -1
  23. package/.agy/skills/maestro-grill/SKILL.md +0 -16
  24. package/.agy/skills/maestro-milestone-audit/SKILL.md +0 -15
  25. package/.agy/skills/maestro-plan/SKILL.md +5 -62
  26. package/.agy/skills/maestro-roadmap/SKILL.md +0 -8
  27. package/.agy/skills/odyssey-debug/SKILL.md +109 -143
  28. package/.agy/skills/odyssey-improve/SKILL.md +127 -141
  29. package/.agy/skills/odyssey-planex/SKILL.md +140 -231
  30. package/.agy/skills/odyssey-review-test-fix/SKILL.md +136 -90
  31. package/.agy/skills/odyssey-ui/SKILL.md +123 -143
  32. package/.agy/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
  33. package/.agy/skills/team-coordinate/specs/role-spec-template.md +197 -198
  34. package/.agy/skills/team-roadmap-dev/SKILL.md +141 -153
  35. package/.agy/skills/team-roadmap-dev/specs/team-config.json +1 -1
  36. package/.agy/skills/team-swarm/roles/analyst/role.md +172 -176
  37. package/.claude/commands/maestro-analyze.md +0 -42
  38. package/.claude/commands/maestro-blueprint.md +0 -22
  39. package/.claude/commands/maestro-brainstorm.md +4 -24
  40. package/.claude/commands/maestro-execute.md +1 -1
  41. package/.claude/commands/maestro-grill.md +0 -16
  42. package/.claude/commands/maestro-milestone-audit.md +0 -15
  43. package/.claude/commands/maestro-plan.md +5 -62
  44. package/.claude/commands/maestro-roadmap.md +0 -8
  45. package/.claude/commands/odyssey-debug.md +109 -143
  46. package/.claude/commands/odyssey-improve.md +127 -141
  47. package/.claude/commands/odyssey-planex.md +140 -231
  48. package/.claude/commands/odyssey-review-test-fix.md +136 -90
  49. package/.claude/commands/odyssey-ui.md +123 -143
  50. package/.claude/skills/team-adversarial-swarm/workflows/wf-swarm-synthesize.js +248 -248
  51. package/.claude/skills/team-coordinate/specs/role-spec-template.md +197 -198
  52. package/.claude/skills/team-roadmap-dev/SKILL.md +169 -169
  53. package/.claude/skills/team-roadmap-dev/specs/team-config.json +1 -1
  54. package/.claude/skills/team-swarm/roles/analyst/role.md +181 -185
  55. package/.codex/skills/odyssey-debug/SKILL.md +114 -169
  56. package/.codex/skills/odyssey-improve/SKILL.md +144 -188
  57. package/.codex/skills/odyssey-planex/SKILL.md +162 -242
  58. package/.codex/skills/odyssey-review-test-fix/SKILL.md +96 -90
  59. package/.codex/skills/odyssey-ui/SKILL.md +128 -173
  60. package/dashboard/dist-server/src/commands/install-backend.js +31 -16
  61. package/dashboard/dist-server/src/commands/install-backend.js.map +1 -1
  62. package/dashboard/dist-server/src/core/component-defs.js +25 -0
  63. package/dashboard/dist-server/src/core/component-defs.js.map +1 -1
  64. package/dashboard/dist-server/src/tools/spec-loader.js +32 -20
  65. package/dashboard/dist-server/src/tools/spec-loader.js.map +1 -1
  66. package/dashboard/dist-server/src/tools/spec-seeds.d.ts +8 -0
  67. package/dashboard/dist-server/src/tools/spec-seeds.js +114 -0
  68. package/dashboard/dist-server/src/tools/spec-seeds.js.map +1 -1
  69. package/dist/src/commands/install-backend.d.ts.map +1 -1
  70. package/dist/src/commands/install-backend.js +31 -16
  71. package/dist/src/commands/install-backend.js.map +1 -1
  72. package/dist/src/commands/spec.d.ts.map +1 -1
  73. package/dist/src/commands/spec.js +13 -3
  74. package/dist/src/commands/spec.js.map +1 -1
  75. package/dist/src/core/component-defs.d.ts.map +1 -1
  76. package/dist/src/core/component-defs.js +25 -0
  77. package/dist/src/core/component-defs.js.map +1 -1
  78. package/dist/src/tools/spec-init.d.ts +4 -3
  79. package/dist/src/tools/spec-init.d.ts.map +1 -1
  80. package/dist/src/tools/spec-init.js +9 -5
  81. package/dist/src/tools/spec-init.js.map +1 -1
  82. package/dist/src/tools/spec-loader.d.ts.map +1 -1
  83. package/dist/src/tools/spec-loader.js +32 -20
  84. package/dist/src/tools/spec-loader.js.map +1 -1
  85. package/dist/src/tools/spec-seeds.d.ts +8 -0
  86. package/dist/src/tools/spec-seeds.d.ts.map +1 -1
  87. package/dist/src/tools/spec-seeds.js +114 -0
  88. package/dist/src/tools/spec-seeds.js.map +1 -1
  89. package/dist/src/utils/update-notices.js +11 -0
  90. package/dist/src/utils/update-notices.js.map +1 -1
  91. package/package.json +1 -1
  92. package/workflows/agy-instructions.md +147 -161
  93. package/workflows/claude-instructions.md +100 -48
  94. package/workflows/codex-instructions.md +147 -161
  95. package/workflows/execute.md +4 -3
  96. package/workflows/explore-usage.md +41 -81
  97. package/workflows/grill.md +11 -0
  98. package/workflows/milestone-audit.md +8 -0
  99. package/workflows/odyssey-base-codex.md +305 -0
  100. package/workflows/odyssey-base.md +89 -91
  101. 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": {