Skip to content

Add end-to-end parallel coding-task swarm check - #2

Merged
Jay Gordon (jaydestro) merged 1 commit into
mainfrom
009-agent-swarm-check
Oct 26, 2026
Merged

Jay Gordon (jaydestro) merged 1 commit into
mainfrom
009-agent-swarm-check

Conversation

@jaydestro

Copy link
Copy Markdown
Contributor

Adds an end-to-end check of the parallel coding-task workflow.

python -m scripts.agent_swarm runs three tasks at once, each in its own Git worktree with its own emulator, and verifies:

  • each task's stored dispatch update is its own, and its task tests pass against its own emulator;
  • the same agents on one shared emulator lose an update (negative control, so a pass shows isolation changed the outcome);
  • the three branches merge, and the combined tests pass against a fresh emulator;
  • every owned container, worktree and temporary branch is removed.

The agent step is a deterministic stand-in by default; --agent-command runs any real coding agent instead ({prompt} and {agent} are substituted).

The Actions job Parallel worktree swarm check runs only on manual dispatch, so pull requests are unchanged. Unit tests and README section included. The original emulator-ci.yml is untouched.

Run three tasks at once, each in its own Git worktree with its own emulator.
Verify each task's stored state and tests, reproduce the lost update on one
shared emulator as a negative control, merge the branches and test the result.
The agent step is a deterministic stand-in by default or any command via
--agent-command. Add a manual-dispatch Actions job and unit tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jaydestro
Jay Gordon (jaydestro) merged commit e6378cc into main Oct 26, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant