VERIFICATION: VoiceTask
Automated gate
From the repository root:
npm run check
This must complete typechecking, all tests, and the production build with exit code 0. Tests use mock providers, require no API keys or network, and must work on Windows, macOS, and Linux without external archive tools.
Definition of done
- Every checkbox in
spec/TASKS.mdis checked. npm run checkexits 0 after a cleannpm install.- The T12 smoke test covers a full session through generation.
- Export tests prove that the zip contains all six required files and that HEAD reports readiness.
BLOCKED.mdhas no unanswered entry that prevents a required feature.git diff --checkreports no whitespace errors.
Human smoke check
- With no
.envpresent, runnpm run devand confirm the server starts, the home screen asks for setup, and choosing the demo starts an interview without a restart. - Run
npm run demoand open the printed URL in current Chrome or Edge. - Confirm the home screen explains the three-part flow, local storage, and the source-backed result before the form.
- Create a session with a temporary target folder.
- Click
Start talking, grant microphone access, speak, then clickSend recording. Confirm one answer is added. - Hold Space while speaking and release it. Confirm one answer is added and no second recording starts.
- Type an answer. Confirm the topic counts and each topic status update in plain text.
- Finish early, accept the open-topic confirmation, and create the build brief.
- Confirm the primary zip download, handoff copy, file disclosure, and optional recommendation action appear.
- Refresh the completed session and confirm the zip download is still available.
- Open the zip and confirm
SPEC.md,PLAN.md,TASKS.md,VERIFICATION.md,HANDOFF.md, andsources.jsonare present. - Check the home, interview, and completion screens at a narrow and wide browser width. Confirm focus is visible when using Tab and motion stops when reduced motion is enabled.
Optional real-provider check
With real keys entered on the setup screen or selected by npm run setup, run npm run dev. Record one sentence and confirm it is transcribed, then confirm the next question is relevant. This check can call paid provider APIs and is not part of automated verification.
Per-task verification
Each task in spec/TASKS.md has its own verification line. Run it before checking that task off.