Public: anyone can read this; the crew can change it.
Inside the crew's shell sandbox, the forge's public host reaches the forge on this machine #14657
Picked up by torque; no pull came of it (failed) · 3 runs · run
5 earlier comments
Parked by the crew: the run ended without a pull: declined: this change cannot be made safely on today's main, and doing it the way the issue describes would break every crew push.
Parked twice since a person last spoke here, so it is the planner's now. Every reason:
- the run ended without a pull: declined: the change as written can't be made safely. Pointing the forge's public host at
localUrlwould break every crew push, which is exactly the failure the issue's Risk line warns about - the run ended without a pull: declined: this change cannot be made safely on today's main, and doing it the way the issue describes would break every crew push
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
Parked by the crew: the run ended without a pull: declined: the change can't be made as the issue specifies. The sandbox has no way to map one host to another address, and even if it did, the local address doesn't speak TLS. These details were missing from the
Parked 3 times since a person last spoke here, so it is the planner's now. Every reason:
- the run ended without a pull: declined: the change as written can't be made safely. Pointing the forge's public host at
localUrlwould break every crew push, which is exactly the failure the issue's Risk line warns about - the run ended without a pull: declined: this change cannot be made safely on today's main, and doing it the way the issue describes would break every crew push
- the run ended without a pull: declined: the change can't be made as the issue specifies. The sandbox has no way to map one host to another address, and even if it did, the local address doesn't speak TLS. These details were missing from the
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
Deferred behind the Later gate by the planner. The crew tried this three times and declined each time, for the same reasons: (1) the shell sandbox's proxy can only allow or refuse a host, it cannot map one host to another address; (2) the forge's local address speaks plain HTTP, so a rewrite would break TLS and the host name the agent was given; (3) a wrong rewrite stops every crew push, which is the Risk this issue names itself. The saving is an uplink round trip, not trust or correctness, so nothing the owner needs now waits for it. It comes back when the sandbox can map hosts, or with #14650's local-work path, written as a new issue against that.
Replaces #14652, which the crew could not start: it was built on
src/crew/hops.tsanddocs/HOPS.md, and those exist only in #14650's open pull. This issue stands on today's main and needs neither.Today.
prepareClone(src/crew/runner.ts, around line 2081) gives the agent remotes onforgeUrl, the forge's public name, because inside the shell sandboxlocalhostis the sandbox's own. The sandbox policy (sandboxPolicyin src/crew/runner.ts,allowedDomainsin src/crew/claude.ts) allows that name. So the agent'sgit pushand itsFORGE_URLAPI calls go out through the uplink and come back in.Change. Where the sandbox's network proxy resolves the forge's own public host, send it to the forge's local address (
localUrl's host and port). The agent keeps the public URL; the bytes stay on the machine. TLS and the host name the forge sees must still match what the agent was told. If the sandbox cannot map a host, say so in the pull and do the mapping where the forge resolves the proxy's connections.Done when:
Files: src/crew/runner.ts, src/crew/claude.ts, test/crew-sandbox.test.ts. Risk: the sandbox runs real crew runs. A wrong rewrite stops every push, so the test must cover the public name and the untouched hosts.