Skip to content

test(#1096): driver conformance suite — registry-enumerated, six contract items per driver, real codex sandbox probes - #1116

Merged
admarble merged 7 commits into
mainfrom
feature/1096-test-drivers-conformance-suite-every-agent-driver-
Sep 20, 2026
Merged

admarble merged 7 commits into
mainfrom
feature/1096-test-drivers-conformance-suite-every-agent-driver-

Conversation

@admarble

@admarble admarble commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1096

A conformance suite every agent driver must pass, enumerated from the driver registry rather than a hand-written list. Six contract items per driver: commit inside the sandbox, network, typed error mapping, env injection, structured outcome, and skill loading. The Codex probes run the real codex sandbox (0.154.0) with the writable roots the driver itself computed. listDriverNames() is the only registry change. A docs/guides/writing-an-agent-driver.md page states the contract.

Skips are typed and every gap skip names its tracking issue: aider and opencode report no token usage and no typed errors (#1115); structural skips state why the item cannot apply (no sandbox policy in the Claude Agent SDK, aider and opencode).

Acceptance criteria

Mutation-verified: AC-1 — registered a stub-1096 driver in DRIVERS with no conformance adapter; src/lib/workflow/drivers/__tests__/driver-conformance.test.ts > driver conformance > registry > every registered driver has a conformance adapter failed (2 failed | 1 passed); restored, 3 passed.

Test plan

  • conformance file, full: 32 passed | 2 expected fail (117 s, orchestrator env scrubbed)
  • -t registry after the AC-1 mutation: 2 failed; restored: 3 passed
  • AC-6 grep
  • npm test from a clean shell by the runner

🤖 Generated with Claude Code

Runner verification (guard-2026-09 wave 1, 2026-09-20)

  • qa verdict: AC_MET_BUT_NOT_A_PLUS (judgment tier, opus). The exec died on the 30-minute wall after its WIP commit; the runner committed the leftover edits, mutation-verified AC-1 (stub driver → 2 registry cases fail; restored 3 pass), wrote the changelog entry and opened this PR.
  • Runner ran the conformance file in full: 32 passed, 2 expected fail, 117 s; the codex sandbox commit and network probes ran for real (codex 0.154.0).
  • Runner fix (1b1f9dca): the driver-authoring guide is now indexed in docs/README.md (qa Finding 2). Left for review: the two it.fails codex cases pass on any throw (Finding 1, resolves with bug(codex): usage-limit turn failures classified 'unknown' — quality loop re-runs into the same quota, --auto-wait can't engage #1087); the AC-3 mutation is recorded as not applicable while those cases are it.fails.
  • Full npm test from a clean shell on this branch: 323 files, 6581 passed, 3 expected fail, 3 skipped, 364 s.

…ex error fixtures

Entire-Checkpoint: 550a32dd5fb4
…er-authoring guide

Entire-Checkpoint: b8df00ec8104
Entire-Checkpoint: f57f9b58437c
Entire-Checkpoint: 476978b4ffb8
@admarble
admarble merged commit 4038447 into main Sep 20, 2026
6 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.

test(drivers): conformance suite every agent driver must pass — commit in sandbox, network, typed error mapping, env injection, structured outcome

1 participant