Compare commits

..

1 Commits

Author SHA1 Message Date
didericis-claude b07f7933ed feat(supervise)!: remove egress-block MCP tool and runtime route-mutation
test / unit (pull_request) Successful in 47s
test / integration (pull_request) Successful in 59s
Drops `egress-block` from the supervise sidecar, removes
`_merge_single_route`, `add_route`, and `apply_routes_change` from
egress_apply.py, and strips the proposal/approve/reject flow for egress
from the supervise CLI. The list-egress-routes and capability-block tools
are unaffected. Tests updated throughout.

Closes #198
2026-06-07 09:50:46 -04:00
2 changed files with 8 additions and 22 deletions
+7 -13
View File
@@ -16,20 +16,14 @@ FROM node:22-slim
# features (status checks, commits, PR creation) — without git in the # features (status checks, commits, PR creation) — without git in the
# image, those features fail in surprising ways once the user does any # image, those features fail in surprising ways once the user does any
# real work. ca-certificates is already in the slim base; listed for # real work. ca-certificates is already in the slim base; listed for
# clarity in case the base ever drops it. curl is here so any # clarity in case the base ever drops it. socat is the privileged
# HTTPS_PROXY-aware tool (curl itself, plus anything that shells out # forwarder for the in-container ssh-agent (see bot_bottle/ssh.py): the agent
# to it) works against egress's bumped TLS without the agent needing # runs as root and rejects non-root connections, so socat sits between
# local DNS. # node and the agent socket. curl is here so any HTTPS_PROXY-aware
# tool (curl itself, plus anything that shells out to it) works
# against egress's bumped TLS without the agent needing local DNS.
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates curl \ && apt-get install -y --no-install-recommends git ca-certificates openssh-client socat curl dnsutils python3 python3-pip python3-venv \
&& rm -rf /var/lib/apt/lists/*
# App-specific deps. Python isn't required by claude-code itself
# (claude-code is a Node CLI), but is convenient for the agent to
# shell out to for ad-hoc scripts. Kept on its own layer so it can
# be moved to a downstream image if the base ever needs to shrink.
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3 python3-pip python3-venv \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install claude-code globally. Pinned to the version verified in the v1 # Install claude-code globally. Pinned to the version verified in the v1
+1 -9
View File
@@ -6,15 +6,7 @@
FROM node:22-slim FROM node:22-slim
RUN apt-get update \ RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates curl \ && apt-get install -y --no-install-recommends git ca-certificates openssh-client socat curl dnsutils python3 python3-pip python3-venv \
&& rm -rf /var/lib/apt/lists/*
# App-specific deps. Python isn't required by codex itself
# (codex is a Node CLI), but is convenient for the agent to shell
# out to for ad-hoc scripts. Kept on its own layer so it can be
# moved to a downstream image if the base ever needs to shrink.
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3 python3-pip python3-venv \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN npm install -g --no-fund --no-audit @openai/codex@0.136.0 \ RUN npm install -g --no-fund --no-audit @openai/codex@0.136.0 \