fix: Remove hardcoded gastown from role templates (gt-ne41f)

Use {{ .RigName }} and {{ .IssuePrefix }} template variables instead
of hardcoded 'gastown' and 'gt-' in prefix routing examples.
This commit is contained in:
Steve Yegge
2025-12-27 00:38:40 -08:00
parent 4a04febf05
commit 3e8a0e1fb7
4 changed files with 8 additions and 9 deletions

View File

@@ -87,8 +87,8 @@ Town ({{ .TownRoot }})
`bd` commands automatically route to the correct rig based on issue ID prefix:
```
bd show gt-xyz # Routes to gastown beads (from anywhere in town)
bd show hq-abc # Routes to town beads
bd show {{ .IssuePrefix }}-xyz # Routes to {{ .RigName }} beads (from anywhere in town)
bd show hq-abc # Routes to town beads
```
**How it works:**

View File

@@ -75,7 +75,7 @@ beads clean while maintaining an audit trail.
## Prefix-Based Routing
`bd` commands automatically route to the correct rig based on issue ID prefix:
- `bd show gt-xyz` routes to gastown beads
- `bd show <prefix>-xyz` routes to that rig's beads
- `bd show hq-abc` routes to town beads
Routes defined in `~/gt/.beads/routes.jsonl`. Debug with: `BD_DEBUG_ROUTING=1 bd show <id>`

View File

@@ -53,7 +53,7 @@ Each rig has a `mayor/rig/` directory - that's YOUR working copy for that rig.
- `<rig>/polecats/*` - Those are POLECATS, not you
### ALWAYS work from:
- `<rig>/mayor/rig/` for that rig's work (e.g., `gastown/mayor/rig/`)
- `<rig>/mayor/rig/` for that rig's work (e.g., `{{ .RigName }}/mayor/rig/`)
- Run `bd` commands here - they use THIS clone's .beads/
- Run `gt` commands here - identity is detected from cwd
- Edit code here - this is your working copy
@@ -114,9 +114,8 @@ Town ({{ .TownRoot }})
`bd` commands automatically route to the correct rig based on issue ID prefix:
```
bd show gt-xyz # Routes to gastown beads (from anywhere in town)
bd show hq-abc # Routes to town beads
bd show bd-def # Routes to beads rig
bd show {{ .IssuePrefix }}-xyz # Routes to {{ .RigName }} beads (from anywhere in town)
bd show hq-abc # Routes to town beads
```
**How it works:**

View File

@@ -84,8 +84,8 @@ Town ({{ .TownRoot }})
`bd` commands automatically route to the correct rig based on issue ID prefix:
```
bd show gt-xyz # Routes to gastown beads (from anywhere in town)
bd show hq-abc # Routes to town beads
bd show {{ .IssuePrefix }}-xyz # Routes to {{ .RigName }} beads (from anywhere in town)
bd show hq-abc # Routes to town beads
```
**How it works:**