Files
Eli FosterandClaude Opus 5 dbcdd39a1a Share toolchain caches across isolated sessions
A disposable HOME gives hermit, rustup, npm, and pub a cold cache, so
every Claude session re-downloaded its whole toolchain: 13.4s and a
278MB hermit/node fetch for a session that does nothing. The caches now
point at a Buzz-owned directory outside the profile, which drops a warm
session to 0.6s.

The directory is Buzz's own rather than the operator's cache: agents
write to it, and a poisoned toolchain must not reach the operator's
builds. CARGO_HOME stays unset because it holds credentials.toml and
cargo has no cache-only knob, so a shared registry would also share
registry tokens.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: Eli Foster <efoster@squareup.com>
2026-08-04 13:47:31 -07:00
..
2026-07-27 14:18:24 -04:00