Repository navigation
Description
Problem
#2654 asked for the Claude turn egress relay to run on hosts without managed native storage. Since #1793, no such host exists: createApp refuses to boot without the native manager and managed Btrfs storage (packages/ui-server/src/app.ts:320-324), and every governed turn's startup view comes from prepareNativeWorkerStartupView, which refuses anything that isn't managed storage (packages/ui-server/src/brain/governed-turn.ts:165). The relay therefore already runs for every governed and strict Claude turn (packages/ui-server/src/ws/run-session.ts:732-734).
The "not managed" turn branches and egress.active: false remain in the code, but only test doubles reach them. Docs still describe hosts without managed native storage as a supported state.
Evidence and options: #2654 (comment). The maintainer ruled on 2026-11-02 to close #2654 as obsolete and to do this cleanup instead.
Acceptance criteria
- Every non-managed branch on the governed and strict turn path either fails closed with an explicit error or is removed. No turn can run governed or strict without the relay.
- Tests that reached those branches through copied fixture views or mocked managed-storage checks are updated or removed. A test proves that the fail-closed path refuses, and a mutation receipt shows that test failing when the refusal is removed.
-
docs/hosting/agent-workers.md(credential table, metered-relay section, default-on activation section) anddocs/integration-contract/http.md(governed.egress) no longer describe hosts without managed native storage as supported. - No contract shape change. If
egress.activebecomes always true, the doc says so; it is not removed. - Moved citations are updated (
git grep -n '<file>.ts:' -- docs packages).
Out of scope
A hosted mode without the native manager, which would reverse #1793.
Blocked by #3461
Activity
schlessera commentedon Nov 2, 2026
Claiming (token
claim-3314-4a966f80). Branchfix/3314-fail-closed-governed-turnfromepic/1645-egress-controlsat3c9f48b92; the PR targets that epic branch. Collision report: path overlap with #3312 ondocs/hosting/agent-workers.md(different epic base); the rest are closure-only test overlaps.test: run fixture turns on the host inference relay instead of the un…
CONTRACT: fix(ui-server): refuse governed and strict turns whose view…
schlessera commentedon Nov 2, 2026
Delivered to the epic integration branch
epic/1645-egress-controlsas2f8f11db3via #3335, after ready-candidate proof passed against the exact epic base. This issue closes when the epic batch lands on main.schlessera commentedon Nov 3, 2026
Delivered on
epic/1645-egress-controls. Its landing on main (#3443) is blocked by #3461: the ready-candidate run 41625377355 failedruntime_hoston that issue's maintenance-admission race, which is not rerun into green under the strict-flake rule. The landing resumes once #3461 merges.Merge branch 'main' into epic/3428-session-taint