the-grid-cc 1.3.0 → 1.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/.grid/plans/blog-PLAN-SUMMARY.md +518 -0
- package/.grid/plans/blog-block-03.md +253 -0
- package/.grid/plans/blog-block-04.md +287 -0
- package/.grid/plans/blog-block-05.md +235 -0
- package/.grid/plans/blog-block-06.md +325 -0
- package/DEMO_SCRIPT.md +162 -0
- package/HN_POST.md +104 -0
- package/README.md +157 -112
- package/agents/grid-e2e-exerciser.md +311 -0
- package/agents/grid-persona-simulator.md +346 -0
- package/agents/grid-refinement-synth.md +284 -0
- package/agents/grid-visual-inspector.md +229 -0
- package/commands/grid/VERSION +1 -1
- package/commands/grid/help.md +22 -3
- package/commands/grid/mc.md +208 -43
- package/commands/grid/refine.md +283 -0
- package/package.json +1 -1
- package/test-cli/converter.py +206 -0
- package/test-cli/test_data.json +39 -0
- package/test-cli/test_data.yaml +35 -0
package/DEMO_SCRIPT.md
ADDED
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# THE GRID - Demo Recording Script
|
|
2
|
+
|
|
3
|
+
## Target: 60-second GIF/Video for README
|
|
4
|
+
|
|
5
|
+
### Setup Before Recording
|
|
6
|
+
- Clean terminal (black background, cyan/white text if possible)
|
|
7
|
+
- Font size large enough to read
|
|
8
|
+
- Window sized to ~800x600
|
|
9
|
+
- Clear any previous .grid/ state
|
|
10
|
+
- Have `asciinema` or screen recording ready
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## THE SCRIPT
|
|
15
|
+
|
|
16
|
+
### Scene 1: The Hook (5 seconds)
|
|
17
|
+
```
|
|
18
|
+
$ claude
|
|
19
|
+
```
|
|
20
|
+
*Wait for Claude Code to load*
|
|
21
|
+
|
|
22
|
+
### Scene 2: Enter The Grid (5 seconds)
|
|
23
|
+
```
|
|
24
|
+
/grid
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**Expected Output:**
|
|
28
|
+
```
|
|
29
|
+
THE GRID
|
|
30
|
+
════════
|
|
31
|
+
|
|
32
|
+
Master Control online.
|
|
33
|
+
|
|
34
|
+
What would you like to build?
|
|
35
|
+
|
|
36
|
+
End of Line.
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Scene 3: The Ask (5 seconds)
|
|
40
|
+
Type:
|
|
41
|
+
```
|
|
42
|
+
Build me a CLI that analyzes a GitHub repo and shows contributor stats
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Scene 4: Mode Selection (5 seconds)
|
|
46
|
+
**Expected Output:**
|
|
47
|
+
```
|
|
48
|
+
How involved do you want to be?
|
|
49
|
+
|
|
50
|
+
HANDS OFF - I make all decisions and build it. You see the finished result.
|
|
51
|
+
HANDS ON - We discuss choices together before building.
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Type:
|
|
55
|
+
```
|
|
56
|
+
hands off
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
### Scene 5: The Magic (30 seconds)
|
|
60
|
+
*Let it run - this is the money shot*
|
|
61
|
+
|
|
62
|
+
**What viewers should see:**
|
|
63
|
+
- "Researching best practices..."
|
|
64
|
+
- "Spawning Planner Program..."
|
|
65
|
+
- Task(Plan github-analyzer) with tool uses expanding
|
|
66
|
+
- Multiple agents potentially spawning
|
|
67
|
+
- Files being created
|
|
68
|
+
- Tests running
|
|
69
|
+
|
|
70
|
+
*Speed this up 2-4x in post if needed*
|
|
71
|
+
|
|
72
|
+
### Scene 6: The Result (10 seconds)
|
|
73
|
+
**Expected Output:**
|
|
74
|
+
```
|
|
75
|
+
BUILD COMPLETE
|
|
76
|
+
══════════════
|
|
77
|
+
|
|
78
|
+
Project: github-analyzer
|
|
79
|
+
Stack: Python 3 + requests + rich
|
|
80
|
+
Files:
|
|
81
|
+
- analyzer.py (CLI tool)
|
|
82
|
+
- README.md
|
|
83
|
+
|
|
84
|
+
Usage: python analyzer.py <repo-url>
|
|
85
|
+
|
|
86
|
+
[Shows example output]
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Type:
|
|
90
|
+
```
|
|
91
|
+
python analyzer.py https://github.com/anthropics/claude-code
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
*Show it actually working*
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## ALTERNATIVE DEMOS (Pick most impressive)
|
|
99
|
+
|
|
100
|
+
### Option B: Full-Stack in 2 Minutes
|
|
101
|
+
```
|
|
102
|
+
Build a todo app with React frontend and Express API
|
|
103
|
+
```
|
|
104
|
+
- Shows parallel agent spawning
|
|
105
|
+
- Multiple files created
|
|
106
|
+
- Actually runs
|
|
107
|
+
|
|
108
|
+
### Option C: The Meta Demo
|
|
109
|
+
```
|
|
110
|
+
Build a CLI that generates ASCII art from text
|
|
111
|
+
```
|
|
112
|
+
- Simple enough to complete quickly
|
|
113
|
+
- Visual output is satisfying
|
|
114
|
+
- Easy to verify it works
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## POST-PRODUCTION
|
|
119
|
+
|
|
120
|
+
1. **Speed up** the waiting/building parts (2-4x)
|
|
121
|
+
2. **Add captions** at key moments:
|
|
122
|
+
- "Tell Master Control what to build"
|
|
123
|
+
- "HANDS OFF = zero decisions"
|
|
124
|
+
- "Agents spawn automatically"
|
|
125
|
+
- "Working code in 60 seconds"
|
|
126
|
+
3. **Loop** the GIF for README
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## RECORDING TOOLS
|
|
131
|
+
|
|
132
|
+
**For GIF:**
|
|
133
|
+
```bash
|
|
134
|
+
# Install asciinema + agg
|
|
135
|
+
brew install asciinema
|
|
136
|
+
cargo install --git https://github.com/asciinema/agg
|
|
137
|
+
|
|
138
|
+
# Record
|
|
139
|
+
asciinema rec demo.cast
|
|
140
|
+
|
|
141
|
+
# Convert to GIF
|
|
142
|
+
agg demo.cast demo.gif --speed 2
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**For Video:**
|
|
146
|
+
- OBS Studio
|
|
147
|
+
- macOS built-in screen recording
|
|
148
|
+
- Loom (if you want voiceover)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
## KEY MESSAGES TO CONVEY
|
|
153
|
+
|
|
154
|
+
1. **One command** to start: `/grid`
|
|
155
|
+
2. **One word** to delegate: `hands off`
|
|
156
|
+
3. **Zero decisions** - it just builds
|
|
157
|
+
4. **Working code** - not stubs, real output
|
|
158
|
+
5. **TRON aesthetic** - memorable branding
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
*End of Line.*
|
package/HN_POST.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Hacker News Post Drafts
|
|
2
|
+
|
|
3
|
+
## OPTION A: The Direct Approach
|
|
4
|
+
|
|
5
|
+
**Title:** Show HN: The Grid – TRON-themed agent orchestration for Claude Code
|
|
6
|
+
|
|
7
|
+
**Text:**
|
|
8
|
+
I built The Grid because I was tired of babysitting AI coding sessions. Every time Claude needed a decision about frameworks, folder structure, or deployment—another context switch.
|
|
9
|
+
|
|
10
|
+
The Grid adds a simple mode to Claude Code: HANDS OFF.
|
|
11
|
+
|
|
12
|
+
You say what you want. Master Control (the orchestrator) spawns specialized agents—Planner, Executor, Recognizer—to do the work. You get working code, not questions.
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
/grid
|
|
16
|
+
> Build me a CLI that converts JSON to YAML
|
|
17
|
+
> hands off
|
|
18
|
+
|
|
19
|
+
[2 minutes later]
|
|
20
|
+
|
|
21
|
+
BUILD COMPLETE
|
|
22
|
+
Files: converter.py (207 lines)
|
|
23
|
+
Tests: All passing
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Built with Claude, for Claude Code users. TRON theme because why not.
|
|
27
|
+
|
|
28
|
+
GitHub: https://github.com/JamesWeatherhead/grid
|
|
29
|
+
Install: `npx the-grid-cc`
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## OPTION B: The Problem-First Approach
|
|
34
|
+
|
|
35
|
+
**Title:** Show HN: The Grid – Stop babysitting your AI coding sessions
|
|
36
|
+
|
|
37
|
+
**Text:**
|
|
38
|
+
Problem: Claude Code is powerful but chatty. "Which framework?" "Where should I put this?" "Should I use TypeScript?" Death by a thousand decisions.
|
|
39
|
+
|
|
40
|
+
Solution: The Grid adds orchestration to Claude Code with two modes:
|
|
41
|
+
- HANDS OFF: AI makes all technical decisions, you approve the result
|
|
42
|
+
- HANDS ON: Collaborate on choices
|
|
43
|
+
|
|
44
|
+
Under the hood, it spawns specialized subagents (Planner, Executor, Verifier) with fresh context windows. Master Control stays lean while heavy work happens in parallel.
|
|
45
|
+
|
|
46
|
+
The TRON theme keeps it fun. "End of Line."
|
|
47
|
+
|
|
48
|
+
Try it: `npx the-grid-cc` then `/grid` in Claude Code.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## OPTION C: The Technical Hook
|
|
53
|
+
|
|
54
|
+
**Title:** Show HN: The Grid – Parallel AI agent orchestration for Claude Code
|
|
55
|
+
|
|
56
|
+
**Text:**
|
|
57
|
+
The Grid orchestrates Claude Code subagents to build software autonomously.
|
|
58
|
+
|
|
59
|
+
Key features:
|
|
60
|
+
- Spawns parallel agents via Claude's Task tool (real subprocess isolation)
|
|
61
|
+
- Wave-based execution (computed during planning, not runtime)
|
|
62
|
+
- Goal-backward verification (checks outcomes, not just task completion)
|
|
63
|
+
- Fresh 200k context per agent (no degradation from long sessions)
|
|
64
|
+
|
|
65
|
+
Architecture is simple: You → Master Control → Programs (Planner/Executor/Recognizer)
|
|
66
|
+
|
|
67
|
+
HANDS OFF mode: describe what you want, get working code. No framework debates. No folder structure discussions.
|
|
68
|
+
|
|
69
|
+
GitHub: https://github.com/JamesWeatherhead/grid
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## POSTING STRATEGY
|
|
74
|
+
|
|
75
|
+
**Best time to post:** Tuesday-Thursday, 9-11am ET
|
|
76
|
+
|
|
77
|
+
**Title rules:**
|
|
78
|
+
- Start with "Show HN:"
|
|
79
|
+
- No ALL CAPS (except Show HN)
|
|
80
|
+
- Under 80 chars
|
|
81
|
+
- Lead with benefit or unique angle
|
|
82
|
+
|
|
83
|
+
**Engagement:**
|
|
84
|
+
- Be ready to answer questions for first 2 hours
|
|
85
|
+
- Be honest about limitations
|
|
86
|
+
- Thank people for feedback (even criticism)
|
|
87
|
+
|
|
88
|
+
**Avoid:**
|
|
89
|
+
- Defensive responses
|
|
90
|
+
- Marketing speak
|
|
91
|
+
- "We're excited to announce"
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## BACKUP TITLES
|
|
96
|
+
|
|
97
|
+
1. "Show HN: The Grid – One word ('hands off') to make Claude Code fully autonomous"
|
|
98
|
+
2. "Show HN: The Grid – Orchestrate Claude Code agents with a TRON-themed CLI"
|
|
99
|
+
3. "Show HN: The Grid – Parallel AI agents that actually build working code"
|
|
100
|
+
4. "Show HN: I built an orchestrator so Claude Code stops asking me questions"
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
*End of Line.*
|
package/README.md
CHANGED
|
@@ -1,37 +1,63 @@
|
|
|
1
1
|
# THE GRID
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
<p align="center">
|
|
4
|
+
<strong>Stop context-switching. Start orchestrating.</strong>
|
|
5
|
+
<br>
|
|
6
|
+
Multi-agent orchestration for Claude Code that keeps your main context clean
|
|
7
|
+
</p>
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
<p align="center">
|
|
10
|
+
<a href="#quick-start">Quick Start</a> •
|
|
11
|
+
<a href="#how-it-works">How It Works</a> •
|
|
12
|
+
<a href="#commands">Commands</a> •
|
|
13
|
+
<a href="#faq">FAQ</a>
|
|
14
|
+
</p>
|
|
9
15
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
<p align="center">
|
|
17
|
+
<a href="https://www.npmjs.com/package/the-grid-cc">
|
|
18
|
+
<img src="https://img.shields.io/npm/v/the-grid-cc?style=for-the-badge&logo=npm&logoColor=white&color=CB3837" alt="npm version"/>
|
|
19
|
+
</a>
|
|
20
|
+
<a href="https://github.com/JamesWeatherhead/grid/stargazers">
|
|
21
|
+
<img src="https://img.shields.io/github/stars/JamesWeatherhead/grid?style=for-the-badge" alt="GitHub stars"/>
|
|
22
|
+
</a>
|
|
23
|
+
<a href="https://www.npmjs.com/package/the-grid-cc">
|
|
24
|
+
<img src="https://img.shields.io/npm/dm/the-grid-cc?style=for-the-badge" alt="npm downloads"/>
|
|
25
|
+
</a>
|
|
26
|
+
<a href="https://github.com/JamesWeatherhead/grid/blob/main/LICENSE">
|
|
27
|
+
<img src="https://img.shields.io/badge/License-MIT-cyan.svg?style=for-the-badge" alt="MIT License"/>
|
|
28
|
+
</a>
|
|
29
|
+
</p>
|
|
19
30
|
|
|
20
31
|
---
|
|
21
32
|
|
|
22
|
-
##
|
|
33
|
+
## The Problem
|
|
34
|
+
|
|
35
|
+
You're building something complex in Claude Code. Your context window fills up. Claude starts forgetting your original goals. You lose the forest for the trees.
|
|
23
36
|
|
|
24
|
-
|
|
37
|
+
**Sound familiar?**
|
|
25
38
|
|
|
26
|
-
|
|
39
|
+
## The Solution
|
|
27
40
|
|
|
28
|
-
|
|
41
|
+
The Grid keeps **Master Control** lean while **Programs** (subagents) handle heavy work in fresh contexts.
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
YOU ←→ Master Control ←→ Programs
|
|
45
|
+
↓
|
|
46
|
+
Context stays clean
|
|
47
|
+
Heavy lifting happens in subagents
|
|
48
|
+
Master Control remembers your goals
|
|
49
|
+
```
|
|
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
|
|
29
54
|
|
|
30
55
|
---
|
|
31
56
|
|
|
32
57
|
## Quick Start
|
|
33
58
|
|
|
34
59
|
```bash
|
|
60
|
+
# Install (30 seconds)
|
|
35
61
|
npx the-grid-cc
|
|
36
62
|
```
|
|
37
63
|
|
|
@@ -41,65 +67,100 @@ Then in Claude Code:
|
|
|
41
67
|
/grid
|
|
42
68
|
```
|
|
43
69
|
|
|
44
|
-
Master Control
|
|
70
|
+
Master Control activates. Describe what you want. Watch the orchestration happen.
|
|
45
71
|
|
|
46
|
-
|
|
72
|
+
**Example session:**
|
|
73
|
+
```
|
|
74
|
+
> /grid
|
|
47
75
|
|
|
48
|
-
|
|
76
|
+
THE GRID
|
|
77
|
+
════════
|
|
49
78
|
|
|
50
|
-
|
|
51
|
-
/grid:update
|
|
52
|
-
```
|
|
79
|
+
Master Control online.
|
|
53
80
|
|
|
54
|
-
|
|
81
|
+
What would you like to build?
|
|
55
82
|
|
|
56
|
-
|
|
83
|
+
> Build a REST API with user authentication
|
|
57
84
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
85
|
+
How involved do you want to be?
|
|
86
|
+
|
|
87
|
+
HANDS OFF - I make all decisions. You see the finished result.
|
|
88
|
+
HANDS ON - We discuss choices together.
|
|
89
|
+
|
|
90
|
+
> hands off
|
|
91
|
+
|
|
92
|
+
[Master Control spawns Planner → creates execution plan]
|
|
93
|
+
[Master Control spawns Executors → implements code]
|
|
94
|
+
[Recognizer verifies → confirms quality]
|
|
95
|
+
|
|
96
|
+
BUILD COMPLETE
|
|
97
|
+
══════════════
|
|
63
98
|
|
|
64
|
-
|
|
99
|
+
Project: auth-api
|
|
100
|
+
Stack: Express + TypeScript + JWT
|
|
101
|
+
Files: 12 created
|
|
102
|
+
Tests: All passing
|
|
103
|
+
|
|
104
|
+
End of Line.
|
|
105
|
+
```
|
|
65
106
|
|
|
66
107
|
---
|
|
67
108
|
|
|
68
|
-
## The
|
|
109
|
+
## Why The Grid?
|
|
110
|
+
|
|
111
|
+
**Without The Grid:**
|
|
112
|
+
```
|
|
113
|
+
Your context window: ██████████████████████ 95%
|
|
114
|
+
|
|
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
|
+
```
|
|
120
|
+
|
|
121
|
+
**With The Grid:**
|
|
122
|
+
```
|
|
123
|
+
Master Control context: ███░░░░░░░░░░░░░░░░░░░ 15%
|
|
69
124
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
| **Guard** | Security agent | Checks permissions, prevents dangerous ops |
|
|
76
|
-
| **Cluster** | Feature/domain | What you're building |
|
|
77
|
-
| **Block** | Task group | Related tasks |
|
|
78
|
-
| **Thread** | Atomic task | Single unit of work |
|
|
79
|
-
| **I/O Tower** | Human checkpoint | Where Master Control asks for your input |
|
|
80
|
-
| **Identity Disc** | Context carrier | Memory that travels with Programs |
|
|
125
|
+
Programs handle specific tasks
|
|
126
|
+
Each gets fresh context
|
|
127
|
+
Master Control tracks progress
|
|
128
|
+
Goals never forgotten
|
|
129
|
+
```
|
|
81
130
|
|
|
82
131
|
---
|
|
83
132
|
|
|
84
133
|
## How It Works
|
|
85
134
|
|
|
86
135
|
```
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
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
|
|
92
150
|
```
|
|
93
151
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
7. **Master Control** reports completion to **You**
|
|
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 |
|
|
101
158
|
|
|
102
|
-
|
|
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.
|
|
103
164
|
|
|
104
165
|
---
|
|
105
166
|
|
|
@@ -107,85 +168,69 @@ If any Program needs your input → **I/O Tower** activates → Master Control a
|
|
|
107
168
|
|
|
108
169
|
| Command | What It Does |
|
|
109
170
|
|---------|-------------|
|
|
110
|
-
| `/grid` | Enter The Grid
|
|
111
|
-
| `/grid:
|
|
112
|
-
| `/grid:update` | Pull latest
|
|
113
|
-
| `/grid:
|
|
114
|
-
| `/grid:help` | Show command reference |
|
|
115
|
-
|
|
116
|
-
---
|
|
171
|
+
| `/grid` | Enter The Grid |
|
|
172
|
+
| `/grid:status` | See context usage, current progress |
|
|
173
|
+
| `/grid:update` | Pull latest from npm |
|
|
174
|
+
| `/grid:help` | Full command reference |
|
|
117
175
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
Master Control spawns these specialized Programs:
|
|
121
|
-
|
|
122
|
-
### Planner Program
|
|
123
|
-
Creates execution plans from your description. Decomposes work into Blocks (task groups) and Threads (atomic tasks).
|
|
124
|
-
|
|
125
|
-
### Executor Program
|
|
126
|
-
Does the actual coding. Makes atomic git commits. Reports back to Master Control.
|
|
176
|
+
### Status Bar
|
|
127
177
|
|
|
128
|
-
|
|
129
|
-
Aerial patrol unit. Surveys codebase for anomalies, captures defects, verifies work achieved goals. Circuits glow red under Master Control.
|
|
178
|
+
The Grid adds a context meter to Claude Code:
|
|
130
179
|
|
|
131
|
-
|
|
132
|
-
|
|
180
|
+
```
|
|
181
|
+
Master Control ░░░░░░░░░░ 0% ← Fresh
|
|
182
|
+
Master Control █████░░░░░ 50% ← Working
|
|
183
|
+
Master Control █████████░ 90% ← Time to delegate
|
|
184
|
+
```
|
|
133
185
|
|
|
134
186
|
---
|
|
135
187
|
|
|
136
|
-
## State
|
|
188
|
+
## State Persistence
|
|
137
189
|
|
|
138
|
-
The Grid maintains state in `.grid
|
|
190
|
+
The Grid maintains state in `.grid/`:
|
|
139
191
|
|
|
140
192
|
```
|
|
141
193
|
.grid/
|
|
142
|
-
├── STATE.md # Current
|
|
143
|
-
├── clusters/ #
|
|
144
|
-
└── discs/ #
|
|
194
|
+
├── STATE.md # Current progress, decisions made
|
|
195
|
+
├── clusters/ # Feature decomposition plans
|
|
196
|
+
└── discs/ # Program memory/context
|
|
145
197
|
```
|
|
146
198
|
|
|
147
|
-
|
|
199
|
+
Start a session. Close your terminal. Come back later. Master Control picks up where you left off.
|
|
148
200
|
|
|
149
201
|
---
|
|
150
202
|
|
|
151
|
-
##
|
|
203
|
+
## FAQ
|
|
152
204
|
|
|
153
|
-
|
|
205
|
+
<details>
|
|
206
|
+
<summary><strong>How is this different from just asking Claude to use subagents?</strong></summary>
|
|
154
207
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
- User only talks to Master Control
|
|
158
|
-
- I/O Towers surface decisions to User
|
|
159
|
-
- Recognizers patrol and verify
|
|
160
|
-
- Guards enforce security
|
|
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.
|
|
209
|
+
</details>
|
|
161
210
|
|
|
162
|
-
|
|
211
|
+
<details>
|
|
212
|
+
<summary><strong>Will this use more API tokens?</strong></summary>
|
|
163
213
|
|
|
164
|
-
|
|
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.
|
|
215
|
+
</details>
|
|
165
216
|
|
|
166
|
-
|
|
217
|
+
<details>
|
|
218
|
+
<summary><strong>What if a Program makes a mistake?</strong></summary>
|
|
167
219
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
│ └── VERSION # v1.1.0
|
|
177
|
-
└── agents/
|
|
178
|
-
├── grid-planner.md # Creates plans
|
|
179
|
-
├── grid-executor.md # Does work
|
|
180
|
-
├── grid-recognizer.md # Patrols/verifies
|
|
181
|
-
└── grid-guard.md # Security
|
|
182
|
-
```
|
|
220
|
+
Recognizers patrol and report issues back to Master Control. Master Control spawns corrective Programs. You stay informed when needed.
|
|
221
|
+
</details>
|
|
222
|
+
|
|
223
|
+
<details>
|
|
224
|
+
<summary><strong>Why the TRON theme?</strong></summary>
|
|
225
|
+
|
|
226
|
+
The metaphor maps naturally: Master Control orchestrates, Programs execute, Recognizers verify. It's also fun. "End of Line."
|
|
227
|
+
</details>
|
|
183
228
|
|
|
184
229
|
---
|
|
185
230
|
|
|
186
231
|
## Contributing
|
|
187
232
|
|
|
188
|
-
The Grid is a collaborative project by James Weatherhead & Claude
|
|
233
|
+
The Grid is a collaborative project by **James Weatherhead & Claude**.
|
|
189
234
|
|
|
190
235
|
Issues and PRs welcome.
|
|
191
236
|
|
|
@@ -210,7 +255,7 @@ MIT License. See [LICENSE](LICENSE) for details.
|
|
|
210
255
|
---
|
|
211
256
|
|
|
212
257
|
<p align="center">
|
|
213
|
-
<
|
|
258
|
+
<strong>"I fight for the Users."</strong>
|
|
214
259
|
<br><br>
|
|
215
|
-
<
|
|
260
|
+
<sub>End of Line.</sub>
|
|
216
261
|
</p>
|