red64-cli 0.3.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 -336
- 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/StartScreen.d.ts.map +1 -1
- package/dist/components/screens/StartScreen.js +27 -6
- 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/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 +1 -0
- 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 +4 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,436 +1,279 @@
|
|
|
1
1
|
# Red64 CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<div align="center">
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
### You can't replace 30,000 hours of experience.<br/>But you can encode it.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
<!-- TODO: Add screencast -->
|
|
7
|
+
**I taught the AI coding agent the same way I teach junior devs.**
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## Quick Start
|
|
13
|
-
|
|
14
|
-
### 1. Install
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
# Clone and install
|
|
18
|
-
git clone https://github.com/your-org/red64-cli.git
|
|
19
|
-
cd red64-cli
|
|
20
|
-
npm install
|
|
21
|
-
npm link
|
|
22
|
-
```
|
|
9
|
+
Code smells to avoid. Patterns that scale. TDD built in. Documentation required.<br/>
|
|
10
|
+
The result? Code that lives and evolves—not legacy the day it ships.
|
|
23
11
|
|
|
24
|
-
|
|
12
|
+
[](https://www.npmjs.com/package/red64-cli)
|
|
13
|
+
[](https://github.com/Red64llc/red64-cli/actions/workflows/ci.yml)
|
|
14
|
+
[](https://opensource.org/licenses/MIT)
|
|
15
|
+
[](https://red64.io/ventures)
|
|
25
16
|
|
|
26
|
-
|
|
27
|
-
cd /path/to/your/project
|
|
28
|
-
red64 init
|
|
29
|
-
```
|
|
17
|
+
[Quick Start](#-quick-start) · [Why Red64](#-why-red64) · [Features](#-features) · [Documentation](#-documentation)
|
|
30
18
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
red64 start "user-authentication" "Add login and registration with JWT tokens"
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Red64 will:
|
|
38
|
-
1. Create an isolated git worktree
|
|
39
|
-
2. Generate requirements (EARS format)
|
|
40
|
-
3. Create technical design
|
|
41
|
-
4. Break down into implementation tasks
|
|
42
|
-
5. Execute each task with commits
|
|
43
|
-
6. Complete with a ready-to-review branch
|
|
19
|
+
</div>
|
|
44
20
|
|
|
45
21
|
---
|
|
46
22
|
|
|
47
|
-
##
|
|
48
|
-
|
|
49
|
-
Red64 is a **spec-driven development orchestrator** that brings structure and determinism to AI-assisted coding. Instead of ad-hoc prompting, Red64 enforces a rigorous workflow:
|
|
50
|
-
|
|
51
|
-
```
|
|
52
|
-
Requirements → Design → Tasks → Implementation
|
|
53
|
-
↓ ↓ ↓ ↓
|
|
54
|
-
(review) (review) (review) (commits)
|
|
55
|
-
```
|
|
23
|
+
## 🎯 The Problem
|
|
56
24
|
|
|
57
|
-
|
|
25
|
+
AI coding tools write code that **works**. But it's not code a senior engineer would approve.
|
|
58
26
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
| **Atomic Commits** | One commit per task for clean history |
|
|
65
|
-
| **Sandboxed Execution** | Optional Docker isolation for safe agent execution |
|
|
66
|
-
| **Resumable Flows** | `start` auto-detects in-progress flows and offers resume |
|
|
67
|
-
| **API Health Checks** | Validates Claude API before starting (credits, auth, network) |
|
|
27
|
+
- ❌ No tests (or tests written after the fact)
|
|
28
|
+
- ❌ No documentation (good luck onboarding anyone)
|
|
29
|
+
- ❌ Silent catch blocks, useEffect data fetching, frontend-only auth checks
|
|
30
|
+
- ❌ Commit history that's just "fix" and "update" and "wip"
|
|
31
|
+
- ❌ You babysit every. single. line.
|
|
68
32
|
|
|
69
|
-
|
|
33
|
+
The code ships. Then it becomes legacy. Nobody wants to touch it in 6 months.
|
|
70
34
|
|
|
71
|
-
|
|
72
|
-
2. **Traceability**: Every code change links back to requirements and design decisions
|
|
73
|
-
3. **Quality**: Mandatory review gates prevent AI hallucinations from reaching production
|
|
74
|
-
4. **Isolation**: Git worktrees prevent work-in-progress from polluting main branch
|
|
75
|
-
5. **Efficiency**: Automate the tedious parts while keeping humans in control
|
|
35
|
+
## ✅ The Solution
|
|
76
36
|
|
|
77
|
-
|
|
37
|
+
Red64 encodes **30,000 hours of CTO experience** into AI-assisted development:
|
|
78
38
|
|
|
79
|
-
|
|
39
|
+
**What the AI learns (code quality):**
|
|
40
|
+
- Code smells to avoid (the stuff that breaks at 3 AM)
|
|
41
|
+
- Patterns that actually scale (learned from production)
|
|
42
|
+
- Stack-specific conventions (Next.js, Rails, FastAPI, etc.)
|
|
80
43
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
-
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
87
|
-
|
|
88
|
-
### From Source
|
|
89
|
-
|
|
90
|
-
```bash
|
|
91
|
-
git clone https://github.com/your-org/red64-cli.git
|
|
92
|
-
cd red64-cli
|
|
93
|
-
npm install
|
|
94
|
-
npm run build
|
|
95
|
-
npm link
|
|
96
|
-
```
|
|
44
|
+
**How the AI works (process):**
|
|
45
|
+
- Isolate every feature in a branch (git worktree)
|
|
46
|
+
- Write tests FIRST (TDD built in)
|
|
47
|
+
- Small atomic commits (one thing per commit)
|
|
48
|
+
- Document everything (requirements, design, decisions)
|
|
49
|
+
- High test coverage enforced
|
|
97
50
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
red64 --version
|
|
102
|
-
red64 help
|
|
103
|
-
```
|
|
51
|
+
**The result:** Code that lives and evolves. We've rewritten features in another language in **days** because the documentation is so complete.
|
|
104
52
|
|
|
105
53
|
---
|
|
106
54
|
|
|
107
|
-
##
|
|
108
|
-
|
|
109
|
-
### `red64 init`
|
|
110
|
-
|
|
111
|
-
Initialize Red64 in your project. Creates `.red64/` directory with steering documents.
|
|
55
|
+
## 🚀 Quick Start
|
|
112
56
|
|
|
113
57
|
```bash
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
red64 init --agent gemini # Use Gemini as coding agent
|
|
117
|
-
```
|
|
58
|
+
# Install
|
|
59
|
+
npm install -g red64-cli
|
|
118
60
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-

|
|
123
|
-
<!-- TODO: Add screenshot -->
|
|
124
|
-
|
|
125
|
-
### `red64 start <feature> <description>`
|
|
61
|
+
# Initialize in your project
|
|
62
|
+
cd /path/to/your/project
|
|
63
|
+
red64 init --stack nextjs
|
|
126
64
|
|
|
127
|
-
Start a
|
|
65
|
+
# Start a feature (interactive mode)
|
|
66
|
+
red64 start "user-auth" "Add login and registration with JWT"
|
|
128
67
|
|
|
129
|
-
|
|
130
|
-
red64 start "shopping-cart" "
|
|
68
|
+
# Or YOLO mode — no babysitting required
|
|
69
|
+
red64 start "shopping-cart" "Full cart with checkout" --sandbox -y
|
|
131
70
|
```
|
|
132
71
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
When you run `start` for a feature that's already in progress (at any phase: requirements, design, tasks, or implementation), Red64 will:
|
|
72
|
+
That's it. Red64 generates requirements → design → tests → implementation → documentation.
|
|
136
73
|
|
|
137
|
-
|
|
138
|
-
- Commit changes (WIP commit)
|
|
139
|
-
- Discard changes
|
|
140
|
-
- Cancel
|
|
74
|
+
Each phase has review checkpoints. Each task = one clean commit. Tests first. Docs included.
|
|
141
75
|
|
|
142
|
-
|
|
143
|
-
- Resume from current phase
|
|
144
|
-
- Start fresh (discard previous progress)
|
|
145
|
-
- Cancel
|
|
146
|
-
|
|
147
|
-
This means you can always use `red64 start <feature>` to continue working—no separate resume command needed.
|
|
148
|
-
|
|
149
|
-
**Flags:**
|
|
150
|
-
- `-m, --model <name>` — Model to use (e.g., `claude-3-5-haiku-latest` for dev, `claude-sonnet-4-20250514` for prod)
|
|
151
|
-
- `-y, --yes` — Auto-approve all phases (skip review gates)
|
|
152
|
-
- `-b, --brownfield` — Enable gap analysis for existing codebases
|
|
153
|
-
- `-g, --greenfield` — New feature mode (default)
|
|
154
|
-
- `-s, --skip-permissions` — Pass to Claude CLI
|
|
155
|
-
- `-t, --tier <name>` — Use specific Claude config tier
|
|
156
|
-
- `--sandbox` — Run in Docker isolation
|
|
157
|
-
- `--verbose` — Show detailed execution logs
|
|
158
|
-
|
|
159
|
-
<img width="1134" height="567" alt="Screenshot 2026-01-29 at 6 35 01 PM" src="https://github.com/user-attachments/assets/91ea478f-53de-4964-a0b2-b0f05d2bfb2b" />
|
|
76
|
+
---
|
|
160
77
|
|
|
161
|
-
|
|
78
|
+
## 🔥 YOLO Mode (No Babysitting)
|
|
162
79
|
|
|
163
|
-
|
|
80
|
+
Tired of approving every line?
|
|
164
81
|
|
|
165
82
|
```bash
|
|
166
|
-
red64
|
|
167
|
-
red64 status # Show all flows
|
|
83
|
+
red64 start "feature-name" "description" --sandbox -y
|
|
168
84
|
```
|
|
169
85
|
|
|
170
|
-
|
|
171
|
-
|
|
86
|
+
- `--sandbox` = Docker isolation (pulls image from `ghcr.io/red64llc/red64-sandbox`)
|
|
87
|
+
- `-y` = Auto-approve all phases (total autonomy)
|
|
172
88
|
|
|
173
|
-
|
|
89
|
+
**Start a feature. Go to lunch. Come back to a completed branch.**
|
|
174
90
|
|
|
175
|
-
|
|
91
|
+
This is safe because:
|
|
92
|
+
1. **Steering docs** constrain the AI to your patterns
|
|
93
|
+
2. **Sandbox** prevents system damage
|
|
94
|
+
3. **Atomic commits** make review easy after completion
|
|
95
|
+
4. **Tests are required** — no untested code ships
|
|
176
96
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
### `red64 abort <feature>`
|
|
182
|
-
|
|
183
|
-
Abort a flow and clean up resources (worktree, branch).
|
|
184
|
-
|
|
185
|
-
```bash
|
|
186
|
-
red64 abort shopping-cart
|
|
187
|
-
```
|
|
97
|
+
Other tools: "Accept this change? This one? This one?"<br/>
|
|
98
|
+
Red64 YOLO: Review the PR when it's done. Like a senior engineer delegating to a junior.
|
|
188
99
|
|
|
189
100
|
---
|
|
190
101
|
|
|
191
|
-
##
|
|
102
|
+
## 🏆 Battle-Tested
|
|
192
103
|
|
|
193
|
-
|
|
104
|
+
We built **6 production companies** with Red64 at [red64.io/ventures](https://red64.io/ventures):
|
|
194
105
|
|
|
195
|
-
|
|
106
|
+
| Company | Industry | Status |
|
|
107
|
+
|---------|----------|--------|
|
|
108
|
+
| [Saife](https://red64.io/ventures) | InsurTech | Production |
|
|
109
|
+
| [EngineValue](https://red64.io/ventures) | Engineering Scorecards | Production |
|
|
110
|
+
| [MediaPulse](https://red64.io/ventures) | Digital Presence | Production |
|
|
111
|
+
| [TheScriptMarketplace](https://red64.io/ventures) | Entertainment | Production |
|
|
112
|
+
| [QueryVault](https://red64.io/ventures) | Data Platform | Production |
|
|
113
|
+
| [KYTech](https://red64.io/ventures) | Dev Teams | Production |
|
|
196
114
|
|
|
197
|
-
|
|
115
|
+
Same tool. Same encoded experience. Now open source.
|
|
198
116
|
|
|
199
|
-
|
|
200
|
-
- Ubiquitous requirements
|
|
201
|
-
- Event-driven requirements
|
|
202
|
-
- State-driven requirements
|
|
203
|
-
- Optional features
|
|
204
|
-
- Unwanted behaviors
|
|
117
|
+
---
|
|
205
118
|
|
|
206
|
-
|
|
119
|
+
## 💡 Why Red64?
|
|
207
120
|
|
|
208
|
-
|
|
121
|
+
### The Teaching Metaphor
|
|
209
122
|
|
|
210
|
-
|
|
123
|
+
Every senior engineer has sat with a junior dev and said:
|
|
124
|
+
- *"Don't do that—it's a code smell"*
|
|
125
|
+
- *"This pattern breaks at scale"*
|
|
126
|
+
- *"Always handle this edge case"*
|
|
127
|
+
- *"Here's why we do it this way"*
|
|
211
128
|
|
|
212
|
-
|
|
213
|
-
- Architecture decisions
|
|
214
|
-
- Component design
|
|
215
|
-
- Data models
|
|
216
|
-
- API contracts
|
|
217
|
-
- File structure
|
|
129
|
+
Red64 teaches AI the same way:
|
|
218
130
|
|
|
219
|
-
|
|
131
|
+
| What Senior Engineers Do | Red64 Equivalent |
|
|
132
|
+
|--------------------------|------------------|
|
|
133
|
+
| "Here's our style guide" | `steering/tech.md` — Stack standards |
|
|
134
|
+
| "Don't do that" | Code smell guardrails |
|
|
135
|
+
| "Here's our architecture" | `steering/structure.md` — Codebase patterns |
|
|
136
|
+
| "Write tests first" | TDD built into workflow |
|
|
137
|
+
| "Document your decisions" | Auto-generated docs per feature |
|
|
138
|
+
| "One thing per PR" | Atomic commits, one task per commit |
|
|
220
139
|
|
|
221
|
-
|
|
222
|
-
- Each task is independently implementable
|
|
223
|
-
- Tasks are ordered by dependency
|
|
224
|
-
- Each task produces a commit
|
|
140
|
+
### What You Get Per Feature
|
|
225
141
|
|
|
226
|
-
|
|
142
|
+
```
|
|
143
|
+
feature-branch/
|
|
144
|
+
├── REQUIREMENTS.md # What we're building and why
|
|
145
|
+
├── DESIGN.md # How it works, architecture decisions
|
|
146
|
+
├── TASKS.md # Atomic breakdown with acceptance criteria
|
|
147
|
+
├── src/
|
|
148
|
+
│ ├── feature.ts # Implementation
|
|
149
|
+
│ └── feature.test.ts # Tests (written first)
|
|
150
|
+
└── docs/
|
|
151
|
+
└── feature.md # User-facing documentation
|
|
152
|
+
```
|
|
227
153
|
|
|
228
|
-
|
|
229
|
-
- Runs `/red64:spec-impl <feature> <task-id>`
|
|
230
|
-
- Commits after each task
|
|
231
|
-
- Checkpoints every 3 tasks (optional pause)
|
|
154
|
+
Every decision traceable. Every line has a reason.
|
|
232
155
|
|
|
233
|
-
|
|
156
|
+
---
|
|
234
157
|
|
|
235
|
-
|
|
236
|
-
- All tasks implemented
|
|
237
|
-
- Clean commit history
|
|
238
|
-
- Feature branch ready for PR
|
|
158
|
+
## 📊 Comparison
|
|
239
159
|
|
|
240
|
-
|
|
160
|
+
| Feature | Red64 | Cursor | Copilot | Claude Code | Gemini CLI | Aider |
|
|
161
|
+
|---------|:-----:|:------:|:-------:|:-----------:|:----------:|:-----:|
|
|
162
|
+
| **30K hours expertise encoded** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
163
|
+
| **Autonomous mode** | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
164
|
+
| **Sandboxed execution** | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ |
|
|
165
|
+
| **MCP support** | ✅ | ⚠️ | ✅ | ✅ | ✅ | ❌ |
|
|
166
|
+
| **TDD enforced (tests first)** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
167
|
+
| **High coverage enforced** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
168
|
+
| **Auto-generates docs** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
169
|
+
| **Git worktree isolation** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
170
|
+
| **Atomic commits enforced** | ✅ | ❌ | ❌ | ❌ | ❌ | ✅ |
|
|
171
|
+
| **Phase gates with review** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
172
|
+
| **Code smell guardrails** | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
173
|
+
| **Resumable multi-step flows** | ✅ | ❌ | ❌ | ✅ | ❌ | ⚠️ |
|
|
174
|
+
| **Multi-model support** | ✅ | ✅ | ✅ | ❌ | ❌ | ✅ |
|
|
175
|
+
| **Battle-tested (production)** | ✅ 6 cos | N/A | N/A | N/A | N/A | N/A |
|
|
241
176
|
|
|
242
|
-
|
|
177
|
+
**Key:** ✅ = Built-in & enforced | ⚠️ = Partial/Optional | ❌ = Not available
|
|
243
178
|
|
|
244
|
-
|
|
245
|
-
|---------|-------|----------------|-------|-------------|
|
|
246
|
-
| **Spec-driven workflow** | Yes | No | No | No |
|
|
247
|
-
| **Phase gates** | Yes | No | No | No |
|
|
248
|
-
| **Git worktree isolation** | Yes | No | No | No |
|
|
249
|
-
| **Atomic commits per task** | Yes | No | Yes | No |
|
|
250
|
-
| **Requirements generation** | Yes | No | No | No |
|
|
251
|
-
| **Design documents** | Yes | No | No | No |
|
|
252
|
-
| **Resumable flows** | Yes | No | Partial | No |
|
|
253
|
-
| **Docker sandboxing** | Yes | No | No | Yes |
|
|
254
|
-
| **IDE integration** | No | Yes | Partial | Yes |
|
|
255
|
-
| **Real-time editing** | No | Yes | Yes | Yes |
|
|
179
|
+
> **The difference:** Other tools have autonomous modes. Red64 has autonomous mode **plus** the encoded expertise and enforced process that produces production-quality code.
|
|
256
180
|
|
|
257
|
-
### When to
|
|
181
|
+
### When to Use Red64
|
|
258
182
|
|
|
259
|
-
**Use Red64 when:**
|
|
183
|
+
✅ **Use Red64 when:**
|
|
260
184
|
- Building complete features (not quick fixes)
|
|
261
|
-
- You
|
|
262
|
-
-
|
|
263
|
-
- You
|
|
264
|
-
- You
|
|
185
|
+
- You want code with tests, docs, and clean history
|
|
186
|
+
- You need to walk away and let AI work autonomously
|
|
187
|
+
- You're tired of babysitting every line
|
|
188
|
+
- You want code that's safe to refactor
|
|
265
189
|
|
|
266
|
-
**Use other tools when:**
|
|
190
|
+
❌ **Use other tools when:**
|
|
267
191
|
- Making quick, single-file edits
|
|
192
|
+
- You want real-time IDE autocomplete
|
|
268
193
|
- Exploring or prototyping ideas
|
|
269
|
-
- You need real-time IDE integration
|
|
270
|
-
- Working on bug fixes without spec requirements
|
|
271
|
-
|
|
272
|
-
---
|
|
273
|
-
|
|
274
|
-
## Limitations
|
|
275
|
-
|
|
276
|
-
### Current Limitations
|
|
277
|
-
|
|
278
|
-
1. **No IDE integration** — Red64 is CLI-only; no VS Code or JetBrains plugins yet
|
|
279
|
-
2. **Sequential execution** — Tasks run one at a time, no parallelization
|
|
280
|
-
3. **No incremental changes** — Regenerating a phase replaces previous output entirely
|
|
281
|
-
4. **English-centric** — Prompts and templates are English-only (configurable per spec)
|
|
282
|
-
|
|
283
|
-
### Known Issues
|
|
284
|
-
|
|
285
|
-
- Large codebases may hit context limits during design phase
|
|
286
|
-
- Docker sandbox requires pre-built image (`docker build -f Dockerfile.sandbox -t red64-sandbox:latest .`)
|
|
287
|
-
- Some UI frameworks may not render correctly in all terminals
|
|
288
|
-
|
|
289
|
-
### Roadmap
|
|
290
|
-
|
|
291
|
-
- [ ] VS Code extension
|
|
292
|
-
- [ ] Parallel task execution
|
|
293
|
-
- [ ] Incremental phase editing
|
|
294
|
-
- [ ] Web dashboard for flow monitoring
|
|
295
194
|
|
|
296
195
|
---
|
|
297
196
|
|
|
298
|
-
##
|
|
299
|
-
|
|
300
|
-
```
|
|
301
|
-
.red64/
|
|
302
|
-
├── specs/ # Feature specifications
|
|
303
|
-
│ └── <feature>/
|
|
304
|
-
│ ├── spec.json # Spec metadata
|
|
305
|
-
│ ├── requirements.md # EARS requirements
|
|
306
|
-
│ ├── design.md # Technical design
|
|
307
|
-
│ └── tasks.md # Implementation tasks
|
|
308
|
-
├── flows/ # Flow state and logs
|
|
309
|
-
│ └── <feature>/
|
|
310
|
-
│ ├── state.json # Current flow state
|
|
311
|
-
│ └── flow.log # Execution log
|
|
312
|
-
└── steering/ # Project-wide guidance
|
|
313
|
-
├── product.md # Product context
|
|
314
|
-
├── tech.md # Technical standards
|
|
315
|
-
└── structure.md # Codebase structure
|
|
316
|
-
```
|
|
197
|
+
## ⚡ Features
|
|
317
198
|
|
|
318
|
-
###
|
|
199
|
+
### MCP Support (Model Context Protocol)
|
|
319
200
|
|
|
320
|
-
|
|
201
|
+
Connect AI to your actual environment:
|
|
321
202
|
|
|
203
|
+
```bash
|
|
204
|
+
red64 init --mcp
|
|
322
205
|
```
|
|
323
|
-
~/projects/
|
|
324
|
-
├── my-project/ # Main repository (unchanged)
|
|
325
|
-
│ ├── .git/
|
|
326
|
-
│ ├── .red64/
|
|
327
|
-
│ ├── src/
|
|
328
|
-
│ └── package.json
|
|
329
|
-
└── my-project.worktrees/ # Worktrees directory (sibling)
|
|
330
|
-
├── user-authentication/ # feature/user-authentication branch
|
|
331
|
-
│ ├── .red64/
|
|
332
|
-
│ ├── src/
|
|
333
|
-
│ └── package.json
|
|
334
|
-
└── shopping-cart/ # feature/shopping-cart branch
|
|
335
|
-
├── .red64/
|
|
336
|
-
├── src/
|
|
337
|
-
└── package.json
|
|
338
|
-
```
|
|
339
|
-
|
|
340
|
-
**Benefits of sibling worktrees:**
|
|
341
|
-
- Main repository stays clean (no `.gitignore` needed for worktrees)
|
|
342
|
-
- No nested `.git` references inside the working tree
|
|
343
|
-
- Better IDE and tool compatibility
|
|
344
|
-
- Clear separation between main work and feature isolation
|
|
345
|
-
- Easy to see all active features at a glance
|
|
346
|
-
|
|
347
|
-
---
|
|
348
206
|
|
|
349
|
-
|
|
207
|
+
- Query your database schema
|
|
208
|
+
- Read from your documentation
|
|
209
|
+
- Access external APIs
|
|
210
|
+
- Use custom tools you define
|
|
350
211
|
|
|
351
|
-
###
|
|
352
|
-
|
|
353
|
-
Customize AI behavior by editing `.red64/steering/`:
|
|
354
|
-
|
|
355
|
-
- **product.md** — Product vision, user personas, business rules
|
|
356
|
-
- **tech.md** — Tech stack, coding standards, patterns to use/avoid
|
|
357
|
-
- **structure.md** — Codebase organization, file naming conventions
|
|
212
|
+
### Multi-Agent Support
|
|
358
213
|
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
Red64 supports multiple coding agents. Set the agent at init time:
|
|
214
|
+
Use your preferred AI:
|
|
362
215
|
|
|
363
216
|
```bash
|
|
364
|
-
red64 init --agent claude # Default
|
|
217
|
+
red64 init --agent claude # Default
|
|
365
218
|
red64 init --agent gemini # Google Gemini
|
|
366
219
|
red64 init --agent codex # OpenAI Codex
|
|
367
220
|
```
|
|
368
221
|
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
### Model Selection
|
|
222
|
+
### Smart Resume
|
|
372
223
|
|
|
373
|
-
|
|
224
|
+
Interrupted? Just run `start` again:
|
|
374
225
|
|
|
375
226
|
```bash
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
red64 start "feature" "desc" --model gemini-2.0-flash
|
|
379
|
-
red64 start "feature" "desc" --model gpt-4o-mini
|
|
380
|
-
|
|
381
|
-
# Production (best quality models)
|
|
382
|
-
red64 start "feature" "desc" --model claude-sonnet-4-20250514
|
|
383
|
-
red64 start "feature" "desc" --model gemini-2.5-pro
|
|
384
|
-
red64 start "feature" "desc" --model o1
|
|
227
|
+
red64 start "shopping-cart" "..."
|
|
228
|
+
# Detects in-progress flow, offers to resume
|
|
385
229
|
```
|
|
386
230
|
|
|
387
|
-
|
|
388
|
-
|-------|-------------|-------------|
|
|
389
|
-
| Claude | `claude-3-5-haiku-latest` | `claude-sonnet-4-20250514` |
|
|
390
|
-
| Gemini | `gemini-2.0-flash` | `gemini-2.5-pro` |
|
|
391
|
-
| Codex | `gpt-4o-mini` | `o1` |
|
|
392
|
-
|
|
393
|
-
### Claude Tiers
|
|
231
|
+
### Steering Documents
|
|
394
232
|
|
|
395
|
-
|
|
233
|
+
Customize AI behavior in `.red64/steering/`:
|
|
396
234
|
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
```
|
|
235
|
+
- **product.md** — Product vision, user personas
|
|
236
|
+
- **tech.md** — Stack standards, code smells to avoid
|
|
237
|
+
- **structure.md** — Codebase organization
|
|
401
238
|
|
|
402
239
|
---
|
|
403
240
|
|
|
404
|
-
##
|
|
405
|
-
|
|
406
|
-
### Run in development mode
|
|
407
|
-
|
|
408
|
-
```bash
|
|
409
|
-
npm run dev -- start my-feature "Feature description"
|
|
410
|
-
```
|
|
241
|
+
## 📖 Documentation
|
|
411
242
|
|
|
412
|
-
|
|
243
|
+
- [Full Documentation](./docs/README.md)
|
|
244
|
+
- [Steering Document Guide](./docs/steering.md)
|
|
245
|
+
- [Configuration Reference](./docs/configuration.md)
|
|
246
|
+
- [Troubleshooting](./docs/troubleshooting.md)
|
|
413
247
|
|
|
414
|
-
|
|
415
|
-
npm test
|
|
416
|
-
npm run test:ui
|
|
417
|
-
```
|
|
248
|
+
---
|
|
418
249
|
|
|
419
|
-
|
|
250
|
+
## 🛠 Commands
|
|
420
251
|
|
|
421
252
|
```bash
|
|
422
|
-
|
|
253
|
+
red64 init # Initialize Red64 in your project
|
|
254
|
+
red64 start <feature> <desc> # Start a new feature
|
|
255
|
+
red64 start ... --sandbox -y # YOLO mode (autonomous)
|
|
256
|
+
red64 status [feature] # Check flow status
|
|
257
|
+
red64 list # List all active flows
|
|
258
|
+
red64 abort <feature> # Abort and clean up
|
|
423
259
|
```
|
|
424
260
|
|
|
425
|
-
###
|
|
261
|
+
### Flags
|
|
426
262
|
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
263
|
+
| Flag | Description |
|
|
264
|
+
|------|-------------|
|
|
265
|
+
| `-y, --yes` | Auto-approve all phases (YOLO mode) |
|
|
266
|
+
| `--sandbox` | Run in Docker isolation (uses GHCR image by default) |
|
|
267
|
+
| `--local-image` | Build and use local sandbox image instead of GHCR (init only) |
|
|
268
|
+
| `-m, --model` | Override AI model |
|
|
269
|
+
| `-a, --agent` | Set coding agent (claude/gemini/codex) |
|
|
270
|
+
| `--verbose` | Show detailed logs |
|
|
430
271
|
|
|
431
272
|
---
|
|
432
273
|
|
|
433
|
-
## Contributing
|
|
274
|
+
## 🤝 Contributing
|
|
275
|
+
|
|
276
|
+
We'd love your help encoding more production wisdom:
|
|
434
277
|
|
|
435
278
|
1. Fork the repository
|
|
436
279
|
2. Create a feature branch
|
|
@@ -438,16 +281,23 @@ npm run type-check
|
|
|
438
281
|
4. Run tests: `npm test`
|
|
439
282
|
5. Submit a pull request
|
|
440
283
|
|
|
284
|
+
**What we're looking for:**
|
|
285
|
+
- More code smells to catch
|
|
286
|
+
- Stack-specific best practices
|
|
287
|
+
- Bug fixes and improvements
|
|
288
|
+
|
|
441
289
|
---
|
|
442
290
|
|
|
443
|
-
## License
|
|
291
|
+
## 📜 License
|
|
444
292
|
|
|
445
|
-
MIT
|
|
293
|
+
MIT — Built by [Yacin Bahi](mailto:yacin@red64.io) at [Red64.io](https://red64.io)
|
|
446
294
|
|
|
447
295
|
---
|
|
448
296
|
|
|
449
|
-
|
|
297
|
+
<div align="center">
|
|
298
|
+
|
|
299
|
+
### The code isn't the asset.<br/>The documentation + tests + history is the asset.<br/>The code is just the current implementation.
|
|
300
|
+
|
|
301
|
+
**[⭐ Star this repo](https://github.com/Red64llc/red64-cli)** if you believe AI should write code like a senior engineer.
|
|
450
302
|
|
|
451
|
-
|
|
452
|
-
- Inspired by spec-driven development and EARS requirements methodology
|
|
453
|
-
- Uses [Ink](https://github.com/vadimdemedes/ink) for terminal UI
|
|
303
|
+
</div>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseArgs.d.ts","sourceRoot":"","sources":["../../src/cli/parseArgs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAqC,MAAM,mBAAmB,CAAC;AAatF;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"parseArgs.d.ts","sourceRoot":"","sources":["../../src/cli/parseArgs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAqC,MAAM,mBAAmB,CAAC;AAatF;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,SAAS,CA0G5D;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,QAyBd,CAAC"}
|