GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): preserve Claude question option previews by juliusmarminge · Pull Request #21932 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Oct 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Claude question options can include a preview, but the adapter discards it and the turn-item contract cannot carry it to clients. Preserve optional string previews verbatim through the existing question option schema and Claude AskUserQuestion mapping. Options without previews keep their existing shape.

First layer of the replacement for #15633, based on maria-rcks's discovery and original implementation. The client layer #21933 renders the field as Markdown on web/desktop and mobile. The original adapter test was folded into its existing AskUserQuestion scenario; no test cases or files were added.

Verification: the existing scenario fails without this change; the full Claude adapter suite and existing question contract test pass (299/299). Contracts and server typechecks, scoped lint and formatting pass. An earlier full adapter run timed out in an unchanged background-steering case; all six variants passed in isolation and the final full suite passed. All validation ran serially with nice -n 10 and at most two test workers.

This layer carries data only. Linux web proof in the client layer uses an isolated projection fixture; it is not a live Claude-provider run. macOS, Windows, iOS, Android, and Electron desktop were not exercised. Native Device access is disabled in this environment.

Independent full-stack review: three rounds of Opus 5.5 and GPT-6-Sol review, final round clean at c934d7c491. The last round rechecked both layers, current-main persistent drafts, and the fixes for CodeRabbit’s ambiguous saved-option and mobile Markdown findings. The rebase preserves the two new main draft-persistence scenarios alongside our two preview scenarios.

Implemented with Codex GPT-6.1-Sol; tests by Codex GPT-6-Astra (high); adversarial reviews by Claude Opus 5.5 and Codex GPT-6-Sol, through T3 Code delegate_task. Maintainer integration and proof: GPT-6.1-Sol through the Codex harness in T3 Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions github-actions Bot added the vouch:trusted Author is trusted by repo permissions or the VOUCHED list. label Oct 19, 2026
@juliusmarminge
juliusmarminge added this pull request to stack #21934 October 19, 2026 21:10
@juliusmarminge juliusmarminge added the macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews label Oct 19, 2026
@juliusmarminge juliusmarminge changed the title claude 04/question preview data fix(server): preserve Claude question option previews Oct 19, 2026
@juliusmarminge juliusmarminge mentioned this pull request Oct 19, 2026
fix(clients): show question option previews #21933
Merged
@github-actions github-actions Bot added the size:XS 0-9 changed lines (additions + deletions). label Oct 19, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at db4b1fa

Macroscope's review found this PR approvable — This is a narrowly scoped Claude adapter fix that preserves optional question previews through an additive, backward-compatible contract field. Existing options remain unchanged, and the adapter test covers both preview and non-preview cases.

Notes:

  • All code in this push has already been reviewed. Approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 19, 2026
View reviewed changes
juliusmarminge added 2 commits October 19, 2026 21:15
@juliusmarminge
test(server): preserve Claude question preview content
dae21eb
@juliusmarminge
fix(claude): retain question option previews in runtime data
cf445b7
@github-actions

github-actions Bot commented Oct 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Thread transfer impact

✅ Thread transfer remains within every enforced ceiling.

Provider Metric Main baseline This PR Impact PR ceiling
Codex Total thread wire 5.0 KiB 5.0 KiB 0 B (0.0%) 6.8 KiB ✅
Codex Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Codex Live turn WebSocket wire 1.2 KiB 1.2 KiB 0 B (0.0%) 2.0 KiB ✅
Codex Live turn WebSocket decoded 20.9 KiB 20.9 KiB 0 B (0.0%) 29.3 KiB ✅
Codex Live turn messages 2 2 0 (0.0%) 8 ✅
Claude Total thread wire 5.0 KiB 5.0 KiB +24 B (+0.5%) 6.8 KiB ✅
Claude Thread snapshot wire 3.8 KiB 3.8 KiB 0 B (0.0%) 4.9 KiB ✅
Claude Live turn WebSocket wire 1.2 KiB 1.2 KiB +24 B (+2.0%) 2.0 KiB ✅
Claude Live turn WebSocket decoded 21.2 KiB 21.2 KiB +41 B (+0.2%) 29.3 KiB ✅
Claude Live turn messages 1 2 +1 (+100.0%) 8 ✅

