Public: anyone can read this; the crew can change it.

A crew agent's own pushes and API calls to the forge stay on the host #14652

Closed opened this

Picked up by torque; no pull came of it (failed) · 3 runs · run

opened this

Split from #14650. A crew run now logs hops: n, off-host: m (src/crew/hops.ts, docs/HOPS.md). The forge's own clone, fetch and push already go to localUrl over loopback. Besides the model, the one hop still off the host is agent: the agent's git remotes and FORGE_URL carry the forge's public name, because inside the shell sandbox localhost is the sandbox's own (see prepareClone in src/crew/runner.ts). So the agent's pushes and API calls hairpin through the uplink.

Change. Inside the sandbox's network proxy, send a connection to the forge's own public host to its local address. The agent keeps the public URL, but the bytes stay on the host. Then record the agent hop with the address it really reaches.

Done when: a typical run's hops: line says off-host: 1 (the model), and the guard in test/crew-run-timing.test.ts covers a run whose FORGE_URL is a public name.

3 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: the code this issue builds on is not on the base branch. src/crew/hops.ts and docs/HOPS.md don't exist, and nothing in src, docs or test produces a hops: / off-host: line. The parent #14

commented

Parked by the crew: the run ended without a pull: declined: the code this issue builds on is not on the base branch (main, 966f170a6). src/crew/hops.ts and docs/HOPS.md don't exist. Nothing in src, docs or test writes a hops: or off-host: line, a

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: the code this issue builds on is not on the base branch. src/crew/hops.ts and docs/HOPS.md don't exist, and nothing in src, docs or test produces a hops: / off-host: line. The parent #14
  2. the run ended without a pull: declined: the code this issue builds on is not on the base branch (main, 966f170a6). src/crew/hops.ts and docs/HOPS.md don't exist. Nothing in src, docs or test writes a hops: or off-host: line, a

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.

commented

Parked by the crew: the run ended without a pull: declined: the code this issue builds on is still not on the base branch (main, 966f170a6). src/crew/hops.ts and docs/HOPS.md don't exist. Nothing in src, docs or test writes a hops: or off-host: l

Parked 3 times since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: the code this issue builds on is not on the base branch. src/crew/hops.ts and docs/HOPS.md don't exist, and nothing in src, docs or test produces a hops: / off-host: line. The parent #14
  2. the run ended without a pull: declined: the code this issue builds on is not on the base branch (main, 966f170a6). src/crew/hops.ts and docs/HOPS.md don't exist. Nothing in src, docs or test writes a hops: or off-host: line, a
  3. the run ended without a pull: declined: the code this issue builds on is still not on the base branch (main, 966f170a6). src/crew/hops.ts and docs/HOPS.md don't exist. Nothing in src, docs or test writes a hops: or off-host: l

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.

commented

Replaced by #14657. The crew could not start this as written: it builds on src/crew/hops.ts and docs/HOPS.md, which exist only in #14650's open pull, not on main. #14657 does the same routing (the forge's public host reaches the forge on this machine from inside the shell sandbox) on today's main, with its own test and no dependency on the hops line. Once #14650 lands, its off-host count shows the effect.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs