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(claude): report provider-observed models after fallback by deveshsangwan · Pull Request #27738 · pingdotgg/t3code

fix(claude): report provider-observed models after fallback #27738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
deveshsangwan wants to merge 5 commits into pingdotgg:main from deveshsangwan:fix/27705-claude-fallback-reporting

Uh oh!

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

Closed

fix(claude): report provider-observed models after fallback #27738

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit Hold shift + click to select a range
392f67e
fix(claude): report provider-observed models after fallback
deveshsangwan Oct 30, 2026
19e4b06
Merge main into fix/27705-claude-fallback-reporting
deveshsangwan Oct 30, 2026
2c8dfed
fix(claude): scope model observations to the current attempt
deveshsangwan Oct 30, 2026
ff38fdb
fix(server): keep model provenance valid across MCP JSON delivery
deveshsangwan Oct 30, 2026
0a4c3a7
fix(claude): include provider notices in fallback completion
deveshsangwan Oct 30, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

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

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

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

Diff view
Diff view
Prev Previous commit
Next Next commit
Merge main into fix/27705-claude-fallback-reporting
  • Loading branch information

Uh oh!

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

@deveshsangwan
deveshsangwan committed Oct 30, 2026
commit 19e4b06840b70bbd1902f144958996b0853c3364

Some comments aren't visible on the classic Files Changed page.

There are no files selected for viewing

1 change: 1 addition & 0 deletions 1 apps/server/src/mcp/OrchestratorMcpService.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2489,6 +2489,7 @@ describe("OrchestratorMcpService provider resolution", () => {
adapterRegistryLayer([]),
Layer.mock(ProjectService.ProjectService)({}),
Layer.mock(SecretRequests.SecretRequests)({}),
Layer.mock(RemoteDelegation.RemoteDelegation)({}),
Layer.mock(ScheduledTaskService.ScheduledTaskService)({}),
);
yield* Effect.gen(function* () {
Expand Down
3 changes: 3 additions & 0 deletions 3 apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ import * as ProviderAdapterRegistry from "../ProviderAdapterRegistry.ts";
import * as ProviderRegistry from "../../provider/ProviderRegistry.ts";
import * as ProjectService from "../../project/ProjectService.ts";
import * as SecretRequests from "../../secrets/SecretRequests.ts";
import * as RemoteDelegation from "../../peer/RemoteDelegation.ts";
import * as ScheduledTaskService from "../../scheduledTasks/ScheduledTaskService.ts";
import * as ServerSettings from "../../serverSettings.ts";

import * as PortScanner from "../../preview/PortScanner.ts";
import { attachmentRelativePath } from "../../attachmentStore.ts";
import { WorkflowAgentTranscriptReadObserver } from "../workflowAgentTranscript.ts";
import * as ServerConfig from "../../config.ts";
Expand Down Expand Up @@ -7236,6 +7238,7 @@ describe("ClaudeAdapterV2 background wake turns", () => {
}),
Layer.mock(ProjectService.ProjectService)({}),
Layer.mock(SecretRequests.SecretRequests)({}),
Layer.mock(RemoteDelegation.RemoteDelegation)({}),
Layer.mock(ScheduledTaskService.ScheduledTaskService)({}),
ServerSettings.layerTest(),
NodeServices.layer,
Expand Down
26 changes: 24 additions & 2 deletions 26 apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -8097,8 +8097,7 @@ export const makeClaudeAdapterV2 = Effect.fn("makeClaudeAdapterV2")(function* (
});
}

// Before any routing: a Monitor started during an idle wake turn
// reports its task before the drain replays the tool call.
// Track before routing: idle-wake Monitors report tasks before replaying their tool calls.
yield* trackClaudeMonitorCalls(message);
// Update before routing because the idle wake gate reads this.
if (
Expand Down Expand Up @@ -8277,6 +8276,29 @@ export const makeClaudeAdapterV2 = Effect.fn("makeClaudeAdapterV2")(function* (
}
}
}

const focusedPlugin = claudeFocusRequestedPanePlugin(message);
if (focusedPlugin !== null && context === (yield* Ref.get(activeTurn))) {
yield* Effect.logWarning("orchestration-v2.claude-mod-pane-focus-unsupported", {
providerTurnId: context.providerTurnId,
plugin: focusedPlugin,
});
liveQuery.stopping = true;
yield* finalizeActiveTurn({
context,
status: "failed",
completedAt: yield* DateTime.now,
failure: makeProviderFailure({
class: "provider_error",
code: "claude_mod_ui_unsupported",
message: `The Claude Code mod "${focusedPlugin}" is waiting for input in its terminal pane, which T3 Code cannot show. Disable the mod for sessions run from T3 Code, or run the task in the Claude Code terminal.`,
}),
});
// Closing ends the CLI process and abandons the held tool call
// without answering it. Not interrupt: the held CLI may never ack it.
yield* liveQuery.query.close.pipe(Effect.ignore);
return;
}
yield* trackClaudeGoal({ nativeThreadId: liveQuery.nativeThreadId, context, message });

if (message.type === "stream_event" && !message.parent_tool_use_id) {
Expand Down
7 changes: 1 addition & 6 deletions 7 packages/contracts/src/orchestratorMcp.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,7 @@ export const OrchestratorMcpDelegateTaskResult = Schema.Struct({
model: Schema.NullOr(Schema.String),
requestedModel: Schema.optional(Schema.String),
observedModel: Schema.optional(Schema.String),
options: Schema.optional(
Schema.Array(ProviderOptionSelection).annotate({
description:
"Stored model option selections for the child run, or its thread before a run starts. Omitted selections use provider defaults.",
}),
),
options: Schema.optional(Schema.Array(ProviderOptionSelection)),
summary: Schema.NullOr(Schema.String),
resultContextTransferId: Schema.NullOr(ContextTransferId),
hasPendingQuestion: Schema.Boolean.annotate({
Expand Down
Loading
Oops, something went wrong.

Uh oh!

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

You are viewing a condensed version of this merge commit. You can view the full changes here.
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 01402809 — 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.