feat(smolmachines): PRD 0022 sandbox-escape suite green under smolmachines (PRD 0023 chunk 5) #73
Reference in New Issue
Block a user
Delete Branch "prd-0023-chunk-5-sandbox-suite-smolmachines"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
get_bottle_backend()dispatches onCLAUDE_BOTTLE_BACKEND). Two cleanups to make it actually run cleanly when that env var is set tosmolmachines:setUpClassraisesunittest.SkipTestwhen smolmachines is selected butsmolvmisn't on PATH or the host isn't macOS (libkrun + TSI is macOS-only in v1). Beats dying insidebackend.prepare'ssmolmachines_preflight.test_5_readme_push_blockedswitches from a hardcodedgit://git-gate/...remote (only resolvable on docker via the bundle's short alias) to the bottle's declared upstream URL. The agent's~/.gitconfiginsteadOf— set up byprovision_giton both backends — transparently redirects to the gate. Same test exercises docker'sgit://git-gate/...and smolmachines'sgit://<bundle_ip>:9418/...without branching on backend.CLAUDE_BOTTLE_BACKEND, the macOS-only v1 scope for smolmachines, and thesmolvminstall path (per PRD 0023 acceptance criteria).smolvminstalled.This is the last chunk of PRD 0023. Whole flow now works end-to-end:
CLAUDE_BOTTLE_BACKEND=smolmachines78345b5343tod7cef27584