mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
An agent that ran `uv sync` / `pip install` against /app rebuilt the orchestrator's MCP-gateway venv (/app/.venv) — breaking its own gateway tools (every roboco-flow/-do/-git verb), stranding it, and getting its task reaped. Deny package-mutation verbs (uv sync/lock/add/remove, uv pip, pip install) whose target resolves to /app (cd /app, --project/--directory /app, /app/.venv, UV_PROJECT_ENVIRONMENT=/app). Placed outside the ROBOCO_GUARD_SKIP_GIT gate so it fires for every provider — the Claude PreToolUse hook and the grok exfil hook alike. Reads of /app and workspace installs are untouched.