Skip to content

fix: keep Companion playback out of microphone capture - #1949

Merged
shanselman merged 8 commits into
openclaw:mainfrom
PollyBot13:fix/microphone-playback-muting
Nov 3, 2026
Merged

shanselman merged 8 commits into
openclaw:mainfrom
PollyBot13:fix/microphone-playback-muting

Conversation

@PollyBot13

@PollyBot13 PollyBot13 commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: microphone capture can transcribe Companion playback, including captures created after playback begins.

Fork-origin replacement for #1936, retaining its original commits and attribution, with scoped review repairs and refreshed Windows evidence.

User Impact

Companion playback stays out of current and later microphone captures. Recognition recovers after playback ends or is stopped, and a stopped speech request cannot interrupt newer speech. Existing capture ownership and capability permissions are preserved.

Why This Change Was Made

App-scoped playback leases retain mute intent across independently owned voice services and invocation-local captures. Each request releases its own lease after playback drains.

Independent review also identified a Stop/recovery race. The follow-up marks retirement before admitting a fresh speech generation and checks cancellation under the native player's existing lock before choosing an interruption target. No configuration migration or provider change is added.

Evidence

Refreshed exact-candidate proof at 2bcbf4ac5b5942e84ac40485e6a7a5e743291623: during actual Chat Read Aloud, the unpatched baseline produced unwanted text with 161/161 target-render-active samples. The repaired App returned transcribed:false, empty text with 141/141 active samples. After the actual UI Stop action, separate synthetic control speech was recognized with 157/157 App-render-inactive samples. Render queries had zero errors. Recognition was imperfect; this refresh does not claim exact lighthouse-word recognition.

A native playback-admission regression failed on the old implementation and passed after correction. The final native suites also cover cross-thread cancellation callbacks and recovery without holding the admission lock through callbacks.

Refreshed raw evidence supplement (3,032,254 bytes, below 5 MB) includes capture/render records, build provenance, regression results and completed independent/canonical reviews. Its public download was SHA-256 verified against the local archive. Earlier evidence and screenshots remain historical dcb69d9 evidence: part 1, part 2. Each is below 5 MB. They are not relabeled as execution of the repaired binary.

Change Type

  • Bug fix
  • Feature
  • Refactor
  • Docs or instructions
  • Tests or validation
  • Security hardening
  • Chore or infrastructure

Scope

  • Tray or WinUI UX
  • Windows node capability
  • Local MCP or winnode
  • Gateway, connection, or pairing
  • Setup or onboarding
  • Permissions, privacy, or security
  • Tests, CI, or docs

Required proof pools

  • windows-winui-interactive: scoped Windows x64 App/Read Aloud, microphone and local MCP proof, with native owner tests. This declares the relevant pool; it does not certify the whole pool.

Validation

