FE-1656: Add a rerunnable Voice end-to-end harness - #9651
Draft
kostandinang wants to merge 8 commits into
Draft
Conversation
Co-authored-by: Kostandin Angjellari <ka@hash.ai>
Co-authored-by: Kostandin Angjellari <ka@hash.ai>
Co-authored-by: Kostandin Angjellari <ka@hash.ai>
Co-authored-by: Kostandin Angjellari <ka@hash.ai>
…arness Co-authored-by: Kostandin Angjellari <ka@hash.ai>
Co-authored-by: Kostandin Angjellari <ka@hash.ai>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
|
kostandinang
added this pull request to stack #9652
September 10, 2026 17:56
kostandinang
force-pushed
the
ka/fe-1656-voice-e2e-harness
branch
from
September 10, 2026 22:19
1702557 to
6af148d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🌟 What is the purpose of this PR?
Make Petrinaut Voice regressions reproducible with synthetic speech through the real Chrome → Realtime → Flue → Brunch path. Local helper and provider-free checks pass; the live sweep remains unverified. This harness does not establish naturalness, first-audible latency, or human acceptance.
🔗 Related links
ka/realtime-voice-rephrasing.🚫 Blocked by
🔍 What does this change?
🏗️ Agent notes
See
apps/petrinaut-website/scripts/voice-e2e/README.mdfor selectors, timing choices, artifact layout, setup traps, and verification limits.Pre-Merge Checklist 🚀
🚢 Has this modified a publishable library?
This PR:
📜 Does this require a change to the docs?
The changes in this PR:
🕸️ Does this require a change to the Turbo Graph?
The changes in this PR:
The new
voice:e2ecommand is deliberately outside CI; pure tests use the existing unit-test task.The live sweep is pending. Recording duration is not proof of audible speech, diagnostic coverage cannot prove the absence of uninstrumented output, and dollar spend must be tracked externally. Latency budgets remain warn-only until three baseline sweeps exist.
🐾 Next steps
Complete the blocked live sweep and record per-scenario observations before requesting readiness. Human naturalness and acceptance assessment remain separate from this harness.
🛡 What tests cover this?
synthesize-utterance.test.tsandtrace-checks.test.ts: 34 tests passed, covering PCM validation, capture silence, and missing, reordered, interrupted, and rejected turns.❓ How to test this?
yarn workspace @apps/petrinaut-website exec vitest run scripts/voice-e2e/synthesize-utterance.test.ts scripts/voice-e2e/trace-checks.test.tsand confirm all 34 tests pass, including invalid PCM and incomplete or reordered traces.VOICE_E2E_APPROVED=true yarn workspace @apps/petrinaut-website voice:e2e.📹 Demo
No live demo yet. The six-scenario audio and screenshot evidence is pending the blockers above.