pi-maestro-flow 0.2.0 → 0.3.1

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 (235) hide show
  1. package/README.md +44 -72
  2. package/agents/cross-role-reviewer.md +1 -1
  3. package/agents/impeccable-agent.md +1 -1
  4. package/agents/ralph-executor.md +1 -1
  5. package/agents/team-worker.md +1 -1
  6. package/agents/workflow-analyzer.md +1 -1
  7. package/agents/workflow-codebase-mapper.md +1 -1
  8. package/agents/workflow-collab-planner.md +1 -1
  9. package/agents/workflow-debugger.md +1 -1
  10. package/agents/workflow-executor.md +1 -1
  11. package/agents/workflow-integration-checker.md +1 -1
  12. package/agents/workflow-nyquist-auditor.md +1 -1
  13. package/agents/workflow-phase-researcher.md +1 -1
  14. package/agents/workflow-planner.md +1 -1
  15. package/agents/workflow-project-researcher.md +1 -1
  16. package/agents/workflow-reviewer.md +1 -1
  17. package/agents/workflow-verifier.md +1 -1
  18. package/package.json +18 -4
  19. package/skills/codify-to-knowhow/SKILL.md +1 -1
  20. package/skills/delegation-check/SKILL.md +1 -1
  21. package/skills/domain-add/SKILL.md +5 -5
  22. package/skills/insight-challenge/SKILL.md +1 -1
  23. package/skills/learn-decompose/SKILL.md +4 -4
  24. package/skills/learn-follow/SKILL.md +5 -5
  25. package/skills/learn-investigate/SKILL.md +5 -5
  26. package/skills/learn-second-opinion/SKILL.md +5 -5
  27. package/skills/maestro/SKILL.md +8 -8
  28. package/skills/maestro-amend/SKILL.md +4 -4
  29. package/skills/maestro-analyze/SKILL.md +9 -9
  30. package/skills/maestro-blueprint/SKILL.md +7 -7
  31. package/skills/maestro-brainstorm/SKILL.md +10 -10
  32. package/skills/maestro-collab/SKILL.md +4 -4
  33. package/skills/maestro-companion/SKILL.md +3 -3
  34. package/skills/maestro-composer/SKILL.md +10 -10
  35. package/skills/maestro-execute/SKILL.md +8 -8
  36. package/skills/maestro-fork/SKILL.md +7 -7
  37. package/skills/maestro-grill/SKILL.md +12 -12
  38. package/skills/maestro-guard/SKILL.md +5 -5
  39. package/skills/maestro-help/SKILL.md +3 -3
  40. package/skills/maestro-impeccable/SKILL.md +7 -7
  41. package/skills/maestro-init/SKILL.md +8 -8
  42. package/skills/maestro-merge/SKILL.md +6 -6
  43. package/skills/maestro-milestone-audit/SKILL.md +3 -3
  44. package/skills/maestro-milestone-complete/SKILL.md +8 -8
  45. package/skills/maestro-milestone-release/SKILL.md +9 -9
  46. package/skills/maestro-next/SKILL.md +5 -5
  47. package/skills/maestro-overlay/SKILL.md +19 -19
  48. package/skills/maestro-plan/SKILL.md +8 -8
  49. package/skills/maestro-player/SKILL.md +5 -5
  50. package/skills/maestro-quick/SKILL.md +5 -5
  51. package/skills/maestro-ralph/SKILL.md +15 -15
  52. package/skills/maestro-ralph-cli/SKILL.md +6 -6
  53. package/skills/maestro-ralph-cli-execute/SKILL.md +2 -2
  54. package/skills/maestro-ralph-execute/SKILL.md +4 -4
  55. package/skills/maestro-ralph-v2/SKILL.md +17 -17
  56. package/skills/maestro-roadmap/SKILL.md +7 -7
  57. package/skills/maestro-swarm-workflow/SKILL.md +9 -9
  58. package/skills/maestro-tools-execute/SKILL.md +5 -5
  59. package/skills/maestro-tools-register/SKILL.md +7 -7
  60. package/skills/maestro-ui-codify/SKILL.md +8 -8
  61. package/skills/maestro-universal-workflow/SKILL.md +15 -15
  62. package/skills/maestro-update/SKILL.md +10 -10
  63. package/skills/manage-codebase-rebuild/SKILL.md +4 -4
  64. package/skills/manage-drift-realign/SKILL.md +7 -7
  65. package/skills/manage-harvest/SKILL.md +5 -5
  66. package/skills/manage-issue/SKILL.md +4 -4
  67. package/skills/manage-issue-discover/SKILL.md +7 -7
  68. package/skills/manage-kg-extractors/SKILL.md +3 -3
  69. package/skills/manage-knowhow/SKILL.md +3 -3
  70. package/skills/manage-knowhow-capture/SKILL.md +4 -4
  71. package/skills/manage-knowledge-audit/SKILL.md +5 -5
  72. package/skills/manage-status/SKILL.md +3 -3
  73. package/skills/manage-wiki/SKILL.md +5 -5
  74. package/skills/odyssey-debug/SKILL.md +13 -13
  75. package/skills/odyssey-improve/SKILL.md +15 -15
  76. package/skills/odyssey-planex/SKILL.md +16 -16
  77. package/skills/odyssey-review-test-fix/SKILL.md +11 -11
  78. package/skills/odyssey-ui/SKILL.md +10 -10
  79. package/skills/prompt-generator/SKILL.md +5 -5
  80. package/skills/quality-auto-test/SKILL.md +3 -3
  81. package/skills/quality-debug/SKILL.md +3 -3
  82. package/skills/quality-refactor/SKILL.md +3 -3
  83. package/skills/quality-retrospective/SKILL.md +9 -9
  84. package/skills/quality-review/SKILL.md +4 -4
  85. package/skills/quality-sync/SKILL.md +3 -3
  86. package/skills/quality-test/SKILL.md +4 -4
  87. package/skills/scholar-anti-ai-writing/SKILL.md +1 -1
  88. package/skills/scholar-citation-verify/SKILL.md +1 -1
  89. package/skills/scholar-experiment/SKILL.md +2 -2
  90. package/skills/scholar-ideation/SKILL.md +7 -7
  91. package/skills/scholar-latex-organizer/SKILL.md +1 -1
  92. package/skills/scholar-publish/SKILL.md +3 -3
  93. package/skills/scholar-rebuttal-pro/SKILL.md +3 -3
  94. package/skills/scholar-review/SKILL.md +1 -1
  95. package/skills/scholar-writing/SKILL.md +1 -1
  96. package/skills/security-audit/SKILL.md +2 -2
  97. package/skills/skill-generator/SKILL.md +3 -3
  98. package/skills/skill-iter-tune/SKILL.md +3 -3
  99. package/skills/skill-simplify/SKILL.md +1 -1
  100. package/skills/skill-tuning/SKILL.md +1 -1
  101. package/skills/spec-add/SKILL.md +5 -5
  102. package/skills/spec-load/SKILL.md +3 -3
  103. package/skills/spec-remove/SKILL.md +4 -4
  104. package/skills/spec-setup/SKILL.md +6 -6
  105. package/skills/team-adversarial-swarm/SKILL.md +5 -5
  106. package/skills/team-arch-opt/SKILL.md +2 -2
  107. package/skills/team-brainstorm/SKILL.md +3 -3
  108. package/skills/team-coordinate/SKILL.md +4 -4
  109. package/skills/team-designer/SKILL.md +1 -1
  110. package/skills/team-executor/SKILL.md +3 -3
  111. package/skills/team-frontend/SKILL.md +2 -2
  112. package/skills/team-frontend-debug/SKILL.md +3 -3
  113. package/skills/team-interactive-craft/SKILL.md +2 -2
  114. package/skills/team-issue/SKILL.md +3 -3
  115. package/skills/team-lifecycle-v4/SKILL.md +4 -4
  116. package/skills/team-motion-design/SKILL.md +2 -2
  117. package/skills/team-perf-opt/SKILL.md +3 -3
  118. package/skills/team-planex/SKILL.md +2 -2
  119. package/skills/team-quality-assurance/SKILL.md +3 -3
  120. package/skills/team-review/SKILL.md +3 -3
  121. package/skills/team-roadmap-dev/SKILL.md +3 -3
  122. package/skills/team-swarm/SKILL.md +4 -4
  123. package/skills/team-tech-debt/SKILL.md +2 -2
  124. package/skills/team-testing/SKILL.md +3 -3
  125. package/skills/team-ui-polish/SKILL.md +2 -2
  126. package/skills/team-uidesign/SKILL.md +2 -2
  127. package/skills/team-ultra-analyze/SKILL.md +4 -4
  128. package/skills/team-ux-improve/SKILL.md +3 -3
  129. package/skills/team-visual-a11y/SKILL.md +2 -2
  130. package/skills/workflow-skill-designer/SKILL.md +8 -8
  131. package/templates/business-test-report.json +68 -0
  132. package/templates/config.json +48 -0
  133. package/templates/context.md +16 -0
  134. package/templates/doc-index.json +11 -0
  135. package/templates/index.json +68 -0
  136. package/templates/issue.json +36 -0
  137. package/templates/plan.json +38 -0
  138. package/templates/project.md +60 -0
  139. package/templates/reflection-log.md +20 -0
  140. package/templates/roadmap.md +45 -0
  141. package/templates/scratch-index.json +19 -0
  142. package/templates/search-tool.json +1 -0
  143. package/templates/search-tools.md +47 -0
  144. package/templates/state.json +18 -0
  145. package/templates/task-summary.md +21 -0
  146. package/templates/task.json +89 -0
  147. package/templates/terminology-template.json +22 -0
  148. package/templates/uat.md +21 -0
  149. package/templates/validation.json +31 -0
  150. package/templates/verification.json +37 -0
  151. package/templates/workflow.md +14 -0
  152. package/templates/worktree-scope.json +9 -0
  153. package/templates/worktrees.json +26 -0
  154. package/workflows/agy-instructions.md +156 -0
  155. package/workflows/analyze.md +768 -0
  156. package/workflows/auto-test.md +705 -0
  157. package/workflows/blueprint.md +406 -0
  158. package/workflows/boundary-grill.md +50 -0
  159. package/workflows/brainstorm.md +508 -0
  160. package/workflows/business-test.md +574 -0
  161. package/workflows/chinese-response.md +25 -0
  162. package/workflows/claude-instructions.md +167 -0
  163. package/workflows/codebase-rebuild.md +267 -0
  164. package/workflows/codebase-refresh.md +168 -0
  165. package/workflows/codex-instructions.md +156 -0
  166. package/workflows/coding-philosophy.md +70 -0
  167. package/workflows/command-authoring.md +823 -0
  168. package/workflows/debug.md +409 -0
  169. package/workflows/delegate-usage.md +99 -0
  170. package/workflows/domain-add.md +121 -0
  171. package/workflows/drift-realign.md +396 -0
  172. package/workflows/execute.md +631 -0
  173. package/workflows/explore-usage.md +93 -0
  174. package/workflows/finish-work.md +124 -0
  175. package/workflows/fork.md +162 -0
  176. package/workflows/grill.md +494 -0
  177. package/workflows/harvest.md +478 -0
  178. package/workflows/impeccable.md +168 -0
  179. package/workflows/init.md +157 -0
  180. package/workflows/instruction-authoring-guide.md +97 -0
  181. package/workflows/integration-test.md +186 -0
  182. package/workflows/interview-mechanics.md +8 -0
  183. package/workflows/issue-analyze.md +20 -0
  184. package/workflows/issue-discover.md +238 -0
  185. package/workflows/issue-execute.md +110 -0
  186. package/workflows/issue-gaps-analyze.codex.md +256 -0
  187. package/workflows/issue-gaps-analyze.md +215 -0
  188. package/workflows/issue-plan.md +110 -0
  189. package/workflows/issue.md +338 -0
  190. package/workflows/knowhow.md +429 -0
  191. package/workflows/knowledge-audit.md +355 -0
  192. package/workflows/learn.md +271 -0
  193. package/workflows/maestro-chain-execute.md +20 -0
  194. package/workflows/maestro-link-coordinate.md +114 -0
  195. package/workflows/maestro-super.md +120 -0
  196. package/workflows/maestro.md +501 -0
  197. package/workflows/map.md +74 -0
  198. package/workflows/merge.md +122 -0
  199. package/workflows/milestone-audit.md +155 -0
  200. package/workflows/milestone-complete.md +167 -0
  201. package/workflows/milestone-release.md +82 -0
  202. package/workflows/odyssey-base-codex.md +305 -0
  203. package/workflows/odyssey-base.md +256 -0
  204. package/workflows/overlays.md +109 -0
  205. package/workflows/plan.md +520 -0
  206. package/workflows/quick.md +350 -0
  207. package/workflows/ralph-amend-goal.md +177 -0
  208. package/workflows/refactor.md +87 -0
  209. package/workflows/retrospective.md +471 -0
  210. package/workflows/review.md +448 -0
  211. package/workflows/roadmap-common.md +193 -0
  212. package/workflows/roadmap.md +106 -0
  213. package/workflows/shell-exec-protocol.md +30 -0
  214. package/workflows/skill-authoring.md +265 -0
  215. package/workflows/spec-generate.md +475 -0
  216. package/workflows/specs-add.md +123 -0
  217. package/workflows/specs-load.md +76 -0
  218. package/workflows/specs-remove.md +104 -0
  219. package/workflows/specs-setup.md +316 -0
  220. package/workflows/status.md +149 -0
  221. package/workflows/sync.md +116 -0
  222. package/workflows/tdd.md +255 -0
  223. package/workflows/test-gen.md +226 -0
  224. package/workflows/test.md +385 -0
  225. package/workflows/tools-spec.md +70 -0
  226. package/workflows/ui-codify-extract.md +372 -0
  227. package/workflows/ui-codify-knowhow.md +258 -0
  228. package/workflows/ui-codify-package.md +159 -0
  229. package/workflows/ui-codify.md +227 -0
  230. package/workflows/ui-design.md +393 -0
  231. package/workflows/ui-style.md +201 -0
  232. package/workflows/verify.md +557 -0
  233. package/workflows/wiki-connect.md +153 -0
  234. package/workflows/wiki-digest.md +180 -0
  235. package/workflows/wiki-manage.md +113 -0