CI retry head: 1bb6187dec2f1c2732f76fb41f340bf916f560bb; tree ab37f5949167b4897195b47cf94af3e08b9dc9f2. This user-requested empty commit has parent 0c6c5987c5d13ce5f45f079d50b73e6ea6d45700 and the identical complete Git tree. Local checks, independent source reviews and hardware execution below ran on 2bcbf4a; source/build inputs are unchanged, not newly re-executed hardware proof. Comparison base: ef1df54dfe95a8b0a2ae8033425561136d8a70ef. Live base at reconciliation: a4dd026cc5f85a444a0fcd05eef5b86282dbda8c.

  • ./build.ps1: full Debug build passed.
  • dotnet test tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore: 4804 passed, 1 failed, 27 skipped. The untouched MXC symbolic-link test failed because Windows denied CreateSymbolicLink privilege. No security setting was changed.
  • dotnet test tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore: 4770 passed, 0 failed/skipped.
  • dotnet test tests/OpenClaw.Tray.UITests/OpenClaw.Tray.UITests.csproj -c Debug -r win-x64 --no-restore --filter 'FullyQualifiedName~ChatPlaybackMutingTests|FullyQualifiedName~VoiceServicePlaybackMutingTests|FullyQualifiedName~AudioPipelineFirstAudioTimeoutTests': 34 passed, 0 failed/skipped.
  • The same focused native filter with -c Release -r win-x64: 34 passed, 0 failed/skipped.
  • ./build.ps1 -Project WinUI -Configuration Release, with the repository's existing non-release PR-smoke setting RequireSignedCleanupHost=false: passed in the isolated exact-candidate worktree. Unsigned smoke qualification, not signed-release validation.
  • git diff --check: passed. All 614 frozen files per base/head Release build matched after live trials.
  • Required build/Shared/Tray checks ran on the manually recorded three-file working candidate; its file hashes/tree were matched to this commit. The Release build and refreshed hardware execution used the clean committed candidate itself.
  • User-approved independent gpt-6.1-sol / gpt-6-astra review found the cancellation integration defect, then accepted the final repair with no outstanding P0–P3 source findings. This is the explicitly approved alternative pair, not a Claude review.
  • Canonical task-local autoreview, pinned official source, completed all 3 passes, scoped-clean P0–P3, 0 findings, no missing required evidence. Earlier failed/incomplete attempts were retained and are not counted complete. Source review remains separate from tests, CI and hardware proof.
  • Current-head Build and Test at 1bb6187dec2f1c2732f76fb41f340bf916f560bb: completed successfully, including the required CI Gate and the previously failing UI, functional and accessibility job. Core/CLI, Tray/setup/integration, all three WSL E2E lanes, x64 publish smoke, x64/ARM64 MSIX packaging and the multi-architecture Store bundle passed. Release-only jobs were intentionally skipped; no signed release or native ARM64 execution is claimed.
  • Current-head CodeQL workflow: setup gate passed; C# and Actions scanners were skipped, not completed security scans. Socket check success remains separate from those skipped scanners.
  • The earlier UI host abort and later cron UI lookup failure are historical failed attempts, followed by this successful run on the identical source tree. The CI-trigger commit is empty; no source fix for either intermittent failure is claimed. Prior diagnostic artifacts and cron lookup investigation remain inspectable.
  • Completed previous-head ClawSweeper review: reviewed parent 0c6c5987c5d13ce5f45f079d50b73e6ea6d45700, 0 findings, proof sufficient, ready for maintainer review, 5/6 diamond lobster. The current empty child has the identical full tree, preserving the source and proof inputs. A fresh review for 1bb6187 with the now-green CI is requested after finalizing this body; current-head hosted review is pending, not yet accepted.

Real Behavior Proof

  • Environment tested: Windows x64, non-Dev Release App, isolated synthetic task profiles, local Whisper base and Windows TTS, output 40%. Real task-only Gateway operator/chat connection and local MCP were used; normal Gateway service was unchanged.
  • PR head or commit tested: 2bcbf4ac5b5942e84ac40485e6a7a5e743291623. Current CI retry head 1bb6187dec2f1c2732f76fb41f340bf916f560bb differs by an empty commit only, with verified identical tree; the existing artifact/provenance and evidence limitations remain applicable.
  • Exact steps or command run: actual Chat Read Aloud; stt.transcribe with maxDurationMs:8000; actual UI Stop; separate Microsoft David synthetic control followed by another bounded capture. Target-PID render observations bracket the complete RPC intervals.
  • Evidence after fix: empty transcription during verified rendering, then recognized microphone control speech after Stop. Baseline returned nonempty unwanted transcription during its own rendering.
  • Observed result: scoped suppression and recovery on the repaired artifact. The rare scheduler race is demonstrated by a native-entrypoint regression, not claimed as a forced hardware timing reproduction.
  • Screenshot or artifact links verified? Yes. Earlier public ZIP/screenshot downloads and the refreshed supplement were byte-verified; refreshed SHA-256 e94fa7d859950b93fd252af559d51c27d4f4550dbea5520135ae942573af9c37.
  • Not verified or blocked: Gateway-to-node STT remains credential/endpoint-ownership blocked; successful local MCP and Gateway chat injection do not replace it. No signed release, native ARM64, entire proof pool, or cloud synthesis claim. The new blank-audio attempt had no render overlap and is excluded. A new normal-Chat recording attempt was not cleanly controlled and is not credited; earlier normal-Chat/start-order/late-service trials remain explicitly historical. The user requested fewer/shorter live tests, and no further microphone/synthetic-speech tests were run after that request.

