Phase 2 — Capabilities & safety. Reusable test scaffolding so every provider PR is
cheap to validate.
Scope
- A bats helper that, given an adapter, asserts: (a) command-build produces expected
argv for representative options, (b) a recorded provider-output fixture normalizes to
the expected internal struct, (c) the capabilities record is well-formed.
- A mock-CLI pattern per provider (executable stub emitting canned structured output;
must take >1s per call per the e2e early-failure rule).
- Fixtures dir for raw provider outputs.
Acceptance
- Harness used by the Claude reference adapter; ready for [P3.1]+ to plug in.
Depends on: [P1.2]. Blocks: [P3.1], [P4.1]–[P4.5].
Phase 2 — Capabilities & safety. Reusable test scaffolding so every provider PR is
cheap to validate.
Scope
argv for representative options, (b) a recorded provider-output fixture normalizes to
the expected internal struct, (c) the capabilities record is well-formed.
must take >1s per call per the e2e early-failure rule).
Acceptance
Depends on: [P1.2]. Blocks: [P3.1], [P4.1]–[P4.5].