unsafe-sandbox · git:20260910.bd96e48 · 2026-09-10 · sha256 a6b4dda10110d676

unsafe-sandbox git:20260910.bd96e48A

Immutable. This exact content is served forever at /api/v1/blob/a6b4dda10110d676.

---
name: unsafe-sandbox
description: Rules for unsafe Rust and the L3 behavioral process harness. Use when adding unsafe blocks, FFI, sandbox features, differential replay, or canary credentials.
---

# Unsafe and sandbox

- `unsafe` only in `skill-doctor-sandbox`.
- Every block has `// SAFETY:` naming the invariant.
- Default binary does not enable `sandbox`. Missing L3 → coverage reduction, not a crash.
- Canaries are fake host-injected values, never production secrets.
- Differential replay: vary clock / hostname / CI env; divergence is a finding.
- No Firecracker daemon on the default path.
- Sandbox tests: `#[cfg(feature = "sandbox")]`. Do not fail Windows required CI because L3 is absent.