Skip to content

fix(native): complete sidebar snooze parity - #300

Merged
rynfar merged 2 commits into
nativefrom
nw/299-snooze-completion
Nov 6, 2026
Merged

rynfar merged 2 commits into
nativefrom
nw/299-snooze-completion

Conversation

@rynfar

@rynfar rynfar commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Native snooze rounded fractional milliseconds, rejected existing questions, and could display an inline action without current grant/support checks. Owner cancellation could lose restored focus. The initial implementation also sampled grant changes only during rendering, leaving the production cached sidebar stale after grant-only revoke/regrant.

Match shared duration/question/failure rules, decode optional request createdAt, retain action-time guards, and finish owner-change focus restoration after subscriber delivery. The sidebar now owns one session-grant watch keyed by connection and generation, binds initially and on owner changes, releases stale watches, and notifies for effective access changes. Config/capability events use the same live gate as the row. Unrelated grant churn does not notify the pane.

Validation:

  • Compiled failing-first grant-only regression observes the actual cached production pane with stationary pointer and unchanged clock. The final case passes revoke/regrant/initial grant, old-owner delivery/release, reconnect without receiver accumulation, unrelated-grant silence, and config/capability invalidation. No Flow notification or forced window refresh supplies this invalidation.
  • New-source default workspace tests: 1,410 passed once. Strict default Clippy, theme check, parity 42/42, scoped conformance, normal build and private snapshot/test builds passed.
  • Retained ebd linked core RED and completed lifecycle/shared-fixture evidence remains valid for the unchanged owning code. Its forced-Flow hit tests prove the row condition and events separately; they are not production cache-invalidation proof. All failed rounds and unexecuted assertions remain recorded.

The bounded cache witness combines actual pane notifications with pinned GPUI's Context::notify cache contract. Debug-bound metadata is not replayed for cached frames, so no new full cached hit-target/raster pass is claimed. Focused editable-input NSView/autofill raster and inline SVG pixels remain unverified under root56's explicit narrower acceptance. Actual input focus/state is asserted before footer-focus capture accommodation; registered Input actions/production capture handlers substantiate the disclosed focus/key boundary. No dependency/platform/renderer patch or live server/provider/settings write occurred; commands are queued only in ClientFixture.

Rust and ledger formatting remain RED, including touched code/cells. Scoped commits use the allocation's explicit hook bypass to avoid whole-ledger rewrites; hooks/config were not changed. Only the nine authorized paths and SB-SNOOZE Native/Status/Issue cells changed; all other130 rows and UPSTREAM bytes are preserved. Evidence and local images remain on the shared reviewer host: /private/tmp/native299-b56-evidence/REPORT.md, current revision-p2/ receipts/source binding, and preserved REPORT.ebd010fe.md/INDEX.ebd010fe.json.

This is a whole-row done proposal, pending the same independent review, root gate and merged verification. Sidebar acceptance remains5/16. Refs #299, #289, #262 and #242; owning trackers stay open pending integration.

Model/harness: GPT-6.1 Sol / Codex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant