Skip to content

fix(native): retain destination model in scoped sidebar metadata #315

Closed

Description

@rynfar

Problem

Scoped sidebar rows omit their destination model in the hover card. ThreadShell.model_selection is already decoded, but present_thread drops it and the scoped hover path intentionally cannot read an unrelated active shell.

Finite SB-ROW / SB-HOVER metadata slice under #242. Neither whole row is accepted by this change.

Acceptance

  • Test first in the existing scoped section/core case: apply a real monotonic, model-only ThreadUpdated event; assert the shared projected SidebarThread changes while owner/id/title/status/order stay the same. The baseline must compile and fail on projected equality, not an absent new field.
  • After that intended RED, carry the existing typed model selection through the existing SidebarThread projection and use it in both scoped/local hover rows, with blank-model suppression. Do not introduce a new wire type, cache, subscription, active-shell fallback or environment registry.
  • Preserve same raw-id isolation across owners and the existing folder/nonfolder consumer.
  • Required native gates, independent exact-head source review, matched-head merge and fresh meaningful proof. Primary offscreen hover capture verifies the destination model line; no static-markup UI test.

Source audit: sidebar-row-hover-model-lowest-first-audit.md in the external proof folder. The concrete failure is currently source-predicted, not executed. No production release until the intended test fails.

Out of scope: provider/display-name/history/platform enrichment, PR/terminal/draft metadata, all other row/hover criteria, live providers, real AppKit input/AX/clipboard and performance claims. No constants changed.

Activity

  1. added
    native:bug
    status:in-progress
    status:review
    and removed
    status:in-progress
    status:review
    on Nov 6, 2026
  2. rynfar commented on Nov 6, 2026

    @rynfar
    OwnerAuthor

    Finite fix accepted through PR #316, matched merge a65c22b8f5bc57d28a5694d0dd5bb191e5b81625 and independent fresh merged model-propagation/light-dark hover proof review SHA256 049893cb9455c01215d786c640df928b0a997750da4d9bf1d2d1ec29164ecd34. Required gates pass. SB-ROW/SB-HOVER remain partial; sidebar 9/16. Full evidence and scope limits are in PR #316.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    native:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions