mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-08-06 12:03:37 +08:00
idle_poll wrote the worktree path into the prompt text but never updated wt_ctx["path"], so the teammate's bash/read/write tools still ran in the main repo instead of the bound worktree. Change idle_poll to return (result, claimed_task_id) tuple, and update wt_ctx in the caller when a worktree-bound task was claimed. s20 already handles this correctly by passing worktree_context into idle_poll directly. Closes #475
38 KiB
38 KiB