fix: restore backend prepare wiring
lint / lint (push) Failing after 1m28s
test / unit (pull_request) Successful in 31s
test / integration (pull_request) Successful in 16s

This commit is contained in:
2026-06-09 02:35:37 +00:00
parent 626fe32896
commit 14188ba368
6 changed files with 147 additions and 19 deletions
@@ -23,10 +23,11 @@ from ...git_gate import GitGatePlan
from .bottle_plan import SmolmachinesBottlePlan
from .util import smolmachines_bundle_subnet, smolmachines_preflight
def preflight():
def preflight() -> None:
smolmachines_preflight()
def build_guest_env(resolved_env: ResolvedEnv):
def build_guest_env(resolved_env: ResolvedEnv) -> dict[str, str]:
# Agent's env: resolve through resolve_env() so ?prompt entries
# are prompted and ${HOST_VAR} entries are interpolated — matching
# the Docker backend's contract. Forwarded (secret/interpolated)