Merge pull request #54 from michaellady/polecat/fixer-mjy8jxh1
Clean 2-line fix with comprehensive tests. All tests pass locally.
This commit is contained in:
@@ -186,7 +186,7 @@ func runDone(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
// Initialize beads
|
||||
bd := beads.New(cwd)
|
||||
bd := beads.New(beads.ResolveBeadsDir(cwd))
|
||||
|
||||
// Determine target branch (auto-detect integration branch if applicable)
|
||||
target := defaultBranch
|
||||
@@ -282,7 +282,7 @@ func runDone(cmd *cobra.Command, args []string) error {
|
||||
fmt.Printf("%s\n", style.Dim.Render("Witness will dispatch new polecat when gate closes."))
|
||||
|
||||
// Register this polecat as a waiter on the gate
|
||||
bd := beads.New(cwd)
|
||||
bd := beads.New(beads.ResolveBeadsDir(cwd))
|
||||
if err := bd.AddGateWaiter(doneGate, sender); err != nil {
|
||||
style.PrintWarning("could not register as gate waiter: %v", err)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user