# fix\(web\): Lineage follows a child session's current model · PR \#23838 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/23838)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

State: open

Source repository: Unavailable fork

Source branch: fix-child-session-model-label

Target branch: main

Head commit: f96653935e41fba6169566a9cc31470c5820d0eb

[Discussion and reviews](https://git.cafe/pingdotgg/t3code/pull/23838)

[Commits](https://git.cafe/pingdotgg/t3code/pull/23838/commits?format=markdown)

[Files changed](https://git.cafe/pingdotgg/t3code/pull/23838/diffs?format=markdown)

## Description

---

## Problem

After a delegated child switches from Astra to Sol, its parent's Lineage hover card still reports Astra and the original effort. Users cannot tell whether the switch took effect.

Fixes https://github.com/pingdotgg/t3code/issues/23837

GitCafe: https://git.cafe/pingdotgg/t3code/issues/23837

## Change

Use the app-owned child thread's current selection for the Lineage model, provider account, and options. A missing catalog entry after a provider switch gets a generic icon rather than the original provider's icon.

Native children retain provider-reported metadata. Historical timeline cards retain their task settings.

## Scope and approval

This is a small, focused fix for an existing display bug under the [focused bug-fix exception](https://github.com/pingdotgg/t3code/blob/main/CONTRIBUTING.md#prior-approval). It changes only the web/desktop Lineage view and its regression coverage.

## Verification

- Browser regression on main: both delegated model-change cases fail; both native reported/unknown-model controls pass. With the patch: all four pass, including a completed original task with a running follow-up and a cross-provider switch.
- `vp run check:changed upstream/main` passes on the rebased branch: format, lint, knip, affected-package typechecks, and browser tests.
- GPT-6-Astra at High effort completed a final static review with no findings. Its earlier provider-icon fallback finding is addressed.

Matched client captures use synthetic persisted parent/child projections, Chromium 154, dark theme, 1440 × 900 CSS viewport, and DPR 1. The child view shows Sol / Extra High in both captures. Screenshots were captured on `22840ab943` before and after applying this patch; the branch is rebased onto `ef92441313`.

| Before | After |
| --- | --- |
| ![Before: Lineage still shows Astra and high effort](https://github.com/user-attachments/assets/d739279e-2d8e-490c-8e32-66e54818ed3e) | ![After: Lineage shows Sol and xhigh effort](https://github.com/user-attachments/assets/df8ce73d-f44e-47f8-9785-62835b359bd1) |

The fixture does not execute provider calls. Native mobile and remote/relay/tunnel modes were not exercised.

Model: GPT-6.1-Sol. Reviewer: GPT-6-Astra at High effort. Harness: Codex in T3 Code.
