Skip to content

fix(channels): keep quiet progress and the tool log under toolProgress - #137342

Merged
steipete merged 11 commits into
mainfrom
fix/channel-progress-core-policy
Sep 4, 2026
Merged

steipete merged 11 commits into
mainfrom
fix/channel-progress-core-policy

Conversation

@obviyus

@obviyus obviyus commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Hiding routine tool rows could also hide commentary, reasoning, approvals, and failures.

Why This Change Was Made

One shared compositor now keeps essential progress visible and controls the optional rolling tool log. Channel adapters preserve attention and final delivery. Included UI repairs load Models Settings text lazily and use authenticated widget loading in strict mode.

User Impact

Progress is quiet by default; streaming.progress.toolProgress: true enables tool rows. Existing third-party SDK defaults remain supported. Scripted widgets show inert content until scripts are enabled.

Evidence

All 380 focused channel and SDK tests passed. Mock-Gateway scenarios exercised quiet progress, tool logs, and terminal delivery. Browser tests covered Models Settings and widget loading with delayed settings. Fresh live Telegram rendering was blocked by a group-membership prerequisite; no live pass is claimed.

Widget before/after proof. Related Models Settings repair: #136969.

Consumers: bundled channel progress uses explicit mode defaults; the shared compositor retains approvals and failures; the UI loads Settings text lazily and authenticates strict widget reads.

Original implementation by Ayaan Zaidi (@obviyus).

@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
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.

@obviyus
obviyus marked this pull request as ready for review September 3, 2026 14:17
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: slack Channel integration: slack extensions: qa-lab size: XL maintainer Maintainer-authored PR labels Sep 3, 2026
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 3, 2026
@clawsweeper

clawsweeper Bot commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 4, 2026, 1:48 PM ET / 17:48 UTC.

ClawSweeper review

What this changes

This PR makes bundled channel progress drafts quiet by default while retaining authored status, reasoning, plans, approvals, and failures, and moves Model Providers translation copy into the Control UI’s lazy Settings catalog.

Merge readiness

⛔ Blocked before merge - 5 items remain

The shared-compositor approach is coherent and preserves the public SDK’s omitted default, but the active exact-head CI gate is failing; keep this maintainer-owned PR open until that gate is green.

Priority: P1
Reviewed head: fb6096efaf4883f3dd02a8fe971e97ea84d909b1

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A coherent cross-channel repair with meaningful focused coverage, pending only exact-head CI validation.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: Focused mock-Gateway and compositor evidence covers the changed presentation path; fresh Telegram Test Server rendering was waived after membership preflight failed.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Focused mock-Gateway and compositor evidence covers the changed presentation path; fresh Telegram Test Server rendering was waived after membership preflight failed.
Evidence reviewed 6 items Shared presentation owner: The compositor gives bundled progress mode a quiet default while continuing to render reasoning independently; routine tool rows require the explicit log mode, while attention rows and plans remain visible.
Public SDK compatibility: The exported resolver retains its omitted default of true, and bundled callers provide their resolved quiet-mode default explicitly; public-barrel tests cover omitted and forwarded undefined arguments.
Telegram owner path: Telegram derives the default from the resolved streaming mode, making progress-mode drafts quiet unless toolProgress is enabled.
Findings None None.
Security None None.

How this fits together

Channel streaming sends agent progress through a shared draft compositor before each channel renders a temporary preview or native card. Separately, the Control UI loads Model Providers text only when that Settings view opens.

flowchart LR
  A[Agent progress events] --> C[Shared progress compositor]
  B[Streaming progress setting] --> C
  C --> D[Quiet status and plan]
  C --> E[Optional tool log]
  D --> F[Channel draft or native card]
  E --> F
  G[Model Providers view] --> H[Lazy Settings translations]
Loading

Before merge

  • Resolve merge risk (P1) - Existing unconfigured progress-mode users will no longer see routine tool rows unless they enable the existing streaming.progress.toolProgress setting; this is intentional but compatibility-sensitive.
  • Resolve merge risk (P1) - The exact reviewed head has a failed openclaw/ci-gate run, and the failure detail was unavailable to this read-only reviewer.
  • Resolve merge risk (P1) - Fresh Telegram Test Server rendering was waived after its membership preflight failed; mock-Gateway coverage does not independently prove Telegram’s live rendering behavior.
  • Complete next step (P2) - Resolve the exact-head openclaw/ci-gate failure and obtain a green required-check run before merge.
  • Add data-model compatibility proof - Confirm migration or upgrade compatibility proof before merge.
Agent review details

Security

None.

PR surface

Source +242, Tests +1463, Docs +29, Generated 0, Other +178. Total +1912 across 71 files.

View PR surface stats
Area Files Added Removed Net
Source 29 762 520 +242
Tests 31 2733 1270 +1463
Docs 7 97 68 +29
Config 0 0 0 0
Generated 2 18 18 0
Other 2 179 1 +178
Total 71 3789 1877 +1912

Review metrics

Metric Value Why it matters
Production vs test delta production +743/−505; tests/QA +2930/−1285 The cross-channel presentation refactor has justified production growth, but its breadth makes exact-head CI particularly important before merge.

Stored data model

Persistent data-model change detected: migration/backfill/repair: extensions/telegram/src/doctor.ts, unknown-data-model-change: extensions/telegram/src/doctor.ts. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Accept the approved quiet default after validation (recommended)
    Merge after exact-head required checks pass, accepting that the existing toolProgress setting is now the opt-in for rolling routine tool rows.

Technical review

Best possible solution:

Keep one shared quiet-default compositor path and the SDK’s omitted true contract, then merge only after exact-head CI is green; restore live Telegram rendering evidence when its test prerequisite is available.

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

Yes: focused compositor and mock-Gateway channel cases provide a high-confidence exercise path for quiet and opt-in progress behavior, though fresh Telegram Test Server rendering was not completed after membership preflight failed.

Is this the best way to solve the issue?

Yes: a shared compositor with explicit bundled defaults is the most maintainable repair, and retaining the SDK resolver’s omitted default avoids changing third-party plugin behavior.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 832ce3c68b76.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P1: This repairs an active user-facing default across multiple channel progress presentations.
  • merge-risk: 🚨 compatibility: The intentional quiet default changes what existing unconfigured progress-mode users see until they enable the existing tool-log setting.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: Focused mock-Gateway and compositor evidence covers the changed presentation path; fresh Telegram Test Server rendering was waived after membership preflight failed.
  • proof: telegram-e2e: This PR needs Telegram Test Server proof with the repository E2E skill. Quiet and detailed Telegram progress rendering is user-visible and should receive Test Server proof when the membership prerequisite is restored.

Evidence

What I checked:

  • Shared presentation owner: The compositor gives bundled progress mode a quiet default while continuing to render reasoning independently; routine tool rows require the explicit log mode, while attention rows and plans remain visible. (src/channels/progress-draft-compositor.ts:107, fb6096efaf48)
  • Public SDK compatibility: The exported resolver retains its omitted default of true, and bundled callers provide their resolved quiet-mode default explicitly; public-barrel tests cover omitted and forwarded undefined arguments. (src/channels/streaming.ts:825, fb6096efaf48)
  • Telegram owner path: Telegram derives the default from the resolved streaming mode, making progress-mode drafts quiet unless toolProgress is enabled. (extensions/telegram/src/bot-message-dispatch-turn.ts:55, fb6096efaf48)
  • Focused behavioral coverage: Quiet-default, explicit tool-log, attention, resolution, and failure behavior are exercised in compositor tests; channel QA covers native and non-native progress presentations through the mock Gateway boundary. (src/channels/progress-draft-compositor.quiet.test.ts:18, fb6096efaf48)
  • Current PR state: The reviewed head is not an ancestor of fetched main, so it is still unmerged; supplied exact-head checks report openclaw/ci-gate as failed. (fb6096efaf48)
  • Codex protocol gate: Direct sibling inspection found Codex plan statuses and reasoning event identity/delta fields; this PR consumes those generic channel-facing presentations rather than changing the Codex implementation.

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • obviyus: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Resolve the exact-head CI gate failure.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (7 earlier review cycles)
  • reviewed 2026-09-03T14:27:29.013Z sha 8c77cbb :: blocked before merge. :: [P2] Retain approval-row cleanup after resolution
  • reviewed 2026-09-03T16:16:00.140Z sha 81ed1e4 :: blocked before merge. :: [P1] Reserve an attention slot when plan rows fill the draft | [P1] Preserve the established Slack compact fallback
  • reviewed 2026-09-03T18:20:19.072Z sha 2f0795b :: blocked before merge. :: [P1] Reserve an attention slot when plan rows fill the draft | [P1] Preserve the established Slack compact fallback | [P2] Make the Telegram Doctor remedy mode-aware
  • reviewed 2026-09-04T03:57:48.776Z sha 5e9f67d :: blocked before merge. :: [P1] Route Teams reasoning through the compositor’s reasoning path | [P1] Do not flip unconfigured progress defaults without approved upgrade scope
  • reviewed 2026-09-04T09:16:33.789Z sha 7bd849c :: blocked before merge. :: none
  • reviewed 2026-09-04T09:47:14.400Z sha 7bd849c :: blocked before merge. :: [P1] Preserve the resolver’s omitted-default SDK contract
  • reviewed 2026-09-04T16:43:42.438Z sha 06d6444 :: blocked before merge. :: none

@obviyus
obviyus force-pushed the fix/channel-progress-core-policy branch from 8c77cbb to 81ed1e4 Compare September 3, 2026 15:47
@obviyus obviyus changed the title fix(channels): restore tool progress rows and progress icons fix(channels): keep quiet progress and the tool log under toolProgress Sep 3, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. label Sep 3, 2026
@obviyus
obviyus force-pushed the fix/channel-progress-core-policy branch from 81ed1e4 to 2f0795b Compare September 3, 2026 18:10
@openclaw-barnacle openclaw-barnacle Bot added channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: telegram Channel integration: telegram labels Sep 3, 2026
@clawsweeper clawsweeper Bot added the proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. label Sep 3, 2026
@obviyus
obviyus requested a review from steipete September 4, 2026 02:11
@steipete
steipete force-pushed the fix/channel-progress-core-policy branch from 2f0795b to b788641 Compare September 4, 2026 03:44
@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. labels Sep 4, 2026
@steipete steipete self-assigned this Sep 4, 2026
@steipete

steipete commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Before/after proof for the shared compositor attention repair: an approval stays visible when a three-line plan fills the progress draft. The same configuration and synthetic events produce both panels; this is formatter output, not a live-channel screenshot.

Approval retained within the same three-line progress budget

pr-137342-before-after

@steipete
steipete force-pushed the fix/channel-progress-core-policy branch from 5e9f67d to c44a18c Compare September 4, 2026 07:14
steipete added a commit that referenced this pull request Sep 4, 2026
Reuse the canonical startup baseline from #138449, terminal-parent QA
acknowledgment from #137342, and handle-scoped reclamation fixture from
#138481. Keep the Watch, Rust and Gateway/provider production sources
unchanged from the verified 907 native and real-provider checkpoint.

The four-file delta has a clean independent review. Source binding retains
all 148 native inputs, 10 Rust pins and 3,095 Gateway/auth facts; tests and
baseline proof remain source-specific. No required check, timeout or size
allowance is disabled.

