Repository navigation
feat: require macOS, iOS, and Safari 26.2 - #168595
Conversation
Require current browser overlay capabilities at Control UI boot, with the existing upgrade and native open-in-browser guidance. Target Chrome 147, Firefox 150, and Safari 26.2, and remove trivial pre-floor native fallbacks. Sparkle reads the macOS 26.2 minimum from the packaged app.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesRaises native app minimums to macOS and iOS 26.2, enables browser capability admission, and updates build targets and documentation. Example: A browser lacks CSS anchor positioning.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this PR implements a maintainer-directed platform change that current main has not adopted; no discrete code defect was found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherNative deployment metadata controls installation eligibility, while the Gateway-served Control UI checks browser overlay capabilities before mounting the dashboard. flowchart TD
A[Native deployment metadata] --> B[App installation eligibility]
C[Gateway serves Control UI] --> D[Browser capability admission]
D --> E[Dashboard]
D --> F[Browser update guidance]
F --> G[Native open in browser action]
Technical reviewBest possible solution: Complete platform upgrade qualification and ship the coordinated native and browser floor through the planned cutover. Do we have a high-confidence way to reproduce the issue? This is an intentional support-policy change; source confirms current main retains the older native floors and dormant browser gate. Is this the best way to solve the issue? The patch reuses the existing admission and recovery owners, aligns native deployment metadata, and avoids introducing another compatibility mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5a44564c9886. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -41, Tests -22, Docs +11. Total -52 across 15 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed October 10, 2026, 3:10 PM ET / 19:10 UTC (Revision 2). |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
* feat: require macOS, iOS, and Safari 26.2 Require current browser overlay capabilities at Control UI boot, with the existing upgrade and native open-in-browser guidance. Target Chrome 147, Firefox 150, and Safari 26.2, and remove trivial pre-floor native fallbacks. Sparkle reads the macOS 26.2 minimum from the packaged app. * test(ui): keep browser admission out of JSDOM rendering fixtures
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)
…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
…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
Use the native Popover capability required by the Control UI bootstrap instead of retaining old-engine in-flow fallbacks. Keep native overlay occlusion and all real connection/navigation ownership. Remove retired sidebar style hooks and share identical question-panel declarations. Supported browsers render identically; no user-visible copy, feature, renderer selection, config, protocol, or storage change. Best-effort tradeoffs accepted - Old engines without Popover support, or invalid direct popover mounts, no longer receive an in-flow menu fallback. The fallback came from #105598 as generic compatibility, not a human incident; #168595 made native Popover support a required bootstrap capability. Invalid direct mounts now fail clearly rather than silently changing layering. Deeper coverage and retained candidates are recorded in the requested task-local y03 ledger for coordinator bundling. Branch total: 123 net production LOC removed (+114/-237), excluding tests, fixtures, generated files and declarations. Below the 500-line campaign floor after the deeper components/app/lib/styles and lead-owned owner pass; push branch-only for bundling.
…-5 bundle A) (#172989) * refactor(ui): remove unused page plumbing and duplicate presentation work Fold sole-caller Config and Cron adapters into their existing owners, reuse canonical controller types, and remove unused request arguments and login selection options. Adopt the complete background mutation receipt instead of rereading the write; keep authoritative preflight and live ownership checks. Best-effort tradeoffs accepted: a later background edit in another browser is reflected by normal preference events or refresh, not an unconditional read of our own successful write. The introducing feature PR #168301 does not identify a human incident requiring that reread. Settled rendering and public contracts are unchanged; both shipping renderer paths remain intact. * refactor(ui): consolidate presentation helpers and cached preview inputs Share point-menu trigger attributes and deletion-first LCS traversal. Remove an obsolete empty-badge predicate, a one-caller loading facade, and redundant whole-map translation fallback. Preserve both active Lit and Solid paths, positioning formulas, diff work budgets, visible text, and rendering. Best-effort tradeoffs accepted: - Trust successful synchronous Web Storage writes instead of reading them back. Introducing PR #162428 supplied synthetic storage failures, not a human incident where successful setItem silently failed. Nonconforming Storage replacements may miss a cache publication until the next refresh. - Trust immutable message/tool-card identities for cached source previews. PR #148431's in-place mutation assertions were synthetic; production owners publish replacement snapshots. Unsupported in-place mutation may leave a decoration stale until replacement. Run/frame/origin and external source validation remain unchanged. Net production reduction: 76 lines; tests: 20 lines removed, only synthetic same-object mutation assertions. Kept config coercion tied to human Safari report #13348, along with security, durability, ordinary navigation ownership, and all active migration paths. Focused proof: 73 boot/cache/diff tests, 82 menu tests, 46 badge/assistant tests, 20 i18n tests, 8 browser details tests, 3 lint-suppression tests; UI typecheck, formatting, stylesheet lint and CSS declaration parity passed. Known inherited local check failure: environment-variable count is 455 against budget 454, independently reproduced against clean HEAD/index. Its counted source roots exclude UI. No budget or unrelated source changes made. * refactor(ui): remove obsolete presentation compatibility and styling Use the native Popover capability required by the Control UI bootstrap instead of retaining old-engine in-flow fallbacks. Keep native overlay occlusion and all real connection/navigation ownership. Remove retired sidebar style hooks and share identical question-panel declarations. Supported browsers render identically; no user-visible copy, feature, renderer selection, config, protocol, or storage change. Best-effort tradeoffs accepted - Old engines without Popover support, or invalid direct popover mounts, no longer receive an in-flow menu fallback. The fallback came from #105598 as generic compatibility, not a human incident; #168595 made native Popover support a required bootstrap capability. Invalid direct mounts now fail clearly rather than silently changing layering. Deeper coverage and retained candidates are recorded in the requested task-local y03 ledger for coordinator bundling. Branch total: 123 net production LOC removed (+114/-237), excluding tests, fixtures, generated files and declarations. Below the 500-line campaign floor after the deeper components/app/lib/styles and lead-owned owner pass; push branch-only for bundling. * refactor(gateway): reuse server method owners Consolidate duplicate catalog response handling, optional catalog reads, pairing resolution, requester assertions and system agent transcript persistence. Carry prepared pairing and actor facts instead of probing or re-reading them. Remove redundant cache-generation and internal receipt checks; retain security, durability, pagination and resource bounds. Best-effort tradeoffs accepted: - Pairing captures its selected adapter once. Repeated internal checks added by #112401 guarded hypothetical in-place plugin mutation, not a reported incident. Such a mutation now leaves this request on its selected adapter; later requests discover the current registration. - Channel identity RPCs trust the canonical mutation result instead of repeating the action/kind assertion introduced in #161284. No human incident justified the redundant adapter assertion; live mutation authority remains with the state owner. No user-facing feature, protocol/config/persistence shape, schema, dependency, test coverage or standalone session memory backend changes. Net production reduction: 100 lines (179 added / 279 deleted). Type-aware lint, targeted production types, formatting, runtime cycles (zero), SDK surface, suppression audit and independent P2 review pass. Gateway focused suites and the full static import graph remain incomplete on the loaded host; retain these proof gaps for the coordinator bundle rather than claiming green. * refactor(gateway): trust prepared server method inputs Remove a test-only config cache-reset wrapper, duplicate internal selection and channel-support checks, an unused session-file metadata fallback, and duplicate usage target shapes. Carry transcript delivery facts from their first parsing pass. Keep all network validation, effect authority, transcript durability, current update policy and standalone session memory machinery. Best-effort tradeoffs accepted: - Internal agent updates trust the selection-shape check at their sole production caller, agents.update. The duplicate originated in the Models agent-selection feature #150224; the same boundary check still rejects invalid user input. Live runtime choice validation stays at the effect. - Channel start support is checked once at the synchronous request boundary. The inner check from #67815 / #167159 cannot observe a different plugin without unsupported synchronous mutation; the boundary guard remains. - Workspace-root readers require caller-prepared metadata: both production consumers already provide it. The unused fallback from #161747 is deleted, not the Phase E backend or any factory. A future invalid internal caller gets a clear error instead of starting another metadata read. - Update handlers trust the required getRuntimeConfig contract instead of falling back to a global schedule for an invalid context. Keep #158301's real scheduler-policy incident fix and its post-await current-config read. - Usage summaries trust the canonical required target identity from #169660; the first-instance fallback served no production caller. The integration fixture now supplies that identity with all original assertions retained. No public schema/config/SDK/protocol or persisted shape changes. The config tests call the same canonical invalidators directly; no coverage is removed. Follow-up removes 54 net production lines; branch total removes 154. Targeted types (including MCP consumers), retained-file type-aware lint, formatting, zero runtime import cycles, suppression audit and independent P2 review pass. Gateway behavioral suites remain incomplete after a loaded-host startup run was stopped at about ten minutes (exit 143). The prior full static-graph gap remains pending for the coordinator bundle; no new production edge is added. * refactor(ui): consolidate page lifecycle and config plumbing Reuse the existing controller host, subscription and plugin-icon owners; share cloud-worker config edit wiring and Usage query comparisons. Remove the unused Usage detail predicate and duplicate model loading flag. Retire the Web Awesome-era picker hiding fence now that native Popover owns generation-bound close completion. Keep both rendering paths, draft recovery, user-intent checks and dispatch-time write authority. Settled rendering is unchanged. Net production reduction: 210 lines. Best-effort tradeoffs accepted: - Failed channel artwork retries on the next channel refresh rather than a queued trailing ensure. #131511 was a synthetic ordering regression; the human-reported owning-plugin bug #144152 remains covered. - Picker triggers may reopen during closing. #126032's fence came from CI/synthetic overlap, not a human incident; #171441 transferred lifecycle ownership to native Popover, which ignores superseded completions. Focused proof: 281 tests passed, including Chromium/WebKit overlay lifecycle and responsive placement controls. Independent P0-P2 review: scoped-clean. Final UI production and UI-pages test typechecks passed; suppression tests 3/3. Scoped lint passed after a mechanical no-lonely-if fix. Runtime and static import cycles: zero. No visual or locale changes. The global environment-name budget is inherited at 455/454 on both the untouched base and origin/main; none of its counted source roots changed. * refactor(ui): remove unused new-session hiding selector * refactor(gateway): retain legacy catalog and update handler contracts Withdraw two wave-5 cleanups after focused CI failures and bounded isolated replay. Preserve the existing scalar-read concurrency and update-status handler contract. Tighten task-suggestions assertion allowance to match the cleaned source.
…-5 bundle A) (openclaw#172989) * refactor(ui): remove unused page plumbing and duplicate presentation work Fold sole-caller Config and Cron adapters into their existing owners, reuse canonical controller types, and remove unused request arguments and login selection options. Adopt the complete background mutation receipt instead of rereading the write; keep authoritative preflight and live ownership checks. Best-effort tradeoffs accepted: a later background edit in another browser is reflected by normal preference events or refresh, not an unconditional read of our own successful write. The introducing feature PR openclaw#168301 does not identify a human incident requiring that reread. Settled rendering and public contracts are unchanged; both shipping renderer paths remain intact. * refactor(ui): consolidate presentation helpers and cached preview inputs Share point-menu trigger attributes and deletion-first LCS traversal. Remove an obsolete empty-badge predicate, a one-caller loading facade, and redundant whole-map translation fallback. Preserve both active Lit and Solid paths, positioning formulas, diff work budgets, visible text, and rendering. Best-effort tradeoffs accepted: - Trust successful synchronous Web Storage writes instead of reading them back. Introducing PR openclaw#162428 supplied synthetic storage failures, not a human incident where successful setItem silently failed. Nonconforming Storage replacements may miss a cache publication until the next refresh. - Trust immutable message/tool-card identities for cached source previews. PR openclaw#148431's in-place mutation assertions were synthetic; production owners publish replacement snapshots. Unsupported in-place mutation may leave a decoration stale until replacement. Run/frame/origin and external source validation remain unchanged. Net production reduction: 76 lines; tests: 20 lines removed, only synthetic same-object mutation assertions. Kept config coercion tied to human Safari report openclaw#13348, along with security, durability, ordinary navigation ownership, and all active migration paths. Focused proof: 73 boot/cache/diff tests, 82 menu tests, 46 badge/assistant tests, 20 i18n tests, 8 browser details tests, 3 lint-suppression tests; UI typecheck, formatting, stylesheet lint and CSS declaration parity passed. Known inherited local check failure: environment-variable count is 455 against budget 454, independently reproduced against clean HEAD/index. Its counted source roots exclude UI. No budget or unrelated source changes made. * refactor(ui): remove obsolete presentation compatibility and styling Use the native Popover capability required by the Control UI bootstrap instead of retaining old-engine in-flow fallbacks. Keep native overlay occlusion and all real connection/navigation ownership. Remove retired sidebar style hooks and share identical question-panel declarations. Supported browsers render identically; no user-visible copy, feature, renderer selection, config, protocol, or storage change. Best-effort tradeoffs accepted - Old engines without Popover support, or invalid direct popover mounts, no longer receive an in-flow menu fallback. The fallback came from openclaw#105598 as generic compatibility, not a human incident; openclaw#168595 made native Popover support a required bootstrap capability. Invalid direct mounts now fail clearly rather than silently changing layering. Deeper coverage and retained candidates are recorded in the requested task-local y03 ledger for coordinator bundling. Branch total: 123 net production LOC removed (+114/-237), excluding tests, fixtures, generated files and declarations. Below the 500-line campaign floor after the deeper components/app/lib/styles and lead-owned owner pass; push branch-only for bundling. * refactor(gateway): reuse server method owners Consolidate duplicate catalog response handling, optional catalog reads, pairing resolution, requester assertions and system agent transcript persistence. Carry prepared pairing and actor facts instead of probing or re-reading them. Remove redundant cache-generation and internal receipt checks; retain security, durability, pagination and resource bounds. Best-effort tradeoffs accepted: - Pairing captures its selected adapter once. Repeated internal checks added by openclaw#112401 guarded hypothetical in-place plugin mutation, not a reported incident. Such a mutation now leaves this request on its selected adapter; later requests discover the current registration. - Channel identity RPCs trust the canonical mutation result instead of repeating the action/kind assertion introduced in openclaw#161284. No human incident justified the redundant adapter assertion; live mutation authority remains with the state owner. No user-facing feature, protocol/config/persistence shape, schema, dependency, test coverage or standalone session memory backend changes. Net production reduction: 100 lines (179 added / 279 deleted). Type-aware lint, targeted production types, formatting, runtime cycles (zero), SDK surface, suppression audit and independent P2 review pass. Gateway focused suites and the full static import graph remain incomplete on the loaded host; retain these proof gaps for the coordinator bundle rather than claiming green. * refactor(gateway): trust prepared server method inputs Remove a test-only config cache-reset wrapper, duplicate internal selection and channel-support checks, an unused session-file metadata fallback, and duplicate usage target shapes. Carry transcript delivery facts from their first parsing pass. Keep all network validation, effect authority, transcript durability, current update policy and standalone session memory machinery. Best-effort tradeoffs accepted: - Internal agent updates trust the selection-shape check at their sole production caller, agents.update. The duplicate originated in the Models agent-selection feature openclaw#150224; the same boundary check still rejects invalid user input. Live runtime choice validation stays at the effect. - Channel start support is checked once at the synchronous request boundary. The inner check from openclaw#67815 / openclaw#167159 cannot observe a different plugin without unsupported synchronous mutation; the boundary guard remains. - Workspace-root readers require caller-prepared metadata: both production consumers already provide it. The unused fallback from openclaw#161747 is deleted, not the Phase E backend or any factory. A future invalid internal caller gets a clear error instead of starting another metadata read. - Update handlers trust the required getRuntimeConfig contract instead of falling back to a global schedule for an invalid context. Keep openclaw#158301's real scheduler-policy incident fix and its post-await current-config read. - Usage summaries trust the canonical required target identity from openclaw#169660; the first-instance fallback served no production caller. The integration fixture now supplies that identity with all original assertions retained. No public schema/config/SDK/protocol or persisted shape changes. The config tests call the same canonical invalidators directly; no coverage is removed. Follow-up removes 54 net production lines; branch total removes 154. Targeted types (including MCP consumers), retained-file type-aware lint, formatting, zero runtime import cycles, suppression audit and independent P2 review pass. Gateway behavioral suites remain incomplete after a loaded-host startup run was stopped at about ten minutes (exit 143). The prior full static-graph gap remains pending for the coordinator bundle; no new production edge is added. * refactor(ui): consolidate page lifecycle and config plumbing Reuse the existing controller host, subscription and plugin-icon owners; share cloud-worker config edit wiring and Usage query comparisons. Remove the unused Usage detail predicate and duplicate model loading flag. Retire the Web Awesome-era picker hiding fence now that native Popover owns generation-bound close completion. Keep both rendering paths, draft recovery, user-intent checks and dispatch-time write authority. Settled rendering is unchanged. Net production reduction: 210 lines. Best-effort tradeoffs accepted: - Failed channel artwork retries on the next channel refresh rather than a queued trailing ensure. openclaw#131511 was a synthetic ordering regression; the human-reported owning-plugin bug openclaw#144152 remains covered. - Picker triggers may reopen during closing. openclaw#126032's fence came from CI/synthetic overlap, not a human incident; openclaw#171441 transferred lifecycle ownership to native Popover, which ignores superseded completions. Focused proof: 281 tests passed, including Chromium/WebKit overlay lifecycle and responsive placement controls. Independent P0-P2 review: scoped-clean. Final UI production and UI-pages test typechecks passed; suppression tests 3/3. Scoped lint passed after a mechanical no-lonely-if fix. Runtime and static import cycles: zero. No visual or locale changes. The global environment-name budget is inherited at 455/454 on both the untouched base and origin/main; none of its counted source roots changed. * refactor(ui): remove unused new-session hiding selector * refactor(gateway): retain legacy catalog and update handler contracts Withdraw two wave-5 cleanups after focused CI failures and bounded isolated replay. Preserve the existing scalar-read concurrency and update-status handler contract. Tighten task-suggestions assertion allowance to match the cleaned source.
What Problem This Solves
The Control UI's native overlays need a consistent modern platform baseline, but older browsers still start the dashboard with unsupported capabilities.
User Impact
The native apps now require macOS 26.2 or iOS/iPadOS 26.2. The Control UI supports Safari 26.2+ and Chrome/Firefox released within roughly the last six months (Chrome 147+ and Firefox 150+ for this change). Browsers missing the required overlay capabilities receive the existing update screen; embedded native hosts retain its Open in browser action.
This is the user-visible requirement change for release notes. The Node CLI/Gateway requirements and shared native-library deployment targets are unchanged.
Why This Change Was Made
Raise the native deployment targets and macOS bundle minimum together, set Vite's browser targets, and remove the dormant build-time switch from the existing boot capability check. Keep the capability check feature-based, so it tests the APIs the UI actually needs rather than parsing user agents. Remove only trivial native branches below the new floor; no native architecture change or dependency update is included.
Sparkle already reads
LSMinimumSystemVersionfrom the archived application. A synthetic, ad-hoc-signed app archive using the changed plist produced<sparkle:minimumSystemVersion>26.2</sparkle:minimumSystemVersion>with the installedgenerate_appcast; the wrapper therefore needs no change.Evidence
pnpm test ui/src/app/browser-capabilities.test.ts --maxWorkers=1pnpm test test/scripts/make-appcast.test.ts --maxWorkers=1git diff --checkswift build --build-tests) and iOS Periphery (Xcode simulator build). Native inputs are unchanged by the subsequent test-only commit.The capability E2E now exercises the shipping default without an enable flag; the retired dormant-mode case is removed. JSDOM rendering fixtures now mock only the boot admission side effect; real-browser tests continue through the actual gate. No production seam was introduced. Ordinary PR CI skips the separately named
macos-swiftandios-buildjobs; the successful Periphery jobs compile those native targets without a separate dispatch.The initial CI run failed and cancelled downstream proof. Its
app-sidebar.peopleassertion still expects.session-owner-chip, which main removed; the exact focused test fails on both this PR and base171df4e1c5a08e1da631c4fff50c420db2bb6f84(8.14 s / 8.47 s). This unrelated assertion is unchanged. Warm-boot and navigation-width tests failed in the shared CI suite but pass individually on both base and PR; those passing replays alone do not attribute or fix the CI failures. The current-head CI run has only the unchanged owner-chip assertion as a root failure. The warm-boot and navigation-width failures did not recur in the completed shard after JSDOM boot isolation; a sibling UI shard was cancelled. Current-head typechecking and the production UI build passed. Remaining cancelled jobs are recorded as cancellation, not passing proof. A requested rerun of the cancelled capability E2E shard was refused by Octopool string-rewrite protection; no guard was bypassed.After the JSDOM change, focused capability detection (7 tests), warm boot (7 tests), and navigation preferences (2 tests) pass locally in 3.18 s, 3.91 s, and 6.43 s wall time. Independent autoreview is clean. Testbox
tbx_01m4kh1c5h2fw49z3j222tynbcis stopped/completed; no alternate provider or local heavy checks were used.Changed-file LOC: 4,688 → 4,636 (46 additions, 98 deletions; net −52).
Visual evidence
Reused, inspected synthetic captures from P1-15, whose unsupported-screen HTML/CSS/TypeScript, English copy, and native link routing are unchanged by this PR. Original source:
cac4ae0383640aa3608a1ba34703318e244d9f6f; Testbox run. These show the existing screen that this PR enables; current-head admission behavior is covered by the proof table. The native bridge was simulated; no native application or live Gateway was modified.