SourceOS Boot is the boot, recovery, and secure live-provisioning surface for SourceOS.
It evolves the original SociOS-Linux/nlboot concept into a SourceOS-native BootReleaseSet model that can support:
- secure live boot and remote install semantics;
- recovery and rollback entries for SourceOS systems;
- M2/Apple Silicon boot integration through the Asahi-style platform adaptation layer;
- PC/Purism/generic hardware netboot semantics through UEFI/iPXE-like or small-bootstrap-media flows;
- local-first device registration and later local-mesh/cloud-mesh replication;
- integration with Prophet Lattice, SourceOS specs, AgentPlane, and Lattice Forge.
Lattice is the control plane. SourceOS is the substrate. Fog is where execution happens.
sourceos-boot owns the boot/recovery implementation boundary:
BootReleaseSet -> boot manifest -> recovery/live environment -> verified install/update/rollback
It does not own the whole OS image, package/runtime distribution, or platform dashboard. Those remain in their respective repos:
SourceOS-Linux/sourceos-spec— canonical schemas/contracts.SocioProphet/lattice-forge— governed runtimes, kernels, packages, images, SBOMs.SocioProphet/prophet-platform— platform services and control-plane UI.SocioProphet/agentplane— governed execution and replay.SociOS-Linux/nlboot— original bootstrap primitive and design input.
SourceOS Boot owns the boot/device verification slice of Prophet Trust Chain. The platform standard and admission contract live in SocioProphet/prophet-platform:
docs/standards/PROPHET_TRUST_CHAIN_V0.mddocs/TRUST_CHAIN_ADMISSION_CONTRACT.mddocs/standards/PROPHET_TRUST_CHAIN_IMPLEMENTATION_MAP.md
This repo now carries TrustChainBootVerificationEvidence, which binds a BootReleaseSet to device claim, manifest hash, selected release set, boot mode, verification result, rollback/recovery posture, Trust Chain admission refs, and boot/install/rollback effects.
Relevant files:
schemas/trust-chain-boot-verification-evidence.v0.1.schema.jsonexamples/trust-chain-boot-verification.valid.jsonexamples/trust-chain-boot-verification.blocked.jsonsrc/sourceos_boot/validate_trust_chain_boot_verification.pytests/test_trust_chain_boot_verification.py
Validation:
make validate-trust-chain-boot-verification
python -m pytest tests/test_trust_chain_boot_verification.pyThe valid fixture requires verified device claim, manifest hash, selected release set, boot mode, passing verification result, attestation ref, rollback/recovery posture, policy profile, admission decision, and runtime receipt before boot/install admission is allowed.
The blocked fixture proves fail-closed behavior when device claim and manifest verification evidence are missing. Boot/install are denied, rollback remains allowed, and remediation authority is preserved.
Boundary: SourceOS Boot records boot/device verification evidence. It does not certify production hardware by itself, mutate live boot entries in this tranche, own package/runtime distribution, replace Lattice Forge runtime evidence, replace Policy Fabric policy profiles, replace AgentPlane execution evidence, or replace Prophet Platform admission composition.
This repo currently provides:
schemas/boot-release-set.schema.json— BootReleaseSet v0 contract.examples/boot-release-set.example.json— minimal valid example.src/sourceos_boot/validate_boot_release_set.py— zero-dependency validator for examples and CI.schemas/trust-chain-boot-verification-evidence.v0.1.schema.json— Trust Chain boot/device verification evidence contract.examples/trust-chain-boot-verification.valid.json— valid boot/device verification evidence example.examples/trust-chain-boot-verification.blocked.json— fail-closed boot/device verification evidence example.src/sourceos_boot/validate_trust_chain_boot_verification.py— Trust Chain boot verification validator..github/workflows/ci.yml— validation workflow.
- Align BootReleaseSet v0 with
sourceos-speconce the shared schema family lands. - Add the nlboot compatibility adapter: announce, authorize, fetch manifest, verify, kexec/install/recover.
- Add Apple Silicon PAL notes and implementation stubs for SourceOS Recovery Environment.
- Add UEFI/iPXE bootstrap profile for PC/Purism class hardware.
- Emit evidence records: device claim, manifest hash, boot mode, selected ReleaseSet, verification result.
- Bind boot/device verification evidence into Prophet Platform admission responses and AgentPlane runtime receipts.