Repository navigation
fix(channels): keep quiet progress and the tool log under toolProgress - #137342
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: blocked before merge. Reviewed September 4, 2026, 1:48 PM ET / 17:48 UTC. ClawSweeper reviewWhat this changesThis 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 Review scores
Verification
How this fits togetherChannel 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]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +242, Tests +1463, Docs +29, Generated 0, Other +178. Total +1912 across 71 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest 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. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (7 earlier review cycles)
|
8c77cbb to
81ed1e4
Compare
81ed1e4 to
2f0795b
Compare
2f0795b to
b788641
Compare
5e9f67d to
c44a18c
Compare
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]>
…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.
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
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]>
…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.
* 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]>
* 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]>


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: trueenables 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).