Skip to content

Extensions: Antigravity (agy) runtime (MCP servers, skills, ProPR MCP) #3843

Done

Description

@integry

Enable the extension library for Antigravity. Verified live with agy 1.5.17 on the host; the image's 1.5.15 uses the same file format.

Acceptance:

  • AntigravityAgent.executeTask wraps execution in executeWithExtensions, with extensionAgentLaunch set.
  • MCP config file: the entrypoint writes <runtime HOME>/.gemini/config/mcp_config.json inside the disposable runtime home (/tmp/propr-antigravity-home), never in the mounted host dir:
    {"mcpServers":{
      "<local>":{"command":"/usr/local/bin/node","args":["/opt/propr/extension-stdio-bridge.mjs","<bridgeConfig>"]},
      "<url>":{"serverUrl":"<gateway>/api/extensions/mcp/<name>","headers":{"Authorization":"Bearer <run token>"}}}}
    • agy does not expand ${VAR} in headers (verified). The entrypoint must substitute the run token from env when writing the file. The file is container-only, owned by node, mode 0600, deleted after the run, and never copied back to the host.
    • A 401 makes agy fall back to OAuth discovery and hang until the timeout (verified, 240 s). Detect MCP auth errors and fail clearly, or add a watchdog.
    • Stdio servers inherit the agent env (verified), so bridge secrets only need -e.
  • exclusiveMcp: replace any mcp_config.json copied from the host ~/.gemini instead of merging with it.
  • Skills: copy staged bundles into <runtime HOME>/.gemini/skills/<name>/SKILL.md. agy loads global skills from there (verified). With exclusiveMcp, start from an empty skills dir. agy also reads workspace .agents/, .claude/, .gemini/ and .cursor/skills; document that.
  • Display: MCP tool steps show in logs and the live view. This depends on # Antigravity task runs show only the final summary: no execution events, no live activity #3830 (Antigravity tool steps made visible); stream-json result.usage provides tokens.
  • Capability map: turn on antigravity.
  • Tests: config rendering with the token only in that file; 0600 permissions and deletion; the exclusive replace; the skills copy; a stub stdio server smoke test.

Implementation

Use the builder contract from the ext-shared issue. Coordinate with #3830, which changes the Antigravity entrypoint and output parsing; rebase on it if it has merged.

Notes

ProPR runs on SQLite only: do not add code or tests for other databases.

Activity

  1. propr-dev commented on Nov 27, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3843/claude-opus-5-5-extensions-antigravity-ag-20261127-1634-6kf
    • Base Branch: 3841-epic-extension-library-r77
    • Worktree: issue-3843-20261127-1634-claude-opus-5-5-6kf

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions