Skip to content

ci(pitot): dynamically execute all e2e CLI tests to enforce policy - #96

Merged
bigboateng merged 10 commits into
mainfrom
opencode-integration
Jul 22, 2026
Merged

ci(pitot): dynamically execute all e2e CLI tests to enforce policy#96
bigboateng merged 10 commits into
mainfrom
opencode-integration

Conversation

@bigboateng

Copy link
Copy Markdown
Contributor

Why this change

The E2E tests for Pitot were hardcoded in the GitHub Actions workflow. Because of this, when a new adapter was added (like Gemini or Opencode), the Go test (TestE2ECoverageSupervisoryControl) would pass by merely checking if a script file existed. However, the workflow wouldn't execute the script, meaning missing proxy implementations inside the unified runner were never caught in CI.

What changed

Area Before After Reviewer focus
pitot-lab.yml Hardcoded Claude, Cursor, and Codex steps. A dynamic shell loop that discovers and executes all labs/15-pitot/tests/e2e_*_cli_test.sh scripts. Verify that the dynamic loop properly executes the tests.

This forces the CI to run the newly added E2E scripts for Gemini and Opencode, which will purposely fail and surface the missing proxy interception implementations that need fixing.

- Register `gemini` adapter parsing the synchronous `BeforeTool` hook

- Update Pitot CLI `hook` and `doctor` commands to recognize `gemini`

- Add `e2e_gemini_cli_test.sh` to satisfy the supervisory control build gate

- Update E2E and windtunnel testing coverage to ensure parity with Cursor/Claude/Codex boundaries

- Append mandatory release note and sync public distribution JSON
Implements the standalone DeltaWire v1 Go CLI.
- Strict JSON parsing and Draft 2020-12 schema validation
- Matrix, rows, and variant generation
- Managed outputs and strict path bounds
- Full CI/validation scripts and tests
…orce adapter coverage

- Added missing case blocks for gemini and opencode in the unified E2E runner.
- Handled benign cursor warnings and empty output during real CLI execution to prevent spurious failures.
- Added a structural Go test (e2e_coverage_test.go) to statically enforce that all registered adapters have a corresponding E2E test script, preventing this issue in the future.
@bigboateng
bigboateng merged commit 45a6c0c into main Jul 22, 2026
6 checks passed
@bigboateng
bigboateng deleted the opencode-integration branch July 22, 2026 12:04
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