Skip to content

fix(native): follow composer provider in transcript banners - #259

Merged
rynfar merged 1 commit into
nativefrom
nw/162-selected-provider
Nov 5, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/162-selected-provider

Conversation

@rynfar

@rynfar rynfar commented Nov 5, 2026

Copy link
Copy Markdown
Owner

An unsent provider choice changes the composer's model but leaves the transcript banner and Refresh aimed at the persisted provider. Resolve the banner from the matching composer's effective selection, as ChatView.tsx does.

Bind each main/side-chat transcript to its own composer, seed the initial selection, and publish only changed provider targets. Targets include environment, connection, and thread identity. Config changes, draft restoration, selection changes, switch-back, dismissal keys, and Refresh invalidation follow that target. Typing does not resolve the provider again or notify the transcript. The existing picker lock/handoff policy and provider resolver stay intact.

TV-BANNERS and #162 remain partial/open for provider setup action/copy and the /usage-limits handler plus capability opt-in. No capability is enabled. Only the five app files and TV-BANNERS row change; all other ledger rows, UPSTREAM, and intake content are preserved.

Validation:

  • A compiled GPUI entity test failed before the implementation: unsent B expected claudeAgent, banner remained persisted codex (exit 101). The red includes inert binding scaffolding; the production target lookup was still the original persisted path. Raw assertion, patch, and exact source are retained. A second compiled red caught the missing-target default banner before its guard was added.
  • The extended entity case passes. It covers independent main/side choices, switch-back, seeded binding, draft restore, config/status and unavailable-provider fallback, target/environment changes, missing target, dismissal identity, pre-RPC pending retirement/old completion, and zero transcript notifications while typing. Existing core Refresh permission/generation tests also pass.
  • Strict workspace Clippy, workspace tests (1,394), theme generation, 42 parity tests, client-runtime conformance, normal binary build, and explicit private snapshot build passed after the final source edit.
  • Targeted ledger formatting is inherited RED on base/current. check:changed is NOT green and was not run: its read-only CI mapping selects the prohibited repository-wide fallback for native files. Workspace Vite+ 1.4 targeted checks ran; no whole-ledger rewrite or repository-wide fallback ran.

Local captures (no uploads):

  • Before restored unsent B, with A's banner: /Volumes/DevSSD/t3-native-evidence-162-selected-b39/before-restored-b.png
  • After restored B: /Volumes/DevSSD/t3-native-evidence-162-selected-b39/after-restored-b.png
  • Picker switch-back: /Volumes/DevSSD/t3-native-evidence-162-selected-b39/after-switchback.png
  • Dismissal: /Volumes/DevSSD/t3-native-evidence-162-selected-b39/after-dismiss.png
  • Pending presentation: /Volumes/DevSSD/t3-native-evidence-162-selected-b39/after-pending.png

/Volumes/DevSSD/t3-native-evidence-162-selected-b39 retains command argv/cwd/PID/start/end/exit receipts, immutable before/after source manifests, patches, raw red/green logs, fixture/input/binary/PNG hashes, and publication binding. Builds ran against working bytes over ab109cc5b537c25f41a6fc9f11cbee8a59f328b6; the later commit did not yet exist. Publication binding verifies those exact compiled source bytes against Git.

Only the copied 14658 home and existing offscreen fixture hooks were used. B was seeded through the existing draft store; a harmless picker gesture selects A in the reverse fixture (A ready with an unsupported advisory). The initial warning-provider search produced no model rows and is retained as an unsuccessful gesture, not reproduction proof. The entity test is the bug proof. No actual Refresh RPC, provider turn, paid call, new server, real window, computer use, clipboard, auth/settings mutation, or user-bundle operation occurred.

Captures were inspected once. Known #202 glyph loss hides the composer and surrounding labels in the after-B/pending images; banner text remains visible. No recaptures were taken to conceal it; no full-frame legibility, production performance, live grants, network/relay, or multi-device verification is claimed. The historical #185 verification incident is unchanged.

Built with GPT-6.1 Sol in Codex

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