.cursorrules
Gas Town Quick Reference for Cursor AI | Source
Rule: Follow Official Convention
Always follow Gas Town convention from the official repo. Official docs, config schema, and CLI behavior are the source of truth.
Current Setup
- Town: ~/gt
- Agent: claude (--dangerously-skip-permissions)
- Model: Claude Opus 4.5
- Rig: villacalculatecost3
Essential Commands
gt status
gt mayor attach
gt prime
gt agents
gt convoy list
gt trail
Work Assignment
gt sling <bead> <target>
gt hook <bead>
gt handoff <bead>
bd ready
bd show <id>
bd close <id>
Agent Hierarchy
| Agent | Role | Command |
| Mayor | Coordinator (start here) | gt mayor attach |
| Deacon | System watchdog | gt deacon attach |
| Witness | Per-rig monitor | gt witness attach |
| Refinery | Merge queue | gt refinery attach |
| Polecat | Ephemeral worker | spawned via sling |
| Crew | Persistent workspace | gt crew add <name> |
Core Principles
| Principle | Meaning |
| GUPP | If work is on your Hook, YOU RUN IT |
| MEOW | Tell Mayor → Mayor orchestrates → Track via convoy |
| Hooks | Git worktrees that persist work across restarts |
| Beads | Git-backed issues (format: gt-abc12) |
Configuration
gt config agent list
gt config agent get claude
gt config agent set claude "claude --dangerously-skip-permissions --model opus"
gt config default-agent <name>
Session Completion (MANDATORY)
- File issues for remaining work
- Run tests/linters if code changed
- Update issue status
- PUSH:
git pull --rebase && bd sync && git push
- Verify:
git status shows "up to date"
Recovery
gt prime
gt hooks repair
gt mayor restart
gt convoy refresh
Directory Layout
~/gt/
├── mayor/
├── deacon/
├── settings/
├── .beads/
└── villacalculatecost3/
├── crew/
├── witness/
└── refinery/
Communication
gt mail inbox
gt nudge <agent> <msg>
gt broadcast <msg>
When in Doubt
- Run
gt status to see current state
- Run
gt prime to recover context
- Attach to Mayor:
gt mayor attach
- Check docs: github.com/steveyegge/gastown