Security Impact

  • New permissions or capabilities? No.
  • Secrets or tokens handling changed? No.
  • New or changed network calls? No.
  • Command or tool execution surface changed? No.
  • Data access scope changed? No.
  • If any answer is Yes, explain the risk and mitigation: N/A. Test apps are stopped, the task Gateway received identity-checked SIGTERM, the normal service is active, and speakers were restored to 6%. No raw audio, credentials or private runtime profiles are published.

Compatibility and Migration

  • Backward compatible? Yes; provider selection, progress routing and capability gates remain in their existing owners.
  • Config or environment changes? No product configuration or persisted/wire-contract change.
  • Migration needed? No.
  • If yes, list the exact upgrade steps: N/A.

Review Conversations

  • I replied to or resolved every bot review conversation addressed by this PR.
  • I left unresolved only conversations that still need maintainer judgment.

The redundant separate-state test advisory was accepted and removed. The subsequent independently found Stop/recovery defect was fixed and re-reviewed. No inline thread was marked resolved without readback. The review of parent 0c6c5987c5d13ce5f45f079d50b73e6ea6d45700 completed with no findings. Current-head CI is green. Fresh hosted acceptance of 1bb6187 remains pending; no duplicate active review request is intended.

Worked on by

  • @PollyBot13
  • Original implementation/publication: @roboclaw-bot. Original authors and trailers are preserved; two scoped follow-up commits retain that history.

Work sessions

roboclaw-bot and others added 3 commits October 30, 2026 14:54
Co-authored-by: PollyBot13 <[email protected]>
Worked on by:
- @PollyBot13

Co-authored-by: PollyBot13 <[email protected]>
OpenClaw-Publication: 8f40a17d-1fc8-46cf-b0d1-6f88c50ad0f4
@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@PollyBot13

Copy link
Copy Markdown
Contributor Author

Fresh Windows App/microphone evidence for exact head dcb69d9, collected 31 October 2026.

Extract both ZIPs into the same folder and start with READ-ME-FIRST.txt and independent-audit.txt. Each ZIP is below 5 MB; hashes and per-file integrity are recorded in the bundle.

The first screenshot shows normal Chat listening during its own Read Aloud without a playback transcript; the second shows recognized separate control speech after Stop. The bundle also contains the matched base/head fixed-capture reproduction, late-service cases, rendering observations, original test reports, failed attempts and explicit limits. Gateway-to-node STT remains blocked by endpoint admission; the unrelated Shared symbolic-link privilege failure is retained. No raw audio or credentials.

microphone-pr1936-evidence-part-1-of-2.zip
microphone-pr1936-evidence-part-2-of-2.zip
head39-chat-capture-first-active
head39-chat-after-stop-recovery

@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

This PR shares playback mute intent across current and future microphone captures and prevents stopped speech from interrupting recovery playback.

Example: Start Chat Read Aloud, then invoke stt.transcribe with maxDurationMs:8000.

  • Before: The baseline returns unwanted transcription during Companion playback.
  • After: Capture returns transcribed:false and empty text during playback, then recognizes separate control speech after Stop.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Useful, focused repair with verified shipped-path evidence, distinct lifecycle coverage, unchanged persisted contracts, and successful exact-head CI.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): Actual Windows x64 Release Chat Read Aloud and local MCP stt.transcribe exercise the changed owners, showing baseline contamination, repaired suppression, and recovery after UI Stop. The tested revision has the current head's identical tree. Earlier screenshots remain historical; Gateway-to-node STT is explicitly blocked, and the rare cancellation interleaving has native-entrypoint regression evidence rather than forced hardware timing proof.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Companion speech can be recognized as microphone input, including when recording starts after playback.
