Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs real behavior proof before merge. What this changesThe branch changes macOS Talk capture and playback for interruption, adds configurable spoken exit phrases and an optional spoken acknowledgement, and carries the settings and relay protocol changes through the Gateway and Control UI. Review scores
Merge readiness⛔ Blocked before merge - 9 items remain This PR still addresses behavior missing from current main. It needs a decision on the aggregate-microphone upgrade change, current-head Mac behavior proof, and conflict resolution before merge. Priority: P2 Decision needed
Before merge
Findings
Agent review detailsHow this fits togetherThe macOS Talk runtime receives microphone audio and Gateway relay events, then controls speech playback and the local Talk state. The Gateway supplies realtime sessions and transcription guidance; the Mac decides whether a recognized user command ends Talk. flowchart LR
A[Mac microphone] --> B[Talk audio capture]
B --> C[Gateway realtime relay]
C --> D[User transcript]
D --> E{Local exit phrase?}
E -->|No| F[Continue Talk]
E -->|Yes| G[Optional spoken acknowledgement]
G --> H[Turn off Talk and resume Voice Wake]
Technical reviewBest possible solution: Keep one Mac-owned exit decision, preserve saved preferences, and provide an owner-approved, visible upgrade path for aggregate-microphone users; demonstrate the final audio and shutdown behavior on the current build. Do we have a high-confidence way to reproduce the issue? No current-head physical Mac reproduction is recorded. Source and focused tests establish that selecting an aggregate microphone causes the new resolver to reject realtime capture and enter the native fallback path. Is this the best way to solve the issue? Unclear: the local exit owner and off-by-default preference are narrow, but the replacement capture graph needs owner acceptance for its aggregate-device behavior and direct Mac proof. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f7741c38ce7c. Merge-risk optionsMaintainer options:
SecurityNeeds attention: No supply-chain defect was established, but final-effect proof is needed that assistant playback cannot be treated as a user exit command. EvidenceSecurity concerns:
What I checked:
PR surfacePR surface statistics unavailable: the file list is incomplete. Review metrics
LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (12 earlier review cycles; latest 8 shown)
Reviewed September 29, 2026, 1:30 PM ET / 17:30 UTC (Revision 13). |
|
Fixed the debug-build prerequisite in 2fd71a5: the wrapper now prepares AEC before invoking Swift. All 169 wrapper tests pass, including isolated regression cases for dependency ordering and failure propagation. Added before/after settings screenshots to the description. Physical testing of the submitted build and aggregate-microphone compatibility remain outstanding; I’m working through those separately. This PR remains a draft. |
Record final user transcript receipt, local stop decisions, and bounded input saturation timing without logging speech or session identifiers. Exercise gateway-event forwarding and realistic capture callback bursts with held acknowledgments while preserving matching and send limits.
What Problem This Solves
Mac Talk needs reliable interruption and a hands-free way to end a conversation. This change adds configurable spoken exit commands under Settings → Talk → This Mac, improves echo cancellation and playback handling, and restores Voice Wake after Talk ends. Quoted, negated, partial, and stale stop-phrase matches are excluded.
An optional Spoken exit acknowledgement setting lets compatible OpenAI realtime sessions briefly say “Okay” in the current assistant voice before shutdown. It is off by default and always preserves the normal Talk-off sound. The acknowledgement is best effort, with bounded playback and immediate fallback on unsupported routes. Stop-phrase transcription hints and an explicitly configured Talk language improve recognition without requiring the acknowledgement setting.
Builds on #128204. Related: #71195 and #97592.
Evidence
Full upstream CI is skipped while this remains a draft. Recognition can still fail, and provider timing can clip or omit the optional acknowledgement.
Screenshots
Stop-phrase settings before and after the original change; the new acknowledgement toggle is covered by the focused browser test above.