Skip to content

fix(native): retire predispatch-refused Settled pages - #341

Merged
rynfar merged 1 commit into
nativefrom
nw/340-predispatch-page-retirement
Nov 7, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/340-predispatch-page-retirement

Conversation

@rynfar

@rynfar rynfar commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Problem

A scoped Settled-page consumer can finish before dispatch while its admitted page remains Pending. Restoring READ does not release that attempt. This is separate from the accepted reply-time refusal in #318.

Change

Route terminal destination-resolution or unchanged live-read preflight refusal through one guarded cleanup path. Retire only an existing page for the current full owner, same physical project scope, generation, frontier and Pending state. Reuse apply_page to mark it Failed; rebuild and emit Shell only when that attempt was retired. Do not wait for a lagging UI permission publication, manufacture state or automatically retry.

The existing reply-time and successful request/reply paths stay byte-identical. The test extends the existing #318 case by 64 lines and preserves every old assertion.

Evidence

  • First isolated test-only run: one selected failure at the intended completed-consumer Pending assertion, 126 filtered, exit 101; independently confirmed by cad4797a… with current executable custody.
  • Minimal production source review approved exact 656ac1dc…; first post-fix continuation passed all old and new assertions, including restore/retry and teardown. Theme, intake (42), and conformance passed. Exact-head whole SOURCE review approved a9487a40… (4dfe6dd3…). All seven required native gates passed: 1,356 core/client tests, strict workspace/all-target Clippy, normal and snapshot builds, theme, intake (42), and conformance. Owning compiler JSON and lists selected eight core and eleven native controls; each passed once in its exact selector, with distinct initially empty homes for native tests. Independent candidate FINAL 665d79aa… approved; matched merge c3c9d7523e75180add4fe0d59920fd6d33d15736 and fresh merged FINAL 4b0f34b0… approved. All eight fresh core and eleven fresh native controls passed; rebuilt executables and evidence were independently verified. Finite fix(native): retire scoped Settled pages refused before dispatch #340 accepted; whole SECTIONS remains partial.

SB-SECTIONS stays partial; sidebar remains 9/16. No Pane, labels/rendering, physical-window or individual branch-attribution claim. The first post-fix continuation completed the previously masked restore/retry/teardown tail.

Constants changed: none. This diff passes git diff --check. check:changed fails in the unrelated desktop UserTaskDefinition bootstrap before checks; no install or unrelated repair.

Candidate: a9487a40f5b9c08180eb3cd49aa7f01bc3595cc3; tree 533e0a2064b25ecb9868092fb5e464f50e806772.

Closes #340. Parent #242.

Model: Sol 6.1 through the Codex harness; Prime Agent orchestration.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Independent exact-head whole SOURCE review approved PR #341 at a9487a40f5b9c08180eb3cd49aa7f01bc3595cc3 (tree 533e0a2064b25ecb9868092fb5e464f50e806772, parent 1e8b985a63f6be42ca36a659baa42196248a6a34). Report 4dfe6dd3…, manifest 1e7ea7ab…: head/clean state, all 572 Rust hashes and ledger checked twice; entire preserved test suffix and production request/reply path verified; no blocking P0/P1/P2 finding.

This is SOURCE approval, not final gate or merge approval. First post-fix continuation is independently accepted (3b3b183d…); required Rust gates are running after current all-three executable custody (9b4221fc…). Theme, intake and conformance passed. This diff's whitespace check passed; check:changed remains not green due to the unrelated desktop task-graph bootstrap.

SECTIONS stays partial, sidebar 9/16. Existing owned-task cancellation is the lifecycle assumption; no globally unique attempt token or full cancellation claim. Constants changed: none.

@rynfar
rynfar merged commit c3c9d75 into native Nov 7, 2026
@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

PR #341 was squash-merged with exact head a9487a40f5b9c08180eb3cd49aa7f01bc3595cc3 into c3c9d7523e75180add4fe0d59920fd6d33d15736. The merged tree is 533e0a2064b25ecb9868092fb5e464f50e806772, exactly the independently reviewed candidate tree; parent is 1e8b985a63f6be42ca36a659baa42196248a6a34. MAIN fast-forwarded cleanly, and all 572 Rust hashes plus the partial ledger match.

Independent candidate FINAL 665d79aa… confirmed all three current executable hashes/sizes, all 30 command records, all 60 frozen evidence files, seven required gates, eight core controls and eleven native controls.

Fresh merged proof is pending, so this is not final finite acceptance. The next step is independent pre-clean custody, then a limited three-package clean and fresh MAIN snapshot/core/native proof in new isolated homes. Sidebar remains 9/16. check:changed stays not green due to the unrelated desktop bootstrap. Constants changed: none.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Fresh merged proof at c3c9d7523e75180add4fe0d59920fd6d33d15736 completed after the owned t3-native/t3-core/t3-client clean: fresh MAIN snapshot build, owning core compiler (fresh=false) and list of 1,250 tests, eight exact core passes, owning native compiler (fresh=false) and list of 127 tests, eleven exact native passes in distinct initially empty homes. All unchanged grant-refusal/retry, same-scope shelves, placement/deletion and natural-deadline tails completed.

There are 25 captured command records and 50 read-only hash-named record/log copies. Rebuilt main/core/native hashes are recorded in sidebar-pr341-fresh-merged-final-packet.json. Independent fresh merged FINAL review is pending; no further build will overwrite those paths before it finishes. This is not finite acceptance yet.

Sidebar remains 9/16. check:changed desktop bootstrap remains not green; this patch's diffcheck passes. Constants changed: none.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Finite #340 accepted — whole SECTIONS remains partial

PR #341 merged as c3c9d7523e75180add4fe0d59920fd6d33d15736, tree 533e0a2064b25ecb9868092fb5e464f50e806772, parent 1e8b985a63f6be42ca36a659baa42196248a6a34. The merge used exact reviewed head a9487a40f5b9c08180eb3cd49aa7f01bc3595cc3 and matches its tree.

Tests first: the preserved isolated test-only run failed at the intended completed-consumer Pending assertion (one failed, 126 filtered, exit 101), independently confirmed by cad4797a…. The minimal fix and unchanged test passed source review, first post-fix continuation, exact-head whole SOURCE review 4dfe6dd3…, all seven required native gates (1,356 core/client tests, strict Clippy, both builds, theme/intake/conformance), eight core controls and eleven native controls. Candidate FINAL: 665d79aa….

After independent pre-clean custody, MAIN rebuilt from the limited three-package clean. Fresh owning compiler JSON selected eight exact core and eleven exact native passes in new initially empty homes. Independent fresh merged FINAL 4b0f34b08918c9116d748bc5831ae17e5f570e4c36ab76ad7cc7e787cfc24b58 checked all three rebuilt executables directly (initial/final twice), all 572 source hashes, ledger, Git identities, 25 captured commands and 50 read-only hash-named records/logs. Full old and added refusal/retry assertions and their original teardown completed.

Scope: completed predispatch resolution or live-preflight refusal retires only the still-matching Pending attempt and preserves explicit retry. This does not separately attribute both branches or prove every DestinationError, full cancellation, global quiescence, Pane labels or rendering. Existing owned-task cancellation is the lifecycle assumption. SECTIONS stays partial; sidebar 9/16.

This patch's diffcheck passes. check:changed remains not green due to unrelated desktop UserTaskDefinition bootstrap before checks; historical timer EOF failure remains separate. No installs, unrelated repairs, assertion weakening or product constant changes.

Receipt: sidebar-sections-predispatch340-pr341-merged-green-receipt.json (external proof). Constants changed: none.

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