Baseline: 7ce7fe3 · PR result: db4b1fa · Source CI: success

Scenario and decoded snapshot size

10 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.

  • Codex decoded thread snapshot: 108.5 KiB
  • Claude decoded thread snapshot: 108.8 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge force-pushed the claude-04/question-preview-data branch from 1eb67a6 to cf445b7 Compare October 19, 2026 21:21
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Path: .coderabbit.config.ts
  • Review profile: CHILL
  • Plan: Team
  • Run ID: 143ae685-39bc-4647-99a6-be477ec1a13b
📥 Commits

Reviewing files that changed from the base of the PR and between fca03e1 and db4b1fa.

📒 Files selected for processing: 1
  • apps/mobile/src/features/threads/ThreadDetailScreen.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.

📝 Walkthrough

The orchestration contract now allows an optional string preview on question options. The Claude adapter preserves supplied previews while retaining description fallback behavior. Tests cover multiple options and a multiline preview. A mobile import was added without runtime behavior changes.

Changes: User input option previews

Layer / File(s) Summary
Preview contract and mapping
packages/contracts/src/orchestrationV2.ts, apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts, apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
Question options now support an optional string preview. The Claude adapter maps supplied string previews to projected options. Tests verify a multiline preview, multiple options, and description fallback behavior.
React import update
apps/mobile/src/features/threads/ThreadDetailScreen.tsx
The file now imports useCallback. The change does not alter component behavior.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Suggested reviewers: maria-rcks

Merge Risk: ⚪ Minimal · up to db4b1

No concrete current-head compatibility or runtime risk was established by the reviewed changes.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: preserving Claude question option previews.
Description check Passed The description explains the problem, implementation, scope, verification results, limitations, and tooling in substantial detail. It does not use the required section headings, and the scope approval…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the problem, implementation, scope, verification results, limitations, and tooling in substantial detail. It does not use the required section headings, and the scope approval or small-fix exemption is not stated explicitly.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge mentioned this pull request Oct 19, 2026
fix(claude): show question option previews #15633
Closed
@juliusmarminge
Merge remote-tracking branch 'origin/main' into HEAD
fca03e1
# Conflicts:
#	apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 20, 2026 02:56

Dismissing prior approval to re-evaluate fca03e1

@github-actions github-actions Bot added size:S 10-29 changed lines (additions + deletions). and removed size:XS 0-9 changed lines (additions + deletions). labels Oct 20, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 20, 2026
View reviewed changes
@juliusmarminge
fix(mobile): retain callback import across main integration
db4b1fa
@macroscopeapp
macroscopeapp Bot dismissed their stale review October 20, 2026 03:58

Dismissing prior approval to re-evaluate db4b1fa

macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 20, 2026
View reviewed changes
@juliusmarminge
juliusmarminge merged commit 1327e7b into main Oct 20, 2026
30 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge deleted the claude-04/question-preview-data branch October 20, 2026 04:06
Pipyakas pushed a commit to Pipyakas/t3code that referenced this pull request Oct 21, 2026
@juliusmarminge @Pipyakas
fix(server): preserve Claude question option previews (pingdotgg#21932)
a3f1b9d
(cherry picked from commit 1327e7b)
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 30d0138540 hal-c2/hal-c2#1125
Merged
@bramley-jetcharge bramley-jetcharge mentioned this pull request Nov 8, 2026
Claude question option previews are still not shown after #21933 was reverted #33127
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

macroscope-review Opt PRs made by unvouched contributors in for Macroscope review. Vouched contributors auto-reviews size:S 10-29 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.