GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(web): preserve provider defaults for optionless threads by juliusmarminge · Pull Request #23528 · pingdotgg/t3code Conversation
|
| Milestone (actual UTC) | Before | After |
|---|---|---|
| Resting | 2026-10-22T09:39:00.215Z | 2026-10-22T09:32:59.321Z |
| Focused/typed | 2026-10-22T09:39:02.404Z | 2026-10-22T09:33:01.422Z |
| Menu open | 2026-10-22T09:39:05.004Z | 2026-10-22T09:33:04.048Z |
| Send | 2026-10-22T09:39:05.885Z | 2026-10-22T09:33:05.002Z |
| Successful receipt | 2026-10-22T09:39:05.990Z | 2026-10-22T09:33:05.135Z |
| Persisted run completed | 2026-10-22T09:39:09.485Z | 2026-10-22T09:33:08.822Z |
Before recording · After recording · Before dispatch/receipt/projection · After dispatch/receipt/projection
Threads: proof-V1-clean → proof-V1. Both created optionless through real RPC; exact persisted create events are in the manifest.
| State | Before | After | Diff0: threshold 0, gain 8 | DiffT: threshold 26/255, gain 8 |
|---|---|---|---|---|
| Source | ff525478e2 | 4c7f479ac9 | ff525478e2 → 4c7f479ac9 | ff525478e2 → 4c7f479ac9 |
| R | ||||
| F | ||||
| O |
Steps: start resting; focus and type Reply with OK.; open the traits/overflow menu without selecting; close it; submit; wait for the successful receipt and completed real Claude run. Actual UTC milestones below align the two recordings.
| Milestone (actual UTC) | Before | After |
|---|---|---|
| Resting | 2026-10-22T09:27:49.942Z | 2026-10-22T09:35:55.259Z |
| Focused/typed | 2026-10-22T09:27:52.109Z | 2026-10-22T09:35:57.490Z |
| Menu open | 2026-10-22T09:27:54.727Z | 2026-10-22T09:36:00.090Z |
| Send | 2026-10-22T09:27:55.596Z | 2026-10-22T09:36:00.800Z |
| Successful receipt | 2026-10-22T09:27:55.786Z | 2026-10-22T09:36:00.890Z |
| Persisted run completed | 2026-10-22T09:27:59.050Z | 2026-10-22T09:36:03.926Z |
Before recording · After recording · Before dispatch/receipt/projection · After dispatch/receipt/projection
Threads: proof-V2-take2 → proof-V2-clean. Both created optionless through real RPC; exact persisted create events are in the manifest.
| State | Before | After | Diff0: threshold 0, gain 8 | DiffT: threshold 26/255, gain 8 |
|---|---|---|---|---|
| Source | ff525478e2 | 4c7f479ac9 | ff525478e2 → 4c7f479ac9 | ff525478e2 → 4c7f479ac9 |
| R | ||||
| F | ||||
| O |
Steps: start resting; focus and type Reply with OK.; open the traits/overflow menu without selecting; close it; submit; wait for the successful receipt and completed real Claude run. Actual UTC milestones below align the two recordings.
| Milestone (actual UTC) | Before | After |
|---|---|---|
| Resting | 2026-10-22T09:39:26.174Z | 2026-10-22T09:36:15.730Z |
| Focused/typed | 2026-10-22T09:39:28.540Z | 2026-10-22T09:36:18.134Z |
| Menu open | 2026-10-22T09:39:30.808Z | 2026-10-22T09:36:20.392Z |
| Send | 2026-10-22T09:39:31.446Z | 2026-10-22T09:36:21.039Z |
| Successful receipt | 2026-10-22T09:39:31.529Z | 2026-10-22T09:36:21.091Z |
| Persisted run completed | 2026-10-22T09:39:34.335Z | 2026-10-22T09:36:24.314Z |
Before recording · After recording · Before dispatch/receipt/projection · After dispatch/receipt/projection
Threads: proof-V3-clean → proof-V3-clean. Both created optionless through real RPC; exact persisted create events are in the manifest.
| State | Before | After | Diff0: threshold 0, gain 8 | DiffT: threshold 26/255, gain 8 |
|---|---|---|---|---|
| Source | ff525478e2 | 4c7f479ac9 | ff525478e2 → 4c7f479ac9 | ff525478e2 → 4c7f479ac9 |
| R | ||||
| F | ||||
| O |
Steps: start resting; focus and type Reply with OK.; open the traits/overflow menu without selecting; close it; submit; wait for the successful receipt and completed real Claude run. Actual UTC milestones below align the two recordings.
| Milestone (actual UTC) | Before | After |
|---|---|---|
| Resting | 2026-10-22T09:29:32.366Z | 2026-10-22T09:37:10.691Z |
| Focused/typed | 2026-10-22T09:29:34.697Z | 2026-10-22T09:37:13.073Z |
| Menu open | 2026-10-22T09:29:36.903Z | 2026-10-22T09:37:15.319Z |
| Send | 2026-10-22T09:29:37.563Z | 2026-10-22T09:37:16.046Z |
| Successful receipt | 2026-10-22T09:29:37.645Z | 2026-10-22T09:37:16.157Z |
| Persisted run completed | 2026-10-22T09:29:40.515Z | 2026-10-22T09:37:19.689Z |
Before recording · After recording · Before dispatch/receipt/projection · After dispatch/receipt/projection
Threads: proof-V4 → proof-V4-clean. Both created optionless through real RPC; exact persisted create events are in the manifest.
| State | Before | After | Diff0: threshold 0, gain 8 | DiffT: threshold 26/255, gain 8 |
|---|---|---|---|---|
| Source | ff525478e2 | 4c7f479ac9 | ff525478e2 → 4c7f479ac9 | ff525478e2 → 4c7f479ac9 |
| R | ||||
| F | ||||
| O |
High changes to Medium, the selected menu row changes, and neighboring controls shift with the wider label. All changed pixels in the paired stills are confined to those areas. Narrow focused pairs are pixel-identical because the trait control is hidden. Diff0 amplifies every nonzero RGB delta by 8; DiffT does the same for deltas ≥26/255. The index includes raw counts and the full unmasked images.
Explicit Low and draft overrides remain Low; new threads still inherit the default. Omitted options and explicit empty options both preserve provider defaults. All eight captured real Claude runs completed successfully.
Web was tested at 1440×900 and 390×844 in light and dark. Desktop shares this web helper; its Electron shell was not separately run. Native mobile already uses the saved selection directly and is unaffected. No wire or persistence changes.
Captures use the source SHAs shown above. The later fixture-only commit leaves production code and tests byte-identical to the after capture.
Main was merged as 09c06b91ac; the three fix files remain byte-identical to the audited head.
CI initially found the manual fixture as unused. Registering scripts/fixtures/*.mjs as a Knip entry fixes it: vp run knip:check, scoped formatting/lint, and both generated-file checks pass. Production code, test, and fixture are unchanged.
Models: Claude Opus 5.5 and GPT-6.1-Sol, through Claude Code and Codex in T3 Code.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
An existing thread persisted without options shows and sends the New threads default effort, because deriveEffectiveComposerModelState falls back to the project/settings default selection's options. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…lt options Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — Existing optionless threads will use provider defaults instead of inheriting project/settings options, changing their effective model configuration. Human review is required for this default-policy change and the broadened Knip fixture entry-point configuration. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Thread option precedence apps/web/src/composerDraftStore.ts, apps/web/src/modelSelection.test.ts, scripts/fixtures/composer-option-fallback.mjs, knip.jsonc |
The resolver uses project options only when there is no thread model selection. The test checks that an optionless thread selection does not inherit project options. The fixture seeds threads with different option configurations, and Knip includes script fixtures as entry files. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix · Severity of issue fixed: Low
Possibly related issues
Possibly related PRs
deriveEffectiveComposerModelState.Suggested reviewers: t3dotgg, macroscopeapp
430afNo actionable merge-blocking risk was found in the reviewed changes.
Explanation
[#23497] requires that a thread saved without options keep provider defaults, not project/settings options. At the reviewed head, deriveEffectiveComposerModelState in apps/web/src/composerDraftStore.ts changes the modelOptions fallback. Draft options still win. Next, the thread selection supplies options when it exists, even when it has none. Project options apply only when threadModelSelection is absent. This matches the issue's stated cause, where options fell back to project/settings defaults while the model resolved from the thread. apps/web/src/modelSelection.test.ts adds a regression case. It uses an optionless thread selection and a project selection with effort: high, and asserts state.modelOptions?.[instanceId] is undefined. Two caveats. The ?? null terminator was removed, so modelOptions can now be undefined rather than null when the thread has no options. The test accepts this, and the author reports web typecheck passed. Second, the send-path dispatch is not traced in this review. The author's browser evidence reports that effort is omitted from dispatch after the change. This review relies on that evidence and on the shared resolver. Coding requirements are met at the state-derivation level.
Explanation
All changed code connects to [#23497]. The product change is limited to the option-fallback expression in composerDraftStore.ts. The regression test in modelSelection.test.ts verifies that expression. scripts/fixtures/composer-option-fallback.mjs is a manual synthetic fixture. It builds the optionless, explicit-low, and inherited thread states used for the bug's before/after proof. knip.jsonc registers scripts/fixtures/*.mjs as Knip entries so that the fixture is not reported as unused. These are verification support for the same fallback behavior, not unrelated product, wire, or persistence changes. The PR description reports no wire or persistence changes. The diffs reviewed here do not show any such change.
Comment @coderabbitai help to get the list of available commands.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closing in favour of #16546, which makes the same change. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Composer applies the settings default's options to a thread saved without options
There was an error while loading. Please reload this page.