Repository navigation
Done
Labels
Description
Follow-up to the runtime-abstraction epic (#3758). Sibling of #3807 (runtime packages).
Problem
Both remote runtimes declare supportsExtensions: false (spritesRuntime.ts, flyMachinesRuntime.ts). runAgent (agents/runtime/registry.ts) throws an AgentRuntimeCapabilityError whenever extensionLaunchForRun prepared an extension launch. So:
- explicitly requested library MCP servers or skill bundles are refused on Sprites and Fly Machines;
- auto-applied library items probably make every issue task and PR follow-up fail on a remote runtime, even ones that never asked for an extension (this reading of the code still needs a test to confirm).
Production's library is empty today, but this blocks anyone who uses the Extension Library together with a remote runtime.
Already working, and must keep working: skills, commands, agents and instruction files in the provider config dir travel with the per-run credential copy (providerManifests.ts); repository skills and AGENTS.md/CLAUDE.md arrive with the clone; ProPR's own MCP is reached over the reachable URL.
Proposal
- Skill bundles: stage the resolved bundles (
skillStaging.ts) into the run's uploaded files, the same way per-run credential copies already reach remote runs (agentRunFileUpload.ts). Put them at each provider's skills path inside the run, keep the staged-content validation, and give them the same lifetime and cleanup as the credential copies. - Remote (URL) MCP servers: pass them through unchanged in the provider config the run receives. They only need network reach, subject to the network mode: on Sprites, restricted mode must allowlist their hosts, as Docker does.
- Package (stdio) MCP servers:
- Sprites: install verified packages into the Sprite during provisioning, keyed by integrity value, as
ExtensionPackageCachedoes for Docker. Fold the package-server set's digest into the pool key / deployment marker, so warm Sprites match the library revision. - Fly Machines: either install at run start from the verified cache, uploaded as run files, or bake them into the derived agent image from Remote runtimes: apply instance runtime packages on Sprites and Fly Machines (refuse until supported) #3807. Choose whichever keeps cold starts acceptable, and document it.
- Refuse only when a server type truly can't run remotely, and name the server in the error.
- Sprites: install verified packages into the Sprite during provisioning, keyed by integrity value, as
- Capability model: replace the single
supportsExtensionsflag with granular capabilities (skills,remoteMcp,packageMcp), so the registry refuses only what a runtime can't do. - Interim behaviour, if the above lands in parts: on a runtime that can't apply an auto-applied item, drop that item for the run, record a visible note in the run's events and on the issue/PR comment, and keep the run going. Keep refusing explicitly requested items with the capability error.
- Docs: add a per-runtime table of what works (config-dir skills, repository skills, library skill bundles, URL MCP, package MCP, ProPR MCP) to
docs/docs/architecture/agent-runtime.mdand the Fly tutorial.
Acceptance
- Unit tests: auto-applied items on a remote runtime don't refuse the run; explicit unsupported items do; granular capability checks.
- Live on Sprites and on Fly Machines, each with Claude and Codex:
- a library skill bundle is visible to the agent and used;
- a URL MCP server is callable;
- a package MCP server is callable;
- after a library revision changes a package server, the next Sprites run uses a reprovisioned Sprite.
Activity
propr-dev commentedon Nov 26, 2026
🤖 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:
claudeclaude-opus-5-53808/claude-opus-5-5-remote-runtimes-support-t-20261126-0040-oab3758-epic-runtime-abstraction-sc0issue-3808-20261126-0040-claude-opus-5-5-oab🔍 Track Task Execution
feat: support library skills and URL MCP on remote runtimes
integry commentedon Dec 1, 2026
Done in #3818, which merged into the runtime epic; the epic merged into
mainwith #3774 and ships in 0.9.4.