diff options
| author | Drew Ritter <drew@primeradiant.com> | 2026-09-11 20:38:31 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-09-11 20:38:31 -0700 |
| commit | 2c3c59ce3f5edf2c37bf40d270e7cc76a8bddae6 (patch) | |
| tree | e2293a25a07b2b2fd834e055d671e197a8bc96ca /tests/opencode | |
| parent | 90ff8ef95521280e23b74dfe48be43cd077000a5 (diff) | |
Reject invalid chat transcripts and propagate browser cleanup failures
Address the two final whole-PR findings from the consolidated movie repair
brief. A fresh openai-chat response must provide a speech-bearing string
transcript even when local ASR is off; null must not reuse the no-transcript
sentinel belonging to deterministic engines or cached accepted audio.
Preserve the bounded candidate loop and rejected-byte evidence.
Report failed Windows tree termination as OSError so the recorder owner's
existing per-child handler continues all cleanup and retains failure metadata.
Card rendering checks its acquired browser handle before acting on the PID,
propagates wait failure, and reports locked-profile removal instead of
allowing a pending successful return to hide incomplete cleanup.
Add fake HTTP/process/filesystem boundary regressions for both findings,
including real adapter invocation, accepted chat cache reuse, ASR modes,
normal completed cards, and serve cleanup after a failed leader later exits.
Correct the rejected-chat fixture to use the chat engine. No media or native
browser execution was performed; Drew retains personal video acceptance.
Validation: expected RED failures retained; 40 focused tests and the single
75-test contracts entrypoint pass. Full evidence and self-review are in
.superpowers/sdd/2026-09-11-movie-committee-repairs/final-fix-report.md.
Diffstat (limited to 'tests/opencode')
0 files changed, 0 insertions, 0 deletions