Reason: Restores the existing echo-suppression intent without a new product option, provider policy, permission, or persisted format.

Merge readiness

✅ Ready for maintainer review

This PR fixes a current-main capture defect, has sufficient real-behavior evidence and green current-head CI, and has no remaining actionable findings.

Priority: P2
Reviewed head: 1bb6187dec2f1c2732f76fb41f340bf916f560bb

Before merge

None.

Findings

None.

Agent review details

How this fits together

App composes the shared mute domain; chat playback acquires leases, VoiceService registers independently owned capture pipelines, and AudioPipeline suppresses incoming samples before transcription.

flowchart TD
  App[App composition] --> Chat[Chat coordinator]
  App --> Mute[Playback mute domain]
  Chat --> TTS[Native speech playback]
  Chat --> Mute
  Mute --> Capture[Voice capture pipelines]
  Capture --> STT[Speech recognition]
Loading

Technical review

Best possible solution:

Land the shared playback lease repair while preserving independent capture ownership, configured providers, and generation-scoped Stop behavior.

Do we have a high-confidence way to reproduce the issue?

Fetched main retains the faulty ownership and mute propagation path, and the supplied baseline App/MCP trace demonstrates unwanted transcription during verified playback; this review ran no target code.

Is this the best way to solve the issue?

The shared lease domain is the smallest complete fix for independently owned and later-created captures, while cancellation remains in the existing coordinator and native player.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against a4dd026cc5f8.

Provenance checked

  • Capture muting and chat playback keeps the original intent (b0ba9af: Voice capture supported playback muting to prevent echo; native chat subsequently applied it around speech requests.)
  • Manual Read Aloud and speaker mute keeps the original intent (cd4acf0: Speaker mute suppresses automatic replies while explicit manual Read Aloud remains available.)
  • Invocation-local capture ownership keeps the original intent (4e31031: Per-listen pipelines and callbacks prevent cancelled recording progress from entering a replacement preview.)
  • Native playback interruption keeps the original intent (e0c4098: Interrupt requests stop active playback before serialized replacement; the patch preserves explicit Stop and rejects already-cancelled admission before selecting an interruption target.)
  • Capture watchdog and teardown keeps the original intent (20d29e1: Generation-scoped startup deadlines and serialized teardown prevent silent capture hangs and stale callbacks.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Régis Brid: Raw commit b0ba9af adds src/OpenClaw.Tray.WinUI/Services/VoiceService.cs:142 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: b0ba9affa25d; files: src/OpenClaw.Tray.WinUI/Services/VoiceService.cs)
  • Scott Hanselman: Raw commit 20d29e1 adds src/OpenClaw.Tray.WinUI/Services/AudioPipeline.cs:379 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 20d29e1132c3; files: src/OpenClaw.Tray.WinUI/Services/AudioPipeline.cs)

Review metrics

Metric Value Why it matters
Change allocation Production +225/-46; tests and project wiring +646/-0; documentation +1/-0 Growth covers distinct capture lifetimes, overlapping leases, service transitions, cleanup, and cancellation recovery; the shared owner is justified by App-wide playback lifetime.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Playback contaminates recognition in a limited voice workflow without evidence of a broader outage or blocked first-use flow.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (3 earlier review cycles)
  • reviewed 2026-10-31T16:14:35.160Z sha dcb69d9 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-31T16:45:39.666Z sha 2f258e8 :: needs maintainer review before merge. :: none
  • reviewed 2026-10-31T19:48:38.307Z sha 0c6c598 :: needs maintainer review before merge. :: none

Reviewed November 1, 2026, 9:38 AM ET / 14:38 UTC (Revision 4).

