refactor(#518): move capability-matrix doc assertion to dedicated voice-docs suite#550
refactor(#518): move capability-matrix doc assertion to dedicated voice-docs suite#550drewdrewthis wants to merge 1 commit into
Conversation
f2d729e to
18247d6
Compare
…ce-docs test suite The 'Capability matrix is rendered into adapter docs' scenario reads docs/voice/capability-matrix.md via readFileSync — filesystem I/O against a markdown doc, not adapter behaviour. A doc change should not break the voice contract tests. Changes: - Remove the scenario binding from voice-contract-surface.test.ts - Create src/voice/__tests__/voice-docs.test.ts with @docs tag filter - Retag the scenario in specs/voice-agents.feature from @Unit @ts-bound to @docs Closes #518 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Automated low-risk assessment This PR was evaluated against the repository's Low-Risk Pull Requests procedure.
An approving review has been submitted by automation. The PR may merge once required CI checks pass. |
|
[grinder] READY for human review CI: green (zero failing, zero pending) Verified by: |
Summary
The
Capability matrix is rendered into adapter docsscenario exercises filesystem I/O against a markdown doc, not adapter runtime behaviour. A doc change should not break the voice contract suite. This PR separates the two.voice-contract-surface.test.ts(+ unusedreadFileSyncimport andMATRIX_DOC_PATHconstant)src/voice/__tests__/voice-docs.test.tswith{ includeTags: ["docs"] }filterspecs/voice-agents.featurefrom@unit @ts-bound→@docsTest plan
pnpm exec vitest run src/voice/__tests__/voice-contract-surface.test.ts src/voice/__tests__/voice-docs.test.ts→ 16/16 passedCloses #518
🤖 Generated with Claude Code