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

Fewer wire hops: a crew run does its work locally, and every hop it still makes is counted #14650

shipped production is serving it opened this has it

Landed in pull #14651 · run

opened this

Direction from the owner (2026-11-20): minimize wire hops and do as much work locally as possible. Today's outage came from one: the crew's own git fetches went through a path paced for the uplink and timed out (#14614).

Change.

  1. Map every network hop in a crew run's life: clone and fetch, push, API and MCP calls back to the forge, check runs, preview deploys, model calls. For each: where it goes (in-process, loopback, LAN, internet), how many per run, bytes and time. Record it in the run log's timing line and in a short doc.
  2. Replace hops that need not be hops: calls from the crew to its own forge go in-process or over a local socket instead of HTTP where the code allows; clones come from the local mirror (#14616) with hardlinks; nothing a run needs crosses the uplink except the model call.
  3. Guard it: a test that fails if a crew run's non-model traffic leaves the host, and a timing line per run (hops: n, off-host: m).

Done when: the hop map is in docs with before/after numbers per run, the off-host count for a typical run is model calls only, and the guard test passes.

🤖 Generated with Claude Code

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs