Skip to content

fix(claude): sync upstream entrypoint identifier and settings override - #533

Merged
adampeterhiggins merged 1 commit into
mainfrom
ah/sync-claude-entrypoint
Nov 2, 2026
Merged

adampeterhiggins merged 1 commit into
mainfrom
ah/sync-claude-entrypoint

Conversation

@adampeterhiggins

Copy link
Copy Markdown
Owner

Claude processes launched by this fork still use the Agent SDK's sdk-ts label or inherit the host's identifier. This ports pingdotgg#28410 (upstream commit ddfc4a9) so they default to t3-code.

The instance environment can override the default, and Claude's user/managed settings env.CLAUDE_CODE_ENTRYPOINT takes precedence over both. T3 Code applies the settings override to the process environment because Claude Code does not read this identifier from settings itself. Interactive terminals keep their existing behavior.

Cherry-picked onto the fork's main with two conflicts resolved to retain fork-specific account home resolution and subagent worktree setup. This PR contains only the six-file upstream change; it does not merge the wider upstream sync.

Validation: vp run check:changed passed formatting, lint, both knip checks, GraphQL validation, three package typechecks, and 340 tests across four files. The focused ClaudeHome suite also passed all four tests, including default, instance override, and settings override behavior. No live Anthropic usage or allowance measurement was performed.

Model: GPT-6.1 Sol. Harness: Codex in T3 Code.

@adampeterhiggins
adampeterhiggins merged commit 2c35065 into main Nov 2, 2026
@adampeterhiggins
adampeterhiggins deleted the ah/sync-claude-entrypoint branch November 2, 2026 14:34
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.

2 participants