Co-authored-by: Ayaan Zaidi <[email protected]>
steipete added a commit that referenced this pull request Sep 4, 2026
…ts (#138598)

Match terminal delivery to its exact child/run direct-fallback receipt,
including after restart, instead of inferring the owner from text alone.
Count live acknowledgments without counting deleted preview history twice.
Keep history-wide silence and metadata checks, original deadlines, and the
canonical parent acknowledgment from #137342 unchanged.

Both four-case mock-channel flows, empty/restart behavior, 718 owner and
catalog cases, formatting and an independent review pass on the exact
source composition. No production or SQLite change.
steipete added a commit that referenced this pull request Sep 4, 2026
Keep main's canonical QA spawn acknowledgment, which supersedes the
duplicate fixture repair on this branch and resolves its merge conflict.

Preserve native proxy timeout precedence, including explicit null and
undefined defaults. Remove the direct-connector timeout fallback without
changing independent target deadlines. Extend real-wire regression coverage
for fixed and environment HTTPS and SOCKS-over-TLS routes.

Verified 60 wire tests, the final 20-check test gate, the preceding 29-check
owner gate with unchanged production, and a clean three-pass Codex review.
Fresh build, Gateway replay, hosted CI, and authenticated Telegram proof
remain separate checks; this commit does not claim they have passed.

Refs: #131436, #131354, #137342
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 5, 2026
openclaw#137342)

* fix(channels): unify quiet progress and tool-log presentation

Use the existing toolProgress setting for quiet progress defaults and the
opt-in tool log. Retain authored text, plan milestones, and independent
approval/failure attention through full plans and activity bursts.

Move Teams onto the shared compositor and keep Matrix and Mattermost event
callbacks active in quiet mode. Give native Slack attention stable event
identities, settle recovery without repeating append-only output, and keep
attention separate from Block Kit activity limits.

Preserve shipped SDK resolver/summary/plain contracts and Slack's explicit
compact fallback. Make Telegram Doctor advice follow the streaming mode.
Retain current-main Slack Markdown and recovery fixes; align docs and hints.

Co-authored-by: Ayaan Zaidi <[email protected]>

* test(slack): separate card and native progress coverage

Move the Block Kit cases into their own suite and share unchanged progress fixtures. Preserve all assertions while keeping both suites within the lint line limit.

* fix(channels): retain reasoning and terminal progress status

Route Teams reasoning deltas and snapshots through the shared compositor,
reset the reasoning burst at its lifecycle boundary, and retain failure
status when a native Slack card finishes with no work rows.

Align quiet-default help and generated metadata, and document Slack's
current compact final delivery after rebasing onto main. Config keys and
counts are unchanged. Preserve explicit tool-log opt-in and SDK contracts.

Co-authored-by: Ayaan Zaidi <[email protected]>

* test(telegram): verify quiet and detailed progress through userbot QA

Exercise omitted and enabled toolProgress with the existing commentary,
exec, and final-response fixture through the Telegram Test Server adapter.
Check every observed message revision, preserve commentary through tool
updates, and correlate the two provider calls with the successful exec.

Accept coalesced drafts and partial commentary. The serve driver exposes
messages and edits, so this scenario makes no deletion-observation claim.

* test(telegram): check credentials before progress proof

* fix(channels): preserve the shipped SDK tool-progress default

Restore the public resolver's omitted default of true and pass the resolved
mode's default explicitly from bundled callers. This keeps existing plugin
callers compatible while bundled progress drafts remain quiet by default.

Add public-barrel regressions for omitted and forwarded undefined arguments,
replace the obsolete internal expectation, and clarify the SDK contract.

Co-authored-by: Ayaan Zaidi <[email protected]>

* test(qa): acknowledge terminal-reply parent fixtures

Return a visible parent acknowledgement after spawning so native requester
settlement can complete. NO_REPLY deliberately retains an implicit
continuation, which prevented this direct-fallback scenario from reaching
its terminal delivery assertions through the real channel driver.

Keep worker silence, completion-agent fallback, and child-session-bound
release ordering unchanged. Five regression cases fail before the fixture
repair; all 284 mock-provider tests pass after it.

Format the Slack trace declaration with the branch's pinned formatter.

Co-authored-by: Ayaan Zaidi <[email protected]>

* perf(ui): defer provider settings copy until its page loads

Reuse the lazy catalog repair from openclaw#136969 to clear the inherited Control UI
startup budget failure while landing openclaw#137342. Preserve every English key,
value and catalog ordering; keep shared navigation labels eager.

Verify cold Settings search and English fallback, then exercise New Session,
Chat and Models Settings through Chromium with a production bundle.

* test(ui): keep lazy settings coverage within suite limits

* test(ui): capture lazy scripts before browser delivery

* fix(ui): authenticate widgets before sandbox settings load

Keep managed scripted widgets on the authenticated document owner in strict mode, retire prompt authority on policy changes, and preserve inert rendering until scripts are allowed. Cover delayed bootstrap and sandbox lifecycle transitions.

Co-authored-by: Ayaan Zaidi <[email protected]>

---------

Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 5, 2026
…ts (openclaw#138598)

Match terminal delivery to its exact child/run direct-fallback receipt,
including after restart, instead of inferring the owner from text alone.
Count live acknowledgments without counting deleted preview history twice.
Keep history-wide silence and metadata checks, original deadlines, and the
canonical parent acknowledgment from openclaw#137342 unchanged.

Both four-case mock-channel flows, empty/restart behavior, 718 owner and
catalog cases, formatting and an independent review pass on the exact
source composition. No production or SQLite change.
steipete added a commit that referenced this pull request Sep 5, 2026
* feat(watch): add native standalone realtime voice

Add opt-in Talk on Watch with provider-direct WebRTC/Opus, scoped Gateway
control and explicit call/audio ownership. Preserve phone-mediated voice.

Resolve native endpoints consistently across ICE and Network.framework,
fence late resolver/media work after cancellation, and release received
Opus promptly after packet loss while dropping late speech. Keep recoverable
provider notices visible without closing the session; make setup actionable.

Source review passes all eleven sections through P3. Native engine RED/GREEN
passes eleven final cases; real Watch Simulator resolver classification and
held-result cancellation pass fifteen and sixteen cases respectively.
Full device/provider/current-base CI verification remains a landing gate.

Uses the already-landed app-local companion journal; adds no database schema
or protocol-version change. Physical Watch microphone/speaker, background
and endurance behavior remains unverified.

* fix(watch): use OS entropy for ICE credentials

Supply fresh ICE credentials through the native engine's existing owner API
instead of relying on the pinned library's non-cryptographic defaults.
Fail engine creation closed if operating-system entropy is unavailable.

The actual C-ABI regression repeats dependency RNG state: credentials repeat
before the repair; all twelve engine cases pass afterward. The existing locked
getrandom package owns the platform entropy call; no resolved packages,
configuration, database schema, or Gateway protocol are added.

* test(qa): follow canonical ClawHub documentation ownership

* test(ios): retain websocket frames across receive registration

* test(qa): align Watch branch with landed documentation reference

* test(ios): include websocket regressions in selected lifecycle suite

* fix(watchos): remove unused audio startup result

Remove the unused audio-format result through the audio, media-session and controller path. Periphery exposed obsolete fields in a value the sole caller discarded; activation, cancellation and codec policy stay unchanged.

Include the separately reviewed Apple fixture synchronization fixes from #138207 while that prerequisite lands. No Gateway runtime, protocol, configuration or persistence changes.

* chore(watch): sync landed CI prerequisites

Reuse the canonical startup baseline from #138449, terminal-parent QA
acknowledgment from #137342, and handle-scoped reclamation fixture from
#138481. Keep the Watch, Rust and Gateway/provider production sources
unchanged from the verified 907 native and real-provider checkpoint.

The four-file delta has a clean independent review. Source binding retains
all 148 native inputs, 10 Rust pins and 3,095 Gateway/auth facts; tests and
baseline proof remain source-specific. No required check, timeout or size
allowance is disabled.

Co-authored-by: Ayaan Zaidi <[email protected]>

* fix(gateway): compose device reply ownership with watch voice teardown

Use the canonical committed-mutation response owner from #138492 for device
remove, rotate and revoke, preserving immediate fencing and scoped teardown.
Include the separately reviewed #138625 cleanup fix so a retired caller cannot
skip removed-device worker reconciliation. Keep setup/bootstrap on their
existing retirement helper and retain the Watch HTTP invalidation owner.

Validation: 194 owner, Watch and authorization tests passed with zero skips;
fresh scoped managed review found no P0-P3 findings. Full changed checks and
new published-head native/Gateway live proof remain separate landing gates.

* test(watch): isolate platform metadata regressions

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 6, 2026
* feat(watch): add native standalone realtime voice

Add opt-in Talk on Watch with provider-direct WebRTC/Opus, scoped Gateway
control and explicit call/audio ownership. Preserve phone-mediated voice.

Resolve native endpoints consistently across ICE and Network.framework,
fence late resolver/media work after cancellation, and release received
Opus promptly after packet loss while dropping late speech. Keep recoverable
provider notices visible without closing the session; make setup actionable.

Source review passes all eleven sections through P3. Native engine RED/GREEN
passes eleven final cases; real Watch Simulator resolver classification and
held-result cancellation pass fifteen and sixteen cases respectively.
Full device/provider/current-base CI verification remains a landing gate.

Uses the already-landed app-local companion journal; adds no database schema
or protocol-version change. Physical Watch microphone/speaker, background
and endurance behavior remains unverified.

* fix(watch): use OS entropy for ICE credentials

Supply fresh ICE credentials through the native engine's existing owner API
instead of relying on the pinned library's non-cryptographic defaults.
Fail engine creation closed if operating-system entropy is unavailable.

The actual C-ABI regression repeats dependency RNG state: credentials repeat
before the repair; all twelve engine cases pass afterward. The existing locked
getrandom package owns the platform entropy call; no resolved packages,
configuration, database schema, or Gateway protocol are added.

* test(qa): follow canonical ClawHub documentation ownership

* test(ios): retain websocket frames across receive registration

* test(qa): align Watch branch with landed documentation reference

* test(ios): include websocket regressions in selected lifecycle suite

* fix(watchos): remove unused audio startup result

Remove the unused audio-format result through the audio, media-session and controller path. Periphery exposed obsolete fields in a value the sole caller discarded; activation, cancellation and codec policy stay unchanged.

Include the separately reviewed Apple fixture synchronization fixes from openclaw#138207 while that prerequisite lands. No Gateway runtime, protocol, configuration or persistence changes.

* chore(watch): sync landed CI prerequisites

Reuse the canonical startup baseline from openclaw#138449, terminal-parent QA
acknowledgment from openclaw#137342, and handle-scoped reclamation fixture from
openclaw#138481. Keep the Watch, Rust and Gateway/provider production sources
unchanged from the verified 907 native and real-provider checkpoint.

The four-file delta has a clean independent review. Source binding retains
all 148 native inputs, 10 Rust pins and 3,095 Gateway/auth facts; tests and
baseline proof remain source-specific. No required check, timeout or size
allowance is disabled.

Co-authored-by: Ayaan Zaidi <[email protected]>

* fix(gateway): compose device reply ownership with watch voice teardown

Use the canonical committed-mutation response owner from openclaw#138492 for device
remove, rotate and revoke, preserving immediate fencing and scoped teardown.
Include the separately reviewed openclaw#138625 cleanup fix so a retired caller cannot
skip removed-device worker reconciliation. Keep setup/bootstrap on their
existing retirement helper and retain the Watch HTTP invalidation owner.

Validation: 194 owner, Watch and authorization tests passed with zero skips;
fresh scoped managed review found no P0-P3 findings. Full changed checks and
new published-head native/Gateway live proof remain separate landing gates.

* test(watch): isolate platform metadata regressions

---------

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui channel: discord Channel integration: discord channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: slack Channel integration: slack channel: telegram Channel integration: telegram docs Improvements or additions to documentation extensions: qa-lab maintainer Maintainer-authored PR merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL 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.

2 participants