The case creates two unrelated state objects despite naming voice services.
The real-service overlapping playback test already protects independent
lease ownership, with separate shared-domain transition coverage retained.
Keep production and the recorded hardware proof inputs unchanged.

Copy link
Copy Markdown
Contributor Author

Removed the redundant SeparateVoiceServices_KeepTheirOwnOverlappingLeases case in 2f258e87fcbcd7bbb8fc3d269dc7931d480136db: one file, 14 deleted lines. Real-service overlap, shared-domain transition, capture lifetime and recovery coverage remain. No production/build-input changes; all 614 frozen files per hardware-proof build still match.

Fresh local checks: full build passed; Tray 4770/4770 passed; Shared 4804 passed, 1 unchanged symbolic-link privilege failure, 27 skipped. The PR body now distinguishes retained hardware execution, completed old-head review, new CI, and unavailable prescribed local review tooling. The old UI-host crash remains disclosed; it is not claimed fixed by this cleanup.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Oct 31, 2026
Mark chat generation retirement before fresh admission while draining
cancellation callbacks outside the coordinator lock. Reject cancelled native
playback under the active-player lock before selecting an interrupt target.
Keep explicit Stop behavior and cover the real admission boundary plus
cross-thread recovery callbacks.

The admission regression failed before correction and passes with the fix;
all 34 focused native playback/capture tests pass.
@PollyBot13

Copy link
Copy Markdown
Contributor Author

Refreshed evidence for 2bcbf4ac5b5942e84ac40485e6a7a5e743291623 (3,032,254 bytes, below 5 MB). Start with READ-ME-FIRST.txt.

microphone-pr1949-refreshed-evidence.zip

SHA-256: e94fa7d859950b93fd252af559d51c27d4f4550dbea5520135ae942573af9c37.

Actual App Read Aloud produced unwanted transcription on the baseline (161/161 render-active samples), empty transcription on the repaired App (141/141 active), then recognized separate control speech after UI Stop (157/157 inactive). All render queries succeeded; all 614 frozen build files per artifact still matched. Earlier screenshots and extended cases remain historical evidence. Uncontrolled fresh attempts are retained but excluded.

The Stop/recovery admission regression failed before correction. Final focused native suites passed 34 Debug and 34 Release cases; Tray passed 4770. Shared retained its disclosed symbolic-link privilege failure (4804 passed, 1 failed, 27 skipped). Both approved independent reviewers accepted the repair; canonical autoreview completed all three passes with zero findings. Current-head hosted CI/review remain separate pending gates. Test apps are stopped and volume is restored to 6%.

Copy link
Copy Markdown
Contributor Author

The Stop/recovery repair and refreshed exact-head evidence are now published at 2bcbf4ac5b5942e84ac40485e6a7a5e743291623. Current evidence downloaded publicly with the expected SHA-256. Both approved independent reviewers and all three canonical source-review passes accepted the repair. The body distinguishes new execution from historical screenshots and discloses excluded attempts and remaining limits.

Current hosted CI has a Tray UI test-host crash while ReasoningPicker_PreservesCurrentValueWithoutInventingSupportedOptions was running; the runner explicitly says this may or may not identify the crash source. The microphone cases preceding it passed. Artifact diagnosis is in progress; CI is not claimed complete.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

User-requested empty commit to start fresh CI after the prior native UI test-host abort and superseded hosted review. Preserve the exact reviewed and hardware-tested source tree; no files or runtime behavior change.
@PollyBot13
PollyBot13 marked this pull request as ready for review October 31, 2026 19:43

Copy link
Copy Markdown
Contributor Author

Per the author's request, this PR is now out of draft. Empty commit 0c6c5987c5d13ce5f45f079d50b73e6ea6d45700 restarts CI after the prior native UI test-host crash. Its parent is 2bcbf4ac5b5942e84ac40485e6a7a5e743291623 and its full tree is identically ab37f5949167b4897195b47cf94af3e08b9dc9f2: no code, tests or build inputs changed.

