the-grid-cc 1.5.0 → 1.6.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 CHANGED
@@ -1,14 +1,14 @@
1
1
  # THE GRID
2
2
 
3
3
  <p align="center">
4
- <strong>Stop context-switching. Start orchestrating.</strong>
4
+ <strong>From install to shipping features: 5 minutes.</strong>
5
5
  <br>
6
- Multi-agent orchestration for Claude Code that keeps your main context clean
6
+ Multi-agent orchestration for Claude Code that keeps your context clean
7
7
  </p>
8
8
 
9
9
  <p align="center">
10
- <a href="#quick-start">Quick Start</a> •
11
- <a href="#how-it-works">How It Works</a> •
10
+ <a href="#your-first-session">First Session</a> •
11
+ <a href="#three-modes">Three Modes</a> •
12
12
  <a href="#commands">Commands</a> •
13
13
  <a href="#faq">FAQ</a>
14
14
  </p>
@@ -38,26 +38,25 @@ You're building something complex in Claude Code. Your context window fills up.
38
38
 
39
39
  ## The Solution
40
40
 
41
- The Grid keeps **Master Control** lean while **Programs** (subagents) handle heavy work in fresh contexts.
41
+ The Grid spawns fresh subagents for heavy work while keeping your main conversation focused on goals.
42
42
 
43
43
  ```
44
- YOU ←→ Master Control ←→ Programs
44
+ YOU ←→ Coordinator ←→ Worker Agents
45
45
 
46
- Context stays clean
47
- Heavy lifting happens in subagents
48
- Master Control remembers your goals
46
+ Your context stays clean (~15%)
47
+ Workers get fresh 200k windows
48
+ Coordinator remembers your goals
49
49
  ```
50
50
 
51
- Think of it like this:
52
- - **Without Grid**: You're a CEO doing every task yourself until exhausted
53
- - **With Grid**: You're a CEO delegating to specialized teams who report back
51
+ **Without Grid**: One exhausted conversation doing everything
52
+ **With Grid**: Focused coordinator delegating to specialized workers
54
53
 
55
54
  ---
56
55
 
57
56
  ## Quick Start
58
57
 
59
58
  ```bash
60
- # Install (30 seconds)
59
+ # Install (30 seconds, works on macOS/Linux/Windows+WSL)
61
60
  npx the-grid-cc
62
61
  ```
63
62
 
@@ -67,100 +66,101 @@ Then in Claude Code:
67
66
  /grid
68
67
  ```
69
68
 
70
- Master Control activates. Describe what you want. Watch the orchestration happen.
69
+ That's it. Describe what you want to build.
70
+
71
+ ---
72
+
73
+ ## Your First Session
74
+
75
+ Here's exactly what happens when you use The Grid for the first time:
71
76
 
72
- **Example session:**
73
77
  ```
74
- > /grid
78
+ YOU: /grid
75
79
 
76
- THE GRID
77
- ════════
80
+ GRID: THE GRID
81
+ ════════
78
82
 
79
- Master Control online.
83
+ Master Control online.
80
84
 
81
- What would you like to build?
85
+ What would you like to build?
82
86
 
83
- > Build a REST API with user authentication
87
+ YOU: A REST API with user authentication
84
88
 
85
- How involved do you want to be?
89
+ GRID: How involved do you want to be?
86
90
 
87
- HANDS OFF - I make all decisions. You see the finished result.
88
- HANDS ON - We discuss choices together.
91
+ AUTOPILOT - I handle everything. Zero questions.
92
+ GUIDED - I drive, ask only when essential.
93
+ HANDS ON - We decide together.
89
94
 
90
- > hands off
95
+ YOU: autopilot
91
96
 
92
- [Master Control spawns Planner → creates execution plan]
93
- [Master Control spawns Executors → implements code]
94
- [Recognizer verifiesconfirms quality]
97
+ GRID: Building...
98
+ ├─ Analyzing requirements
99
+ ├─ Spawning Planner creating execution plan
100
+ ├─ Spawning Executors → implementing code (parallel)
101
+ │ ├─ executor-1: Setting up Express + TypeScript
102
+ │ ├─ executor-2: Creating auth routes + JWT
103
+ │ └─ executor-3: Writing tests
104
+ ├─ Spawning Recognizer → verifying quality
105
+ └─ Running Refinement Swarm
106
+ ├─ Visual: checked all routes
107
+ ├─ E2E: tested login/logout flows
108
+ └─ Personas: simulated "new user" experience
95
109
 
