Repository navigation
[3842 by Claude Opus 5.5] Extensions: Vibe 3 runtime (MCP servers, skills, ProPR MCP) - #3850
Conversation
Vibe 3 now gets extension MCP servers, skill bundles and the `propr` MCP server, through the same path Claude and Codex use. I couldn't do a live Vibe task run here (no Docker, no Mistral access). Instead I checked the rendered config against an installed Vibe 3.1.5 in a scratch environment: it loads only the run's servers and the run's skill, and a stub stdio server receives its secret through the bridge.
Launch path
- `VibeAgent.executeTask` already went through `executeWithExtensions`. It now also passes `extensionAgentLaunch`, rejects a tool policy in goal mode, and hands docker the MCP variables by name only. The values come from the docker process environment, never from arguments or files.
- The Vibe container now joins the policy's Docker network, so it can reach the `propr` server at `api:4000`. Runs without a policy stay on `bridge`.
- The new builder is `packages/core/src/agents/mcpLaunch/vibeMcpLaunch.ts`, registered as `vibe` in `MCP_LAUNCH_BUILDERS`. It writes `VIBE_MCP_SERVERS` in the shape from the issue:
- Stdio entries carry their `PROPR_EXTENSION_STDIO_*` names and values in the entry's `env`. They are not exported to the agent as separate variables, and diagnostics redact them.
- HTTP entries (gateway servers and `propr`) use `auth.api_key_env`.
- Skills: the capability map now has `vibe: { extensions: true, proprMcp: true, skills: 'native' }`. For native-skill runtimes, `extensionLaunch.ts` records the bundle names on the policy (a new `skillNames` field). Vibe then gets `VIBE_SKILL_PATHS='["/opt/propr/extensions"]'`, and in exclusive runs `VIBE_ENABLED_SKILLS` set to those names. The prompt pointer to each `SKILL.md` is still added.
Exclusive runs (`scripts/vibe-entrypoint.sh`)
- The entrypoint removes `mcp_servers` from the runtime copy of `config.toml`, sets `VIBE_ENABLE_CONNECTORS=false`, and sets `VIBE_MCP_SERVERS='[]'` if nothing else did.
- The run fails if the config can't be rewritten.
Two choices beyond the issue text:
- When the run sets `VIBE_ENABLED_SKILLS`, the entrypoint also removes `enabled_skills` from the config copy. Vibe 3.1.5 adds the two lists together, so a user filter like `["user-*"]` would otherwise keep the user's own skills switched on.
- An exclusive run with servers but no skills sets no skill filter, so the user's skills still load. Claude and Codex behave the same way today.
Display: `mcp_<server>.<tool>` effects already show as tool_use/tool_result in both the live view and the task log; I added tests for both.
Other changes: user-facing text now says "Claude, Codex and Vibe", in the UI, docs, OpenAPI description and the refusal messages. The OpenAPI spec and client types are regenerated. The docs page has a new Vibe section and the CHANGELOG has an entry. I updated the existing tests that assumed Vibe was unsupported; they now use OpenCode or Antigravity for that case.
Tests: everything I ran passes.
- `test/vibeExtensionRuntime.test.ts` covers rendering for each server kind, no secrets in arguments or serialized output, the Docker env order and network, the entrypoint stripping (including failing on a broken config), and both parsers.
- Its end-to-end check against an installed Vibe is skipped unless `PROPR_VIBE_PYTHON` is set, same as the existing Vibe check. I ran it against 3.1.5 and it passed. With the stdio entry's `env` removed it fails with `secret:missing`, which confirms the issue's point that stdio servers don't inherit the agent env.
- The entrypoint tests need Vibe's bundled Python and skip when it's missing.
- New Vibe cases in `extensionPackageServers.test.ts` (stub server through the real bridge, given only the entry's env) and `extensionTaskAutoApply.test.ts` (skill names and gateway token). The related core, API, root and UI suites pass, ESLint is clean with zero warnings, and the OpenAPI check is clean. Several of these suites only run here with `PROPR_DEMO_MODE=true`, with or without this change.
I captured one preview: the automation editor's "Additional extensions" hint, which now names Vibe.
ProPR-Agent: claude/claude-opus-5-5
|
/ultrafix goal=8 max=8 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 8) First action:
|
|
⏳ Ultrafix is waiting for CI before the next These blocking checks on
Checks matching this repository's non-blocking checks never gate Ultrafix. The loop continues automatically once the blocking checks pass; if they have not settled within 2 hours, Ultrafix stops. |
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
|
CI failed: Full Test Suite Shard 3/4 Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit 0fd40fe Summary of ChangesI fixed the Shard 3/4 failure. It was an outdated test assertion, not a bug in the Vibe runtime change. Cause: Fix: At Verified locally with
I didn't rerun the full shard locally. Nothing visible changed, so there's no new preview. Review digestRisk-tiered paths
Diff size: 1 file changed, +1/−1 lines 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
I fixed the Shard 3/4 failure. It was an outdated test assertion, not a bug in the Vibe runtime change.
**Cause:** `test/agentVersionManagement.test.ts` ("shared agent entrypoint recognizes raw dispatcher commands") checks the text of `VibeAgent.ts`. It expected the import to name only `buildVibeDockerEnvVars`. This PR also imports `vibeStdioSecretEnv` on that line, so the pattern stopped matching. It was the only failure in the shard.
**Fix:** At `test/agentVersionManagement.test.ts:275`, the pattern now also accepts extra names after `buildVibeDockerEnvVars` in that import. The other checks in that test are unchanged and still pass.
**Verified locally** with `PROPR_DEMO_MODE=true npx tsx --test`:
- `test/agentVersionManagement.test.ts`: 15 passed, 0 failed.
- `test/goalExecutionMode.test.ts`, which also reads `VibeAgent.ts` source: 20 passed, 0 failed.
I didn't rerun the full shard locally. Nothing visible changed, so there's no new preview.
PR: #3850
Comment by: @propr-dev[bot] (ID: 7224222825)
Model: Claude Opus 5.5
ProPR-Agent: claude/claude-opus-5-5
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR adds Vibe extension support through the existing launch pipeline, with focused runtime configuration and corresponding capability, documentation, and test updates. The change is proportionate to its objective and appears merge-ready within scope, conditional on the pending Validate Changes check. ✅ Environment-only credential delivery — The Vibe launcher passes MCP environment variable names in Docker arguments and supplies their values through ✅ Exclusive catalog handling — The entrypoint removes inherited MCP configuration, disables connectors, and aborts when configuration rewriting fails. It also removes the inherited skill filter when applying a run-specific filter. ✅ Relevant regression coverage — Added tests cover server rendering, Docker argument ordering, network selection, configuration stripping, bridge credential delivery, and both output parsers. This assessment is based on static review of the supplied diff and context; no commands or tests were run. The authoritative check summary reports 35 passed, one pending, and no failures. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Run the runtime contract in CIConsider a CI job that supplies ScoreThe implementation follows the existing architecture and includes targeted coverage without a verified merge blocker. Merge readiness remains conditional on the pending validation check. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
🔀 Resolved merge conflicts from Conflicting Files
Resolution SummaryI resolved all 11 conflicted files and no conflict markers are left anywhere in the repo. The two branches each added extension support for a new runtime at the same time: this PR added Vibe 3, and Checks: shared, core, local-setup and the root project all typecheck. Lint passes on the changed core and API files. The 8 affected test files ran: 148 passed, 0 failed, 1 skipped. The design clash: how skill bundles reach the launch builders
Both runtimes kept
A test problem the merge createdIn Docs (
|
Automatically resolved merge conflicts after merging target branch into PR branch. Resolved conflicts in: - docs/docs/features/agent-extensions.md - packages/api/test/taskSubmissionRoutes.test.ts - packages/core/src/agents/agentToolPolicy.ts - packages/core/src/agents/mcpLaunch/index.ts - packages/core/src/agents/types.ts - packages/core/src/extensions/extensionLaunch.ts - packages/core/test/extensionProfiles.test.ts - packages/shared/src/agentRuntimeCapabilities.ts - test/agentDefinitionsContract.test.ts - test/agentRunTrigger.test.ts - test/agentRuntimeCapabilityGates.test.ts PR: #3850 Model: Claude Opus 5.5
AI Implementation Summary
Closes #3842
Branch:
3842/claude-opus-5-5-extensions-vibe-3-runtime-20261127-1634-owmCommits: ✅ Changes committed (84f83b2)
AI Processing Completed
Execution Details:
Summary:
Vibe 3 now gets extension MCP servers, skill bundles and the
proprMCP server, through the same path Claude and Codex use. I couldn't do a live Vibe task run here (no Docker, no Mistral access). Instead I checked the rendered config against an installed Vibe 3.1.5 in a scratch environment: it loads only the run's servers and the run's skill, and a stub stdio server receives its secret through the bridge.Launch path
VibeAgent.executeTaskalready went throughexecuteWithExtensions. It now also passesextensionAgentLaunch, rejects a tool policy in goal mode, and hands docker the MCP variables by name only. The values come from the docker process environment, never from arguments or files.proprserver atapi:4000. Runs without a policy stay onbridge.packages/core/src/agents/mcpLaunch/vibeMcpLaunch.ts, registered asvibeinMCP_LAUNCH_BUILDERS. It writesVIBE_MCP_SERVERSin the shape from the issue:PROPR_EXTENSION_STDIO_*names and values in the entry'senv. They are not exported to the agent as separate variables, and diagnostics redact them.propr) useauth.api_key_env.vibe: { extensions: true, proprMcp: true, skills: 'native' }. For native-skill runtimes,extensionLaunch.tsrecords the bundle names on the policy (a newskillNamesfield). Vibe then getsVIBE_SKILL_PATHS='["/opt/propr/extensions"]', and in exclusive runsVIBE_ENABLED_SKILLSset to those names. The prompt pointer to eachSKILL.mdis still added.Exclusive runs (
scripts/vibe-entrypoint.sh)mcp_serversfrom the runtime copy ofconfig.toml, setsVIBE_ENABLE_CONNECTORS=false, and setsVIBE_MCP_SERVERS='[]'if nothing else did.Two choices beyond the issue text:
VIBE_ENABLED_SKILLS, the entrypoint also removesenabled_skillsfrom the config copy. Vibe 3.1.5 adds the two lists together, so a user filter like["user-*"]would otherwise keep the user's own skills switched on.Display:
mcp_<server>.<tool>effects already show as tool_use/tool_result in both the live view and the task log; I added tests for both.Other changes: user-facing text now says "Claude, Codex and Vibe", in the UI, docs, OpenAPI description and the refusal messages. The OpenAPI spec and client types are regenerated. The docs page has a new Vibe section and the CHANGELOG has an entry. I updated the existing tests that assumed Vibe was unsupported; they now use OpenCode or Antigravity for that case.
Tests: everything I ran passes.
test/vibeExtensionRuntime.test.tscovers rendering for each server kind, no secrets in arguments or serialized output, the Docker env order and network, the entrypoint stripping (including failing on a broken config), and both parsers.PROPR_VIBE_PYTHONis set, same as the existing Vibe check. I ran it against 3.1.5 and it passed. With the stdio entry'senvremoved it fails withsecret:missing, which confirms the issue's point that stdio servers don't inherit the agent env.extensionPackageServers.test.ts(stub server through the real bridge, given only the entry's env) andextensionTaskAutoApply.test.ts(skill names and gateway token). The related core, API, root and UI suites pass, ESLint is clean with zero warnings, and the OpenAPI check is clean. Several of these suites only run here withPROPR_DEMO_MODE=true, with or without this change.I captured one preview: the automation editor's "Additional extensions" hint, which now names Vibe.
Review digest
Risk-tiered paths
packages/api/openapi/schemas.ts(+1/−1)packages/client/src/generated/apiTypes.ts(+1/−1)packages/core/src/agents/agentToolPolicy.ts(+1/−1)packages/core/src/agents/impl/VibeAgent.ts(+16/−11)packages/core/src/agents/impl/utils/vibeDockerEnvironment.ts(+15/−3)packages/core/src/agents/mcpLaunch/index.ts(+3/−0)packages/core/src/agents/mcpLaunch/mcpLaunchContract.ts(+4/−0)packages/core/src/agents/mcpLaunch/vibeMcpLaunch.ts(added, +46/−0)packages/core/src/agents/types.ts(+6/−0)packages/core/src/extensions/extensionLaunch.ts(+4/−2)packages/shared/src/agentRuntimeCapabilities.ts(+3/−2)propr-ui/src/components/Agents/AgentCapabilitiesSection.tsx(+1/−1)propr-ui/src/components/Extensions/AdditionalExtensionsSelector.tsx(+1/−1)propr-ui/src/pages/SettingsPage/settingsCategoryGuides.ts(+1/−1)scripts/vibe-entrypoint.sh(+43/−0)CHANGELOG.md(+13/−0)docs/docs/features/agent-extensions.md(+37/−8)docs/static/openapi/propr-api.yaml(+1/−1)packages/api/test/taskSubmissionExtensions.test.ts(+2/−2)packages/api/test/taskSubmissionRoutes.test.ts(+2/−2)packages/core/test/extensionPackageServers.test.ts(+21/−1)packages/core/test/extensionProfiles.test.ts(+1/−1)packages/core/test/extensionTaskAutoApply.test.ts(+29/−1)propr-ui/e2e/automations.pw.ts(+1/−1)propr-ui/src/components/Agents/AgentEditor.test.tsx(+1/−1)test/agentDefinitionsContract.test.ts(+4/−3)test/agentRunTrigger.test.ts(+3/−3)test/agentRuntimeCapabilityGates.test.ts(+5/−4)test/vibeExtensionRuntime.test.ts(added, +331/−0)Diff size: 29 files changed, +597/−52 lines
View task for the run's logs and conversation.
This PR was created automatically by ProPR after processing issue #3842.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Automation additional extensions hint
The automation editor's Additional extensions section now says the items apply to Claude, Codex and Vibe agents
Full-size original