Skip to content

Add SourceOS boot plan control metadata#7

Merged
mdheller merged 5 commits intomainfrom
feature/sourceos-boot-plan-controls
Apr 29, 2026
Merged

Add SourceOS boot plan control metadata#7
mdheller merged 5 commits intomainfrom
feature/sourceos-boot-plan-controls

Conversation

@mdheller
Copy link
Copy Markdown
Member

Summary

Evolves the safe nlboot planner so emitted boot plans carry SourceOS control-plane semantics without adding any host mutation.

Scope

  • Adds policy_ref to emitted BootPlan.
  • Adds allowed_operations by boot mode.
  • Adds proof_requirements by boot mode.
  • Adds offline_fallback posture by boot mode.
  • Keeps execute=false.
  • Keeps existing signed-manifest and one-time enrollment token validation.
  • Updates CLI smoke test to assert the new recovery plan metadata.
  • Updates README with the new plan fields and fixture names.

Non-goals

  • Does not download artifacts.
  • Does not write disks.
  • Does not call kexec.
  • Does not mutate a host.
  • Does not change signed example manifest payloads.

Validation

Expected:

make validate

@mdheller mdheller merged commit ba77775 into main Apr 29, 2026
4 checks passed
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.

1 participant