red64-cli 0.2.0 → 0.5.0
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/README.md +186 -337
- package/dist/cli/parseArgs.d.ts.map +1 -1
- package/dist/cli/parseArgs.js +5 -13
- package/dist/cli/parseArgs.js.map +1 -1
- package/dist/components/init/types.d.ts +0 -2
- package/dist/components/init/types.d.ts.map +1 -1
- package/dist/components/screens/HelpScreen.d.ts.map +1 -1
- package/dist/components/screens/HelpScreen.js +0 -2
- package/dist/components/screens/HelpScreen.js.map +1 -1
- package/dist/components/screens/InitScreen.d.ts.map +1 -1
- package/dist/components/screens/InitScreen.js +5 -8
- package/dist/components/screens/InitScreen.js.map +1 -1
- package/dist/components/screens/ListScreen.d.ts.map +1 -1
- package/dist/components/screens/ListScreen.js +28 -3
- package/dist/components/screens/ListScreen.js.map +1 -1
- package/dist/components/screens/StartScreen.d.ts.map +1 -1
- package/dist/components/screens/StartScreen.js +149 -15
- package/dist/components/screens/StartScreen.js.map +1 -1
- package/dist/components/screens/StatusScreen.d.ts.map +1 -1
- package/dist/components/screens/StatusScreen.js +16 -1
- package/dist/components/screens/StatusScreen.js.map +1 -1
- package/dist/components/ui/ArtifactsSidebar.d.ts +19 -0
- package/dist/components/ui/ArtifactsSidebar.d.ts.map +1 -0
- package/dist/components/ui/ArtifactsSidebar.js +51 -0
- package/dist/components/ui/ArtifactsSidebar.js.map +1 -0
- package/dist/components/ui/FeatureSidebar.d.ts.map +1 -1
- package/dist/components/ui/FeatureSidebar.js +1 -1
- package/dist/components/ui/FeatureSidebar.js.map +1 -1
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/index.js.map +1 -1
- package/dist/services/AgentInvoker.d.ts.map +1 -1
- package/dist/services/AgentInvoker.js +76 -37
- package/dist/services/AgentInvoker.js.map +1 -1
- package/dist/services/ClaudeErrorDetector.d.ts +1 -1
- package/dist/services/ClaudeErrorDetector.d.ts.map +1 -1
- package/dist/services/ClaudeErrorDetector.js +4 -3
- package/dist/services/ClaudeErrorDetector.js.map +1 -1
- package/dist/services/ClaudeHealthCheck.d.ts +2 -0
- package/dist/services/ClaudeHealthCheck.d.ts.map +1 -1
- package/dist/services/ClaudeHealthCheck.js +38 -12
- package/dist/services/ClaudeHealthCheck.js.map +1 -1
- package/dist/services/ConfigService.d.ts +1 -0
- package/dist/services/ConfigService.d.ts.map +1 -1
- package/dist/services/ConfigService.js.map +1 -1
- package/dist/services/DockerRunner.js +1 -1
- package/dist/services/DockerRunner.js.map +1 -1
- package/dist/services/PhaseExecutor.d.ts.map +1 -1
- package/dist/services/PhaseExecutor.js +2 -1
- package/dist/services/PhaseExecutor.js.map +1 -1
- package/dist/services/TaskRunner.d.ts.map +1 -1
- package/dist/services/TaskRunner.js +2 -1
- package/dist/services/TaskRunner.js.map +1 -1
- package/dist/types/index.d.ts +16 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/framework/.red64/settings/templates/specs/gap-analysis.md +163 -0
- package/framework/agents/claude/.claude/agents/red64/validate-gap.md +13 -7
- package/framework/agents/claude/.claude/commands/red64/validate-gap.md +4 -0
- package/framework/agents/codex/.codex/agents/red64/validate-gap.md +13 -7
- package/framework/agents/codex/.codex/commands/red64/validate-gap.md +4 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: validate-gap-agent
|
|
3
3
|
description: Analyze implementation gap between requirements and existing codebase
|
|
4
|
-
tools: Read, Grep, Glob, WebSearch, WebFetch
|
|
4
|
+
tools: Read, Write, Edit, Grep, Glob, WebSearch, WebFetch
|
|
5
5
|
model: inherit
|
|
6
6
|
color: yellow
|
|
7
7
|
---
|
|
@@ -49,6 +49,7 @@ Analyze implementation gap for feature based on approved requirements and existi
|
|
|
49
49
|
|
|
50
50
|
2. **Read Analysis Guidelines**:
|
|
51
51
|
- Read `.red64/settings/rules/gap-analysis.md` for comprehensive analysis framework
|
|
52
|
+
- Read `.red64/settings/templates/specs/gap-analysis.md` for document structure
|
|
52
53
|
|
|
53
54
|
3. **Execute Gap Analysis**:
|
|
54
55
|
- Follow gap-analysis.md framework for thorough investigation
|
|
@@ -57,11 +58,15 @@ Analyze implementation gap for feature based on approved requirements and existi
|
|
|
57
58
|
- Evaluate multiple implementation approaches (extend/new/hybrid)
|
|
58
59
|
- Use language specified in spec.json for output
|
|
59
60
|
|
|
60
|
-
4. **
|
|
61
|
-
-
|
|
61
|
+
4. **Write Analysis Document**:
|
|
62
|
+
- **Write gap analysis to `.red64/specs/{feature}/gap-analysis.md`** using the template structure
|
|
63
|
+
- Include: Requirement-to-Asset Map, Options A/B/C, Effort/Risk assessments, Recommendations
|
|
62
64
|
- Present multiple viable options with trade-offs
|
|
63
65
|
- Flag areas requiring further research
|
|
64
66
|
|
|
67
|
+
5. **Update Metadata**:
|
|
68
|
+
- Edit `.red64/specs/{feature}/spec.json` to set `phase: "gap-analyzed"` if needed
|
|
69
|
+
|
|
65
70
|
## Important Constraints
|
|
66
71
|
- **Information over Decisions**: Provide analysis and options, not final implementation choices
|
|
67
72
|
- **Multiple Options**: Present viable alternatives when applicable
|
|
@@ -69,22 +74,23 @@ Analyze implementation gap for feature based on approved requirements and existi
|
|
|
69
74
|
- **Explicit Gaps**: Clearly flag areas needing research or investigation
|
|
70
75
|
|
|
71
76
|
## Tool Guidance
|
|
72
|
-
- **Read first**: Load all context (spec, steering, rules) before analysis
|
|
77
|
+
- **Read first**: Load all context (spec, steering, rules, templates) before analysis
|
|
73
78
|
- **Grep extensively**: Search codebase for patterns, conventions, and integration points
|
|
74
79
|
- **WebSearch/WebFetch**: Research external dependencies and best practices when needed
|
|
75
|
-
- **Write last**:
|
|
80
|
+
- **Write last**: Write gap-analysis.md only after complete investigation
|
|
76
81
|
|
|
77
82
|
## Output Description
|
|
78
83
|
Provide output in the language specified in spec.json with:
|
|
79
84
|
|
|
80
85
|
1. **Analysis Summary**: Brief overview (3-5 bullets) of scope, challenges, and recommendations
|
|
81
|
-
2. **Document Status**: Confirm analysis
|
|
86
|
+
2. **Document Status**: Confirm gap-analysis.md was created at `.red64/specs/{feature}/gap-analysis.md`
|
|
82
87
|
3. **Next Steps**: Guide user on proceeding to design phase
|
|
83
88
|
|
|
84
89
|
**Format Requirements**:
|
|
85
90
|
- Use Markdown headings for clarity
|
|
86
91
|
- Keep summary concise (under 300 words)
|
|
87
|
-
-
|
|
92
|
+
- Include the full path to the generated gap-analysis.md file
|
|
93
|
+
- Detailed analysis is in the generated document
|
|
88
94
|
|
|
89
95
|
## Safety & Fallback
|
|
90
96
|
|
|
@@ -35,6 +35,10 @@ File patterns to read:
|
|
|
35
35
|
- .red64/specs/$1/requirements.md
|
|
36
36
|
- .red64/steering/*.md
|
|
37
37
|
- .red64/settings/rules/gap-analysis.md
|
|
38
|
+
- .red64/settings/templates/specs/gap-analysis.md
|
|
39
|
+
|
|
40
|
+
Output:
|
|
41
|
+
- Write gap analysis document to: .red64/specs/$1/gap-analysis.md
|
|
38
42
|
"""
|
|
39
43
|
)
|
|
40
44
|
```
|