@@ -0,0 +1,68 @@
1
+ {
2
+ "phase": 0,
3
+ "slug": "{{SLUG}}",
4
+ "title": "{{TITLE}}",
5
+ "milestone": "{{MILESTONE_NAME}}",
6
+ "status": "pending",
7
+ "created_at": "{{TIMESTAMP}}",
8
+ "updated_at": "{{TIMESTAMP}}",
9
+ "completed_at": null,
10
+ "force_transition": false,
11
+ "depends_on": [],
12
+
13
+ "goal": "{{GOAL}}",
14
+ "success_criteria": [],
15
+ "requirements": [],
16
+ "blueprint_ref": null,
17
+
18
+ "session_id": null,
19
+ "recommendation": null,
20
+ "confidence": null,
21
+ "analysis_at": null,
22
+ "planning_at": null,
23
+
24
+ "plan": {
25
+ "task_ids": [],
26
+ "task_count": 0,
27
+ "complexity": null,
28
+ "waves": []
29
+ },
30
+
31
+ "execution": {
32
+ "method": "agent",
33
+ "started_at": null,
34
+ "completed_at": null,
35
+ "tasks_completed": 0,
36
+ "tasks_total": 0,
37
+ "current_wave": 0,
38
+ "commits": []
39
+ },
40
+
41
+ "verification": {
42
+ "status": "pending",
43
+ "verified_at": null,
44
+ "must_haves": [],
45
+ "gaps": []
46
+ },
47
+
48
+ "_optional_note_validation": "Populated only when quality-test/quality-test-gen workflows run",
49
+ "validation": {
50
+ "status": "pending",
51
+ "test_coverage": null,
52
+ "gaps": []
53
+ },
54
+
55
+ "_optional_note_uat": "Populated only when quality-test UAT workflow runs",
56
+ "uat": {
57
+ "status": "pending",
58
+ "test_count": 0,
59
+ "passed": 0,
60
+ "gaps": []
61
+ },
62
+
63
+ "_optional_note_reflection": "Populated only when reflection/strategy-adjustment workflows run",
64
+ "reflection": {
65
+ "rounds": 0,
66
+ "strategy_adjustments": []
67
+ }
68
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "id": "ISS-{{YYYYMMDD}}-{{NNN}}",
3
+ "title": "{{TITLE}}",
4
+ "status": "open",
5
+ "priority": 3,
6
+ "severity": "medium",
7
+ "source": "verification",
8
+
9
+ "phase_ref": null,
10
+ "gap_ref": null,
11
+
12
+ "description": "{{DESCRIPTION}}",
13
+ "fix_direction": "{{SUGGESTED_FIX_APPROACH}}",
14
+
15
+ "context": {
16
+ "location": "{{FILE_PATH:LINE}}",
17
+ "suggested_fix": "{{REMEDIATION_CODE_OR_STEPS}}",
18
+ "notes": ""
19
+ },
20
+
21
+ "analysis": null,
22
+ "path": null,
23
+ "phase_id": null,
24
+
25
+ "tags": [],
26
+ "affected_components": [],
27
+
28
+ "feedback": [],
29
+
30
+ "issue_history": [],
31
+
32
+ "created_at": "{{TIMESTAMP}}",
33
+ "updated_at": "{{TIMESTAMP}}",
34
+ "resolved_at": null,
35
+ "resolution": null
36
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "summary": "{{PLAN_SUMMARY}}",
3
+ "approach": "{{APPROACH}}",
4
+ "task_ids": [],
5
+ "task_count": 0,
6
+ "complexity": null,
7
+ "estimated_time": null,
8
+ "recommended_execution": "Agent",
9
+
10
+ "waves": [
11
+ {
12
+ "wave": 1,
13
+ "tasks": []
14
+ }
15
+ ],
16
+
17
+ "data_flow": {
18
+ "diagram": null,
19
+ "stages": []
20
+ },
21
+
22
+ "design_decisions": [],
23
+
24
+ "shared_context": {
25
+ "patterns": [],
26
+ "conventions": [],
27
+ "dependencies": []
28
+ },
29
+
30
+ "_metadata": {
31
+ "timestamp": "{{ISO_8601}}",
32
+ "source": "workflow-planner",
33
+ "planning_mode": "full",
34
+ "plan_type": "feature",
35
+ "schema_version": "2.0",
36
+ "git_commit": null
37
+ }
38
+ }
@@ -0,0 +1,60 @@
1
+ # Project: {{PROJECT_NAME}}
2
+
3
+ ## What This Is
4
+
5
+ {{CURRENT_DESCRIPTION — 2-3 sentences. What does this product do and who is it for?}}
6
+
7
+ ## Core Value
8
+
9
+ {{THE_ONE_THING — If everything else fails, this must work. Drives prioritization on tradeoffs.}}
10
+
11
+ ## Requirements
12
+
13
+ ### Validated
14
+
15
+ <!-- Shipped and confirmed valuable. -->
16
+
17
+ (None yet — ship to validate)
18
+
19
+ ### Active
20
+
21
+ <!-- Current scope being built toward. These are hypotheses until shipped. -->
22
+
23
+ - [ ] {{REQUIREMENT_1}}
24
+ - [ ] {{REQUIREMENT_2}}
25
+ - [ ] {{REQUIREMENT_3}}
26
+
27
+ ### Out of Scope
28
+
29
+ <!-- Explicit boundaries. Include reasoning to prevent re-adding. -->
30
+
31
+ - {{EXCLUSION_1}} — {{WHY}}
32
+
33
+ ## Context
34
+
35
+ {{Background that informs implementation: technical environment, prior work, user feedback, known issues.}}
36
+
37
+ ## Constraints
38
+
39
+ - **{{TYPE}}**: {{WHAT}} — {{WHY}}
40
+
41
+ ## Tech Stack
42
+
43
+ - **Language**: {{LANGUAGE}}
44
+ - **Framework**: {{FRAMEWORK}}
45
+ - **Database**: {{DATABASE}}
46
+
47
+ ## Key Decisions
48
+
49
+ <!-- Decisions that constrain future work. Add throughout project lifecycle. -->
50
+
51
+ | Decision | Rationale | Outcome |
52
+ |----------|-----------|---------|
53
+ | {{CHOICE}} | {{WHY}} | — Pending |
54
+
55
+ ## Stakeholders
56
+
57
+ - {{STAKEHOLDER_1}}
58
+
59
+ ---
60
+ *Last updated: {{DATE}} after initialization*
@@ -0,0 +1,20 @@
1
+ # Reflection Log — Phase {NN}: {Title}
2
+
3
+ ## Entry {N}
4
+
5
+ **Date**: {ISO date}
6
+ **Trigger**: {What prompted this reflection}
7
+
8
+ ### What Happened
9
+
10
+ {Description of the situation}
11
+
12
+ ### Strategy Adjustment
13
+
14
+ - **Before**: {Previous approach}
15
+ - **After**: {New approach}
16
+ - **Reason**: {Why the change was needed}
17
+
18
+ ### Impact
19
+
20
+ {How this adjustment affected subsequent work}
@@ -0,0 +1,45 @@
1
+ # Roadmap: {{PROJECT_NAME}}
2
+
3
+ ## Overview
4
+
5
+ {{One paragraph describing the journey from start to finish}}
6
+
7
+ ## Milestones
8
+
9
+ ### Milestone 1: {{MILESTONE_1_NAME}} ({{VERSION}})
10
+ **Target**: {{DELIVERABLE_DESCRIPTION}}
11
+ **Status**: active | completed | planned
12
+
13
+ **Minimum-phase principle:** Default 1 phase per milestone. Only add phases for hard dependencies (runtime + not parallelizable + full barrier). Wave DAG inside each phase handles task ordering.
14
+
15
+ **Phase Numbering:**
16
+ - Integer phases (1, 2, 3): Planned milestone work
17
+ - Decimal phases (2.1, 2.2): Urgent insertions (marked with INSERTED)
18
+
19
+ #### Phases
20
+
21
+ - [ ] **Phase 1: {{PHASE_1_TITLE}}** — {{ONE_LINE_DESCRIPTION}}
22
+
23
+ #### Phase Details
24
+
25
+ ##### Phase 1: {{PHASE_1_TITLE}}
26
+ **Goal**: {{WHAT_THIS_PHASE_DELIVERS}}
27
+ **Depends on**: Nothing (first phase)
28
+ **Requirements**: {{REQ_IDS}}
29
+ **Success Criteria** (what must be TRUE):
30
+ 1. {{OBSERVABLE_BEHAVIOR_FROM_USER_PERSPECTIVE}}
31
+ 2. {{OBSERVABLE_BEHAVIOR_FROM_USER_PERSPECTIVE}}
32
+
33
+ ---
34
+
35
+ ## Scope Decisions
36
+
37
+ - **In scope**: {{INCLUDED}}
38
+ - **Deferred**: {{LATER_MILESTONES}}
39
+ - **Out of scope**: {{EXCLUDED}}
40
+
41
+ ## Progress
42
+
43
+ | Milestone | Phase | Status | Completed |
44
+ |-----------|-------|--------|-----------|
45
+ | 1. {{MILESTONE_1_NAME}} | 1. {{PHASE_1_TITLE}} | Not started | - |
@@ -0,0 +1,19 @@
1
+ {
2
+ "id": "{{TYPE}}-{{SLUG}}-{{DATE}}",
3
+ "type": "quick",
4
+ "title": "{{TITLE}}",
5
+ "status": "active",
6
+ "created_at": "{{TIMESTAMP}}",
7
+ "updated_at": "{{TIMESTAMP}}",
8
+
9
+ "plan": {
10
+ "task_ids": [],
11
+ "task_count": 0
12
+ },
13
+
14
+ "execution": {
15
+ "method": "agent",
16
+ "tasks_completed": 0,
17
+ "tasks_total": 0
18
+ }
19
+ }
@@ -0,0 +1 @@
1
+ { "name": "mcp__ace-tool__search_context" }
@@ -0,0 +1,47 @@
1
+ # Search Tools
2
+
3
+ ## Semantic Search Tool
4
+
5
+ @~/.maestro/templates/search-tool.json
6
+
7
+ ## Priority
8
+
9
+ ```
10
+ maestro explore (structured) → Semantic Search → Grep (pattern) → Glob (files)
11
+ ```
12
+
13
+ ## Tool Selection
14
+
15
+ | Scenario | Tool |
16
+ |----------|------|
17
+ | Multi-angle codebase scan | `maestro explore` with multi-prompt parallel |
18
+ | Targeted code search (known scope) | `maestro explore` single prompt with FIND/SCOPE |
19
+ | Find by intent/behavior | Semantic search tool (see above) |
20
+ | Known identifier/regex | `Grep` |
21
+ | Find files by name/ext | `Glob` |
22
+ | Deep cross-file reasoning | `maestro delegate --role analyze --mode analysis` |
23
+ | Read identified file | `Read` |
24
+
25
+ ## maestro explore Prompt Format
26
+
27
+ ```
28
+ FIND: [what to search for]
29
+ SCOPE: [file patterns or directories]
30
+ EXCLUDE: [what to skip]
31
+ ATTENTION: [caveats, edge cases]
32
+ EXPECTED: [output format]
33
+ ```
34
+
35
+ Single prompt: `maestro explore "FIND: ... SCOPE: src/" --max-turns 3`
36
+
37
+ Multi-prompt parallel: `maestro explore "prompt1" "prompt2" --json`
38
+
39
+ ## Fallback
40
+
41
+ - **explore unavailable** → Semantic search + Grep + Glob pattern scanning
42
+ - **Semantic search unavailable** → Grep + Glob; log degraded mode
43
+ - **Grep insufficient** → Escalate to CLI delegate analysis
44
+
45
+ ## Combined Strategy
46
+
47
+ For thorough exploration: maestro explore (broad) → Grep (validate specific) → Read (deep examine)
@@ -0,0 +1,18 @@
1
+ {
2
+ "version": "3.1",
3
+ "project_name": "{{PROJECT_NAME}}",
4
+ "status": "idle",
5
+ "current_milestone": null,
6
+ "current_task_id": null,
7
+ "milestones": [],
8
+ "_milestone_schema": "{ id, name, type: 'standard'|'adhoc', status, phases[], phase_slugs{}, roadmap_ref, created_at }",
9
+ "artifacts": [],
10
+ "last_updated": "{{TIMESTAMP}}",
11
+ "accumulated_context": {
12
+ "key_decisions": [],
13
+ "blockers": [],
14
+ "deferred": []
15
+ },
16
+ "transition_history": [],
17
+ "milestone_history": []
18
+ }
@@ -0,0 +1,21 @@
1
+ # Task Summary — {TASK-NNN}: {Title}
2
+
3
+ ## Status: {completed | failed}
4
+
5
+ ## Changes Made
6
+
7
+ | File | Action | Description |
8
+ |------|--------|-------------|
9
+ | {path} | create/modify | {What changed} |
10
+
11
+ ## Verification
12
+
13
+ - {Verification step and result}
14
+
15
+ ## Key Decisions
16
+
17
+ - {Decision made during implementation}
18
+
19
+ ## Notes
20
+
21
+ {Any additional context for future reference}
@@ -0,0 +1,89 @@
1
+ {
2
+ "id": "TASK-{{NNN}}",
3
+ "title": "{{TITLE}}",
4
+ "description": "{{DESCRIPTION}}",
5
+
6
+ "issue_id": null,
7
+ "issue_refs": [],
8
+ "type": "feature",
9
+ "priority": "medium",
10
+ "effort": "medium",
11
+ "action": "{{CONCRETE_ACTION_WITH_EXACT_VALUES}}",
12
+ "status": "pending",
13
+ "completed_at": null,
14
+ "actual_duration": null,
15
+
16
+ "scope": "{{MODULE_PATH}}",
17
+ "focus_paths": [],
18
+
19
+ "read_first": [
20
+ "{{FILE_BEING_MODIFIED}}",
21
+ "{{SOURCE_OF_TRUTH_OR_PATTERN_FILE}}"
22
+ ],
23
+
24
+ "depends_on": [],
25
+ "wave": 1,
26
+ "parallel_group": null,
27
+ "execution_group": null,
28
+ "executor": "agent",
29
+
30
+ "convergence": {
31
+ "criteria": [
32
+ "{{FILE_PATH}} contains '{{EXACT_STRING_OR_PATTERN}}'",
33
+ "{{TEST_COMMAND}} exits 0"
34
+ ],
35
+ "verification": "{{VERIFICATION_COMMAND_OR_STEPS}}",
36
+ "definition_of_done": "{{BUSINESS_LANGUAGE_COMPLETION}}"
37
+ },
38
+
39
+ "files": [
40
+ {
41
+ "path": "{{FILE_PATH}}",
42
+ "action": "modify",
43
+ "target": "{{FUNCTION_OR_CLASS}}",
44
+ "change": "{{CONCRETE_CHANGE_WITH_EXACT_VALUES}}"
45
+ }
46
+ ],
47
+
48
+ "implementation": [
49
+ "{{STEP_1_WITH_CONCRETE_VALUES}}",
50
+ "{{STEP_2_WITH_CONCRETE_VALUES}}"
51
+ ],
52
+
53
+ "test": {
54
+ "commands": [],
55
+ "unit": [],
56
+ "integration": [],
57
+ "success_metrics": []
58
+ },
59
+
60
+ "reference": {
61
+ "pattern": "{{EXISTING_PATTERN}}",
62
+ "files": [],
63
+ "examples": null
64
+ },
65
+
66
+ "rationale": {
67
+ "chosen_approach": "{{WHY_THIS_APPROACH}}",
68
+ "decision_factors": [],
69
+ "tradeoffs": null
70
+ },
71
+
72
+ "risks": [],
73
+
74
+ "code_skeleton": null,
75
+
76
+ "doc_context": {
77
+ "affected_features": [],
78
+ "affected_components": [],
79
+ "affected_requirements": [],
80
+ "adr_ids": []
81
+ },
82
+
83
+ "meta": {
84
+ "estimated_time": null,
85
+ "risk": "low",
86
+ "autonomous": true,
87
+ "checkpoint": false
88
+ }
89
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "version": "1.0",
3
+ "description": "Terminology glossary schema for brainstorm guidance-specification",
4
+ "schema": {
5
+ "terminology": {
6
+ "type": "array",
7
+ "items": {
8
+ "term": "string (required) - canonical term",
9
+ "definition": "string (required) - concise definition",
10
+ "aliases": "array of strings - alternative names",
11
+ "category": "enum: core|technical|business (required)",
12
+ "first_used_in": "string - source document"
13
+ }
14
+ }
15
+ },
16
+ "validation_rules": {
17
+ "min_terms": 5,
18
+ "max_terms": 20,
19
+ "term_format": "lowercase, alphanumeric + hyphens",
20
+ "definition_max_length": 200
21
+ }
22
+ }
@@ -0,0 +1,21 @@
1
+ # UAT: Phase {{PHASE_NUM}} — {{PHASE_TITLE}}
2
+
3
+ ## Test Results
4
+
5
+ | # | Test | Expected | Result | Status |
6
+ |---|------|----------|--------|--------|
7
+ | 1 | {{TEST_1}} | {{EXPECTED_1}} | {{RESULT_1}} | ⏳ |
8
+
9
+ ## Issues Found
10
+
11
+ ### Issue 1: {{ISSUE_TITLE}}
12
+ - **Severity**: {{SEVERITY}}
13
+ - **Description**: {{DESCRIPTION}}
14
+ - **Steps to Reproduce**: {{STEPS}}
15
+ - **Fix Direction**: {{FIX}}
16
+
17
+ ## Summary
18
+ - **Total Tests**: 0
19
+ - **Passed**: 0
20
+ - **Failed**: 0
21
+ - **Blocked**: 0
@@ -0,0 +1,31 @@
1
+ {
2
+ "phase": 0,
3
+ "status": "pending",
4
+ "validated_at": null,
5
+ "test_framework": null,
6
+ "infrastructure": {
7
+ "framework": null,
8
+ "runner": null,
9
+ "config_file": null
10
+ },
11
+ "coverage": {
12
+ "statements": 0,
13
+ "branches": 0,
14
+ "functions": 0,
15
+ "lines": 0
16
+ },
17
+ "requirement_coverage": [],
18
+ "gaps": [
19
+ {
20
+ "_schema": "Unified gap object",
21
+ "id": "GAP-NNN",
22
+ "type": "must_have|coverage|anti_pattern|uat",
23
+ "severity": "critical|high|medium|low",
24
+ "description": "...",
25
+ "source": "layer1|layer2|layer3|nyquist|uat",
26
+ "status": "open|planned|fixed",
27
+ "related_issue": null
28
+ }
29
+ ],
30
+ "suggested_tests": []
31
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "phase": 0,
3
+ "status": "pending",
4
+ "verified_at": null,
5
+ "verifier": "workflow-verifier",
6
+ "must_haves": {
7
+ "truths": [],
8
+ "artifacts": [],
9
+ "key_links": []
10
+ },
11
+ "layer1_truths": [],
12
+ "layer2_artifacts": [],
13
+ "layer3_wiring": [],
14
+ "anti_pattern_scan": {
15
+ "status": "pending",
16
+ "blockers": [],
17
+ "warnings": []
18
+ },
19
+ "nyquist": {
20
+ "status": "pending",
21
+ "coverage_score": null,
22
+ "requirement_map": []
23
+ },
24
+ "gaps": [
25
+ {
26
+ "_schema": "Unified gap object",
27
+ "id": "GAP-NNN",
28
+ "type": "must_have|coverage|anti_pattern|uat",
29
+ "severity": "critical|high|medium|low",
30
+ "description": "...",
31
+ "source": "layer1|layer2|layer3|nyquist|uat",
32
+ "status": "open|planned|fixed",
33
+ "related_issue": null
34
+ }
35
+ ],
36
+ "fix_plans": []
37
+ }
@@ -0,0 +1,14 @@
1
+ # Workflow: {{WORKFLOW_NAME}}
2
+
3
+ ## Trigger
4
+ {{TRIGGER_DESCRIPTION}}
5
+
6
+ ## Steps
7
+
8
+ ### Step 1: {{STEP_NAME}}
9
+ - **Action**: {{ACTION}}
10
+ - **Input**: {{INPUT}}
11
+ - **Output**: {{OUTPUT}}
12
+
13
+ ## Completion Criteria
14
+ - {{CRITERIA}}
@@ -0,0 +1,9 @@
1
+ {
2
+ "worktree": true,
3
+ "milestone_num": "{{MILESTONE_NUMBER}}",
4
+ "milestone": "{{MILESTONE_NAME}}",
5
+ "main_worktree": "{{MAIN_WORKTREE_PATH}}",
6
+ "branch": "milestone/{{MILESTONE_SLUG}}",
7
+ "base_commit": "{{BASE_COMMIT}}",
8
+ "created_at": "{{TIMESTAMP}}"
9
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "version": "1.0",
3
+ "worktrees": [
4
+ {
5
+ "milestone_num": "{{MILESTONE_NUMBER}}",
6
+ "milestone": "{{MILESTONE_NAME}}",
7
+ "slug": "{{MILESTONE_SLUG}}",
8
+ "branch": "milestone/{{MILESTONE_SLUG}}",
9
+ "path": "{{WORKTREE_ROOT}}/m{{MILESTONE_NUMBER}}-{{MILESTONE_SLUG}}",
10
+ "base_commit": "{{BASE_COMMIT}}",
11
+ "status": "active",
12
+ "created_at": "{{TIMESTAMP}}",
13
+ "fork_session": "{{FORK_SESSION_ID}}"
14
+ }
15
+ ],
16
+ "fork_sessions": [
17
+ {
18
+ "session_id": "fork-{{TIMESTAMP_SHORT}}",
19
+ "created_at": "{{TIMESTAMP}}",
20
+ "milestone_num": "{{MILESTONE_NUMBER}}",
21
+ "milestone": "{{MILESTONE_NAME}}",
22
+ "base_branch": "{{BASE_BRANCH}}",
23
+ "base_commit": "{{BASE_COMMIT}}"
24
+ }
25
+ ]
26
+ }