fix(rig): Use correct beads path during rig/crew creation (GHI #7)
initAgentBeads and crew_add were looking for beads at mayor/rig/.beads/ but during initial creation, beads is at rig root. The redirect mechanism to mayor/rig/.beads/ gets set up later. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
committed by
Steve Yegge
parent
17fd366888
commit
9cb33ee289
@@ -56,9 +56,8 @@ func runCrewAdd(cmd *cobra.Command, args []string) error {
|
||||
crewGit := git.NewGit(r.Path)
|
||||
crewMgr := crew.NewManager(r, crewGit)
|
||||
|
||||
// Beads for agent bead creation
|
||||
rigBeadsPath := filepath.Join(r.Path, "mayor", "rig")
|
||||
bd := beads.New(rigBeadsPath)
|
||||
// Beads for agent bead creation (use rig root where .beads/ lives)
|
||||
bd := beads.New(r.Path)
|
||||
|
||||
// Track results
|
||||
var created []string
|
||||
|
||||
Reference in New Issue
Block a user