FE-1646: Enable Petrinaut Voice in production - #9617
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
0eb46e1 to
b912e2c
Compare
PR SummaryHigh Risk Overview The README is updated to describe production enablement and documents the temporary lack of caller authentication (spoofable Reviewed by Cursor Bugbot for commit 5fb9c5e. Bugbot is set up for automated code reviews on this repo. Configure here. |
Co-authored-by: Cursor <cursoragent@cursor.com>
b912e2c to
fc08998
Compare
|
Two focused follow-ups before merge:
The policy implementation itself looks correct; these are documentation and proof gaps. |
Co-authored-by: Cursor <cursoragent@cursor.com>
lunelson
left a comment
There was a problem hiding this comment.
The requested documentation and coverage gaps are resolved. The production Voice rollback guidance now includes key revocation/rotation, and tests cover the configured microphone path plus fail-closed key and flag edge cases.
🌟 What is the purpose of this PR?
Enable Petrinaut Voice in production when it is explicitly configured on the server. Voice remains unavailable unless both the feature flag and dedicated OpenAI key are present.
🔗 Related links
🚫 Blocked by
None.
🔍 What does this change?
PETRINAUT_OPENAI_VOICE_ENABLED=trueandOPENAI_VOICE_API_KEYis non-empty.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:
None.
🐾 Next steps
None.
🛡 What tests cover this?
/api/voice/confighandler test covers the production response contract.mise exec -- turbo run lint:tsc --filter @apps/petrinaut-websitemise exec -- turbo run test:unit --filter @apps/petrinaut-website(41 files, 365 tests)oxlint --type-awareon the changed TypeScript filesoxfmt --checkon all changed files❓ How to test this?
PETRINAUT_OPENAI_VOICE_ENABLED=true,OPENAI_VOICE_API_KEY, and a valid Brunch endpoint.📹 Demo
Not applicable; this changes server-side availability and configuration behavior without changing the Voice interface.