mirror of
https://github.com/0xWheatyz/handler.git
synced 2026-08-30 05:16:25 +00:00
b4ad63c687
A spawn with no explicit placement ran the agent in the shared project-root checkout. The root only fast-forwards while it is parked on the default branch, so the moment one agent left it on a feature branch, every later no-placement spawn — the mobile app always, the web form whenever the branch field was blank — started from a stale tree: the operator's freshly pushed commit was fetched into origin/* but invisible to the agent. Operator spawns on a git root now default to a worktree on agent/<name>, cut from origin/HEAD like any explicit worktree spawn, so a new agent always starts at the remote's latest push and gets the per-agent isolation the README promises. Schedule firings opt out (auto_worktree=False): their continuity convention is a state file living in the root tree across runs. The mise-init bootstrap and non-git roots keep root placement unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01731mKtVzsfeT4Vi3TvkR48