Repository navigation
fix: keep Companion playback out of microphone capture - #1936
roboclaw-bot wants to merge 3 commits into
Conversation
Co-authored-by: PollyBot13 <[email protected]>
Co-authored-by: PollyBot13 <[email protected]>
Worked on by: - @PollyBot13 Co-authored-by: PollyBot13 <[email protected]> OpenClaw-Publication: 8f40a17d-1fc8-46cf-b0d1-6f88c50ad0f4
|
🦞👀 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 maintainer review before merge. What this changesThis PR shares playback mute intent across independently owned voice captures and cancels retiring chat speech without interrupting newer requests. Example: Read aloud “The meeting starts at 10:30” while a standalone chat recording is active.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR addresses a source-confirmed capture gap that remains on main; no definite introduced production defect was found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe chat coordinator sends text to the existing TTS service; App supplies shared mute state to standalone and node VoiceService instances, whose AudioPipeline registrations suppress microphone processing. flowchart LR
App --> MuteState
App --> VoiceServices
ChatCoordinator --> TTSPlayback
ChatCoordinator --> MuteState
MuteState --> AudioPipelines
VoiceServices --> AudioPipelines
Microphone --> AudioPipelines
Technical reviewBest possible solution: Use one App-scoped playback mute domain with leases and per-pipeline registrations while retaining independent capture ownership. Do we have a high-confidence way to reproduce the issue? Main’s node-only resolver and _pipeline-only mute setter leave standalone and invocation-local capture unsuppressed; no runtime reproduction was executed during this read-only review. Is this the best way to solve the issue? The fix places retained mute intent at the shared App lifetime and registers each existing capture owner, preserving provider selection, consent, per-invocation progress, and independent teardown. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ef1df54dfe95. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Review metrics
LabelsLabel 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 Reviewed October 30, 2026, 11:19 AM ET / 15:19 UTC. |
|
Closing as superseded by #1949, the fork-origin replacement that keeps these original commits and attribution and adds the review fixes and refreshed Windows evidence. Requested by @vyctorbrzezowski. Branch left in place. |
What Problem This Solves
Fixes: one-shot/standalone capture can transcribe Companion playback.
User Impact
User impact: mute intent covers active/future captures, including later STT enablement. Draft: current-head acoustic/App proof and fork-policy resolution remain open.
Publication succeeded on an upstream branch. The repository fork rule remains unresolved, not a GitHub permission failure. The managed publisher has no fork selector.
Why This Change Was Made
App-scoped leases retain separate capture ownership. Stop retires only its speech generation. Upstream interfaces/progress routing remain intact.
Evidence
Current-tree Windows CI is green: Core/CLI, Tray/setup/integration, UI/accessibility, release smoke and packaging. Earlier consented hardware recognition/suppression/recovery is supporting evidence, not current-head acoustic proof.
Change Type
Scope
winnodeRequired proof pools
windows-winui-interactive: partial earlier hardware proof; current integration/App transitions unverified.Validation
Head dcb69d9 and tested merge4516cb2 have identical complete trees.
Windows CI run41076873987: CI Gate, Core/CLI, Tray/setup/integration, UI/accessibility, WSL E2E, release smoke and MSIX passed. Skipped jobs are not passes.
Current workflow commands:
Earlier local Windows base5daead3 plus patch/test correction: ./build.ps1 passed5/5; Tray4737/native33/focused13 passed; Shared4790 passed/1 privilege failure/27 skipped. That failure remains historical. Cancellation-order correction preserves assertions; injected global Stop fails its negative control.
Canonical P0-P3 and exact-head ClawSweeper source reviews have no actionable findings. Current-head acoustic/App proof remains missing. Local ./build.ps1 was not rerun in this Linux sandbox.
Real Behavior Proof
Security Impact
Yes, explain the risk and mitigation: N/A. Existing gating/consent retained.Compatibility and Migration
Review Conversations
Worked on by
Work sessions