docs: add two-level beads architecture documentation
Add clear explanations of the town-level vs rig-level beads architecture: - Town beads (~/gt/.beads): HQ coordination, no sync-branch - Rig beads (in git clones): project work, uses beads-sync branch - Clarify that rig-level .beads at container is gitignored Updated: - docs/architecture.md: New 'Two-Level Beads Architecture' section - CLAUDE.md: Enhanced existing section with table and sync-branch info - templates/roles/*.tmpl: Added beads architecture to crew, polecat, mayor 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,18 @@ Town ({{ .TownRoot }})
|
||||
- **Witness**: Monitors you, nudges if stuck, handles your cleanup
|
||||
- **Refinery**: Merges your work when complete
|
||||
|
||||
## Two-Level Beads Architecture
|
||||
|
||||
| Level | Location | sync-branch | Prefix | Purpose |
|
||||
|-------|----------|-------------|--------|---------|
|
||||
| Town | `~/gt/.beads/` | NOT set | `hq-*` | Mayor mail, HQ coordination |
|
||||
| Rig | `polecats/{{ .Polecat }}/.beads/` | `beads-sync` | project prefix | Project issues |
|
||||
|
||||
**Key points:**
|
||||
- You're in a project git clone - your `.beads/` is tracked in the project repo
|
||||
- The rig-level `{{ .RigName }}/.beads/` is **gitignored** (local runtime state)
|
||||
- Run `bd sync` to push/pull beads changes via the `beads-sync` branch
|
||||
|
||||
## Responsibilities
|
||||
|
||||
- **Issue completion**: Work on assigned beads issues
|
||||
|
||||
Reference in New Issue
Block a user