Skip to content

fix(native): reset watched Settled tail on scope changes - #321

Merged
rynfar merged 1 commit into
nativefrom
nw/320-scope-tail
Nov 6, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/320-scope-tail

Conversation

@rynfar

@rynfar rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Problem

Changing the watched sidebar's chosen project scope keeps the expanded Settled row limit from the previous scope. It should reset to the existing initial count, even while collapsed.

Fix

Remember the effective ordered chosen scope after route reveal and group resolution. Reset only the visible Settled tail before building the watched model. Keep same-scope growth and page consumers unchanged.

Tests first: the actual actor case failed at 35 != 10 before the production change. The fixed case covers open and collapsed transitions; the existing collapse/reopen, explicit grant-refusal retry and highest-frontier handoff cases also pass. Exact-head gate and fresh merged proof records will be added below.

Scope: watched model only. The legacy local fallback, cross-mode carryover and physical per-owner page-scope lifecycle remain separate. SB-SECTIONS stays partial; sidebar remains 9/16. No AppKit, AX, live-provider, restart or performance claim. No constants changed. Formatting remains the previously approved RED exception.

Closes #320.

Model: GPT-6.1 Sol. Harness: Prime Agent with independent Sol/Codex review.

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Independent exact-head source review is complete for 5ab1406ad0923df154e02c6776d747e912c019ab / tree b8f23f7ec0474340fd335f5d73238d9e03256c49: three files only, watched-model tail reset plus actual actor regression and partial ledger update. Review SHA256: cdb01971c04c464196cbc28f806b5b3d8bdd4eea27a9aa782cbfe7c44a1ad5e5.

Before the fix, the exact actor test failed at 35 != 10; the same case now passes through both open and collapsed transitions in the combined test lane. The three accepted paging controls pass there too. The isolated candidate's required core/client tests are running; theme, intake and conformance checks pass. Strict Clippy, both builds, isolated compiler-selected four-case proof and final independent binary review remain pending. This is not merge acceptance yet.

Local fallback, cross-mode carryover and physical per-owner page-scope ownership remain separate. Sidebar acceptance remains 9/16.

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Verification so far for exact head 5ab1406ad0923df154e02c6776d747e912c019ab / tree b8f23f7ec0474340fd335f5d73238d9e03256c49:

  • Required core/client tests: 1,356 pass (98 + 1,250 + 8).
  • Strict workspace/all-target Clippy: pass.
  • Normal and snapshot native builds: pass.
  • Theme, intake and conformance checks: pass.
  • Source hashes unchanged.

The compiler-selected native test binary and isolated four-case proof are in progress. Final independent present-binary review and fresh post-merge proof are still required. No whole-row acceptance or new constants.

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

All required candidate gates now pass for exact head 5ab1406ad0923df154e02c6776d747e912c019ab / tree b8f23f7ec0474340fd335f5d73238d9e03256c49:

  • 1,356 core/client tests; strict workspace/all-target Clippy.
  • Normal and snapshot builds; theme, intake and conformance.
  • Exact compiler-selected native cases: scope-tail open/collapsed reset, collapse/reopen lifetime, grant-refusal explicit retry and highest-frontier handoff. Each selects one test and passes (122 filtered).
  • Source hashes stable; worktree clean; only three scoped files, no staged update-planner work.

Final independent present-binary review is pending before the matched-head merge. Fresh meaningful merged proof will follow. Whole SB-SECTIONS remains partial; sidebar stays 9/16. No constants changed.

@rynfar
rynfar merged commit 4e9d0a4 into native Nov 6, 2026
@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

Matched-head squash merge complete: 4e9d0a4a56ed4727c06f31d2002ba5dbb47409f3 has the exact reviewed tree b8f23f7ec0474340fd335f5d73238d9e03256c49. Main fast-forwarded to it, and every native source hash matches the isolated candidate.

Candidate final independent review: 9c43c09283d6e4dd6bf6f59b1876a7d90431c3bb978bc576b79db45a658d8712. All required gates and four exact runtime cases passed there; both present binaries were independently rehashed before cleaning only the three owned packages.

Fresh merged snapshot build is now running. Compiler-selected four-case proof and final independent merged binary review remain pending. #320 is not accepted as finished until that proof is complete. SB-SECTIONS remains partial; sidebar stays 9/16.

@rynfar

rynfar commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

#320 finite slice accepted after fresh merged proof.

PR #321 merged as 4e9d0a4a56ed4727c06f31d2002ba5dbb47409f3, tree b8f23f7ec0474340fd335f5d73238d9e03256c49, exactly matching the independently reviewed candidate. Candidate gates passed: 1,356 core/client tests, strict workspace/all-target Clippy, normal and snapshot builds, theme, intake and conformance.

Fresh main snapshot build and compiler-selected native test binary passed the same four exact cases: open/collapsed chosen-scope tail reset, collapse/reopen page lifetime, grant-refusal explicit retry and highest-frontier handoff. Each selected one test (122 filtered). Main is clean; source hashes match the candidate. Both fresh present binaries were independently reviewed before any later clean.

Scope stays watched-environment visible tail only. Legacy local fallback, cross-mode carryover and physical per-owner page-scope lifetime remain separate. No dedicated route-reveal runtime, AppKit/AX, live-provider, wire-cancellation or performance claim. No constants changed. Whole SB-SECTIONS remains partial; sidebar stays 9/16.

Final merged independent review SHA256: 53f4fbe2809998c0cd9dcb23d8af6927f11cb3ea14f6b648f38662e11d197c02.

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