Repository navigation
feat: show cited source previews in macOS and iOS chat - #148906
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 maintainer review before merge. Reviewed September 15, 2026, 5:25 AM ET / 09:25 UTC (Revision 5). ClawSweeper reviewWhat this changesAdds cited-source cards, recorded excerpts, and Gateway-managed favicons to macOS and iOS chat, with regression coverage, documentation, and a duplicate test-group correction. Merge readiness✅ Ready for maintainer review The Apple implementation remains useful and is not present on fetched main. The earlier URL-normalization finding is resolved, and this review found no new blocking defect. Maintainer protection and the active native feature request also preclude cleanup closure. Priority: P2 Review scores
Verification
How this fits togetherShared Apple chat UI matches completed answers against recorded search and fetch results from the same run. Native Gateway adapters supply favicon preferences and authenticated icons; selecting a card displays recorded content and offers navigation to the source. flowchart TD
A[Completed answer links] --> C[Match cited sources]
B[Recorded search and fetch results] --> C
C --> D[Native source cards]
E[Gateway preferences and authenticated icons] --> D
D --> F[Recorded excerpt]
F --> G[Open original source]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -2, Docs +26, Other +2074. Total +2098 across 30 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep one shared Apple source projection over recorded transcript evidence, using existing Gateway preferences and authorization for optional icons. Do we have a high-confidence way to reproduce the issue? Not applicable to the feature request; inspected native before/after captures demonstrate the presentation change, and source inspection confirms the earlier URL-equivalence defect is repaired. Is this the best way to solve the issue? Yes. A shared Apple projection and thin native resource adapters fit the existing ownership boundaries without new searches, configuration knobs, or storage migrations. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 8618ee31b8b8. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
Fixed the URL-normalization finding in 53c4428fcae86e8c02930db01ddb7a515ff3e524. Generic-preview matching now uses the source projector's existing URL normalizer. Focused cases cover bare domains, host casing, default ports, fragments, and distinct port/credential URLs. The PR body includes an additional signed native before/after proof: the preceding code displays one source card plus a generic preview, while the correction retains only the source card for the same bare-domain citation. Both production builds and all 32 test declarations compile and link; exact-head native CI is running and remains a merge gate. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Project recorded web evidence into compact source cards with excerpts and Gateway-managed favicons. Preserve dedicated session and GitHub cards and existing generic link-preview behavior. Related: #148850
53c4428 to
18bfca0
Compare
|
The native commits remain patch-identical after rebasing onto current main. The additional CI correction in 18bfca0 removes two duplicate test-root patterns introduced by overlapping main-branch changes. All 83 secrets tests remain with the documented agents/tools compiler group; the full ownership guard, inventory regression, and both affected compiler checks pass. The PR body records this correction and retains all native screenshot evidence. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Merged via squash.
|
* commit '1226eecf4ff909de172a6837422cfa64723fade8': (39 commits) test: align model auth and setup fixtures with current behavior (#149023) refactor: reuse web search request context (#148949) fix(ci): remove duplicate Copilot auth metadata (#149016) test(agents): align auth fixtures with runtime store reads (#149004) improve: reduce data fetched during reminder maintenance (#148996) fix(cron): skip availability checks when session pruning is idle (#148920) fix(auth): guard GitHub Copilot device flow authority (#148999) fix(agents): prevent early recovery aborts of foreground exec (#148959) fix(github-copilot): remove retired Raptor mini (#116505) improve(feishu): reduce preparation work for documents with tables (#148997) improve: reduce database work when recording participants (#148841) test: accept Bun error labels in plugin assertions (#148955) fix(models): clarify saved account health and catalog status (#148987) test(plugins): align Copilot auth-choice registry expectations (#148981) fix(channels): reject blank integer channel add options (#145534) fix(ui): preserve archive undo after chat navigation (#148831) feat: show cited source previews in macOS and iOS chat (#148906) fix: avoid redundant tab updates while chats stream (#148865) test(qa): run Discord through Crabline (#116446) perf(crabbox): prepare project runtimes during worker download (#148952) ...
* commit '84114b5a2711764e2ca333e327e808fd88316063': (40 commits) improve(sessions): reuse compiled transcript metadata queries (#148773) fix(ci): repair Copilot contracts and config failure diagnostics (#149001) test: align model auth and setup fixtures with current behavior (#149023) refactor: reuse web search request context (#148949) fix(ci): remove duplicate Copilot auth metadata (#149016) test(agents): align auth fixtures with runtime store reads (#149004) improve: reduce data fetched during reminder maintenance (#148996) fix(cron): skip availability checks when session pruning is idle (#148920) fix(auth): guard GitHub Copilot device flow authority (#148999) fix(agents): prevent early recovery aborts of foreground exec (#148959) fix(github-copilot): remove retired Raptor mini (#116505) improve(feishu): reduce preparation work for documents with tables (#148997) improve: reduce database work when recording participants (#148841) test: accept Bun error labels in plugin assertions (#148955) fix(models): clarify saved account health and catalog status (#148987) test(plugins): align Copilot auth-choice registry expectations (#148981) fix(channels): reject blank integer channel add options (#145534) fix(ui): preserve archive undo after chat navigation (#148831) feat: show cited source previews in macOS and iOS chat (#148906) fix: avoid redundant tab updates while chats stream (#148865) ...
* feat: show cited source previews in macOS and iOS chat Project recorded web evidence into compact source cards with excerpts and Gateway-managed favicons. Preserve dedicated session and GitHub cards and existing generic link-preview behavior. Related: openclaw#148850 * fix: avoid duplicate source previews for equivalent URLs * test: remove duplicate secrets test graph ownership
…26.9.5) (#696) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [ghcr.io/openclaw/openclaw](https://openclaw.ai) ([source](https://github.com/openclaw/openclaw)) | patch | `2026.9.4` → `2026.9.5` | --- ### Release Notes <details> <summary>openclaw/openclaw (ghcr.io/openclaw/openclaw)</summary> ### [`v2026.9.5`](https://github.com/openclaw/openclaw/releases/tag/v2026.9.5): openclaw 2026.9.5 [Compare Source](openclaw/openclaw@v2026.9.4...v2026.9.5) #### 2026.9.5 ##### Highlights - **Safer upgrades and retained history:** Doctor preserves session history and repeated-repair state, finishes upgrades with invalid retained histories, and avoids repeatedly stalling or stopping a Gateway that is still starting. ([#​149741](openclaw/openclaw#149741), [#​149956](openclaw/openclaw#149956), [#​148901](openclaw/openclaw#148901), [#​149308](openclaw/openclaw#149308), [#​149823](openclaw/openclaw#149823), [#​149760](openclaw/openclaw#149760)) Related [#​149822](openclaw/openclaw#149822) Thanks [@​masatohoshino](https://github.com/masatohoshino). - **Live plugin management:** install and reload supported plugins without restarting the Gateway, update tools in active agent and managed Codex conversations, and manage multiple plugins in one CLI command. ([#​145484](openclaw/openclaw#145484), [#​145710](openclaw/openclaw#145710), [#​145713](openclaw/openclaw#145713), [#​145648](openclaw/openclaw#145648), [#​145917](openclaw/openclaw#145917), [#​149910](openclaw/openclaw#149910)) Related [#​149909](openclaw/openclaw#149909) Thanks [@​obviyus](https://github.com/obviyus). - **Clearer multi-agent work:** distinguish execution from result delivery, use private parent completion handoffs, resume scoped session inventories, and deliver one answer for each steered input. ([#​147571](openclaw/openclaw#147571), [#​147206](openclaw/openclaw#147206), [#​150065](openclaw/openclaw#150065), [#​148051](openclaw/openclaw#148051), [#​149925](openclaw/openclaw#149925)) Related [#​27445](openclaw/openclaw#27445), [#​147955](openclaw/openclaw#147955) Thanks [@​good-warning](https://github.com/good-warning), [@​nicknmorty](https://github.com/nicknmorty), [@​obviyus](https://github.com/obviyus), [@​VACInc](https://github.com/VACInc), and [@​vincentkoc](https://github.com/vincentkoc). - **A desktop-first Systems workspace:** manage Gateway connections through web login and switch saved Gateways independently of Primary, with sidebar switching on iOS and Android. ([#​147519](openclaw/openclaw#147519), [#​148526](openclaw/openclaw#148526), [#​147684](openclaw/openclaw#147684), [#​146641](openclaw/openclaw#146641), [#​148209](openclaw/openclaw#148209)) Related [#​147217](openclaw/openclaw#147217), [#​147576](openclaw/openclaw#147576), [#​148205](openclaw/openclaw#148205) Thanks [@​IWhatsskill](https://github.com/IWhatsskill), [@​Solvely-Colin](https://github.com/Solvely-Colin), and [@​vincentkoc](https://github.com/vincentkoc). - **More flexible live voice:** use GPT Live across calls and meetings, choose account-specific Talk defaults, and change voices during an active Talk or Discord call. ([#​145382](openclaw/openclaw#145382), [#​146546](openclaw/openclaw#146546), [#​146676](openclaw/openclaw#146676)) Related [#​145071](openclaw/openclaw#145071). - **Citations and review in context:** preview cited sources in web and native chats, turn selected chat text into editable comments, reference selected Android review lines, and toggle word wrapping in Review. ([#​148431](openclaw/openclaw#148431), [#​148904](openclaw/openclaw#148904), [#​148906](openclaw/openclaw#148906), [#​148649](openclaw/openclaw#148649), [#​144101](openclaw/openclaw#144101), [#​143972](openclaw/openclaw#143972)) Related [#​144093](openclaw/openclaw#144093), [#​148409](openclaw/openclaw#148409) Thanks [@​ansxor](https://github.com/ansxor), [@​IWhatsskill](https://github.com/IWhatsskill), [@​Marvinthebored](https://github.com/Marvinthebored), [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@​shakkernerd](https://github.com/shakkernerd). - **Simpler model sign-in and selection:** align native sign-in with runtime choices, sign in without changing the model, choose across agent harnesses, and connect Radius models with browser sign-in and native streaming. ([#​143588](openclaw/openclaw#143588), [#​144329](openclaw/openclaw#144329), [#​147994](openclaw/openclaw#147994), [#​145377](openclaw/openclaw#145377)) Thanks [@​obviyus](https://github.com/obviyus). ##### Changes - **Conversation navigation:** native sidebars preview pending requests, while macOS, iOS, Android, and web chat can collapse completed work so replies and older history remain easier to read. ([#​149811](openclaw/openclaw#149811), [#​147540](openclaw/openclaw#147540), [#​148002](openclaw/openclaw#148002), [#​148050](openclaw/openclaw#148050), [#​147295](openclaw/openclaw#147295)) Related [#​147271](openclaw/openclaw#147271), [#​149682](openclaw/openclaw#149682) Thanks [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Agent setup and teams:** start from role templates and a team preset, show every agent and its sessions in team mode, and use a roster-first Agents home. ([#​145712](openclaw/openclaw#145712), [#​141476](openclaw/openclaw#141476), [#​141097](openclaw/openclaw#141097)) Thanks [@​hannesrudolph](https://github.com/hannesrudolph). - **Group conversations:** coordinate bounded multi-agent group threads across channels and share selected sessions read-only with a paired team Gateway. ([#​141411](openclaw/openclaw#141411), [#​136253](openclaw/openclaw#136253)) - **Activity and run artifacts:** show rolling session recaps, Git changes and PR previews, and select assistant-delivered files by the run that produced them. ([#​147441](openclaw/openclaw#147441), [#​145530](openclaw/openclaw#145530), [#​147682](openclaw/openclaw#147682)) Related [#​145529](openclaw/openclaw#145529), [#​147383](openclaw/openclaw#147383) Thanks [@​onlyysaurabh](https://github.com/onlyysaurabh) and [@​vincentkoc](https://github.com/vincentkoc). - **Browser and dashboards:** download assets from the Browser sidebar, share browser dashboards with agents, embed websites in full-screen session dashboards, and save shared split/full-screen defaults. ([#​144480](openclaw/openclaw#144480), [#​146702](openclaw/openclaw#146702), [#​146312](openclaw/openclaw#146312), [#​146475](openclaw/openclaw#146475)) Related [#​144477](openclaw/openclaw#144477), [#​146303](openclaw/openclaw#146303), [#​146308](openclaw/openclaw#146308), [#​146577](openclaw/openclaw#146577) Thanks [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Desktop interaction:** control Gateway desktops without a paired node, match virtual worker displays to their viewport, and watch live desktops in Picture-in-Picture. ([#​147275](openclaw/openclaw#147275), [#​143938](openclaw/openclaw#143938), [#​143836](openclaw/openclaw#143836)) Related [#​143829](openclaw/openclaw#143829), [#​147274](openclaw/openclaw#147274) Thanks [@​vincentkoc](https://github.com/vincentkoc). - **Remote workspaces:** start remote sessions without a repository, select repository-defined source checkouts, and reduce source storage through filesystem snapshots, APFS clones, and ReFS clones. ([#​147773](openclaw/openclaw#147773), [#​149581](openclaw/openclaw#149581), [#​146251](openclaw/openclaw#146251), [#​146338](openclaw/openclaw#146338), [#​146403](openclaw/openclaw#146403)) Related [#​146250](openclaw/openclaw#146250), [#​146288](openclaw/openclaw#146288), [#​149580](openclaw/openclaw#149580) Thanks [@​fuller-stack-dev](https://github.com/fuller-stack-dev) and [@​obviyus](https://github.com/obviyus). - **Code mode:** find MCP tools by task, reuse results between code cells, retain oversized results for later cells, and infer result shape from the requested action. ([#​147134](openclaw/openclaw#147134), [#​147154](openclaw/openclaw#147154), [#​147278](openclaw/openclaw#147278), [#​147291](openclaw/openclaw#147291)) - **Plugin state and background work:** offer asynchronous task/flow reads and worker-backed keyed and conditional state operations without removing the supported synchronous SDK paths. ([#​145851](openclaw/openclaw#145851), [#​146557](openclaw/openclaw#146557), [#​147891](openclaw/openclaw#147891)) - **Hot policy changes:** apply browser control policy, Telegram access/reply policy, and renewed TLS certificates without restarting their running services. ([#​146100](openclaw/openclaw#146100), [#​146129](openclaw/openclaw#146129), [#​146267](openclaw/openclaw#146267)) - **Model providers:** support OpenRouter sign-in from private chat, explicit consent before exposing restricted provider models, and opt-in stored HTTP continuation for compatible Responses endpoints. ([#​144491](openclaw/openclaw#144491), [#​144468](openclaw/openclaw#144468), [#​128633](openclaw/openclaw#128633)) Related [#​123215](openclaw/openclaw#123215) Thanks [@​hartmark](https://github.com/hartmark), [@​obviyus](https://github.com/obviyus), and [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Codex interaction:** answer asynchronous questions while other agent work continues, view usage beside saved logins, and expose slow or failed catalog phases with retained-request correlation. ([#​144664](openclaw/openclaw#144664), [#​132453](openclaw/openclaw#132453), [#​132454](openclaw/openclaw#132454), [#​148639](openclaw/openclaw#148639), [#​148735](openclaw/openclaw#148735), [#​149616](openclaw/openclaw#149616)) Related [#​144643](openclaw/openclaw#144643), [#​148629](openclaw/openclaw#148629), [#​148728](openclaw/openclaw#148728) Thanks [@​jesse-merhi](https://github.com/jesse-merhi). - **Daybreak fallback:** retry supported cyber-refused turns on Daybreak, surface cyber notices, and announce successful retries. ([#​143761](openclaw/openclaw#143761), [#​145291](openclaw/openclaw#145291), [#​147146](openclaw/openclaw#147146)) Thanks [@​VACInc](https://github.com/VACInc). - **Triage handoffs:** add Muse, Grok, Cursor, Kimi Code, and Qwen Code handoffs through the existing triage workflow. ([#​149703](openclaw/openclaw#149703), [#​149877](openclaw/openclaw#149877)) - **Automation history:** query and paginate run history from the CLI, show readable timer wake timestamps, and list matches when an automation name is ambiguous. ([#​141777](openclaw/openclaw#141777), [#​141742](openclaw/openclaw#141742), [#​150082](openclaw/openclaw#150082)) Related [#​58574](openclaw/openclaw#58574), [#​141745](openclaw/openclaw#141745) Thanks [@​Alix-007](https://github.com/Alix-007), [@​Celthi](https://github.com/Celthi), [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen), and [@​shakkernerd](https://github.com/shakkernerd). - **Structured channel questions:** answer an agent question directly from its offered Mattermost option or LINE tap. ([#​135350](openclaw/openclaw#135350), [#​133421](openclaw/openclaw#133421)) Related [#​133288](openclaw/openclaw#133288), [#​133418](openclaw/openclaw#133418) Thanks [@​edenfunf](https://github.com/edenfunf) and [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Chat composition and files:** keep drafting while history loads, offer emoji shortcodes, retain file previews in tabs with HTML rendering, and display image attachments inline in the TUI. ([#​143625](openclaw/openclaw#143625), [#​146737](openclaw/openclaw#146737), [#​146672](openclaw/openclaw#146672), [#​146644](openclaw/openclaw#146644)) Related [#​143607](openclaw/openclaw#143607), [#​146590](openclaw/openclaw#146590), [#​146610](openclaw/openclaw#146610), [#​146655](openclaw/openclaw#146655) Thanks [@​VACInc](https://github.com/VACInc), [@​vincentkoc](https://github.com/vincentkoc), and [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Review and workboards:** inspect CI jobs and steps from PR chips and select or update multiple workboard cards together. ([#​148070](openclaw/openclaw#148070), [#​144756](openclaw/openclaw#144756)) Related [#​147952](openclaw/openclaw#147952) Thanks [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Personalization:** choose an avatar during agent hatching, use custom SVG session icons, and distinguish plugin activity with compact icons. ([#​146669](openclaw/openclaw#146669), [#​147442](openclaw/openclaw#147442), [#​147333](openclaw/openclaw#147333), [#​143711](openclaw/openclaw#143711)) Related [#​143683](openclaw/openclaw#143683) Thanks [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Gateway visibility:** show ping and shared activity graphs, a browser-tab status dot, and compact System busyness widgets with all three metrics. ([#​146755](openclaw/openclaw#146755), [#​147388](openclaw/openclaw#147388), [#​147760](openclaw/openclaw#147760), [#​147840](openclaw/openclaw#147840)) Related [#​147343](openclaw/openclaw#147343), [#​147757](openclaw/openclaw#147757), [#​147829](openclaw/openclaw#147829) Thanks [@​vyctorbrzezowski](https://github.com/vyctorbrzezowski). - **Native desktop layout:** unify Tauri setup, Quick Chat themes, title bars, and window controls; the macOS app defaults to the web experience while retaining its experimental native experience. ([#​148808](openclaw/openclaw#148808), [#​147097](openclaw/openclaw#147097), [#​149763](openclaw/openclaw#149763)) Related [#​147096](openclaw/openclaw#147096). - **Diagnostics:** report when the runtime was built from a different commit than HEAD, expose administrative CPU profiles, and inspect native FreeBSD rc.d service discovery. ([#​144499](openclaw/openclaw#144499), [#​148004](openclaw/openclaw#148004), [#​148875](openclaw/openclaw#148875)) Related [#​148003](openclaw/openclaw#148003) Thanks [@​RomneyDa](https://github.com/RomneyDa) and [@​vincentkoc](https://github.com/vincentkoc). - **Provider and channel configuration:** expose official channel labels/docs in JSON listings, allow a Discord API URL override, and show comparative cost analysis in the Control UI. ([#​93265](openclaw/openclaw#93265), [#​118067](openclaw/openclaw#118067), [#​100432](openclaw/openclaw#100432)) Related [#​100405](openclaw/openclaw#100405) Thanks [@​fuller-stack-dev](https://github.com/fuller-stack-dev), [@​obviyus](https://github.com/obviyus), and [@​RomneyDa](https://github.com/RomneyDa). - **Execution options:** configure approval-reviewer thinking and fast mode, and default parallel-session capacity to four runs per available CPU. ([#​147192](openclaw/openclaw#147192), [#​147423](openclaw/openclaw#147423)) Thanks [@​VACInc](https://github.com/VACInc). - **Plugin SDK migration — Gateway V2:** the existing Gateway handler and node-session imports now expose physical WebSocket, generic framed, and HTTP polling capabilities honestly. Before WebSocket-only operations, narrow `node.client.webSocket`; narrow `node.client.socket` separately for framed operations. Polling nodes remain visible, and the node wire protocol is unchanged. Migration details: `/plugins/sdk-migration/compatibility-policy#gateway-node-transport-sdk-v2`. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). ##### Fixes - **Identity and authorization:** stop inferring forwarded sender identity from message text, stop MiniMax token requests after chat-login permission is revoked, and preserve attachments whose content types use prototype-like names. ([#​138579](openclaw/openclaw#138579), [#​149140](openclaw/openclaw#149140), [#​143673](openclaw/openclaw#143673)) Related [#​149139](openclaw/openclaw#149139) Thanks [@​LiuwqGit](https://github.com/LiuwqGit), [@​masatohoshino](https://github.com/masatohoshino), [@​obviyus](https://github.com/obviyus), and [@​xialonglee](https://github.com/xialonglee). - **Transcript and session ownership:** prevent stale companion/cloud transcript writes, preserve context and ownership across compaction, and track new sessions before their first transcript write. ([#​149997](openclaw/openclaw#149997), [#​149840](openclaw/openclaw#149840), [#​149712](openclaw/openclaw#149712)) - **Final replies and completed work:** retain completed tool receipts through text-only finalization and empty-answer retries without repeating completed actions or recording internal continuation prompts as new user messages. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). - **Large-history responsiveness:** keep large session detail and chat metadata reads responsive, avoid blocking the Gateway during memory index publication, and reduce retention work and startup/Doctor memory pressure. ([#​149749](openclaw/openclaw#149749), [#​149853](openclaw/openclaw#149853), [#​149901](openclaw/openclaw#149901), [#​149754](openclaw/openclaw#149754), [#​149704](openclaw/openclaw#149704)) Thanks [@​fuller-stack-dev](https://github.com/fuller-stack-dev). - **Update and Doctor recovery:** preserve shared WAL after a refused restore, unblock shared-state repair for July upgrades, and avoid false pending migrations for bundled runtimes. ([#​149918](openclaw/openclaw#149918), [#​149753](openclaw/openclaw#149753), [#​149653](openclaw/openclaw#149653)) Thanks [@​obviyus](https://github.com/obviyus). - **Service upgrades:** preserve Gateway authentication when reinstalling legacy services and avoid timing out systemd restart inspection. ([#​149686](openclaw/openclaw#149686), [#​149970](openclaw/openclaw#149970)) - **Managed-service updates:** fix service environment refresh failures when upgrading from 2026.9.4 to 2026.9.5 with `openclaw update`. ([#​151977](openclaw/openclaw#151977)) - **Subagent continuation:** inherit the active model at spawn, enforce fork limits against current context, and resume tasks after output-limited tool calls. ([#​149036](openclaw/openclaw#149036), [#​149666](openclaw/openclaw#149666), [#​149844](openclaw/openclaw#149844)) Thanks [@​vincentkoc](https://github.com/vincentkoc). - **Channel shutdown:** finish accepted Telegram work, Discord introductions, and deferred Slack replay before shutdown, while preserving Telegram spool settlement ownership. ([#​150080](openclaw/openclaw#150080), [#​150072](openclaw/openclaw#150072), [#​150073](openclaw/openclaw#150073), [#​149953](openclaw/openclaw#149953)) Thanks [@​obviyus](https://github.com/obviyus). - **Channel startup and routing:** avoid blocking Discord startup on persisted bindings and allow cross-provider messaging by default. ([#​149861](openclaw/openclaw#149861), [#​149875](openclaw/openclaw#149875)) - **Plugin reloads:** reuse the published inbound registry and bundled setup code, keep Lossless usable after settings reload, and validate source reloads under Bun. ([#​149648](openclaw/openclaw#149648), [#​149646](openclaw/openclaw#149646), [#​149675](openclaw/openclaw#149675), [#​150088](openclaw/openclaw#150088)) Thanks [@​Patrick-Erichsen](https://github.com/Patrick-Erichsen). - **Provider execution:** retain disabled-plugin CLI backend capabilities during inspection, reject incomplete compatible reply streams, and preserve the configured transport during authentication refresh. ([#​149837](openclaw/openclaw#149837), [#​149842](openclaw/openclaw#149842), [#​150003](openclaw/openclaw#150003)) Related [#​149854](openclaw/openclaw#149854), [#​149855](openclaw/openclaw#149855) Thanks [@​obviyus](https://github.com/obviyus), [@​zhangguiping-xydt](https://github.com/zhangguiping-xydt), and [@​SunnyShu0925](https://github.com/SunnyShu0925). - **Codex startup and catalogs:** prevent service refresh from repeatedly aborting startup, bound catalog memory while retaining tied rows, and avoid repeated scans across multiple homes. ([#​149365](openclaw/openclaw#149365), [#​150112](openclaw/openclaw#150112), [#​149879](openclaw/openclaw#149879)) Thanks [@​bdjben](https://github.com/bdjben) and [@​obviyus](https://github.com/obviyus). - **Automation correctness:** prevent extra event-schedule runs, reject ambiguous exact-name lookups, and keep selected automation history and edits attached to the intended task. ([#​149902](openclaw/openclaw#149902), [#​149958](openclaw/openclaw#149958), [#​149955](openclaw/openclaw#149955), [#​150129](openclaw/openclaw#150129)) Thanks [@​Alix-007](https://github.com/Alix-007). - **Session navigation:** retain archive confirmation after leaving Sessions, preserve pagination when switching agents during deletion, and keep newer selections when older mutations finish. ([#​150108](openclaw/openclaw#150108), [#​150125](openclaw/openclaw#150125), [#​149959](openclaw/openclaw#149959)) - **Chat state:** keep your own messages right-aligned through refresh and reconnect, and clear resolved queued-message reorder conflicts. ([#​147634](openclaw/openclaw#147634), [#​149962](openclaw/openclaw#149962)) Related [#​147511](openclaw/openclaw#147511) Thanks [@​keith9681](https://github.com/keith9681), [@​obviyus](https://github.com/obviyus), and [@​SunnyShu0925](https://github.com/SunnyShu0925). - **Files and selection:** keep workspace files readable, preserve Files selection during directory refreshes, retain parent navigation for unavailable folders, and preserve model searches during text composition. ([#​149499](openclaw/openclaw#149499), [#​149900](openclaw/openclaw#149900), [#​150118](openclaw/openclaw#150118), [#​149845](openclaw/openclaw#149845)) - **Windows paths and credentials:** preserve state roots during database admission and worker startup, retain credential reads, and read exact configuration filenames containing whitespace. ([#​149976](openclaw/openclaw#149976), [#​150035](openclaw/openclaw#150035), [#​149124](openclaw/openclaw#149124), [#​149629](openclaw/openclaw#149629)) Related [#​149630](openclaw/openclaw#149630) Thanks [@​obviyus](https://github.com/obviyus) and [@​zhangguiping-xydt](https://github.com/zhangguiping-xydt). - **Workspace safety:** keep file tools aligned with overlapping sandbox mounts and preserve work through worktree creation and cleanup races. ([#​148893](https://github.com/openclaw/openclaw/issues/148893), [#​149914](https://github.com/openclaw/openclaw/issues/149914)) Thanks [@​vincentkoc](https://github.com/vincentkoc). - **Legacy updater handoffs:** keep the Node runner resolver independent of candidate runtime imports, complete changed-plugin Doctor work through the correct parent/child owner, and inspect copied Doctor contracts in private rehearsals while leaving live installation paths protected. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). - **Plugin SDK authoring:** retain released boolean memory-search `enabled` values and undefined per-channel `responseUsage` entries without changing runtime resolution or persisted configuration schemas. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). - **Shipped SDK compatibility:** preserve full-config and readonly roster inputs, versioned legacy model-selection authoring, Discord component registration's `void` return, and Gateway plugin metadata notifications through their existing lifecycle and restart owners. The deprecated model-policy `allowsKey` member remains source-only and is never used for authorization; asynchronous completion and errors remain owned after a void call returns. Thanks [@​vincentkoc](https://github.com/vincentkoc) and [@​RomneyDa](https://github.com/RomneyDa). ##### Complete contribution record The full contribution record is available in the tag-pinned [CHANGELOG.md](https://github.com/openclaw/openclaw/blob/v2026.9.5/CHANGELOG/records/2026.9.5.md#complete-contribution-record). ##### Release verification - npm package: <https://www.npmjs.com/package/openclaw/v/2026.9.5> - registry tarball: <https://registry.npmjs.org/openclaw/-/openclaw-2026.9.5.tgz> - integrity: `sha512-TCO/ImVLh5HkF4tdfo7iriIa7kT6iYkIr/jR5ZOkePGFGhUx5Oe7DE716Y1DzzG2teRAVDdCjgJDu1A24Yta7w==` - release SHA: `ec9c1a13db8938e5a3eaa51fca2e981cde2395a9` - full release CI report: <https://github.com/openclaw/releases/blob/main/evidence/2026.9.5/release-evidence.md> - release publish: <https://github.com/openclaw/openclaw/actions/runs/35414217443> - npm preflight: <https://github.com/openclaw/openclaw/actions/runs/35382454474> - full release validation: <https://github.com/openclaw/openclaw/actions/runs/35381634370> - plugin npm publish: <https://github.com/openclaw/openclaw/actions/runs/35414496234> - plugin ClawHub submission: <https://github.com/openclaw/openclaw/actions/runs/35414501298>; public artifact verification follows successful release-parent completion - plugin ClawHub bootstrap: dispatched separately, not awaited by this proof: <https://github.com/openclaw/openclaw/actions/runs/35414503229> - Stable soak waived by operator: "Operator-approved by Peter for 2026.9.5: soak-only live/E2E lanes blocked by infrastructure and main-owned fixture failures; non-soak Full Release Validation [`3538163`](openclaw/openclaw@35381634370) attempt 2 green; 9.4 to 9.5 update proven on systemd-service and plain installs." - npm Telegram beta E2E: not supplied - Android APK: skipped — apps/android/version.json is 2026.8.2, release train is 2026.9.5; run the shared mobile cutter (scripts/mobile-release-version.ts --prepare) before the next tag. </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/London) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjEwNC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9jb250YWluZXIiLCJ0eXBlL3BhdGNoIl19--> Reviewed-on: https://git.hayden.moe/hayden/phoebe/pulls/696
* refactor(agents): centralize tool description exclusions * Merge main into refactor/tool-description-exclusions-20260915 * commit '84114b5a2711764e2ca333e327e808fd88316063': (40 commits) improve(sessions): reuse compiled transcript metadata queries (#148773) fix(ci): repair Copilot contracts and config failure diagnostics (#149001) test: align model auth and setup fixtures with current behavior (#149023) refactor: reuse web search request context (#148949) fix(ci): remove duplicate Copilot auth metadata (#149016) test(agents): align auth fixtures with runtime store reads (#149004) improve: reduce data fetched during reminder maintenance (#148996) fix(cron): skip availability checks when session pruning is idle (#148920) fix(auth): guard GitHub Copilot device flow authority (#148999) fix(agents): prevent early recovery aborts of foreground exec (#148959) fix(github-copilot): remove retired Raptor mini (#116505) improve(feishu): reduce preparation work for documents with tables (#148997) improve: reduce database work when recording participants (#148841) test: accept Bun error labels in plugin assertions (#148955) fix(models): clarify saved account health and catalog status (#148987) test(plugins): align Copilot auth-choice registry expectations (#148981) fix(channels): reject blank integer channel add options (#145534) fix(ui): preserve archive undo after chat navigation (#148831) feat: show cited source previews in macOS and iOS chat (#148906) fix: avoid redundant tab updates while chats stream (#148865) ... * refactor(agents): consolidate tool description exclusions * chore: merge main for tool summary validation * commit '926bb1e1d75c6b102bcbf93114c690312c23cf18': (1903 commits) refactor(matrix): reuse startup verification account key (#157310) perf(config): avoid repeated environment scans during publication (#156457) chore(i18n): refresh native locales (#157495) fix(update): show quiet step progress and date recorded outcomes (#153407) feat(gateway): preserve browser sign-in requirements before connecting (#157454) test(scripts): await CLI admission fixture lifetimes (#157424) fix(ci): preserve consumer selection across core type stripes (#157373) fix(wizard): preserve typed plugin enum values (#127577) (#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (#157458) test: prebuild run-node signal fixture (#157478) refactor(exec): reuse approval policy rule keys (#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (#157365) fix(config): apply Gateway writes without waiting for file events (#157372) fix: count recorded nested tool operations once (#157438) fix(telegram): stop leaking raw file:// markdown links in messages (#137810) refactor(claws): share resource capability changes (#154680) improve(channels): reduce redundant preparation for button messages (#157050) fix(build): package preparation fails on unrelated test types (#157318) refactor(claws): share bounded document reading (#157436) ... Co-authored-by: Vincent Koc <[email protected]>
…8966) * refactor(agents): centralize tool description exclusions * Merge main into refactor/tool-description-exclusions-20260915 * commit '4a994031abb1b54d51b76755a55ac8f6e918162d': (40 commits) improve(sessions): reuse compiled transcript metadata queries (openclaw#148773) fix(ci): repair Copilot contracts and config failure diagnostics (openclaw#149001) test: align model auth and setup fixtures with current behavior (openclaw#149023) refactor: reuse web search request context (openclaw#148949) fix(ci): remove duplicate Copilot auth metadata (openclaw#149016) test(agents): align auth fixtures with runtime store reads (openclaw#149004) improve: reduce data fetched during reminder maintenance (openclaw#148996) fix(cron): skip availability checks when session pruning is idle (openclaw#148920) fix(auth): guard GitHub Copilot device flow authority (openclaw#148999) fix(agents): prevent early recovery aborts of foreground exec (openclaw#148959) fix(github-copilot): remove retired Raptor mini (openclaw#116505) improve(feishu): reduce preparation work for documents with tables (openclaw#148997) improve: reduce database work when recording participants (openclaw#148841) test: accept Bun error labels in plugin assertions (openclaw#148955) fix(models): clarify saved account health and catalog status (openclaw#148987) test(plugins): align Copilot auth-choice registry expectations (openclaw#148981) fix(channels): reject blank integer channel add options (openclaw#145534) fix(ui): preserve archive undo after chat navigation (openclaw#148831) feat: show cited source previews in macOS and iOS chat (openclaw#148906) fix: avoid redundant tab updates while chats stream (openclaw#148865) ... * refactor(agents): consolidate tool description exclusions * chore: merge main for tool summary validation * commit 'e0f58a77476acbe382bff5e55cd520e9d228d478': (1903 commits) refactor(matrix): reuse startup verification account key (openclaw#157310) perf(config): avoid repeated environment scans during publication (openclaw#156457) chore(i18n): refresh native locales (openclaw#157495) fix(update): show quiet step progress and date recorded outcomes (openclaw#153407) feat(gateway): preserve browser sign-in requirements before connecting (openclaw#157454) test(scripts): await CLI admission fixture lifetimes (openclaw#157424) fix(ci): preserve consumer selection across core type stripes (openclaw#157373) fix(wizard): preserve typed plugin enum values (openclaw#127577) (openclaw#138090) fix(qa): title mock Code Mode fixture calls refactor: simplify SQLite worker lifecycle and test fixtures (openclaw#157458) test: prebuild run-node signal fixture (openclaw#157478) refactor(exec): reuse approval policy rule keys (openclaw#157198) fix(ci): reuse prepared runtime for changed-target E2E shards (openclaw#157365) fix(config): apply Gateway writes without waiting for file events (openclaw#157372) fix: count recorded nested tool operations once (openclaw#157438) fix(telegram): stop leaking raw file:// markdown links in messages (openclaw#137810) refactor(claws): share resource capability changes (openclaw#154680) improve(channels): reduce redundant preparation for button messages (openclaw#157050) fix(build): package preparation fails on unrelated test types (openclaw#157318) refactor(claws): share bounded document reading (openclaw#157436) ... Co-authored-by: Vincent Koc <[email protected]>
Remove duplicate visibility/cache/startup state and unreachable platform/encoder fallbacks in old iOS and Android files. Share outside-tap recognition and let the node invoke boundary own mirrored-notification normalization. Keep physical-route authorization, permission checks, durable Watch admission and ACKs, FIFO sends, protocol/data shapes, and ordinary concurrency. Net production reduction: 289 LOC, excluding tests, fixtures, and generated files. Proof: iPhone app/Share/embedded Watch builds, final 273 invoke/Watch ingress/delegate/location tests and 74 sidebar/dashboard tests; Watch scheme build and 11 media tests; Android APK and 89 distinct focused unit cases; 18 shared source-resource tests. Changed-file guards, native lint, runtime/Madge cycles (zero), lint-suppressions (3 tests), and final independent P0-P2 review pass. No hosted CI or hardware/provider-audio/battery proof is claimed. Best-effort tradeoffs accepted: - Observer declarations (#113634): synthetic stale-ACK fencing is replaced by FIFO sends and subscription/reconnect replay; failed or obsolete metadata heals on the next declaration. - Dashboard refresh (#111339): the sole SwiftUI refresh task is sequential and cancellation-owned, so a second generation counter is redundant; a future concurrent direct caller must cancel prior work or accept last-completing cosmetic data until refresh. Roster event/mutation overlap still retains its own generation. - Delayed cosmetic actions (#113062): the synthetic post-delay interleaving no longer needs generations; replacing an action does not revoke work that already started. - Delayed gate lifetime (#113062): both real view owners cancel on disappearance, so a second weak-gate lifetime condition is redundant; a future caller omitting cancellation may still perform a harmless cosmetic completion after releasing its gate. - Watch one-shot transport (#135808): cancelled instances cannot restart, so generations add no supported lifetime; cancellation and physical-resource checks remain. - Command advertisements (#136192): the synthetic synchronous preference flip may briefly split a command family until reconnect; live invocation admission remains. - Turn recaps (#112221/#113084): synthetic metadata-only mode and a duplicated pending terminal value are removed; the sole production caller always provides transcript facts, and same-timestamp metadata corrections now use the latest authoritative session row. History/terminal attribution, settlement bounds and all 21 retained tests remain. - Realtime coordinator (#111033): direct concurrent reset/reuse is unsupported by serialized phone/Wear callers; current-session, duplicate-run, and live-submit guards remain. - Network availability (#138732): an unexpected duplicate SDK AVAILABLE may wake offline retry early; the human battery fix (#127872), retry ladder, and current-session admission remain. - iOS resource adapter (#148906): a captured invalidated loader may redundantly reload current metadata; the shared cache owner still cancels stale in-flight results and live authority remains checked. - Watch startup buffer (5e9bc09): synchronous MainActor registration cannot interleave with queued inbound delivery; a future caller yielding before registration may drop ephemeral requests, never ACK uncommitted chat. - Mirror validation (#23636): the sole caller supplies normalized bounded fields; future internal callers must preserve that precondition. - Beacon payload UTF-8 (#73330): Foundation JSONEncoder guarantees the bytes; a framework contract violation is an internal failure, not a recoverable conversion branch. - Beacon envelope UTF-8 (#73330): the same guarantee removes the second conversion fallback; actual encoding errors still throw. - Watch request UTF-8 (#135808): default encoder output cannot fail UTF-8 conversion; actual encoding errors still throw. - Location event UTF-8 (#18260): default encoder output cannot fail UTF-8 conversion; nonfinite-value encoding failures keep their existing handling. - HealthKit identifiers (#105616): fixed supported identifiers use nonfailable SDK constructors; authorization, privacy scope, and queries remain unchanged. - Pre-iOS26 button fallback (#168595): the existing native deployment floor is26.2, so supported rendering is unchanged. - Pre-Android26 priority fallback (#29398): the app minimum is31; notification-channel importance remains the active owner. - WebView task document fences (#139514): existing MainActor cancellation-at-effect already rejects retired callbacks; navigation and document authority remain. (cherry picked from commit 3dd5a00)
* refactor(apple): simplify old shared and macOS bookkeeping Replace redundant generations with existing cancellation or actual owner identity, consolidate parallel fallback/policy paths, and remove test-only forwarding layers. Preserve authority, FIFO, durable state, resource bounds, public protocol/config shapes, signing, permissions, and visible rendering. Reuse canonical session-key normalization for Voice Wake delivery selection: opaque Signal group IDs remain case-sensitive and main aliases are not added. Use canonical IP-literal policy for discovery labels and remote CLI validation. Best-effort tradeoffs accepted - Palette generation (#159350): synthetic direct completions bypassed the sole cancellation-owning caller; unsupported future callers can show stale results until the next search. Current cancellation/request/agent checks remain. - Link preview generation (#160710): synthetic URL replacement without caller cancellation is outside the SwiftUI task lifecycle; a late cosmetic result can remain until the next refresh. Network/SSRF checks and bounded caches remain. - Sidebar preview generation (#147197): same-request overlapping cache reads can finish out of order; no linked human failure report, and a later refresh replaces the cosmetic projection. Owner/request checks remain. - Source-preview producer revision (#148906): duplicate of exact task cancellation, with no human failure report. Consumer revision and authenticated resource authority remain. - Mermaid generations (#135470/#135746): feature stress fixtures, no linked human race report. Exact subscriber cancellation and job/WebView identity retain the same admission; no extra failure accepted. - Camera JPEG UUID (#107879): duplicates exact task cancellation; #107804 was a human feature request, not a generation-specific incident. Captured session/agent/route and attachment admission remain. - Discovery generation (#145435): speculative queued callbacks, no linked human incident. A stopped browser may publish one late discovery projection; next discovery/refresh repairs it. Connection authority remains separate. - FSEvents generation (#145453): synthetic stop/restart fixtures, no linked human incident. An old callback after restart may cause one extra refresh; serial lifecycle ownership and pending-work cancellation remain. - Menu generations (#139688): feature-local late-result fixtures, no linked human incident. Exact task cancellation replaces duplicate tokens; drain-before-disconnect and real consumer/window authority remain. - Cron generation (#131466/#137502): #138209 cut every load over to one cancel-and-drain chain. No direct concurrent load caller remains; cancellation and physical source leases stay checked after awaits. - WebChat visibility acknowledgement/retry (#113634/#137089): synthetic timeout/reconnect interleavings, no linked human incident. A timed-out visibility update is best effort until the next transition/reconnect; FIFO and live socket leases remain. - WebChat cleanup UUID (#113634/#137089): retain one bounded completed Task handle per live connection instead of matching cleanup tokens. Completion releases captures; replacement/retirement removes the handle. - Child-exit polling (#145437): synthetic missed-notification coverage, no linked human report. A lost OS exit notification may wait for the existing deadline; final non-reaping liveness/status checks and cleanup remain. - Realtime iterator borrowing trap (#156772): every real consumer awaits its own iterator sequentially. Unsupported concurrent next calls no longer get a custom custody protocol; bounded stream/cancellation/socket checks remain. - Receipt projection admission (#161745): both real callers already match receipt and row identity immediately before synchronous projection. Those effect checks remain; no unsupported internal caller is defended twice. - Recap attribution heuristics (#112188/#113084): synthetic guard matrix, no linked human race report. Missing initial rows or very late unrelated completion may supply a cosmetic footer; per-session freshness, failed-turn handling and settled results remain. - PortGuardian per-write schema scans (#110527): synthetic live-handle version advance, no linked human incident. Concurrent external schema upgrades are best effort until reopen; initial admission, migration locks, receipts, transactions and durability remain. - Unread queue counter (#110019): actual Task equality replaces the duplicate integer token. Exact-tail reclamation, bounded bookkeeping, FIFO and route authority remain unchanged. Review dispositions: the claimed Task compilation failure is disproved by the selected SDK's Equatable conformance and native builds. Repeated receipt identity admission is unnecessary at its internal projector because both real callers retain it immediately before projection. Per-write schema revalidation was declined under the explicit best-effort policy above. Proof and scope Net production reduction: 369 lines (148 added, 517 deleted), excluding tests. Fresh seven-day census permits all substantive production edits; the only recent caller change is the unavoidable one-line fallback-to-parse rename. Shared Swift build passed. Final focused shared tests passed 396 cases in six suites (6.683s execution), Watch decoder tests passed five cases (0.003s), and isolated whole-owner native tests passed 16 cases. macOS SwiftPM compiled all products and the test bundle. Final macOS and iOS/Watch xcodebuild builds passed (89.60s and 120.87s wall), without signing changes or app launches. Canonical Apple lint/format checks passed; the initial iOS format failure in WatchCommands was ours and corrected, with no gate weakened. Lint-suppression tests passed 3/3 (14.09s wall). Earlier runtime cycles and Madge each reported 0; the TypeScript graph is unchanged. Native localization stayed at 4476 entries. The 45 original packaging/elevation timeout cases passed one focused retry (94.79s wall), with no assertion/budget change and no claim of a diagnosed fix. Known gaps: seven issues remained in the earlier ChatStreamReplayTests narration=false package cases; causality/current-main attribution is unproven. App-hosted macOS tests were not executed on the operator desktop. No hosted CI or PR was started: the explicit BELOW-500 rule requires a branch-only handoff. * refactor(ui): consolidate old UI owners and validation Share route decoding, attachment retention, gallery preparation, transient identity encoding, override copying, and extension classification. Remove duplicate admission/schema mirrors and obsolete supported-browser fallbacks. Both Lit and Solid paths remain; no rendering change is intended. No config, protocol, persisted shape, dependency, or public SDK change. Best-effort tradeoffs accepted - Malformed internal native requests (#140988): all callers are typed and native hosts validate at the effect; their error replaces the renderer mirror. - Worker replacement during an identity query (#140484): added for synthetic autoreview interleavings, not a human incident. Return false; normal worker announcements and foreground recovery observe the next active worker. - Native readiness changing between synchronous checks (#140484/#109719): rely on queued events. A broken native event can require another worker event or reload; camera readiness retains its existing five-second error deadline. - Overlapping application-root health reporters (#152638): startup mounts one root. Unsupported overlapping roots are last-publication-wins; the actual reported health/status feature and native trusted-document checks remain. - Polling after stop (#139704): its sole owner retires eligibility first. Scheduling now uses that owner admission, not a separate read-only generation. - Resetting an observer without retiring its connection (#116887): no production caller does this. Canonical connection epochs remain the sole retirement owner; unsupported direct live-scope reset no longer fences an old response separately. - Upload policy changing during local reads (#158567): decoded/hash work can finish. Draft publication and every upload request retain live policy checks. - Missing supported browser primitives (#105240/#151388/#100024/#102745): unsupported runtimes error instead of code-point initials, skipped input yield, wall-clock timing, or approximate microtask paint. The human progress-card fix in #151386 keeps its browser yield and durable FIFO handoff unchanged. - URL APIs disappearing after URL creation (#100024/#149330): supported browsers keep paired APIs. An unsupported replaced global can throw during cleanup; undefined URLs, creation fallback, cancellation and release ordering remain. - Malformed internal MCP calls bypassing AppBridge (#161747): may throw. The SDK still rejects malformed wire blocks before dispatch, proved over real in-memory App/AppBridge transport. UI content, authority, confirmation and custody policy remain. The introducing PR cites no human incident for the second mirror. Production: +176/-394, net -218 lines across 21 eligible old files. Tests: +30. Focused owner/sibling tests, targeted types/lint/format, lint-suppression and independent P0-P2 review pass. Import edges are unchanged; runtime/Madge cycle proof remains zero. Whole-tree Knip timed out at existing limits; heavy gallery renderer runs did not reach assertions, while its owning controller suite passed. * refactor(ui): remove obsolete Fetch capability branch The supported Control UI browser floor includes Fetch. Start attachment metadata reads directly rather than leaving an unsupported runtime in a permanent checking state. Best-effort tradeoffs accepted - Missing global Fetch: the guard originated in #64104, whose feature report cites no human missing-Fetch incident. An unsupported runtime that replaces Fetch now reaches the existing rejected-request/unavailable path. Metadata validation, auth/tickets, allow POST, cancellation, resource admission, expiry and bounded retry remain unchanged. No intended rendering change. Unchanged lifecycle baseline: 21/21, 25.09 s. Final lifecycle and attachment siblings: 50/50, 14.77 s. UI types, typed lint, formatting and lint-suppression checks pass. This cut removes five production lines including formatter reflow, bringing the lane to 223 net production lines removed. Fresh independent P0-P2 review is scoped-clean with no actionable findings. * fix(ui): use global frame scheduling APIs Preserve double-frame paint timing and cancellation without requiring a Window object in renderer-free hosts that supply the standard global APIs. The existing access suite reproduces seven unhandled errors before this fix and passes on main; all 130 affected cases plus 262 timing/state/send sibling cases now pass without test changes.
…el and native code (#170815) * fix(signal): reserve canonical default transport during legacy cleanup Keep the canonical root transport in managed-port reservations when a nested default account still carries retired transport fields. Otherwise Doctor can allocate the default port to an implicit sibling and produce a collision. Cover synchronous and asynchronous Doctor migration, nested-field cleanup, and resolving both accounts to distinct ports. No new configuration surface or persisted format; existing update/Doctor ownership stays authoritative. * fix(channels): keep message content out of transport diagnostics Remove raw content from IRC line/NOTICE, WhatsApp mention/skip, LINE inbound and postback, Twitch callback, iMessage echo, and Tlon settings diagnostics. Retain metadata and the complete payload in its delivery/history owner. LINE peer routing also consumes already prepared source facts instead of reinspecting the same source through a one-use helper. Extend existing owning-boundary tests, including real IRC sockets, rather than adding a separate logging implementation. IRC, WhatsApp, and Tlon privacy probes failed on the old path and pass with content preserved. * refactor(channels): simplify old transport helpers and lifecycle state Consolidate Matrix send preparation, Zalo account/error traversal onto existing SDK seams, and Google Meet CLI dispatch. Remove pass-through Promise wrappers, duplicate lifecycle facts, and internal clock defenses. Keep transport validation, effect authority, FIFO and durable shutdown. Best-effort tradeoffs accepted: - Internal cache/follow-up clocks are ordinary Date.now plus constant TTLs; synthetic invalid-clock cases are not actual-use incidents. A corrupt clock may distort metadata expiry until repair/restart. - FaceTime does not fence unsupported start-before-stop reentry; its runtime creates a new supervisor after joined shutdown. Initial feature #119291 introduced the generation, without a human reentry incident. - LINE uses timer cancellation and its stop Promise, not a second stopped flag. Synchronous stop reentry is not performed by production callers. - Mattermost uses one stopped fact, recursive polling and native Promise settlement; synchronous callbacks cannot interleave with cancellation. - Teams uses a fresh UUID without reparsing text to reject a theoretical authored-placeholder collision; no human collision report was identified. - FaceTime expects the documented system_profiler JSON output; malformed output reports missing devices instead of parsing old plaintext fixtures. - Feishu serialization rejects cycles before element counting; exotic getter/toJSON objects remain best effort rather than a second graph walk. - Zalo shares SDK error traversal; provider errors with throwing cause getters remain best effort rather than a private short-circuit walker. - ClickClack uses the timeout race winner directly; exact-deadline late microtasks can discard stale ephemeral details, never the durable reply. - Raft's private FIFO settles replay commits before another claim. If that invariant were violated, an unexpected inflight wake is a duplicate hint rather than a second settlement path. #109117 gives synthetic/generic ownership reasoning, not a human actual-use incident. Old-code lane o07: production files checked against the last-seven-day origin/main inventory. No SDK exports, dependencies, schemas or protocols changed. Standalone session memory remains untouched. * refactor(mobile): simplify old native lifecycle bookkeeping Remove duplicate visibility/cache/startup state and unreachable platform/encoder fallbacks in old iOS and Android files. Share outside-tap recognition and let the node invoke boundary own mirrored-notification normalization. Keep physical-route authorization, permission checks, durable Watch admission and ACKs, FIFO sends, protocol/data shapes, and ordinary concurrency. Net production reduction: 289 LOC, excluding tests, fixtures, and generated files. Proof: iPhone app/Share/embedded Watch builds, final 273 invoke/Watch ingress/delegate/location tests and 74 sidebar/dashboard tests; Watch scheme build and 11 media tests; Android APK and 89 distinct focused unit cases; 18 shared source-resource tests. Changed-file guards, native lint, runtime/Madge cycles (zero), lint-suppressions (3 tests), and final independent P0-P2 review pass. No hosted CI or hardware/provider-audio/battery proof is claimed. Best-effort tradeoffs accepted: - Observer declarations (#113634): synthetic stale-ACK fencing is replaced by FIFO sends and subscription/reconnect replay; failed or obsolete metadata heals on the next declaration. - Dashboard refresh (#111339): the sole SwiftUI refresh task is sequential and cancellation-owned, so a second generation counter is redundant; a future concurrent direct caller must cancel prior work or accept last-completing cosmetic data until refresh. Roster event/mutation overlap still retains its own generation. - Delayed cosmetic actions (#113062): the synthetic post-delay interleaving no longer needs generations; replacing an action does not revoke work that already started. - Delayed gate lifetime (#113062): both real view owners cancel on disappearance, so a second weak-gate lifetime condition is redundant; a future caller omitting cancellation may still perform a harmless cosmetic completion after releasing its gate. - Watch one-shot transport (#135808): cancelled instances cannot restart, so generations add no supported lifetime; cancellation and physical-resource checks remain. - Command advertisements (#136192): the synthetic synchronous preference flip may briefly split a command family until reconnect; live invocation admission remains. - Turn recaps (#112221/#113084): synthetic metadata-only mode and a duplicated pending terminal value are removed; the sole production caller always provides transcript facts, and same-timestamp metadata corrections now use the latest authoritative session row. History/terminal attribution, settlement bounds and all 21 retained tests remain. - Realtime coordinator (#111033): direct concurrent reset/reuse is unsupported by serialized phone/Wear callers; current-session, duplicate-run, and live-submit guards remain. - Network availability (#138732): an unexpected duplicate SDK AVAILABLE may wake offline retry early; the human battery fix (#127872), retry ladder, and current-session admission remain. - iOS resource adapter (#148906): a captured invalidated loader may redundantly reload current metadata; the shared cache owner still cancels stale in-flight results and live authority remains checked. - Watch startup buffer (5e9bc09): synchronous MainActor registration cannot interleave with queued inbound delivery; a future caller yielding before registration may drop ephemeral requests, never ACK uncommitted chat. - Mirror validation (#23636): the sole caller supplies normalized bounded fields; future internal callers must preserve that precondition. - Beacon payload UTF-8 (#73330): Foundation JSONEncoder guarantees the bytes; a framework contract violation is an internal failure, not a recoverable conversion branch. - Beacon envelope UTF-8 (#73330): the same guarantee removes the second conversion fallback; actual encoding errors still throw. - Watch request UTF-8 (#135808): default encoder output cannot fail UTF-8 conversion; actual encoding errors still throw. - Location event UTF-8 (#18260): default encoder output cannot fail UTF-8 conversion; nonfinite-value encoding failures keep their existing handling. - HealthKit identifiers (#105616): fixed supported identifiers use nonfailable SDK constructors; authorization, privacy scope, and queries remain unchanged. - Pre-iOS26 button fallback (#168595): the existing native deployment floor is26.2, so supported rendering is unchanged. - Pre-Android26 priority fallback (#29398): the app minimum is31; notification-channel importance remains the active owner. - WebView task document fences (#139514): existing MainActor cancellation-at-effect already rejects retired callbacks; navigation and document authority remain. (cherry picked from commit 3dd5a00) * refactor(ios): keep delayed cosmetic actions synchronous Both production callers update toast or flash state synchronously on MainActor. Remove the unused async action contract and invoke it directly after the existing sleep/cancellation boundary. Keep asynchronous sleeping, cancellation, replacement and the returned task unchanged. Best-effort tradeoffs accepted: - None added by this type narrowing. The helper is internal, both callers and all retained tests already supply synchronous actions. The hypothetical suspending action discussed with #113062 is not a supported caller and is no longer expressible through this API. Earlier guard-removal provenance and campaign proof are recorded in the preceding mobile cleanup commit. This follow-up changes no production LOC total, public protocol, permission, signing, dependency, persistence or visible rendering. Validation: iPhone app/Share/embedded Watch build and61 focused tests in2 suites pass (DelayedActionGateTests and RootTabsPresentationTests),196.654s xcodebuild/0.628s tests. Configured SwiftFormat and strict SwiftLint pass; independent P0-P2 review is scoped-clean. Earlier unchanged-input changed-file, cycle and lint-suppression gates remain valid. (cherry picked from commit c7c9fb6) * fix(mattermost): keep inbound message content out of diagnostics Log conversation, post ID and length instead of a body preview. Keep the complete agent body and attachment order unchanged, and update the existing monitor boundary test to reject content in diagnostics. The regression fails before the repair on the leaked synthetic body prefix after complete-body/ordered-media assertions pass, then passes after repair. Final owner24, sibling25 and lint-suppressions3 tests pass; runtime and Madge cycles are zero. Fresh production/test types, syntax lint, format and line-cap checks pass, with no baseline, suppression or timeout increase. This minimal privacy fix is explicitly authorized outside the old-code eligibility restriction. The combined channel/native patch received a fresh independent review with no actionable P0-P2 findings. * fix(ios): remove retired Watch error from i18n inventory * fix(mattermost): normalize nullable shutdown cleanup before await
…#170823) * refactor(apple): simplify old shared and macOS bookkeeping Replace redundant generations with existing cancellation or actual owner identity, consolidate parallel fallback/policy paths, and remove test-only forwarding layers. Preserve authority, FIFO, durable state, resource bounds, public protocol/config shapes, signing, permissions, and visible rendering. Reuse canonical session-key normalization for Voice Wake delivery selection: opaque Signal group IDs remain case-sensitive and main aliases are not added. Use canonical IP-literal policy for discovery labels and remote CLI validation. Best-effort tradeoffs accepted - Palette generation (openclaw#159350): synthetic direct completions bypassed the sole cancellation-owning caller; unsupported future callers can show stale results until the next search. Current cancellation/request/agent checks remain. - Link preview generation (openclaw#160710): synthetic URL replacement without caller cancellation is outside the SwiftUI task lifecycle; a late cosmetic result can remain until the next refresh. Network/SSRF checks and bounded caches remain. - Sidebar preview generation (openclaw#147197): same-request overlapping cache reads can finish out of order; no linked human failure report, and a later refresh replaces the cosmetic projection. Owner/request checks remain. - Source-preview producer revision (openclaw#148906): duplicate of exact task cancellation, with no human failure report. Consumer revision and authenticated resource authority remain. - Mermaid generations (openclaw#135470/openclaw#135746): feature stress fixtures, no linked human race report. Exact subscriber cancellation and job/WebView identity retain the same admission; no extra failure accepted. - Camera JPEG UUID (openclaw#107879): duplicates exact task cancellation; openclaw#107804 was a human feature request, not a generation-specific incident. Captured session/agent/route and attachment admission remain. - Discovery generation (openclaw#145435): speculative queued callbacks, no linked human incident. A stopped browser may publish one late discovery projection; next discovery/refresh repairs it. Connection authority remains separate. - FSEvents generation (openclaw#145453): synthetic stop/restart fixtures, no linked human incident. An old callback after restart may cause one extra refresh; serial lifecycle ownership and pending-work cancellation remain. - Menu generations (openclaw#139688): feature-local late-result fixtures, no linked human incident. Exact task cancellation replaces duplicate tokens; drain-before-disconnect and real consumer/window authority remain. - Cron generation (openclaw#131466/openclaw#137502): openclaw#138209 cut every load over to one cancel-and-drain chain. No direct concurrent load caller remains; cancellation and physical source leases stay checked after awaits. - WebChat visibility acknowledgement/retry (openclaw#113634/openclaw#137089): synthetic timeout/reconnect interleavings, no linked human incident. A timed-out visibility update is best effort until the next transition/reconnect; FIFO and live socket leases remain. - WebChat cleanup UUID (openclaw#113634/openclaw#137089): retain one bounded completed Task handle per live connection instead of matching cleanup tokens. Completion releases captures; replacement/retirement removes the handle. - Child-exit polling (openclaw#145437): synthetic missed-notification coverage, no linked human report. A lost OS exit notification may wait for the existing deadline; final non-reaping liveness/status checks and cleanup remain. - Realtime iterator borrowing trap (openclaw#156772): every real consumer awaits its own iterator sequentially. Unsupported concurrent next calls no longer get a custom custody protocol; bounded stream/cancellation/socket checks remain. - Receipt projection admission (openclaw#161745): both real callers already match receipt and row identity immediately before synchronous projection. Those effect checks remain; no unsupported internal caller is defended twice. - Recap attribution heuristics (openclaw#112188/openclaw#113084): synthetic guard matrix, no linked human race report. Missing initial rows or very late unrelated completion may supply a cosmetic footer; per-session freshness, failed-turn handling and settled results remain. - PortGuardian per-write schema scans (openclaw#110527): synthetic live-handle version advance, no linked human incident. Concurrent external schema upgrades are best effort until reopen; initial admission, migration locks, receipts, transactions and durability remain. - Unread queue counter (openclaw#110019): actual Task equality replaces the duplicate integer token. Exact-tail reclamation, bounded bookkeeping, FIFO and route authority remain unchanged. Review dispositions: the claimed Task compilation failure is disproved by the selected SDK's Equatable conformance and native builds. Repeated receipt identity admission is unnecessary at its internal projector because both real callers retain it immediately before projection. Per-write schema revalidation was declined under the explicit best-effort policy above. Proof and scope Net production reduction: 369 lines (148 added, 517 deleted), excluding tests. Fresh seven-day census permits all substantive production edits; the only recent caller change is the unavoidable one-line fallback-to-parse rename. Shared Swift build passed. Final focused shared tests passed 396 cases in six suites (6.683s execution), Watch decoder tests passed five cases (0.003s), and isolated whole-owner native tests passed 16 cases. macOS SwiftPM compiled all products and the test bundle. Final macOS and iOS/Watch xcodebuild builds passed (89.60s and 120.87s wall), without signing changes or app launches. Canonical Apple lint/format checks passed; the initial iOS format failure in WatchCommands was ours and corrected, with no gate weakened. Lint-suppression tests passed 3/3 (14.09s wall). Earlier runtime cycles and Madge each reported 0; the TypeScript graph is unchanged. Native localization stayed at 4476 entries. The 45 original packaging/elevation timeout cases passed one focused retry (94.79s wall), with no assertion/budget change and no claim of a diagnosed fix. Known gaps: seven issues remained in the earlier ChatStreamReplayTests narration=false package cases; causality/current-main attribution is unproven. App-hosted macOS tests were not executed on the operator desktop. No hosted CI or PR was started: the explicit BELOW-500 rule requires a branch-only handoff. * refactor(ui): consolidate old UI owners and validation Share route decoding, attachment retention, gallery preparation, transient identity encoding, override copying, and extension classification. Remove duplicate admission/schema mirrors and obsolete supported-browser fallbacks. Both Lit and Solid paths remain; no rendering change is intended. No config, protocol, persisted shape, dependency, or public SDK change. Best-effort tradeoffs accepted - Malformed internal native requests (openclaw#140988): all callers are typed and native hosts validate at the effect; their error replaces the renderer mirror. - Worker replacement during an identity query (openclaw#140484): added for synthetic autoreview interleavings, not a human incident. Return false; normal worker announcements and foreground recovery observe the next active worker. - Native readiness changing between synchronous checks (openclaw#140484/openclaw#109719): rely on queued events. A broken native event can require another worker event or reload; camera readiness retains its existing five-second error deadline. - Overlapping application-root health reporters (openclaw#152638): startup mounts one root. Unsupported overlapping roots are last-publication-wins; the actual reported health/status feature and native trusted-document checks remain. - Polling after stop (openclaw#139704): its sole owner retires eligibility first. Scheduling now uses that owner admission, not a separate read-only generation. - Resetting an observer without retiring its connection (openclaw#116887): no production caller does this. Canonical connection epochs remain the sole retirement owner; unsupported direct live-scope reset no longer fences an old response separately. - Upload policy changing during local reads (openclaw#158567): decoded/hash work can finish. Draft publication and every upload request retain live policy checks. - Missing supported browser primitives (openclaw#105240/openclaw#151388/openclaw#100024/openclaw#102745): unsupported runtimes error instead of code-point initials, skipped input yield, wall-clock timing, or approximate microtask paint. The human progress-card fix in openclaw#151386 keeps its browser yield and durable FIFO handoff unchanged. - URL APIs disappearing after URL creation (openclaw#100024/openclaw#149330): supported browsers keep paired APIs. An unsupported replaced global can throw during cleanup; undefined URLs, creation fallback, cancellation and release ordering remain. - Malformed internal MCP calls bypassing AppBridge (openclaw#161747): may throw. The SDK still rejects malformed wire blocks before dispatch, proved over real in-memory App/AppBridge transport. UI content, authority, confirmation and custody policy remain. The introducing PR cites no human incident for the second mirror. Production: +176/-394, net -218 lines across 21 eligible old files. Tests: +30. Focused owner/sibling tests, targeted types/lint/format, lint-suppression and independent P0-P2 review pass. Import edges are unchanged; runtime/Madge cycle proof remains zero. Whole-tree Knip timed out at existing limits; heavy gallery renderer runs did not reach assertions, while its owning controller suite passed. * refactor(ui): remove obsolete Fetch capability branch The supported Control UI browser floor includes Fetch. Start attachment metadata reads directly rather than leaving an unsupported runtime in a permanent checking state. Best-effort tradeoffs accepted - Missing global Fetch: the guard originated in openclaw#64104, whose feature report cites no human missing-Fetch incident. An unsupported runtime that replaces Fetch now reaches the existing rejected-request/unavailable path. Metadata validation, auth/tickets, allow POST, cancellation, resource admission, expiry and bounded retry remain unchanged. No intended rendering change. Unchanged lifecycle baseline: 21/21, 25.09 s. Final lifecycle and attachment siblings: 50/50, 14.77 s. UI types, typed lint, formatting and lint-suppression checks pass. This cut removes five production lines including formatter reflow, bringing the lane to 223 net production lines removed. Fresh independent P0-P2 review is scoped-clean with no actionable findings. * fix(ui): use global frame scheduling APIs Preserve double-frame paint timing and cancellation without requiring a Window object in renderer-free hosts that supply the standard global APIs. The existing access suite reproduces seven unhandled errors before this fix and passes on main; all 130 affected cases plus 262 timing/state/send sibling cases now pass without test changes.
…el and native code (openclaw#170815) * fix(signal): reserve canonical default transport during legacy cleanup Keep the canonical root transport in managed-port reservations when a nested default account still carries retired transport fields. Otherwise Doctor can allocate the default port to an implicit sibling and produce a collision. Cover synchronous and asynchronous Doctor migration, nested-field cleanup, and resolving both accounts to distinct ports. No new configuration surface or persisted format; existing update/Doctor ownership stays authoritative. * fix(channels): keep message content out of transport diagnostics Remove raw content from IRC line/NOTICE, WhatsApp mention/skip, LINE inbound and postback, Twitch callback, iMessage echo, and Tlon settings diagnostics. Retain metadata and the complete payload in its delivery/history owner. LINE peer routing also consumes already prepared source facts instead of reinspecting the same source through a one-use helper. Extend existing owning-boundary tests, including real IRC sockets, rather than adding a separate logging implementation. IRC, WhatsApp, and Tlon privacy probes failed on the old path and pass with content preserved. * refactor(channels): simplify old transport helpers and lifecycle state Consolidate Matrix send preparation, Zalo account/error traversal onto existing SDK seams, and Google Meet CLI dispatch. Remove pass-through Promise wrappers, duplicate lifecycle facts, and internal clock defenses. Keep transport validation, effect authority, FIFO and durable shutdown. Best-effort tradeoffs accepted: - Internal cache/follow-up clocks are ordinary Date.now plus constant TTLs; synthetic invalid-clock cases are not actual-use incidents. A corrupt clock may distort metadata expiry until repair/restart. - FaceTime does not fence unsupported start-before-stop reentry; its runtime creates a new supervisor after joined shutdown. Initial feature openclaw#119291 introduced the generation, without a human reentry incident. - LINE uses timer cancellation and its stop Promise, not a second stopped flag. Synchronous stop reentry is not performed by production callers. - Mattermost uses one stopped fact, recursive polling and native Promise settlement; synchronous callbacks cannot interleave with cancellation. - Teams uses a fresh UUID without reparsing text to reject a theoretical authored-placeholder collision; no human collision report was identified. - FaceTime expects the documented system_profiler JSON output; malformed output reports missing devices instead of parsing old plaintext fixtures. - Feishu serialization rejects cycles before element counting; exotic getter/toJSON objects remain best effort rather than a second graph walk. - Zalo shares SDK error traversal; provider errors with throwing cause getters remain best effort rather than a private short-circuit walker. - ClickClack uses the timeout race winner directly; exact-deadline late microtasks can discard stale ephemeral details, never the durable reply. - Raft's private FIFO settles replay commits before another claim. If that invariant were violated, an unexpected inflight wake is a duplicate hint rather than a second settlement path. openclaw#109117 gives synthetic/generic ownership reasoning, not a human actual-use incident. Old-code lane o07: production files checked against the last-seven-day origin/main inventory. No SDK exports, dependencies, schemas or protocols changed. Standalone session memory remains untouched. * refactor(mobile): simplify old native lifecycle bookkeeping Remove duplicate visibility/cache/startup state and unreachable platform/encoder fallbacks in old iOS and Android files. Share outside-tap recognition and let the node invoke boundary own mirrored-notification normalization. Keep physical-route authorization, permission checks, durable Watch admission and ACKs, FIFO sends, protocol/data shapes, and ordinary concurrency. Net production reduction: 289 LOC, excluding tests, fixtures, and generated files. Proof: iPhone app/Share/embedded Watch builds, final 273 invoke/Watch ingress/delegate/location tests and 74 sidebar/dashboard tests; Watch scheme build and 11 media tests; Android APK and 89 distinct focused unit cases; 18 shared source-resource tests. Changed-file guards, native lint, runtime/Madge cycles (zero), lint-suppressions (3 tests), and final independent P0-P2 review pass. No hosted CI or hardware/provider-audio/battery proof is claimed. Best-effort tradeoffs accepted: - Observer declarations (openclaw#113634): synthetic stale-ACK fencing is replaced by FIFO sends and subscription/reconnect replay; failed or obsolete metadata heals on the next declaration. - Dashboard refresh (openclaw#111339): the sole SwiftUI refresh task is sequential and cancellation-owned, so a second generation counter is redundant; a future concurrent direct caller must cancel prior work or accept last-completing cosmetic data until refresh. Roster event/mutation overlap still retains its own generation. - Delayed cosmetic actions (openclaw#113062): the synthetic post-delay interleaving no longer needs generations; replacing an action does not revoke work that already started. - Delayed gate lifetime (openclaw#113062): both real view owners cancel on disappearance, so a second weak-gate lifetime condition is redundant; a future caller omitting cancellation may still perform a harmless cosmetic completion after releasing its gate. - Watch one-shot transport (openclaw#135808): cancelled instances cannot restart, so generations add no supported lifetime; cancellation and physical-resource checks remain. - Command advertisements (openclaw#136192): the synthetic synchronous preference flip may briefly split a command family until reconnect; live invocation admission remains. - Turn recaps (openclaw#112221/openclaw#113084): synthetic metadata-only mode and a duplicated pending terminal value are removed; the sole production caller always provides transcript facts, and same-timestamp metadata corrections now use the latest authoritative session row. History/terminal attribution, settlement bounds and all 21 retained tests remain. - Realtime coordinator (openclaw#111033): direct concurrent reset/reuse is unsupported by serialized phone/Wear callers; current-session, duplicate-run, and live-submit guards remain. - Network availability (openclaw#138732): an unexpected duplicate SDK AVAILABLE may wake offline retry early; the human battery fix (openclaw#127872), retry ladder, and current-session admission remain. - iOS resource adapter (openclaw#148906): a captured invalidated loader may redundantly reload current metadata; the shared cache owner still cancels stale in-flight results and live authority remains checked. - Watch startup buffer (5a652b8): synchronous MainActor registration cannot interleave with queued inbound delivery; a future caller yielding before registration may drop ephemeral requests, never ACK uncommitted chat. - Mirror validation (openclaw#23636): the sole caller supplies normalized bounded fields; future internal callers must preserve that precondition. - Beacon payload UTF-8 (openclaw#73330): Foundation JSONEncoder guarantees the bytes; a framework contract violation is an internal failure, not a recoverable conversion branch. - Beacon envelope UTF-8 (openclaw#73330): the same guarantee removes the second conversion fallback; actual encoding errors still throw. - Watch request UTF-8 (openclaw#135808): default encoder output cannot fail UTF-8 conversion; actual encoding errors still throw. - Location event UTF-8 (openclaw#18260): default encoder output cannot fail UTF-8 conversion; nonfinite-value encoding failures keep their existing handling. - HealthKit identifiers (openclaw#105616): fixed supported identifiers use nonfailable SDK constructors; authorization, privacy scope, and queries remain unchanged. - Pre-iOS26 button fallback (openclaw#168595): the existing native deployment floor is26.2, so supported rendering is unchanged. - Pre-Android26 priority fallback (openclaw#29398): the app minimum is31; notification-channel importance remains the active owner. - WebView task document fences (openclaw#139514): existing MainActor cancellation-at-effect already rejects retired callbacks; navigation and document authority remain. (cherry picked from commit 3dd5a00) * refactor(ios): keep delayed cosmetic actions synchronous Both production callers update toast or flash state synchronously on MainActor. Remove the unused async action contract and invoke it directly after the existing sleep/cancellation boundary. Keep asynchronous sleeping, cancellation, replacement and the returned task unchanged. Best-effort tradeoffs accepted: - None added by this type narrowing. The helper is internal, both callers and all retained tests already supply synchronous actions. The hypothetical suspending action discussed with openclaw#113062 is not a supported caller and is no longer expressible through this API. Earlier guard-removal provenance and campaign proof are recorded in the preceding mobile cleanup commit. This follow-up changes no production LOC total, public protocol, permission, signing, dependency, persistence or visible rendering. Validation: iPhone app/Share/embedded Watch build and61 focused tests in2 suites pass (DelayedActionGateTests and RootTabsPresentationTests),196.654s xcodebuild/0.628s tests. Configured SwiftFormat and strict SwiftLint pass; independent P0-P2 review is scoped-clean. Earlier unchanged-input changed-file, cycle and lint-suppression gates remain valid. (cherry picked from commit c7c9fb6) * fix(mattermost): keep inbound message content out of diagnostics Log conversation, post ID and length instead of a body preview. Keep the complete agent body and attachment order unchanged, and update the existing monitor boundary test to reject content in diagnostics. The regression fails before the repair on the leaked synthetic body prefix after complete-body/ordered-media assertions pass, then passes after repair. Final owner24, sibling25 and lint-suppressions3 tests pass; runtime and Madge cycles are zero. Fresh production/test types, syntax lint, format and line-cap checks pass, with no baseline, suppression or timeout increase. This minimal privacy fix is explicitly authorized outside the old-code eligibility restriction. The combined channel/native patch received a fresh independent review with no actionable P0-P2 findings. * fix(ios): remove retired Watch error from i18n inventory * fix(mattermost): normalize nullable shutdown cleanup before await
* refactor(agents): simplify old runtime bookkeeping Use one catalog discovery pass, local-process stop promise, presentation completion path, diagnostic recovery batch, and generated-media rollback owner. Reuse directory parameter declarations and keep sandbox validation at its existing boundary without repeating the same blocked-path checks. Remove the duplicate full-map primary-probe prune. Trust JSON-normalized result previews and group identical session-export style declarations without changing their visibility or cascade rules. Keep auth/approval/sandbox policy, normal child and write settlement, transcript/user-data durability, public signatures and Phase E unchanged. Production reduction: 147 net lines across ten old-only files. Best-effort tradeoffs accepted - MCP list_changed during held sibling discovery: #138694 added a synthetic forced-overlap replay, not a cited human incident. The next load refreshes the catalog instead; retirement and execution authority remain enforced. - Competing catalog producer finalization: the same private owner forbids a replacement while its promise is present, so the identity recheck is an internal invariant, not a realistic concurrency boundary. - Local-service post-readiness exit: #154133 describes synthetic parallel qualification, not a human report requiring another health check. The following request reports an exit after readiness; normal shutdown still joins the child, streams and pending termination work. - Local-process stop identity: replacement starts only after the retained authoritative process finishes stopping. The duplicate process reference and identity comparisons cannot observe another production replacement; failed-stop retry and the retiring marker remain intact. - Synchronous presentation self-drain: #156187 extracted this reservation without a cited human incident. Production adapters drain after projection; callbacks return their own work instead of reserving it before invocation. - Quarantine recovery overlap: #161579 explicitly introduced per-key and generation fencing for synthetic before-dispatch/after-reply controls. Same-key overlap can leave a stale or missing status warning until a later failing run or existing TTL. Actual tool exclusion, logs/events, accepted writes, stored shapes and worker/SQL contracts remain unchanged. - Primary-probe cache insertion order: #82707 introduced duplicate pruning. Post-write expiry and capacity bounds remain; refreshing an expired key can retain an earlier insertion position and permit an earlier reprobe after capacity eviction. This is a bounded best-effort throttle cache. - Preview host-prototype pollution: #147278 added own-property gates as part of result retention, not a human inherited-property failure report; linked #147105 proposes the feature. The sole caller passes freshly parsed JSON. A polluted host Object.prototype can affect bounded descriptive samples; retained JSON, reference identity and execution authority remain unchanged. * test(agents): warm MCP sibling before held discovery The discovery/revocation fixture held HTTP tools/list while cold-starting its stdio sibling. Slow startup could exhaust the existing ten-second listing deadline before the test reached revocation, producing a timeout diagnostic or an empty healthy-tool list instead of exercising its overlap. Warm the non-held sibling through its actual runtime owner first, then hold the other server's discovery across revocation. Keep every assertion, deadline, runtime authority check, and cleanup path unchanged. The two affected cases pass through the production materialization path; focused lint, format, and the owning test type graph also pass. The earlier four short-deadline MCP runtime failures remain separately unattributed. * refactor(apple): simplify source resources and microphone permission Use cancellation of owned source-resource tasks instead of a revision counter. Use native async microphone permission APIs instead of manual authorization-state switches and callback continuations. Best-effort tradeoffs accepted: - Resource revision tracking (#148906, feature request #148850, not a human invalidation-race incident): invalidation between prepared context and favicon task admission may allow one lookup with that snapshot; later lookups rediscover. Live route authority and Gateway disabled-fetch policy remain enforced. No protocol, persisted shape, config, permission-prompt or signing changes. Net production reduction: 26 lines (+10/-36); no test changes. Phase E untouched. Pager/notification changes were excluded after #171772 made their files recent under the seven-day rule. BELOW-500 coordinator bundle. Remaining source is byte-identical to the independently reviewed checkpoint. macOS/iOS Simulator/watchOS Simulator arm64 platform builds passed. Actual production-package focused tests passed: 17 VoiceNote XCTest cases and 18 source-resource SwiftTesting declarations including parameters. SwiftFormat, SwiftLint, runtime/madge cycles (zero), lint-suppressions, native-state guard and localization verification passed. Broad check-changed is not green: one bounded reproduction retained ten 20-second artifact-fixture subprocess timeouts and one 120-second signing fixture timeout. Unchanged tooling paths do not run these Swift sources; these are unresolved local failures, not proven hosted-main-red. Intel execution, app-hosted native UI tests requiring an OS sandbox and live microphone effects are not proven. No release_gate or remote lease. * refactor(apple): consolidate activity refresh and watch connection paths * refactor(agents): retain recent MCP contracts in old-code bundle Keep the recently edited reload regression file and its current combined-catalog implementation unchanged from main. Preserve the final source-lane trees for quarantine and Live Activity while retaining newer main behavior. This supersedes the historical source-commit inventories and MCP/quarantine/activity timing tradeoffs. Final bundle: 162 production lines removed; 112 net lines removed including tests (+166/-278, 14 files). Credit source lanes q10, q01 and q02. Fresh final-index review found no actionable P0-P2 defects. Focused proof and exact-head PR CI remain the landing gates. * fix(test): synchronize MCP connection invalidation fixture Hold sibling initialization across client-observed catalog invalidation. Preserve the existing assertions and deadlines; isolate scenario setup so the oversized runtime test does not grow.
…aw#172002) * refactor(agents): simplify old runtime bookkeeping Use one catalog discovery pass, local-process stop promise, presentation completion path, diagnostic recovery batch, and generated-media rollback owner. Reuse directory parameter declarations and keep sandbox validation at its existing boundary without repeating the same blocked-path checks. Remove the duplicate full-map primary-probe prune. Trust JSON-normalized result previews and group identical session-export style declarations without changing their visibility or cascade rules. Keep auth/approval/sandbox policy, normal child and write settlement, transcript/user-data durability, public signatures and Phase E unchanged. Production reduction: 147 net lines across ten old-only files. Best-effort tradeoffs accepted - MCP list_changed during held sibling discovery: openclaw#138694 added a synthetic forced-overlap replay, not a cited human incident. The next load refreshes the catalog instead; retirement and execution authority remain enforced. - Competing catalog producer finalization: the same private owner forbids a replacement while its promise is present, so the identity recheck is an internal invariant, not a realistic concurrency boundary. - Local-service post-readiness exit: openclaw#154133 describes synthetic parallel qualification, not a human report requiring another health check. The following request reports an exit after readiness; normal shutdown still joins the child, streams and pending termination work. - Local-process stop identity: replacement starts only after the retained authoritative process finishes stopping. The duplicate process reference and identity comparisons cannot observe another production replacement; failed-stop retry and the retiring marker remain intact. - Synchronous presentation self-drain: openclaw#156187 extracted this reservation without a cited human incident. Production adapters drain after projection; callbacks return their own work instead of reserving it before invocation. - Quarantine recovery overlap: openclaw#161579 explicitly introduced per-key and generation fencing for synthetic before-dispatch/after-reply controls. Same-key overlap can leave a stale or missing status warning until a later failing run or existing TTL. Actual tool exclusion, logs/events, accepted writes, stored shapes and worker/SQL contracts remain unchanged. - Primary-probe cache insertion order: openclaw#82707 introduced duplicate pruning. Post-write expiry and capacity bounds remain; refreshing an expired key can retain an earlier insertion position and permit an earlier reprobe after capacity eviction. This is a bounded best-effort throttle cache. - Preview host-prototype pollution: openclaw#147278 added own-property gates as part of result retention, not a human inherited-property failure report; linked openclaw#147105 proposes the feature. The sole caller passes freshly parsed JSON. A polluted host Object.prototype can affect bounded descriptive samples; retained JSON, reference identity and execution authority remain unchanged. * test(agents): warm MCP sibling before held discovery The discovery/revocation fixture held HTTP tools/list while cold-starting its stdio sibling. Slow startup could exhaust the existing ten-second listing deadline before the test reached revocation, producing a timeout diagnostic or an empty healthy-tool list instead of exercising its overlap. Warm the non-held sibling through its actual runtime owner first, then hold the other server's discovery across revocation. Keep every assertion, deadline, runtime authority check, and cleanup path unchanged. The two affected cases pass through the production materialization path; focused lint, format, and the owning test type graph also pass. The earlier four short-deadline MCP runtime failures remain separately unattributed. * refactor(apple): simplify source resources and microphone permission Use cancellation of owned source-resource tasks instead of a revision counter. Use native async microphone permission APIs instead of manual authorization-state switches and callback continuations. Best-effort tradeoffs accepted: - Resource revision tracking (openclaw#148906, feature request openclaw#148850, not a human invalidation-race incident): invalidation between prepared context and favicon task admission may allow one lookup with that snapshot; later lookups rediscover. Live route authority and Gateway disabled-fetch policy remain enforced. No protocol, persisted shape, config, permission-prompt or signing changes. Net production reduction: 26 lines (+10/-36); no test changes. Phase E untouched. Pager/notification changes were excluded after openclaw#171772 made their files recent under the seven-day rule. BELOW-500 coordinator bundle. Remaining source is byte-identical to the independently reviewed checkpoint. macOS/iOS Simulator/watchOS Simulator arm64 platform builds passed. Actual production-package focused tests passed: 17 VoiceNote XCTest cases and 18 source-resource SwiftTesting declarations including parameters. SwiftFormat, SwiftLint, runtime/madge cycles (zero), lint-suppressions, native-state guard and localization verification passed. Broad check-changed is not green: one bounded reproduction retained ten 20-second artifact-fixture subprocess timeouts and one 120-second signing fixture timeout. Unchanged tooling paths do not run these Swift sources; these are unresolved local failures, not proven hosted-main-red. Intel execution, app-hosted native UI tests requiring an OS sandbox and live microphone effects are not proven. No release_gate or remote lease. * refactor(apple): consolidate activity refresh and watch connection paths * refactor(agents): retain recent MCP contracts in old-code bundle Keep the recently edited reload regression file and its current combined-catalog implementation unchanged from main. Preserve the final source-lane trees for quarantine and Live Activity while retaining newer main behavior. This supersedes the historical source-commit inventories and MCP/quarantine/activity timing tradeoffs. Final bundle: 162 production lines removed; 112 net lines removed including tests (+166/-278, 14 files). Credit source lanes q10, q01 and q02. Fresh final-index review found no actionable P0-P2 defects. Focused proof and exact-head PR CI remain the landing gates. * fix(test): synchronize MCP connection invalidation fixture Hold sibling initialization across client-observed catalog invalidation. Preserve the existing assertions and deadlines; isolate scenario setup so the oversized runtime test does not grow.
Related: #148850
What Problem This Solves
Research answers in macOS Quick Chat and iOS do not show the compact, cited source previews already available on the web.
User Impact
Users can inspect source titles, domains, and recorded excerpts below an answer, then open the source. Favicons follow the Gateway's existing preference, with a globe fallback. Session and GitHub issue/PR links stay out of the source strip, and a source card replaces the matching generic link preview.
Why This Change Was Made
The shared Apple chat UI projects successful, same-run web search/fetch evidence only for links cited in the answer. It reuses recorded content without fetching source pages. Gateway adapters supply bounded, authenticated favicon requests tied to the accepted connection; reconnects and configuration changes invalidate the resource cache.
No configuration, protocol, storage migration, or dependency change is required. Unsupported Apple favicon formats, including SVG, use the globe fallback.
Evidence
Production macOS and iOS builds passed, including the iOS Watch companion. Swift formatting/lint, native localization inventory verification, and changed-file checks passed. All 32 projection/resource test declarations compile and link. The complete shared OpenClawKit test suite and the iOS smoke build also passed in CI, providing runtime coverage on a disposable native runner.
The inspected synthetic captures below exercise the actual production chat view in signed native proof hosts on macOS and an iOS simulator. They show two eligible source cards from four cited candidates, a loaded favicon and fallback, and the recorded page excerpt. No operator conversation or Gateway state was used. Independent review found no actionable issues after proxy-authentication and encoded-mount regressions were repaired.
Equivalent-URL regression proof
The final correction also normalizes generic-preview URLs with the source projector's existing URL rules. A signed native production-view proof reproduced a duplicate generic preview for a bare-domain citation on the preceding commit, then verified one source card and no generic preview with the fix. Focused cases cover bare domains, host casing, default ports, and fragments; distinct ports and credential-bearing URLs remain separate. Both final production builds and all 32 test declarations compile and link; the shared native test suite subsequently passed in CI.
CI baseline correction
The latest-main rebase exposed duplicate ownership of 83 secrets test roots introduced by #148885 and #148889. This PR removes the two duplicate include patterns from the state/logging compiler group, retaining the documented agents/tools owner. The full ownership guard, existing inventory regression, and both affected compiler graphs pass with all 83 tests covered; compiler limits and runner settings are unchanged. The two native commits are patch-identical across the rebase.