Repository navigation
fix(native): retain destination model in sidebar metadata - #316
Conversation
|
Independent exact-head source review approves Actual original core case passes after the intended model-only propagation failure, including both folder modes and its existing config/disconnect tail. Required 1356 default tests, strict workspace/all-target Clippy and theme/intake/conformance pass. Normal app build is running. Actual background-hover captures, snapshot build, matched merge and fresh merged proof remain required. SB-ROW and SB-HOVER stay partial. This restores the destination raw model label only; no provider display/history or other metadata is claimed. Formatting remains RED under the explicit exception. No constants changed. |
|
Matched-SHA squash merge completed: candidate All candidate gates pass, including 1356 tests, strict Clippy, normal and snapshot builds, theme/intake/conformance, the correct selected model-propagation core case, and the actual whole background-hover scenario in light/dark with strict no-command/identity checks and original project-menu tail. Before/after evidence is uploaded as owner-authenticated draft attachments with all five remote digests verified. Fresh merged snapshot build is now running. Formal finite completion still requires the merged compiler-selected model-propagation core case and actual frame scenario, fresh hashes/source custody and independent proof review. SB-ROW/SB-HOVER remain partial; sidebar stays 9/16. No constants changed; formatting RED exception and synthetic-only boundaries remain. |
|
Finite #315 completion accepted after fresh merged proof.
Sidebar stays 9/16. SB-ROW and SB-HOVER stay partial. This restores only the existing destination raw model label. Formatting RED exception and synthetic-only/no-live-provider/AppKit/AX/clipboard/performance limits remain. No constants changed. |
Problem
Scoped sidebar hover cards omit their destination model. The shell already decodes modelSelection, but the shared SidebarThread projection drops it. Reading the active shell would also be wrong when two machines share a raw thread id.
Fix
Carry the existing typed model selection through the shared projection and use that same row's model in local and scoped hover cards. Preserve empty-model suppression. No new protocol, watcher, cache or provider lookup.
Closes #315. SB-ROW and SB-HOVER remain partial; this restores the raw model label only, not provider-aware display/history or other row metadata.
Verification
b23cbaadce405a2250c5f1436890e2ce6f7e87ad, tree01123678a68c2087ba9d30e9d7358646afb6dba1, has independent whole-five-file source approval (SHA2560df8eaf6ad61865bbb483c8d48f6ee3bbcab2fca0809a94a17c44f5778834082).background-model-315, unchanged route and no commands during either hover. Original project-menu scenario tail also passes. Independent actual frame review SHA2562a7d93a8800306b2104da393405b5b558f28bebd174c77fdb95fcd42433f2393.Before / after evidence
Owner-authenticated draft evidence contains four PNGs and a SHA256 manifest; all remote asset digests match local bytes. It is not a published product release.
Before is a controlled old-row presentation: only row.rs uses
175d9bytes; candidate projection and the identical real-hover fixture stay fixed. Both before/after whole scenarios pass. Before omits the model; after shows the correct background owner model in light and dark. This is not represented as a full-main baseline or the logic RED. All candidate bytes were restored and the worktree checked clean before the fresh gates.Formatting stays RED under the explicit exception. No suppressions or constants changed. Offscreen production views do not prove live provider/server writes, real AppKit Input/AX/clipboard or performance.
Model: GPT-6.1 Sol / Codex. Harness: Prime Agent.