96
- BUILD COMPLETE
97
- ══════════════
110
+ BUILD COMPLETE
111
+ ══════════════
98
112
 
99
- Project: auth-api
100
- Stack: Express + TypeScript + JWT
101
- Files: 12 created
102
- Tests: All passing
113
+ Project: auth-api
114
+ Stack: Express + TypeScript + JWT + Prisma
115
+ Files: 14 created
116
+ Tests: 12 passing
103
117
 
104
- End of Line.
118
+ Ready to use. End of Line.
105
119
  ```
106
120
 
121
+ **Time from `/grid` to working code: ~10-15 minutes** (depending on complexity)
122
+
123
+ **Your context usage: ~15%** (workers did the heavy lifting)
124
+
107
125
  ---
108
126
 
109
- ## Why The Grid?
127
+ ## Three Modes
110
128
 
111
- **Without The Grid:**
112
- ```
113
- Your context window: ██████████████████████ 95%
129
+ | Mode | You Do | Grid Does | Best For |
130
+ |------|--------|-----------|----------|
131
+ | **AUTOPILOT** | Describe goal | Everything else | "Just build it" |
132
+ | **GUIDED** | Answer rare questions | Drive + decide | Most projects |
133
+ | **HANDS ON** | Make key decisions | Present options | Learning / control |
114
134
 
115
- You're debugging a test...
116
- Claude forgot the API structure...
117
- You lost track of the schema...
118
- Time to "start fresh"...
119
- ```
135
+ ### AUTOPILOT
136
+ Zero questions. You describe what you want, Grid figures out users, tech stack, architecture. You see finished code.
120
137
 
121
- **With The Grid:**
122
- ```
123
- Master Control context: ███░░░░░░░░░░░░░░░░░░░ 15%
138
+ ### GUIDED
139
+ Grid drives but asks when genuinely ambiguous: "This could be a blog or a docs site - which?" Then builds.
124
140
 
125
- Programs handle specific tasks
126
- Each gets fresh context
127
- Master Control tracks progress
128
- Goals never forgotten
129
- ```
141
+ ### HANDS ON
142
+ Collaborative. Grid proposes, you approve. More control, more questions.
130
143
 
131
144
  ---
132
145
 
133
146
  ## How It Works
134
147
 
135
148
  ```
136
- +============================================================+
137
- | |
138
- | M A S T E R C O N T R O L P R O G R A M |
139
- | |
140
- | Your single interface. Orchestrates everything. |
141
- | |
142
- +============================================================+
143
-
144
- Spawns specialized Programs:
145
-
146
- ┌──────────────────┴──────────────────┐
147
- ↓ ↓ ↓
148
- [PLANNER] [EXECUTOR] [RECOGNIZER]
149
- Decomposes work Implements code Verifies quality
149
+ ┌─────────────────────────────────────────────────────────────┐
150
+ │ MASTER CONTROL (Coordinator) │
151
+ Your single interface. Stays lean. Remembers goals. │
152
+ └─────────────────────────────────────────────────────────────┘
153
+
154
+ Spawns specialized workers:
155
+
156
+ ┌─────────────┬─────────────┬─────────────┬─────────────┐
157
+ ↓ ↓ ↓ ↓ ↓
158
+ PLANNER EXECUTOR RECOGNIZER VISUAL PERSONA
159
+ Breaks down Writes code Verifies Checks UI Simulates
160
+ the work + commits quality visually real users
150
161
  ```
151
162
 
152
- | Program | Role |
153
- |---------|------|
154
- | **Master Control** | Your sole interface - orchestrates everything |
155
- | **Planner** | Decomposes work into executable chunks |
156
- | **Executor** | Writes code, makes commits |
157
- | **Recognizer** | Patrols code, verifies goals met |
158
-
159
- ### Two Modes
160
-
161
- **HANDS OFF**: Master Control makes all decisions. You describe what you want, you get working code. No framework debates. No folder structure discussions.
162
-
163
- **HANDS ON**: Collaborate on choices. Master Control asks for input at key decision points.
163
+ **Workers = subagents with fresh context.** They do heavy lifting, report back, terminate. Your main conversation stays focused.
164
164
 
165
165
  ---
166
166
 
@@ -168,89 +168,145 @@ Decomposes work Implements code Verifies quality
168
168
 
169
169
  | Command | What It Does |
170
170
  |---------|-------------|
171
- | `/grid` | Enter The Grid |
172
- | `/grid:status` | See context usage, current progress |
173
- | `/grid:update` | Pull latest from npm |
171
+ | `/grid` | Start The Grid |
172
+ | `/grid:refine` | Test your app (visual + E2E + personas) |
173
+ | `/grid:debug` | Systematic bug investigation |
174
+ | `/grid:status` | See current progress |
175
+ | `/grid:update` | Pull latest version |
174
176
  | `/grid:help` | Full command reference |
175
177
 
176
- ### Status Bar
177
-
178
- The Grid adds a context meter to Claude Code:
179
-
180
- ```
181
- Master Control ░░░░░░░░░░ 0% ← Fresh
182
- Master Control █████░░░░░ 50% ← Working
183
- Master Control █████████░ 90% ← Time to delegate
184
- ```
185
-
186
178
  ---
187
179
 
188
180
  ## State Persistence
189
181
 
190
- The Grid maintains state in `.grid/`:
182
+ Grid saves state locally in `.grid/`:
191
183
 
192
184
  ```
