When slinging work to a polecat, run bd commands from the polecat's worktree directory instead of town root. This enables redirect-based routing to work correctly since the polecat's .beads/redirect file points to the canonical database location. Adds hookWorkDir variable to track the polecat's clone path and passes it to updateAgentHookBead for proper beads access.
40 KiB
40 KiB