Files
bot-bottle/bot_bottle
didericis-claude e74a5e0219
lint / lint (push) Successful in 1m45s
test / unit (pull_request) Successful in 35s
test / integration (pull_request) Successful in 19s
fix(smolmachines): exclude /tmp+/var/tmp from snapshot; mkdir -p on boot
On resume from a committed snapshot, smolvm's pack process remaps all
file uids to the host uid (501 on macOS). Files in /tmp that were
created during the session (e.g. /tmp/claude-1000 owned by node=uid
1000) get remapped to 501. Claude Code then refuses to use the temp
directory because it's owned by a different uid.

Two-part fix:
- Exclude ./tmp and ./var/tmp from the tar in _exec_tar_to_file.
  Both directories are ephemeral; a resumed VM should start with clean
  temp directories identical to a fresh VM.
- Add mkdir -p /tmp /var/tmp to _init_vm before chown/chmod, so the
  directories are created if the committed snapshot omitted them.
2026-06-23 16:43:01 -04:00
..
2026-06-03 23:25:41 -04:00