Skip to content

Commit 12d1e10

Browse files
authored
docs: add dogfooding checklist to CLAUDE.md (#148)
1 parent 2a07a69 commit 12d1e10

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,47 @@ Infra problems are team-lead's job, not yours. Spinning wheels on
194194
sandbox issues wastes time when the lead could just spawn another
195195
teammate.
196196

197+
## Dogfooding Checklist
198+
199+
Steps for team-lead spawning teammates in sandboxes:
200+
201+
### Before Spawning
202+
203+
- [ ] Ensure `GH_TOKEN` is set in `.env`
204+
- [ ] Source `.env` before running commands: `source .env`
205+
206+
### Per-Teammate Setup
207+
208+
- [ ] Create sandbox with snapshot:
209+
```bash
210+
ralph-town sandbox create --snapshot ralph-town-dev --env "GH_TOKEN=$GH_TOKEN"
211+
```
212+
- [ ] Get SSH command (NOT exec - it's broken on snapshots):
213+
```bash
214+
ralph-town sandbox ssh <sandbox-id>
215+
```
216+
- [ ] Configure git credential helper in sandbox (secure, no token in URL):
217+
```bash
218+
/usr/bin/git config --global credential.helper store
219+
/bin/echo "https://oauth2:$GH_TOKEN@github.com" > ~/.git-credentials
220+
/bin/chmod 600 ~/.git-credentials
221+
```
222+
- [ ] Clone repo and configure git identity
223+
224+
### During Work
225+
226+
- [ ] Use full paths for all commands (`/usr/bin/git`, `/usr/bin/gh`)
227+
- [ ] Work in `/home/daytona` (not /workspaces)
228+
229+
### After Completion
230+
231+
- [ ] Verify PR was created successfully
232+
- [ ] Delete sandbox when teammate finishes:
233+
```bash
234+
ralph-town sandbox delete <sandbox-id>
235+
```
236+
- [ ] Track sandbox IDs to ensure cleanup
237+
197238
## Code Style
198239

199240
- **snake_case** for functions and variables

0 commit comments

Comments
 (0)