fix: use town root beads for Deacon patrol context (gt-sstg)
Deacon is a town-level role, so its beads should be at ctx.TownRoot (~/gt/.beads/) not ctx.WorkDir (~/gt/deacon/). This fixes the issue where outputDeaconPatrolContext couldn't find patrol molecules because it was looking in the wrong location. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -906,11 +906,12 @@ func showMoleculeProgress(b *beads.Beads, rootID string) {
|
||||
|
||||
// outputDeaconPatrolContext shows patrol molecule status for the Deacon.
|
||||
// Deacon uses wisps (Wisp:true issues in main .beads/) for patrol cycles.
|
||||
// Deacon is a town-level role, so it uses town root beads (not rig beads).
|
||||
func outputDeaconPatrolContext(ctx RoleContext) {
|
||||
cfg := PatrolConfig{
|
||||
RoleName: "deacon",
|
||||
PatrolMolName: "mol-deacon-patrol",
|
||||
BeadsDir: ctx.WorkDir,
|
||||
BeadsDir: ctx.TownRoot, // Town-level role uses town root beads
|
||||
Assignee: "deacon",
|
||||
HeaderEmoji: "🔄",
|
||||
HeaderTitle: "Patrol Status (Wisp-based)",
|
||||
|
||||
Reference in New Issue
Block a user