Use when:
- a new feature or materially changed workflow needs visible acceptance evidence
- the user explicitly asks to record a demo
- the workflow can be shown through the dashboard, local browser flow, or a scripted harness
Default environment:
HARNESS_CAPTURE_WITH_FFMPEG=1HARNESS_CAPTURE_AUDIO_FORMAT=pulseHARNESS_CAPTURE_AUDIO_INPUT=auto_null.monitorHARNESS_CAPTURE_DISPLAY=:99.0
Preferred commands:
npm run capture:screencast -- --output artifacts/screencasts/<feature-name>.mp4npm run capture:screencast:run -- --output artifacts/screencasts/<feature-name>.mp4 -- <workflow-command> [args...]
Workflow:
- choose a clear output path under
artifacts/screencasts/ - prefer a deterministic scripted workflow when one exists
- fail early if
ffmpeg, the PulseAudio monitor input, or the X display is missing - verify the output file exists and is non-empty
- reference the screencast path in the relevant ExecPlan or acceptance notes
If capture fails:
- record the exact failure reason
- do not silently skip the screencast expectation