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
Tested this PR locally (two-pack on a small Python toy repo, pi 0.84.4 as backend for both roles, a flash-tier model via --model). Full cycle closed without intervention after the initial task: coder TDD commit → git_handoff (priority 50) → cleaner (batch) merge + hardening → reverse handoff (priority 00) → coder merge → tests green. ~$0.02 and ~4 minutes for the closed cycle.
Three findings from our first (failed, documented) run, all small:
./swarm silently re-downloads swarmforge/scripts/ from main when scripts/shared-articles/ is missing — this clobbered the local "pi" patch on first boot ("Unsupported agent 'pi'"). Workaround: create scripts/shared-articles/ before first boot. Might be worth warning instead of silently overwriting modified scripts.
handoffd.bbnotify! sends the wake text + C-m + C-j. In the pi TUI, C-m does not submit the input (4/4 controlled failures); tmux send-keys Enter does (2/2). One-line patch: C-m → Enter in notify!.
Conf order is semantic, not cosmetic: require-master-worktree! needs exactly one master worktree window (so coder pi coder will not boot), and the last window is the "role terminal" its inbound git_handoffs are marked non-forwarding, and the helper refuses any git_handoff from whoever is processing one. With cleaner, coder order, the cleaner's return handoff (00) is refused and its commit is orphaned on its branch. The two-pack default order (coder first, cleaner last) is load-bearing worth a line in the README.
Report from a scripted two-run experiment, agent-assisted;
Happy to share the patch diffs if useful.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add pi agent support
Adds
pias a supported agent backend alongsideclaude,codex,copilot, andgrok.Changes
"pi"to agent validation setpicase to agent launch commandTesting
Production tested with four-pack workflow on C++ project.
Usage