File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,6 +194,47 @@ Infra problems are team-lead's job, not yours. Spinning wheels on
194194sandbox issues wastes time when the lead could just spawn another
195195teammate.
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
You can’t perform that action at this time.
0 commit comments