Skip to content

bx0: Box 0ce44d4 pin + TEE fail-closed (Verified blocked on SEV hardware) - #245

Merged
emigmo merged 1 commit into
mainfrom
bx0/box-pin-bf1ff80
Sep 13, 2026
Merged

emigmo merged 1 commit into
mainfrom
bx0/box-pin-bf1ff80

Conversation

@emigmo

@emigmo emigmo commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Pin Box 0ce44d4 / OCI 931def0; retain Box provider conformance on tip dbe34158 (run 34737151481, artifact 10312158124).
  • Track A Access fixtures + TEE fail-closed binder/preflight (OPERATOR_TEE.md).
  • Physical-capacity stop: no AMD SEV-SNP runner (Box runners=0, vars=0; WSL Intel has no /dev/sev). Skip developing PW0 / I0 Track B / product EXIT until an online sev-snp runner exists and TEE binds. That skip is not Verified.

BX0.3 status

Gate Status
Sandbox re-cert + G0 retained PASS
Hardware SEV-SNP OPEN (physical)
Cloud TEE bind fail-closed BLOCKED
PW0 / EXIT / later SKIPPED until SEV capacity

Test plan

  • TEE CI harness + org preflight fail-closed
  • Retained sandbox 34737151481
  • Resume only after green Box hardware SEV on pin → OPERATOR_TEE.md bind → then reconsider Verified / PW0 sequencing

@emigmo

emigmo commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Root cause of retained run failure was OCI 05a3b2 a3s-oci-agent dead_code under default RUSTFLAGS=-D warnings (not a HostSandbox regression).

Follow-up pins:

Refusing to disable -D warnings or weaken Skill/Agent cert markers.

@emigmo

emigmo commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Next failure after OCI build green: Sandbox harness picked a control-plane CLI binary (a3s_cloud_control_plane-* stem) instead of the rustc test harness. Fix in 3e0ed4d follow-up: --lib for lib-module certs + --list harness filter. Re-dispatching conformance.

@emigmo

emigmo commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Progress on 34711830853 (a876e15):

  • Prove Cloud recovery / Skill Workload / published Agent: success
  • celld gate failed: OCI device-policy refused UID 0/0 because that step used plain sudo cargo test

Follow-up commit runs celld through Sandbox setpriv (same identity as Skill/Agent) and forwards A3S_CLOUD_TEST_CELL_PROVIDER*. Re-dispatched.

@emigmo

emigmo commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

34717401143 reached celld success plus Skill/Agent/Prove green.

Last failure: G0 Box-native build residue scan rejected Box ImageStore .content-<digest>.lock sidecars as non-directory content. Fixed to skip lock/dot sidecars (still fail on unexpected non-dirs). Re-dispatched.

@emigmo

emigmo commented Sep 12, 2026

Copy link
Copy Markdown
Contributor Author

Retained evidence (Box re-certification)

Green run: https://github.com/A3S-Lab/Cloud/actions/runs/34720439337 (7f18d89)
Artifact: box-provider-conformance-34720439337-1

Certified in artifact:

  • A3S_CLOUD_A0_5_REAL_BOX_SKILL_LIFECYCLE_CERTIFIED
  • A3S_CLOUD_A0_4_REAL_BOX_RELEASE_CERTIFIED
  • A3S_CLOUD_CELL0_3_PROVIDER_RUNTIME_CERTIFIED
  • A3S_CLOUD_G0_BOX_BUILD_CERTIFIED
  • allocation / health / secrets / artifacts / Fleet-Flow / cleanup

