From 7b016ee2a942d52e89957bbef9fa208126fc33c8 Mon Sep 17 00:00:00 2001 From: mintaka Date: Sun, 30 Aug 2026 16:32:58 -0400 Subject: [PATCH 1/2] feat(guestd): arm nft_script as guest root before the exec gate (V3 W1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace the V2b `CodeUnimplemented` branch in `supervisor.Provision` with the in-guest egress arm from the frozen microVM Runner V3 record (§(d)): a non-empty `nft_script` runs as guestd's own root, under `s.mu`, before the state transition. A failed arm returns `CodeInternal` and leaves the gate closed at `stateReady`, so `requireProvisioned` keeps refusing every exec and the host tears the VM down — the fail-closed contract. An empty script skips the arm (the §(e) hermetic test seam); the host production path never sends empty. - `armFunc func(ctx, script) error` seam on the supervisor (beside `newCredential`), production `runNftScript` spawning `/bin/sh -c