Repository navigation
Description
Problem
An admitted scoped Settled page can remain Pending after current read authorization changes and the page consumer refuses its reply. The shelf stays open, and restoring authorization on the same owner cannot resume because Pending still owns the cursor. This is a source-backed candidate, not yet an executed failure.
Finite scope
Exercise one real already-sent page reply refused after current read grant revocation. Preserve exact owner/shell generation/scope/cursor identity, discard the refused rows, retire only that admitted attempt as Failed and allow an explicit resume after authorization returns. This is separate from #314 collapse cancellation. Resolve/preflight refusal, scope-tail reset, inbox history, attention rollup and whole SB-SECTIONS acceptance are not automatically covered.
Required proof
- Add the fewest failing cases at the actual page consumer layer. A separate adjacent test is justified because collapsing the shelf would reset Pending and mask this bug.
- Actual actor install/open shelf → real page25 request held → real grant-watch publication with same owner → retain and await the existing owned consumer Task after returning the real reply → intended not-Pending assertion failure. No polling, arbitrary delay, missing-event wait or new test hook.
- Only after actual RED, implement the smallest exact-attempt retirement. Do not clear a newer attempt or another owner/scope. No epoch/cache/registry, timer or automatic retry.
- Restore grants through the real actor publication, assert Failed still holds so publication did not auto-retry, explicitly resume, receive/apply a fresh real page and prove refused rows never mount.
- Independent exact-head review, required native gates, matched merge and fresh meaningful merged proof. SB-SECTIONS stays partial until all applicable criteria pass.
Boundaries
Native-only; unmodified server, no live writes/providers/auth operations, no AppKit/AX/clipboard/performance claim. Formatting RED exception remains. No constants change is proposed.
Activity
rynfar commentedon Nov 6, 2026
The test-only current-grant refusal case now produces its intended immediate failure: one actual test exits 101 at
omitted_rows.rs:643, Pending != Pending. No timeout, compiler failure or zero-test run is counted as the regression.It reached a real page-25 request, captured the exact owner, awaited the published denied read grant, retained (did not cancel) the exact page consumer task, sent its held reply, and awaited that consumer outside the entity borrow. The finished consumer leaves its admitted attempt Pending. The later restored-grant/explicit-retry tail has not run yet.
An external minimal proposal is now released for review: retire only the same captured generation/cursor/project-scope attempt to Failed through the existing page reducer. Keep collapse/reopen behavior, wanted depth, earlier reads/frontier and unrelated mounts. Do not silently reset Ready or auto-retry on grant restoration. No fix has been applied and no resolve/preflight branch is claimed. Sidebar remains 9/16, SB-SECTIONS partial; no constants changed.
rynfar commentedon Nov 6, 2026
Finite #318 accepted via matched-head squash
24f0a4fc73a8ff185b11dbf8cc67ef3faa9d6405→ae60a6d53906dffbee9465b2eb9f9a8a4106dca6, exact reviewed treee6508f8b62004f2ded1d7f7653867bdeb39840eb. Required 1356 tests, strict Clippy, normal/snapshot builds, theme/intake/conformance and the three exact candidate runtime cases passed. Candidate independent final approval SHA2569c16838c72cdef1252d2af35b42c3ddd2e6021870c2a9f1da5b1fb9a55a2af79.Fresh merged snapshot build, compiler-selected actual whole grant-refusal/retry case, entire collapse/reopen case and shared-frontier handoff each pass with source/tree/hash custody. Final independent merged review SHA256
b759ac26c6dba1541128ad9b323d1a2025f00404087bf2b543578cc0ba92470bverifies all three actual selectors, exact source/tree and both present main/libtest hashes. These hashes become historical evidence only after the separately recorded owned cleanup.The finite proof covers a real held page reply refused by an explicitly denied current read grant, exact consumer completion, Failed retirement, unchanged cursor/scope/reads/mounts, real restored-grant publication without automatic retry, and explicit retry with fresh reply excluding refused rows. Resolve/preflight abandonment and scope/filter-tail changes are not claimed. SB-SECTIONS stays partial and sidebar stays 9/16. No constants changed. Proof
/private/tmp/native301-external-proof-01a1af49/sections-pending318-pr319-merged-green-receipt.json.