Area: apps/server (Antigravity adapter, T3 MCP tool exposure)
What happened#
In T3 Code, Antigravity sessions silently drop user skills. Asked directly, the agent reports: The following items were excluded due to context budget limits: … (9 of ~88 skills in my case). The same skills, rules, and skills.json loaded by a standalone agy run fit with no exclusion.
Antigravity shares one customization budget across skills, workflows, subagents, and MCP tools (customization-token-budget, 20,000 tokens, a server-side default). The ~100 T3 MCP tools appear to take most of it.
Evidence#
- Standalone
agy -p with the same private GEMINI_HOME layout and the same skills.json (88 skills): no budget notice, all skills listed.
- Standalone
agy with an extra 30-tool MCP server in mcp_config.json: 0 of its tools are directly visible (they are reached through Antigravity's own tool search), and still no skill is excluded. Antigravity defers MCP servers from its own config.
- T3 Antigravity session, same machine and config: 9 skills excluded for budget. The only material difference is the
t3-code MCP server that T3 passes over ACP, apparently with every tool listed up front.
Why this looks like a one-flag change#
T3 already has a deferred exposure mode: with t3-tool-exposure: deferred, the T3 MCP server lists only a core set plus tool_search (mcpSession.ts#L4-L8, McpHttpServer.ts#L1550-L1565). Only the Copilot flavor enables it (provider-acp-registry adapter.ts#L336). The Antigravity flavor uses HTTP MCP but does not set deferMcpTools (AntigravityAdapterV2.ts#L229-L230).
Request#
Set deferMcpTools: true for the Antigravity flavor, or otherwise keep the T3 tool list from consuming Antigravity's customization budget, so that user skills are not evicted.
Environment#
- T3 Code
0.1.12-nightly.20261124.5191, macOS (arm64); same setup on Fedora (linux-x64)
- Antigravity ACP runtime
1.5.17, oauth-personal
- Skills from
~/.agents/skills plus one Claude Code plugin's skills/, registered in ~/.gemini/config/skills.json
This is the same problem as #38123, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.