fix: remove bd sync from polecat startup sequence (gt-aobh)

Polecats share the same beads database at the rig level. The refinery
and witness manage syncing beads. Running bd sync on polecat startup
causes contention when multiple polecats spawn simultaneously and
creates potential race conditions.

This change removes bd sync --from-main from:
- prompts/roles/polecat.md On Startup section
- internal/beads/molecules_session.go orient step
- internal/beads/molecules_work.go orient step
- docs/polecat-wisp-architecture.md load context section

Troubleshooting sections that recommend bd sync --from-main for
recovery scenarios are preserved.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Steve Yegge
2025-12-23 21:49:48 -08:00
parent 9f2eefe9ce
commit a8739f5548
4 changed files with 1 additions and 5 deletions

View File

@@ -146,7 +146,6 @@ Read polecat.md protocol. Understand:
Load context: Load context:
- gt prime - gt prime
- bd sync --from-main
- gt mail inbox - gt mail inbox
## Step: handoff-read ## Step: handoff-read

View File

@@ -456,7 +456,6 @@ Read polecat.md protocol and initialize context.
` + "```" + `bash ` + "```" + `bash
gt prime # Load Gas Town context gt prime # Load Gas Town context
bd sync --from-main # Fresh beads state
gt mail inbox # Check for work assignment gt mail inbox # Check for work assignment
` + "```" + ` ` + "```" + `

View File

@@ -287,7 +287,6 @@ Load context and check for interrupts.
` + "```" + `bash ` + "```" + `bash
gt prime # Load Gas Town context gt prime # Load Gas Town context
bd sync --from-main # Fresh beads state
` + "```" + ` ` + "```" + `
Check for: Check for:

View File

@@ -144,8 +144,7 @@ Gas Town has TWO beads databases:
### On Startup ### On Startup
```bash ```bash
bd sync --from-main # Pull latest beads state bd show <your-issue> # Verify your assignment (beads synced by refinery/witness)
bd show <your-issue> # Verify your assignment
``` ```
### During Work ### During Work