Pins: Box 96e3a5d (A3S-Lab/Box#335), OCI 931def0

Still refused / open: PW0, EXIT, Track A Access overfit; hardware TEE isolation for full BX0.3 Verified.

@emigmo
emigmo force-pushed the bx0/box-pin-bf1ff80 branch from a797050 to 224e4e6 Compare September 13, 2026 00:16
@emigmo emigmo changed the title bx0: pin Box bf1ff80 for HostSandbox setpriv fixes bx0: pin Box 0ce44d4 (HostSandbox + OCI 931def0) after rebase Sep 13, 2026
@emigmo

emigmo commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

BX0.3 Verified bar (first principles)

Sandbox/provider re-cert (done): tip dbe34158 — Box 0ce44d4 / OCI 931def0, artifact box-provider-conformance-34737151481-1.

Hardware TEE (still open — release-blocking): Box pin 0ce44d4 job Integration (hardware SEV-SNP) (box_runtime_sev_snp_hardware_passes_all_advertised_profiles) requires:

  • self-hosted runner labels [self-hosted, linux, kvm, sev-snp]
  • vars.SEV_SNP_CI == true, generation milan|genoa, digest-bound SEV_SNP_CI_EXPECTED_MEASUREMENT
  • /dev/sev, /dev/kvm, kvm_amd sev_snp=Y|1
  • box.sev_snp.simulate = false, require_no_debug = true

WSL2 and ordinary GitHub-hosted runners fail this check closed (/dev/sev absent). Simulated SEV-SNP is not hardware evidence.

Refused until isolation evidence: PW0, EXIT, Track A Access feature churn, and claiming Verified from KVM-only conformance alone.

@emigmo

emigmo commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

TEE path update (no overfit)

Recent A3S-Lab/Box CI still skips Integration (hardware SEV-SNP) (e.g. https://github.com/A3S-Lab/Box/actions/runs/34739814796) — SEV_SNP_CI is not armed and/or no sev-snp runner is enrolled. Per Box docs, a skipped job is not certification.

Required arming: https://github.com/A3S-Lab/Box/blob/0ce44d4dcf572fc473512deadf9e69b05ea69a16/docs/ci-kvm-runner.md — labels self-hosted, linux, kvm, sev-snp; vars SEV_SNP_CI, SEV_SNP_CI_GENERATION, SEV_SNP_CI_EXPECTED_MEASUREMENT.

Sandbox re-cert remains green on Cloud tip dbe34158 / run 34737151481. PW0/EXIT still refused until a green hardware SEV job exists.

@emigmo

emigmo commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

BX0.3 TEE fail-closed binder landed (db0a5a92)

tools/box-conformance/run_bx0_tee_isolation_audit.sh now fail-closes with A3S_CLOUD_BX0_TEE_ISOLATION_BLOCKED until an operator binds a green Box Integration (hardware SEV-SNP) run via A3S_CLOUD_BX0_TEE_ISOLATION_CERTIFICATION (simulate=false only).

Retained sandbox re-cert (34737151481 / tip dbe34158) is unchanged and still not Verified. Box hardware SEV remains skipped/unarmed (see Box#172). PW0 / EXIT stay blocked.

@emigmo

emigmo commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

TEE evidence collector (collect_bx0_tee_isolation_evidence.sh)

Collector now fail-closes unless Box Integration (hardware SEV-SNP) is success on the pinned box-revision. Verified against current pin run 34723450680 → conclusion=skipped (rejected). SHA-mismatched runs also rejected.

Still waiting on org SEV arming (Box#172). No Verified claim.

@emigmo

emigmo commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

BX0 Verified requirement audit (live evidence)

Requirement Evidence Status
Sandbox / Box provider re-cert Run 34737151481 success on dbe34158; artifact box-provider-conformance-34737151481-1 id 10312158124 (not expired) PASS (retained)
Typed Box build boundary (G0) Artifact/log line A3S_CLOUD_G0_BOX_BUILD_CERTIFIED cloud=dbe34158 box=0ce44d4 PASS (retained)
Hardware MicroVM/TEE isolation Box pin run 34723450680: Integration (hardware SEV-SNP) skipped; Integration (real microVM, KVM) skipped OPEN (org)
Cloud TEE bind Tip audit → A3S_CLOUD_BX0_TEE_ISOLATION_BLOCKED; harness rejects hand-edited skipped runs Ready / fail-closed
Clean-host EXIT / PW0 Intentionally blocked until TEE OPEN (sequenced)

No historical green Integration (hardware SEV-SNP) found on recent Box main pushes. Refusing Verified until SEV is green on the pin and bound via OPERATOR_TEE.md.

@emigmo

emigmo commented Sep 13, 2026

Copy link
Copy Markdown
Contributor Author

Physical-capacity stop (user directive)

Per first-principles goal update: when blocked by physical machine limits, skip developing subsequent features.

Confirmed still blocked: preflight_bx0_sev_org_arming.sh → A3S_CLOUD_BX0_SEV_ORG_ARMING_BLOCKED (runners=0); tip TEE audit → A3S_CLOUD_BX0_TEE_ISOLATION_BLOCKED.

Skipped for now (do not implement stubs): PW0, I0 Track B, product EXIT, and any post-TEE roadmap churn.

Not claimed: BX0 Verified. Resume only after real AMD SEV-SNP capacity → green hardware job → Cloud bind.

@emigmo emigmo changed the title bx0: pin Box 0ce44d4 (HostSandbox + OCI 931def0) after rebase bx0: Box 0ce44d4 pin + TEE fail-closed (Verified blocked on SEV hardware) Sep 13, 2026
Rebase BX0.3 hardware-SEV fail-closed evidence binder, org preflight,
OPERATOR_TEE docs, and physical-capacity stop notes onto current main
while keeping the aligned Box workspace pins from main.

Co-authored-by: Cursor <[email protected]>
@emigmo
emigmo force-pushed the bx0/box-pin-bf1ff80 branch from d9d91c6 to df74c66 Compare September 13, 2026 07:34
@emigmo
emigmo merged commit bc42d73 into main Sep 13, 2026
@emigmo
emigmo deleted the bx0/box-pin-bf1ff80 branch September 13, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants