Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Install a third-party/user plugin into Antigravity's plugin directory — either
~/.gemini/config/plugins/<plugin>/or (for T3-managed Antigravity)<T3_USERDATA>/providers/antigravity/<instance_hash>/config/plugins/<plugin>/— containing skills underskills/<skill_name>/SKILL.md(includingdisable-model-invocation: trueskills that are invoked via/<skill_name>). - Observe that
antigravity plugin list --json(withHOME/GEMINI_HOMEpointed at the active profile) reports"enabled": trueand lists all plugin skills. - Restart T3 Code, then immediately open/resume a thread in
<workspace>(or create aNew threadin<workspace>after any session in<workspace>ran right after startup, or after hot-linking the plugin intoconfig/plugins/while T3 was already running). - In
<workspace>'s composer, type/followed by a plugin command name (e.g./poteto-mode,/statechart).
Expected behavior
- Slash commands from enabled user-installed Antigravity plugins (
config/plugins/<plugin>/skills/) should appear in the/composer menu in both new and existing workspaces. - Updating or linking a plugin into
config/plugins/should take effect in subsequent/new threads without permanently pinning a stale/emptyworkspaceSnapshots[cwd].slashCommandslist.
Actual behavior
In <workspace>, typing /<plugin-command> shows No matching command. (or only shows unrelated skills from config/skills/ as /skill:... if config/skills/ happens to have partial fuzzy matches), and this persists indefinitely (even hours later, well past the 5-minute PROVIDER_WORKSPACE_SNAPSHOT_TTL_MS).
Inspecting T3 Code 0.1.10 (app.asar + server.trace.ndjson + Antigravity ACP logs) shows why user-installed plugins hit a double gap compared to standalone skills in config/skills/:
- T3's local scanner ignores
config/plugins/completely:antigravityUserSkillDirectoriesinAntigravitySkills.tsonly scansconfig/skillsandantigravity-cli/skills(plus project.gemini/skills,.agents/skills,.agent/skills). It never scansconfig/plugins/*/skills/.- Therefore, user-installed Antigravity plugins depend 100% on Antigravity ACP's
available_commands_update(slashCommands).
AntigravityProvider.onSessionStartedpermanently pinsworkspaceSnapshots[cwd].slashCommands = [](or pre-install commands) beforeonAvailableCommandsarrives:- On the first Antigravity session after T3 startup,
server.trace.ndjsonshowsAntigravityProvider.onSessionStarted(started, cwd)fires ~78 ms beforeAntigravityProvider.onAvailableCommands(event.availableCommands). onSessionStartedwritesworkspaceSnapshots[cwd]insideAntigravityProvider's in-memorymetadatausingslashCommands: workspace?.slashCommands ?? draft.slashCommands(which is[]right after startup).AntigravityDrivercallsprovider.onAvailableCommands(event.availableCommands)withoutcwd, so top-leveldraft.slashCommandsupdates to all 90+ commands (including the plugin's commands and persisted tocaches/antigravity.json), while existingworkspaceSnapshots[cwd]entries are never updated.- Every later
snapshotForCwd(cwd)call (including when opening aNew threadhours later after TTL expiry) finds that staleworkspaceSnapshotsentry and returns its frozenworkspace.slashCommands([]), while rescanningconfig/skills/fresh. - Because
AntigravityDriveralso has noinvalidateCaches, hot-installing/updating a plugin inconfig/plugins/leaves every previously-visitedcwdstuck on its pre-install command list until a full server restart.
- On the first Antigravity session after T3 startup,
- Startup cache wipe:
ProviderRegistryhydratesslashCommandsfromcaches/antigravity.json, thencheckAntigravityProviderimmediately emitsslashCommands: [], andshouldRetainMissingOpenCodeMetadatainProviderRegistry.mergeProviderSnapshotonly retainsslashCommandsforopencode(notantigravity).
Related: #35611 (which reports the built-in Antigravity commands missing for the 5-minute TTL; this issue specifically covers user-installed plugins under config/plugins/*/skills/, the onSessionStarted permanent-pinning past the 5-min TTL, and hot-install/update staleness).
Impact
Major degradation or frequent failure
Version or commit
0.1.10
Environment
macOS (darwin-arm64), T3 Code 0.1.10, T3-managed Antigravity 1.5.10 (oauth-personal), user-installed plugin in config/plugins/<plugin>/ (agentPluginsSpec: true, 58 skills)
Logs or stack traces
# Antigravity ACP server log (14:56:02, 3s after server startup at 14:55:59):
Loading/Resuming session: <session-id>, cwd: <workspace>
Advertising 97 slash commands for session <session-id>
# server.trace.ndjson span order on first session after startup:
AntigravityProvider.onSessionStarted (0.74 ms) # runs first while draft.slashCommands is []
AntigravityProvider.onConfigOptionsUpdated
AntigravityProvider.onAvailableCommands (+78 ms) # 97/98 commands arrive, no cwd passed
ws.rpc.server.refreshProviders (0.38 ms) # snapshotForCwd returns stale workspaceSnapshots[cwd].slashCommands ([])Workaround
- Typing the exact
/<command>(e.g./poteto-modeor/statechart) and sending even while the composer showsNo matching command.still works server-side, because Antigravity ACP intercepts and injects the plugin'sSKILL.md. - To restore the
/menu for<workspace>: fully quit and restart T3 Code, then run one Antigravity turn in a different workspace (or trigger a model refresh in Settings) before opening<workspace>sodraft.slashCommandsis populated beforeworkspaceSnapshots[<workspace>]is created.
Activity
juliusmarminge commentedon Nov 18, 2026
This is the same problem as #35611, so I'm closing it in favour of that one. If it is different, say how and it will be reopened.