193
185
  .grid/
194
- ├── STATE.md # Current progress, decisions made
195
- ├── clusters/ # Feature decomposition plans
196
- └── discs/ # Program memory/context
186
+ ├── STATE.md # Current progress
187
+ ├── LEARNINGS.md # Patterns from past projects
188
+ ├── REFINEMENT_PLAN.md # Issues found during testing
189
+ └── phases/ # Execution plans
197
190
  ```
198
191
 
199
- Start a session. Close your terminal. Come back later. Master Control picks up where you left off.
192
+ **Close your terminal. Come back tomorrow. Grid picks up where you left off.**
193
+
194
+ > **Tip:** Add `.grid/` to your `.gitignore` - it's local working state, not project code.
200
195
 
201
196
  ---
202
197
 
203
198
  ## FAQ
204
199
 
205
200
  <details>
206
- <summary><strong>How is this different from just asking Claude to use subagents?</strong></summary>
201
+ <summary><strong>How much does this cost in API tokens?</strong></summary>
202
+
203
+ Grid uses more API calls (multiple workers), but each call is *smaller* because contexts stay clean. In practice:
204
+
205
+ - **Simple feature**: ~same tokens as manual Claude session
206
+ - **Complex build**: Often *fewer* total tokens (no context bloat, no "remind me what we're building")
207
+ - **Refinement Swarm**: Adds ~20-30% more tokens for visual/E2E/persona testing
208
+
209
+ The Grid is free and open source. You pay normal Claude API costs.
210
+ </details>
211
+
212
+ <details>
213
+ <summary><strong>What if something goes wrong?</strong></summary>
207
214
 
208
- Without The Grid, you manually manage when to spawn subagents, what context to pass, how to integrate their work. The Grid handles all of that for you.
215
+ **Worker fails mid-task:**
216
+ - State is saved in `.grid/`
217
+ - Run `/grid` again - it resumes from last checkpoint
218
+ - Or delete `.grid/` to start fresh
219
+
220
+ **Worker makes a mistake:**
221
+ - Recognizer catches most issues automatically
222
+ - If something slips through, describe the problem and Grid spawns a fix
223
+
224
+ **Grid gets confused:**
225
+ - `/grid:status` shows current state
226
+ - You can always override: "Stop. Let's do X instead."
227
+
228
+ **Nuclear option:**
229
+ - Delete `.grid/` folder
230
+ - Start fresh with `/grid`
209
231
  </details>
210
232
 
211
233
  <details>
212
- <summary><strong>Will this use more API tokens?</strong></summary>
234
+ <summary><strong>How is this different from just opening multiple Claude tabs?</strong></summary>
235
+
236
+ You *could* manually manage multiple conversations, copy context between them, track what each is doing, merge their outputs...
213
237
 
214
- Yes, but strategically. Instead of burning tokens on a bloated context window, you use multiple focused conversations. Total token count is often *lower* because each Program operates efficiently.
238
+ Grid does all that automatically:
239
+ - Knows what context each worker needs
240
+ - Tracks progress across workers
241
+ - Merges results coherently
242
+ - Maintains your original goals throughout
243
+
244
+ It's the difference between being a CEO who delegates vs. a CEO who runs between desks doing everything.
215
245
  </details>
216
246
 
217
247
  <details>
218
- <summary><strong>What if a Program makes a mistake?</strong></summary>
248
+ <summary><strong>Does it work on Windows?</strong></summary>
249
+
250
+ Yes, via WSL (Windows Subsystem for Linux). Native Windows support is untested but may work.
219
251
 
220
- Recognizers patrol and report issues back to Master Control. Master Control spawns corrective Programs. You stay informed when needed.
252
+ Confirmed working:
253
+ - macOS (Intel + Apple Silicon)
254
+ - Linux (Ubuntu, Debian, Arch)
255
+ - Windows + WSL2
256
+ </details>
257
+
258
+ <details>
259
+ <summary><strong>Can I use this with my existing Claude Code setup?</strong></summary>
260
+
261
+ Yes. Grid adds commands (`/grid`, `/grid:refine`, etc.) but doesn't modify your existing prompts or workflows. Use it when you want orchestration, use normal Claude when you don't.
221
262
  </details>
222
263
 
223
264
  <details>
224
265
  <summary><strong>Why the TRON theme?</strong></summary>
225
266
 
226
- The metaphor maps naturally: Master Control orchestrates, Programs execute, Recognizers verify. It's also fun. "End of Line."
267
+ The metaphor fits: Master Control orchestrates, Programs execute tasks, Recognizers verify quality. Plus it's fun. You can ignore it entirely - the tool works the same regardless of theme.
268
+ </details>
269
+
270
+ <details>
271
+ <summary><strong>What's the learning curve?</strong></summary>
272
+
273
+ Minimal:
274
+ 1. Install: `npx the-grid-cc` (30 seconds)
275
+ 2. Start: `/grid` (instant)
276
+ 3. Describe what you want (you already know how)
277
+ 4. Pick a mode (AUTOPILOT if unsure)
278
+
279
+ Most users are productive in their first session.
227
280
  </details>
228
281
 
229
282
  ---
230
283
 
231
- ## Contributing
284
+ ## Glossary (Optional)
232
285
 
233
- The Grid is a collaborative project by **James Weatherhead & Claude**.
286
+ Grid uses some themed terminology. Here's the plain-English translation:
287
+
288
+ | Grid Term | Plain English |
289
+ |-----------|---------------|
290
+ | Master Control | Coordinator agent (your main conversation) |
291
+ | Program | Worker agent (subagent doing a specific task) |
292
+ | Recognizer | Quality checker (verifies work meets goals) |
293
+ | Refinement Swarm | Testing suite (visual, E2E, persona simulation) |
234
294
 
235
- Issues and PRs welcome.
295
+ You don't need to memorize these. Grid explains what it's doing as it works.
236
296
 
237
297
  ---
238
298
 
239
- ## License
299
+ ## Contributing
240
300
 
241
- MIT License. See [LICENSE](LICENSE) for details.
301
+ The Grid is a collaborative project by **James Weatherhead & Claude**.
302
+
303
+ Issues and PRs welcome at [github.com/JamesWeatherhead/grid](https://github.com/JamesWeatherhead/grid).
242
304
 
243
305
  ---
244
306
 
245
- ## Star History
307
+ ## License
246
308
 
247
- <a href="https://star-history.com/#JamesWeatherhead/grid&Date">
248
- <picture>
249
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date&theme=dark" />
250
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date" />
251
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=JamesWeatherhead/grid&type=Date" />
252
- </picture>
253
- </a>
309
+ MIT License. See [LICENSE](LICENSE) for details.
254
310
 
255
311
  ---
256
312
 
@@ -1 +1 @@
1
- 1.5.0
1
+ 1.6.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "the-grid-cc",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "Agent orchestration for Claude Code. You talk to Master Control. Master Control handles the rest.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/.grid/STATE.md DELETED
@@ -1,22 +0,0 @@
1
- # THE GRID - State File
2
-
3
- ## CLUSTER: React Todo App
4
- **Status:** COMPLETE
5
- **Energy:** 9000
6
- **Created:** 2026-01-23
7
-
8
- ## BLOCKS
9
-
10
- ### BLOCK: Core Application
11
- | Thread | Status |
12
- |--------|--------|
13
- | Initialize React project | COMPLETE |
14
- | Create Todo components | COMPLETE |
15
- | Implement add/delete/toggle | COMPLETE |
16
- | Add styling | COMPLETE |
17
-
18
- ## ACTIVE PROGRAMS
19
- None - All Programs derezzed
20
-
21
- ## I/O TOWER
22
- Cluster complete. Awaiting User.