Repository navigation
docs: Propose an OS image catalog and sealed bootstrap data - #184
Merged
Merged
Conversation
This was referenced Nov 25, 2026
A customer chooses an image from a provider-published, immutable, digest-pinned MachineImage catalog and supplies user data and SSH keys in a bootstrap Secret. Fleet resolves the image to its digest at admission and keeps it, checks it against the server's architecture and firmware mode, and copies the bootstrap data into a sealed SealedPayload that no staff role can read. Federation delivers the payload only to the operation's site worker, and the site deletes it when the operation ends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tie the sealed payload sweep to ended operations and released allocations, so it never removes a payload admission still needs, and name payloads from the operation and digest so a crash retry with an edited Secret leaves one referenced payload. Pin the provider image's UID and digest in the publication record, require use on both images, and enforce customer write refusal with the validating webhook. Define the boot admission that lets the site's boot service serve a payload, and record that as a change to the custody customer data rule. Salt the payload digest, keep payload bodies out of audit logs, have federation send sites the digests to mirror, check firmware mode again at the worker, and point the machine lifecycle at the catalog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record that a settling Installation may name a held Installation as its predecessor, as a change to the machine lifecycle rule, say that every crash retry writes a new payload because the salt is new, and remove facts the design states twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Record, beside the boot service amendment, that the site controller that creates every worker may read site payloads, and why that grants no new access. Describe the delivered payload as a dedicated kind, not a Secret, so permission on it reaches nothing else, and state that federation deletes the delivered copy once the result is answered. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
State that the site controller may only get a site payload by name, say that no site identity can list or watch payloads, and correct the acceptance test that still named a payload Secret and only the worker. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fleet does not own the guest OS, so success must not depend on the installed system printing anything. The installer reads the payload back from the target disk and reports its salted digest; the worker requires it before success. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A published MachineImage names its publisher with publisherRef, and a publication record names its consumer with consumerRef. Both are typed Milo Project or standalone Namespace references, and Fleet refuses any other kind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Success still never depends on the installed OS, except under virtual media delivery proposed in #227. There, success also depends on one first-boot report from the provider-built image's first-boot step, which runs before the customer's bootstrap data and is accepted once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells
force-pushed
the
docs/machine-images-bootstrap
branch
from
November 26, 2026 22:00
0e05f8e to
1274f77
Compare
scotwells
marked this pull request as ready for review
November 28, 2026 01:58
kevwilliams
reviewed
Nov 28, 2026
kevwilliams
left a comment
Contributor
There was a problem hiding this comment.
Hold: a crash after the DeviceInstallation is created can refuse an install that is already running.
- Step 4, the short-circuit for an existing DeviceInstallation, runs after the predecessor, entitlement and compatibility checks. Re-evaluation can then set ImageWithdrawn on a live install, which contradicts "Admission is final".
- Fix: check for the DeviceInstallation first.
- A payload written before the operation is created, whose Installation is then deleted, survives until the allocation leaves Active, past the "no copy remains" guarantee. Give it a deadline-based cleanup too.
Check for an existing DeviceInstallation first, so re-evaluation after a crash never refuses an install that is already running. Delete a sealed payload whose operation was never created 10 minutes after it was written, and never create the operation later than that. Run the boot service centrally with a certificate and authorization per site, and let the first-boot service read a payload only for one virtual media fallback fetch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells
added a commit
that referenced
this pull request
Nov 28, 2026
List the first-boot service as a scoped reader of sealed payloads among the changes to #184, state that both proposals run the boot service centrally with per-site certificates, and drop the stale text saying #184 does not yet allow the first-boot report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The site worker still receives and checks the sealed payload, then sends the boot admission and the rendered payload to the central boot service under its site's identity. The boot service holds them in memory for an open admission of its own site only and has no access to the sealed store. The no-copy and site-identity tests now cover it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
@kevwilliams thanks, both points from your hold are addressed at 449e143, along with the two from your #227 review that touch this doc.
Each change has a matching acceptance test. |
kevwilliams
approved these changes
Nov 28, 2026
kevwilliams
left a comment
Contributor
There was a problem hiding this comment.
The existing-install check now runs first, orphaned payloads expire after 10 minutes, and the first-boot reader is scoped by token, address and phase.
scotwells
added a commit
that referenced
this pull request
Nov 28, 2026
List the first-boot service as a scoped reader of sealed payloads among the changes to #184, state that both proposals run the boot service centrally with per-site certificates, and drop the stale text saying #184 does not yet allow the first-boot report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scotwells
added a commit
that referenced
this pull request
Nov 28, 2026
The merged images proposal allows the first-boot report and the first-boot service as a payload reader. The boot medium requirement and the fallback delivery remain this proposal's additions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Customers cannot choose an OS image or pass user data and SSH keys to an install today. This proposes a provider-published, digest-pinned image catalog and a sealed bootstrap store that staff cannot read. It fills the gap the Device custody design leaves to Metal.
Decisions for a person
Test plan
Related to #227
🤖 Generated with Claude Code