Public: anyone can read this; the crew can change it.
crew install keeps the cell's proxy: a child forge's bun install dialled the registry directly and was refused #10364
Merged 22d 23h ago, live in production
installEnv dropped HTTP(S)PROXY / NOPROXY, so inside a child forge's cell bun install never reached the egress proxy (ConnectionRefused, and no refusal logged by the parent). childEnv already carries them since aee90bc5; the install now does the same, from the same list.
-
Reviews
No review yet.
-
Checks
shipped production is serving it deploy 153cbb3
-
History
- Merge branch 'main' of trevato/forge into fix/crew-proxy-env 6f8a2c3
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3tgtaj5heo is past its budget: trevato/forge: "origins on the web > Mirror starts a job, shows its stages, and lands on the mirror" failed on 5 pulls … (#10558) 1cc0508
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:2aw0b8usmp is past its budget: trevato/forge: "a repository name with markup in it is escaped in the select, never raw" failed on 3 pulls in the last … (#10575) f022bcc
- The cell suites pass on a pull's check: spawn-cell-e2e and crew-sandbox #560 are green on today's main (#10551) 1be62c1
- Merge branch 'main' of trevato/forge into fix/crew-proxy-env 61efc0d
- The bets list is keyboard-first: j/k move between rows, enter opens one (#10493) 47d7b4f
- A hosted child's cells hide its parent's data and take no egress grant: its admin is its owner, and a grant opened this machine's private network to them 95969e1
- A child forge's lines reach its parent's log at most 600 a minute, with control characters replaced: a child could flood the parent's log or paint over its lines 9cecaf2
- A proposal token or a conversation's token never enters an app: each is a writer's rw token meant for one narrow door, and an app's host admitted it as the writer 87a7188
- A child forge's crew run keeps its temp directory where Claude Code's sockets fit: under children/cell-<uuid> the bridge socket path ran to 124 characters and every Bash call failed to start its sandbox 636aa03
- A child forge's cell hides the parent's home as well as its data: it ran as the parent's user and could read the parent crew's ~/.claude 0dfe641
- A child forge's cell may reach api.anthropic.com when an admin chooses: children.modelEgress takes anthropic or both, since scottishbob's own Anthropic key was refused at the cell 339cfbc
- A child forge in a cell leaves on SIGTERM and is killed only after 15 s, on sleep and on the parent's drain: every glint start read unclean because the parent SIGKILLed it a95789f
- A small child forge holds 2 GiB and reaches its own address: scottishbob's cell stopped at 1195 of 512 MiB on its first deploy, with its own host refused as egress, and fell back to hosted with no crew ab3dadb
- A GPS track (.gpx) in a repository renders as its route drawn as an outline, with distance and climb (#10382) 4b3f90b
- A like is a signal in the decision ledger, reachable the same way for a person and an agent, and a test reads it back (#10410) 20b7a27
- Revenue: awake time, storage and crew spend with the margin, per app per month — the statement billing reads (#10418) 3f4dad5
- Calm pass: issues, the lists and runs show rows a reader can scan, not notes (#10415) 74de45d
- The packs list is keyboard-first: j/k move between rows, enter opens one (#10425) 64e585b
- A phone share sheet reaches the crew in one tap: the share target is tested from a shared URL to a queued thought, and a signed-out sharer is brought back to it (#10417) 3d3f4d1
2 earlier comments
Merged main into this branch (not a rebase, so history under review is not rewritten). New head is 6f8a2c30.
The check on e4ec08f9 was state: none (no run recorded). The pull showed check: red and checkStale: true while it sat 95 commits behind green main. Nothing in this change failed on that head.
First merge brought in 47d7b4f0 (children.modelEgress both, cell HOME/tmp hiding, 2 GiB small size). src/apps/process.ts auto-merged, and installEnv keys on main were unchanged; the test still asserts only the proxy vars pass, not FORGE_* or ALL_PROXY. A first validate then flagged child-quota and crew-sandbox #560, which were already fixed on a newer main by #10551, so I merged that plus the follow-up sentinel hardening (1cc0508bf).
validate on 6f8a2c30: flaky in 3546s. check.fast was BASELINE; gate 1 was FLAKY (checkout-sweep and abandoned-checks timer); gates 2 and 3 were ok. bunx tsc --noEmit with CI bun 1.3.14 was clean.
Thank you, @grokbot: pull #10364 landed in 6956a3a0b414.
3 commits by grokbot touched 3 files, landed as a merge, so your commits are ancestors of main and git merge main on your side stays clean.
What changed from your head on the way:
- conflicts resolved: 2 merges of main into your branch (
61efc0dba153Merge branch 'main' of trevato/forge into fix/crew-proxy-env;6f8a2c30f100Merge branch 'main' of trevato/forge into fix/crew-proxy-env)
installEnv dropped HTTP(S)_PROXY / NO_PROXY, so inside a child forge's cell bun install never reached the egress proxy (ConnectionRefused, and no refusal logged by the parent). childEnv already carries them since aee90bc5; the install now does the same, from the same list. Which hosts are reachable stays the proxy's decision. Tests: the proxy vars go with the install, ALL_PROXY and FORGE_* do not.
Security review
Please give this a security look: it widens what an untrusted repository's install sees. Only the six proxy names in
PROXY_VARSare added (the same listchildEnvalready passes to every app since aee90bc5);ALL_PROXY,FORGE_*, keys and tokens still stay out, and a test pins that. One thing to weigh: if a cell's proxy URL ever carries credentials (http://user:pass@host), the install's scripts would see them. Today the cell proxy URL carries none as far as I can see, and childEnv already exposes the same value to apps.Found while running crew-free on grokbot-agency issue #3 (see the diagnostics on #4425): bun install inside the child cell failed with ConnectionRefused on npm tarballs.
Validation
validateone4ec08f9: flaky in 4353s (forge.json check.fast, verbatim, in a scrubbed env).bun install --frozen-lockfile: ok (exit 0, 0s)forge.json check.fast: FLAKY (exit 1, 196s)check.yml gate (1) pull_request: FLAKY (exit 1, 1167s)check.yml gate (2) pull_request: ok (exit 0, 878s)check.yml gate (3) pull_request: FLAKY (exit 1, 2111s)