Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Claude threads no longer get ACP and Codex tool instructions #16482

ClosedGigioxx(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/16482/headopened View on GitHub

Showing 5 changed files with 16 additions and 0 deletions (loading 2).

x
0 of 5 viewed, 5 left
2 additions and 0 deletionsapps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.test.tsModified
View file
@@ -794,6 +794,8 @@
assert.equal(systemPrompt.type, "preset");
assert.equal(systemPrompt.preset, "claude_code");
assert.include(systemPrompt.append ?? "", "Use `delegate_task`");
+ assert.notInclude(systemPrompt.append ?? "", "acp-mcp-call");
+ assert.notInclude(systemPrompt.append ?? "", "mcp__t3_code__");
const logged = ClaudeAdapterV2.loggedClaudeQueryOptions(options);
assert.equal(logged.hasMcpServers, true);
assert.notInclude(JSON.stringify(logged), "secret-claude-token");
11 additions and 0 deletionsapps/server/src/provider/CodexDeveloperInstructions.test.tsModified
View file
@@ -59,6 +59,17 @@
T3_CODE_ORCHESTRATION_INSTRUCTIONS.trim(),
);
});
+​
+ it("gives Codex its code-mode hint without the ACP terminal fallback", () => {
+ const context = Object.values(
+ buildCodexAdditionalContext({ model: "gpt-5.3-codex", reasoningEffort: "high" }),
+ )
+ .map((entry) => entry.value)
+ .join("\n");
+​
+ NodeAssert.match(context, /tools\.mcp__t3_code__orchestrator_capabilities/);
+ NodeAssert.doesNotMatch(context, /acp-mcp-call/);
+ });
});
​