You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
spawn_agent puts every Peer Agent in the caller's branch and worktree #274
spawn_agent (J5-owned, apps/server/src/j5/a2a/mcp/handlers.ts, thread.create) copies branch and worktreePath from the calling thread. Every Peer Agent therefore edits the caller's checkout, and parallel agents collide unless each one creates a worktree by hand. That's exactly what the 2026-09-24 upstream-sync builders had to be told to do.
Upstream's launch tools (t3_thread_launch, create_threads) take a workspaceStrategy (worktree / existing_worktree / root), and handle worktree setup, branch naming (pingdotgg#13294) and cleanup. J5 excludes those tools because they don't record Squadron homes.
Fix: add an optional workspace choice to spawn_agent (and Crew launch) that reuses upstream's workspace-aware launch underneath, while keeping J5's home, placement, provenance and brief rules. Decide the default. A fresh worktree is probably right for Peer Agents that write code.
Activity
refactor(a2a): refuse a second spawn start instead of queueing it
fix(a2a): a peer without its worktree takes no turns, and its spawner…
docs(a2a): say a spawn's setup script may still run when it starts
docs(a2a): describe the refused second spawn start
fix(a2a): a peer's worktree still being prepared takes its messages
feat(a2a): every spawn and seat names its workspace, including an exi…
feat(web): the roster card edits all three seat workspaces
docs(a2a): every spawn and seat names its workspace
fix(a2a): read the repository fresh before placing a seat or spawn in…
fix(a2a): the roster card's lists may be cached, but binding a worksp…
fix(web): a Crew preview from an older server still shows its seats
fix(a2a): bind a workspace from git itself, past the ref cache's refr…
refactor(a2a): bind an existing worktree's branch from the checkout's…
fix(a2a): refresh the worktree list the ruling reads membership from
revert(a2a): bind an existing worktree from git's worktree list again
fix(a2a): refresh the roster card's branch and worktree lists
test(a2a): prove the live worktree binding drops the status cache first
fix(a2a): isolate Peer Agent workspaces by default (#396)