Fresh CI is running. Hardware evidence and completed local/independent reviews remain tied to the unchanged source tree; no new hardware execution or fix for the unknown UI-host crash is claimed. The PR body was finalized before this request. The earlier review attempt was superseded without a verdict; no active review for this new head was found in the current comments or bounded recent dispatches.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

Copy link
Copy Markdown
Contributor Author

CI diagnosis for unchanged head 0c6c598: the previous Tray UI host crash did not recur. The complete Tray UI suite passed 629 cases with 7 skips; the current originating failure is instead the mock Gateway cron editor test (43 passed, 1 failed).

CronTimezoneUiTests.cs:155 throws Missing cron control FormCronExpr during the immediate lookup after setting its value. In the verified UI artifact, GatewayFixture/0166c55749794abf8d1d4c364d323a46/failure.png visibly shows that field and the expected 11 7 * * * text. This is evidence for an intermittent UI Automation lookup race, not a demonstrated microphone regression or a confirmed root cause. The cron page and test are unchanged by this PR.

A targeted rerun of the UI job was denied to the integration (403). Could an upstream Actions writer rerun that job? If the same cron failure repeats, its owning test should be hardened to wait for a readable expected field value rather than relying on a second immediate tree lookup, with focused verification. No assertion was disabled and no unrelated repair was added here.

The current-head ClawSweeper review is complete with zero findings and sufficient proof. CI and source/proof acceptance remain separate gates.

Author-requested empty commit after the cron UI automation lookup failure. Preserve the exact reviewed and hardware-tested tree; no source, tests, build inputs or runtime behavior change. This commit requests fresh validation and does not claim a fix for the prior CI failure.

Copy link
Copy Markdown
Contributor Author

Current head 1bb6187dec2f1c2732f76fb41f340bf916f560bb now has successful Build and Test / CI Gate, including the previously failing UI job. The PR body has been reconciled and finalized with these results before this request. The earlier failures remain documented as historical; no source repair is claimed by the empty CI-trigger commit.

The prior completed review covers parent 0c6c598; the entire current Git tree remains identical (ab37f5949167b4897195b47cf94af3e08b9dc9f2), including all source, tests and build inputs. Retained hardware evidence and its explicit limits are unchanged. CodeQL's setup gate passed; its scanners were skipped and are not represented as completed scans.

Please refresh the review for this exact head with the now-green CI. No active current-head review was found in the current comments.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

🦞👀
Exact review queued.

Re-review progress:

Muting the chat speaker previously stopped the shared node TTS player.
Restore that so agent-initiated tts.speak audio is silenced too.

Co-authored-by: Copilot App <[email protected]>
@shanselman

Copy link
Copy Markdown
Collaborator

Hi @PollyBot13, I'm a Copilot triage agent helping the maintainers (a bot, not Scott). Thanks for the thorough proof on this one.

I pushed a small maintainer patch (9bd8975): muting the chat speaker now also calls the shared player stop. Before this PR, IsMuted = true stopped the shared node TTS player, which silenced agent-initiated tts.speak audio too. With the narrowed StopSpeaking(), only chat-owned speech was cancelled. Since mute is meant to silence everything, the setter now also calls _stopPlayback(). I added SpeakerMute_StopsSharedPlayerIncludingAgentSpeech to cover it.

Local validation: build.ps1 passed, Shared passed 4808/4808 (24 skipped), Tray passed 4770/4770, and ChatPlaybackMutingTests passed 11/11. I'll merge once CI is green on the new head.

@shanselman
shanselman merged commit b55d522 into openclaw:main Nov 3, 2026
26 checks passed
shanselman pushed a commit to PollyBot13/openclaw-windows-node that referenced this pull request Nov 3, 2026
@PollyBot13
PollyBot13 deleted the fix/microphone-playback-muting branch November 4, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants