maestro-flow 0.1.1 → 0.1.2

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 (92) hide show
  1. package/.codex/skills/manage-codebase-rebuild/SKILL.md +405 -405
  2. package/.codex/skills/manage-codebase-refresh/SKILL.md +82 -82
  3. package/.codex/skills/manage-issue/SKILL.md +65 -65
  4. package/.codex/skills/manage-status/SKILL.md +89 -89
  5. package/.codex/skills/quality-debug/SKILL.md +413 -413
  6. package/.codex/skills/quality-refactor/SKILL.md +191 -191
  7. package/.codex/skills/quality-sync/SKILL.md +89 -89
  8. package/.codex/skills/quality-test/SKILL.md +198 -198
  9. package/.codex/skills/spec-add/SKILL.md +79 -79
  10. package/.codex/skills/spec-load/SKILL.md +75 -75
  11. package/.codex/skills/spec-map/SKILL.md +182 -182
  12. package/.codex/skills/spec-setup/SKILL.md +76 -76
  13. package/.codex/skills/team-coordinate/SKILL.md +7 -7
  14. package/.codex/skills/team-coordinate/roles/coordinator/role.md +1 -1
  15. package/.codex/skills/team-lifecycle-v4/SKILL.md +2 -2
  16. package/.codex/skills/team-lifecycle-v4/instructions/agent-instruction.md +2 -2
  17. package/.codex/skills/team-lifecycle-v4/roles/analyst/role.md +2 -2
  18. package/.codex/skills/team-lifecycle-v4/roles/coordinator/role.md +2 -2
  19. package/.codex/skills/team-lifecycle-v4/roles/executor/commands/implement.md +1 -1
  20. package/.codex/skills/team-lifecycle-v4/roles/planner/role.md +2 -2
  21. package/.codex/skills/team-lifecycle-v4/roles/writer/role.md +1 -1
  22. package/.codex/skills/team-lifecycle-v4/schemas/tasks-schema.md +1 -1
  23. package/.codex/skills/team-quality-assurance/SKILL.md +2 -2
  24. package/.codex/skills/team-quality-assurance/roles/coordinator/role.md +2 -2
  25. package/.codex/skills/team-quality-assurance/roles/executor/role.md +1 -1
  26. package/.codex/skills/team-quality-assurance/roles/scout/role.md +2 -2
  27. package/.codex/skills/team-review/SKILL.md +2 -2
  28. package/.codex/skills/team-review/roles/coordinator/role.md +2 -2
  29. package/.codex/skills/team-review/roles/reviewer/role.md +2 -2
  30. package/.codex/skills/team-review/roles/scanner/role.md +1 -1
  31. package/.codex/skills/team-tech-debt/SKILL.md +2 -2
  32. package/.codex/skills/team-tech-debt/roles/coordinator/role.md +1 -1
  33. package/.codex/skills/team-tech-debt/roles/executor/role.md +1 -1
  34. package/.codex/skills/team-tech-debt/roles/scanner/role.md +2 -2
  35. package/.codex/skills/team-tech-debt/roles/validator/role.md +1 -1
  36. package/.codex/skills/team-testing/SKILL.md +2 -2
  37. package/.codex/skills/team-testing/roles/coordinator/role.md +2 -2
  38. package/.codex/skills/team-testing/roles/executor/role.md +2 -2
  39. package/.codex/skills/team-testing/roles/generator/role.md +2 -2
  40. package/README.md +43 -4
  41. package/dist/agents/dashboard-bridge.d.ts +5 -0
  42. package/dist/agents/dashboard-bridge.d.ts.map +1 -1
  43. package/dist/agents/dashboard-bridge.js +13 -0
  44. package/dist/agents/dashboard-bridge.js.map +1 -1
  45. package/dist/agents/parallel-cli-runner.d.ts +42 -0
  46. package/dist/agents/parallel-cli-runner.d.ts.map +1 -0
  47. package/dist/agents/parallel-cli-runner.js +200 -0
  48. package/dist/agents/parallel-cli-runner.js.map +1 -0
  49. package/dist/agents/terminal-adapter.d.ts +94 -0
  50. package/dist/agents/terminal-adapter.d.ts.map +1 -0
  51. package/dist/agents/terminal-adapter.js +132 -0
  52. package/dist/agents/terminal-adapter.js.map +1 -0
  53. package/dist/agents/terminal-backend.d.ts +53 -0
  54. package/dist/agents/terminal-backend.d.ts.map +1 -0
  55. package/dist/agents/terminal-backend.js +286 -0
  56. package/dist/agents/terminal-backend.js.map +1 -0
  57. package/dist/cli.js +4 -0
  58. package/dist/cli.js.map +1 -1
  59. package/dist/commands/coordinate.d.ts.map +1 -1
  60. package/dist/commands/coordinate.js +14 -5
  61. package/dist/commands/coordinate.js.map +1 -1
  62. package/dist/commands/delegate.d.ts +3 -0
  63. package/dist/commands/delegate.d.ts.map +1 -0
  64. package/dist/commands/delegate.js +142 -0
  65. package/dist/commands/delegate.js.map +1 -0
  66. package/dist/commands/msg.d.ts +3 -0
  67. package/dist/commands/msg.d.ts.map +1 -0
  68. package/dist/commands/msg.js +110 -0
  69. package/dist/commands/msg.js.map +1 -0
  70. package/dist/coordinator/graph-types.d.ts +17 -0
  71. package/dist/coordinator/graph-types.d.ts.map +1 -1
  72. package/dist/coordinator/graph-walker.d.ts +3 -1
  73. package/dist/coordinator/graph-walker.d.ts.map +1 -1
  74. package/dist/coordinator/graph-walker.js +147 -8
  75. package/dist/coordinator/graph-walker.js.map +1 -1
  76. package/dist/coordinator/index.d.ts +2 -0
  77. package/dist/coordinator/index.d.ts.map +1 -1
  78. package/dist/coordinator/index.js +1 -0
  79. package/dist/coordinator/index.js.map +1 -1
  80. package/dist/coordinator/parallel-executor.d.ts +24 -0
  81. package/dist/coordinator/parallel-executor.d.ts.map +1 -0
  82. package/dist/coordinator/parallel-executor.js +43 -0
  83. package/dist/coordinator/parallel-executor.js.map +1 -0
  84. package/package.json +3 -1
  85. package/templates/cli/prompts/rules-tech-rules-agent-prompt.txt +89 -89
  86. package/templates/cli/prompts/workflow-codex-feasibility-validation.txt +176 -176
  87. package/templates/cli/prompts/workflow-gemini-solution-design.txt +131 -131
  88. package/templates/cli/prompts/workflow-skill-index.txt +224 -224
  89. package/templates/cli/protocols/analysis-protocol.md +2 -2
  90. package/templates/cli/protocols/write-protocol.md +2 -2
  91. package/workflows/memory.md +2 -2
  92. package/.codex/skills/team-lifecycle-v4/MIGRATION-PLAN.md +0 -512
@@ -1,131 +1,131 @@
1
- Analyze and design optimal solution with comprehensive architecture evaluation and design decisions.
2
-
3
- ## CORE CHECKLIST ⚡
4
- □ Read context-package.json to understand task requirements, source files, tech stack
5
- □ Analyze current architecture patterns and code structure
6
- □ Propose solution design with key decisions and rationale
7
- □ Focus on SOLUTION IMPROVEMENTS and KEY DESIGN DECISIONS
8
- □ Write output to specified .workflow/active/{session_id}/.process/ path
9
-
10
- ## ANALYSIS PRIORITY
11
-
12
- ### Source Hierarchy
13
- 1. **PRIMARY**: Individual role analysis.md files (system-architect, ui-designer, data-architect, etc.)
14
- - Technical details and implementation considerations
15
- - Architecture Decision Records (ADRs)
16
- - Design decision context and rationale
17
-
18
- 2. **SECONDARY**: role analysis documents
19
- - Integrated requirements across roles
20
- - Cross-role alignment and dependencies
21
- - Unified feature specifications
22
-
23
- 3. **REFERENCE**: guidance-specification.md
24
- - Discussion context and background
25
- - Initial problem framing
26
-
27
- ## REQUIRED ANALYSIS
28
-
29
- ### 1. Current State Assessment
30
- - Identify existing architectural patterns and code structure
31
- - Map integration points and dependencies
32
- - Evaluate technical debt and pain points
33
- - Assess framework compatibility and constraints
34
-
35
- ### 2. Solution Design
36
- - Propose core architecture principles and approach
37
- - Design component architecture and data flow
38
- - Specify API contracts and integration strategy
39
- - Define technology stack with justification
40
-
41
- ### 3. Key Design Decisions
42
- For each critical decision:
43
- - **Decision**: What is being decided
44
- - **Rationale**: Why this approach
45
- - **Alternatives Considered**: Other options and their tradeoffs
46
- - **Impact**: Implications on architecture, performance, maintainability
47
-
48
- Minimum 2 key decisions required.
49
-
50
- ### 4. Code Modification Targets
51
- Identify specific code locations for changes:
52
- - **Existing files**: `file:function:lines` format (e.g., `src/auth/login.ts:validateUser:45-52`)
53
- - **New files**: `file` only (e.g., `src/auth/PasswordReset.ts`)
54
- - **Unknown lines**: `file:function:*` (e.g., `src/auth/service.ts:refreshToken:*`)
55
-
56
- For each target:
57
- - Type: Modify existing | Create new
58
- - Modification/Purpose: What changes needed
59
- - Rationale: Why this target
60
-
61
- ### 5. Critical Insights
62
- - Strengths: What works well in current/proposed design
63
- - Gaps: Missing capabilities or concerns
64
- - Risks: Technical, integration, performance, security
65
- - Optimization Opportunities: Performance, security, code quality
66
-
67
- ### 6. Feasibility Assessment
68
- - Technical Complexity: Rating and analysis
69
- - Performance Impact: Expected characteristics
70
- - Resource Requirements: Development effort
71
- - Maintenance Burden: Ongoing considerations
72
-
73
- ## OUTPUT REQUIREMENTS
74
-
75
- ### Output File
76
- **Path**: `.workflow/active/{session_id}/.process/gemini-solution-design.md`
77
- **Format**: Follow structure from `~/.ccw/workflows/cli-templates/prompts/workflow/analysis-results-structure.txt`
78
-
79
- ### Required Sections
80
- - Executive Summary with feasibility score
81
- - Current State Analysis
82
- - Proposed Solution Design with 2+ key decisions
83
- - Implementation Strategy with code targets
84
- - Solution Optimization (performance, security, quality)
85
- - Critical Success Factors
86
- - Confidence Scores with recommendation
87
-
88
- ### Content Guidelines
89
- - ✅ Focus on solution improvements and key design decisions
90
- - ✅ Include rationale, alternatives, and tradeoffs for decisions
91
- - ✅ Provide specific code targets in correct format
92
- - ✅ Quantify assessments with scores (X/5)
93
- - ❌ Do NOT create task lists or implementation steps
94
- - ❌ Do NOT include code examples or snippets
95
- - ❌ Do NOT create project management timelines
96
-
97
- ## CONTEXT INTEGRATION
98
-
99
- ### Session Context
100
- - Load context-package.json for task requirements
101
- - Reference workflow-session.json for session state
102
- - Review CLAUDE.md for project standards
103
-
104
- ### Brainstorm Context
105
- If brainstorming artifacts exist:
106
- - Prioritize individual role analysis.md files
107
- - Use role analysis documents for integrated view
108
- - Reference guidance-specification.md for context
109
-
110
- ### Codebase Context
111
- - Identify similar patterns in existing code
112
- - Evaluate success/failure of current approaches
113
- - Ensure consistency with project architecture
114
-
115
- ## EXECUTION MODE
116
-
117
- **Mode**: Analysis with write permission for output file
118
- **CLI Tool**: Gemini wrapper with --approval-mode yolo
119
- **Timeout**: 40-60 minutes based on complexity
120
- **Output**: Single file gemini-solution-design.md
121
-
122
- ## VERIFICATION CHECKLIST ✓
123
- □ context-package.json read and analyzed
124
- □ All 7 required sections present in output
125
- □ 2+ key design decisions with rationale and alternatives
126
- □ Code targets specified in correct format
127
- □ Feasibility scores provided (X/5)
128
- □ Final recommendation (PROCEED/RECONSIDER/REJECT)
129
- □ Output written to .workflow/active/{session_id}/.process/gemini-solution-design.md
130
-
131
- Focus: Comprehensive solution design emphasizing architecture decisions and critical insights.
1
+ Analyze and design optimal solution with comprehensive architecture evaluation and design decisions.
2
+
3
+ ## CORE CHECKLIST ⚡
4
+ □ Read context-package.json to understand task requirements, source files, tech stack
5
+ □ Analyze current architecture patterns and code structure
6
+ □ Propose solution design with key decisions and rationale
7
+ □ Focus on SOLUTION IMPROVEMENTS and KEY DESIGN DECISIONS
8
+ □ Write output to specified .workflow/active/{session_id}/.process/ path
9
+
10
+ ## ANALYSIS PRIORITY
11
+
12
+ ### Source Hierarchy
13
+ 1. **PRIMARY**: Individual role analysis.md files (system-architect, ui-designer, data-architect, etc.)
14
+ - Technical details and implementation considerations
15
+ - Architecture Decision Records (ADRs)
16
+ - Design decision context and rationale
17
+
18
+ 2. **SECONDARY**: role analysis documents
19
+ - Integrated requirements across roles
20
+ - Cross-role alignment and dependencies
21
+ - Unified feature specifications
22
+
23
+ 3. **REFERENCE**: guidance-specification.md
24
+ - Discussion context and background
25
+ - Initial problem framing
26
+
27
+ ## REQUIRED ANALYSIS
28
+
29
+ ### 1. Current State Assessment
30
+ - Identify existing architectural patterns and code structure
31
+ - Map integration points and dependencies
32
+ - Evaluate technical debt and pain points
33
+ - Assess framework compatibility and constraints
34
+
35
+ ### 2. Solution Design
36
+ - Propose core architecture principles and approach
37
+ - Design component architecture and data flow
38
+ - Specify API contracts and integration strategy
39
+ - Define technology stack with justification
40
+
41
+ ### 3. Key Design Decisions
42
+ For each critical decision:
43
+ - **Decision**: What is being decided
44
+ - **Rationale**: Why this approach
45
+ - **Alternatives Considered**: Other options and their tradeoffs
46
+ - **Impact**: Implications on architecture, performance, maintainability
47
+
48
+ Minimum 2 key decisions required.
49
+
50
+ ### 4. Code Modification Targets
51
+ Identify specific code locations for changes:
52
+ - **Existing files**: `file:function:lines` format (e.g., `src/auth/login.ts:validateUser:45-52`)
53
+ - **New files**: `file` only (e.g., `src/auth/PasswordReset.ts`)
54
+ - **Unknown lines**: `file:function:*` (e.g., `src/auth/service.ts:refreshToken:*`)
55
+
56
+ For each target:
57
+ - Type: Modify existing | Create new
58
+ - Modification/Purpose: What changes needed
59
+ - Rationale: Why this target
60
+
61
+ ### 5. Critical Insights
62
+ - Strengths: What works well in current/proposed design
63
+ - Gaps: Missing capabilities or concerns
64
+ - Risks: Technical, integration, performance, security
65
+ - Optimization Opportunities: Performance, security, code quality
66
+
67
+ ### 6. Feasibility Assessment
68
+ - Technical Complexity: Rating and analysis
69
+ - Performance Impact: Expected characteristics
70
+ - Resource Requirements: Development effort
71
+ - Maintenance Burden: Ongoing considerations
72
+
73
+ ## OUTPUT REQUIREMENTS
74
+
75
+ ### Output File
76
+ **Path**: `.workflow/active/{session_id}/.process/gemini-solution-design.md`
77
+ **Format**: Follow structure from `~/.maestro/templates/cli/prompts/workflow/analysis-results-structure.txt`
78
+
79
+ ### Required Sections
80
+ - Executive Summary with feasibility score
81
+ - Current State Analysis
82
+ - Proposed Solution Design with 2+ key decisions
83
+ - Implementation Strategy with code targets
84
+ - Solution Optimization (performance, security, quality)
85
+ - Critical Success Factors
86
+ - Confidence Scores with recommendation
87
+
88
+ ### Content Guidelines
89
+ - ✅ Focus on solution improvements and key design decisions
90
+ - ✅ Include rationale, alternatives, and tradeoffs for decisions
91
+ - ✅ Provide specific code targets in correct format
92
+ - ✅ Quantify assessments with scores (X/5)
93
+ - ❌ Do NOT create task lists or implementation steps
94
+ - ❌ Do NOT include code examples or snippets
95
+ - ❌ Do NOT create project management timelines
96
+
97
+ ## CONTEXT INTEGRATION
98
+
99
+ ### Session Context
100
+ - Load context-package.json for task requirements
101
+ - Reference workflow-session.json for session state
102
+ - Review CLAUDE.md for project standards
103
+
104
+ ### Brainstorm Context
105
+ If brainstorming artifacts exist:
106
+ - Prioritize individual role analysis.md files
107
+ - Use role analysis documents for integrated view
108
+ - Reference guidance-specification.md for context
109
+
110
+ ### Codebase Context
111
+ - Identify similar patterns in existing code
112
+ - Evaluate success/failure of current approaches
113
+ - Ensure consistency with project architecture
114
+
115
+ ## EXECUTION MODE
116
+
117
+ **Mode**: Analysis with write permission for output file
118
+ **CLI Tool**: Gemini wrapper with --approval-mode yolo
119
+ **Timeout**: 40-60 minutes based on complexity
120
+ **Output**: Single file gemini-solution-design.md
121
+
122
+ ## VERIFICATION CHECKLIST ✓
123
+ □ context-package.json read and analyzed
124
+ □ All 7 required sections present in output
125
+ □ 2+ key design decisions with rationale and alternatives
126
+ □ Code targets specified in correct format
127
+ □ Feasibility scores provided (X/5)
128
+ □ Final recommendation (PROCEED/RECONSIDER/REJECT)
129
+ □ Output written to .workflow/active/{session_id}/.process/gemini-solution-design.md
130
+
131
+ Focus: Comprehensive solution design emphasizing architecture decisions and critical insights.