Repository navigation
fix(native): preserve shelves across watched thread navigation - #336
Conversation
|
Independent exact-head source review approved Current required checks: 1,356 core/client tests, strict workspace/all-target Clippy, theme, intake, conformance, and diff check passed. Normal build is running. Snapshot build, current compiler-selected core7/native8 runtime controls, and final CURRENT artifact review remain required before merge.
|
|
PR #336 merged with matched head Independent candidate final Whole SB-SECTIONS remains partial and sidebar stays 9/16. |
|
Finite #333 / PR #336 accepted after independent fresh merged proof. Matched candidate Tests first and corrected whole actor test: see the PR's recorded failure/correction history. Candidate required gates all passed; Independent fresh merged FINAL No whole SECTIONS credit; sidebar 9/16. No constants changed. |
Problem
Navigating to a thread in an already watched environment discarded sidebar shelf state even when the effective project scope stayed the same.
Change
Preserve shelf expansion and Settled tail count together with the existing effective-scope key when clearing connection state. Keep the existing scope-key comparison as the authority for resetting the tail on genuine scope changes. This is a three-line production change across two files. No timers, protocol, grant checks, selection policy, or constants change.
Proof
7caee5fbdf242122710a0e9c6916a48ddf0340a436dfcf7799424652ab0d07d8).open-thread. The corrected test requires that exact command kind/count; it does not filter extra commands. Independent correction review:1c85e67821775de17bf1fffb83f37dfec38d07a89aed1ba691182cf38562a950.take_commandserases subscription IDs. The terminal assertion proves command kinds/count only, not the subscription payload or global wire silence. Sending the visit reply is not a join on its callback.b8f5dec2f112c113728752c2a075cb9522d9f21d/ tree258bb27de855af9dbd79534dc39f3f77a76dfe23passed 1,356 core/client tests, strict Clippy, normal/snapshot builds, theme/intake/conformance/diff, and current compiler-selected core7/native8 runtime controls. Independent exact-head source reviewf648667d52e8455957d5d3cb70db5603bb9b4d52bb987497b50eeff9506b1930approved. Independent candidate finald2c497568d14fed6a3c22bdd1b0f30dd01d9d11e625f859e19970028d139b102recorded all three artifacts CURRENT/PRESENT before the owned three-crate clean. Matched-head squash merge4412b37c9264243d32f4482ea9f7123d8af06299has the exact candidate tree and parent. Fresh merged snapshot build plus proper compiler-JSON-selected core7/native8 controls all passed from MAIN, with fresh compilation and eight distinct initially empty test homes. Independent fresh merged FINAL61373ac8161a533a9b1558a0b4a33043339c377189db285b6e42baaca0c38486accepted the finite fix after directly hashing all three current artifacts twice and verifying exact merged identity/source/ledger and runtime evidence. No blocking findings.check:changedbootstrap remains NOT GREEN (desktopUserTaskDefinition); no unrelated toolchain repair. The approved existing formatting exception remains.Parity
Updates SB-SECTIONS, still partial. Sidebar remains 9/16. Local-fallback/cross-mode scope variants, natural timer/pane/label proof, and remaining sections stay separate. No Input/Root/real-window work is included.
Model: Sol 6.1. Harness: Prime Agent; independent review through Codex.