Skip to content

feat(pi-coordination): Antigravity support and hybrid parallel multi-Pi test runner - #19

Merged
fakoli merged 1 commit into
mainfrom
feat/antigravity-pi-parallel-testing
Nov 29, 2026
Merged

fakoli merged 1 commit into
mainfrom
feat/antigravity-pi-parallel-testing

Conversation

@fakoli

@fakoli fakoli commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add .antigravity-plugin/plugin.json to plugins/codex-pi-coordination (v0.4.0) so Antigravity loads it natively (agy plugin validate --strict: 0 errors, 0 warnings).
  • Add scripts/fanout.py — a stdlib-only, cross-platform (Linux/macOS/Windows) parallel multi-Pi test runner supporting:
    • local backend: launches N isolated pi workers concurrently in fresh directories or clean git archive snapshots, enforcing writable_paths and structured handoffs via extensions/coordination.js, wall-clock timeouts with process-tree cleanup, and coordinator-executed verification checks.
    • openshell backend: fans out across a pool of distinct OpenShell sandbox profiles (refusing duplicate sandboxes and protected sandboxes), leasing one exclusive sandbox per concurrent worker via scripts/coordinate.py run.
    • discover command to inspect available pi CLI, OpenShell sandboxes, and configured profiles.
  • Add skills/pi-parallel-test/ (SKILL.md, agents/openai.yaml, references/batch-contract.md) and unit tests in tests/test_fanout.py.

Verification

  • python3 -m unittest discover -s tests -v — 7 passed
  • python3 -m unittest discover -s plugins/codex-pi-coordination/tests -p 'test_*.py' -v — 99 passed
  • node --test plugins/codex-pi-coordination/tests/extension.test.mjs — 22 passed
  • agy plugin validate plugins/codex-pi-coordination --strict --json — rc=0 (0 errors, 0 warnings)
  • Live 2-replica parallel Pi smoke test (--backend local --replicas 2 --concurrency 2) — 2/2 passed in 6.35s

@fakoli
fakoli merged commit 6e3244c into main Nov 29, 2026
2 checks passed
@fakoli
fakoli deleted the feat/antigravity-pi-parallel-testing branch November 29, 2026 03:32
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