diff --git a/README.md b/README.md
index 778018b3..bf883dd0 100644
--- a/README.md
+++ b/README.md
@@ -31,6 +31,9 @@ The first bare-metal release must exercise a standalone customer workload on a
qualified OS other than Talos, without requiring a managed cluster or an ongoing
guest agent. Provisioning engines and provider integrations remain pluggable.
+The [PXE installation enhancement](docs/enhancements/pxe-installation/README.md)
+proposes managed images and bounded delegation to customer PXE.
+
## Learn more
Start with the [product overview and documentation guide](docs/README.md) to
diff --git a/docs/architecture/README.md b/docs/architecture/README.md
index 3533efb6..11fcdee1 100644
--- a/docs/architecture/README.md
+++ b/docs/architecture/README.md
@@ -59,6 +59,7 @@ processes or service-catalog entries.
| Group | Resources and responsibility | Status |
| --- | --- | --- |
| `metal.datumapis.com` | `MachineClass`: offerings and consumer references. `MachineProfile`: hardware requirements. `MachineCapacity`: provider supply. `Machine`: customer allocation and runtime intent. `MachineAllocation`: protected allocation identity. `Installation`: immutable OS installation or reinstall request. | Six alpha CRDs at `v1alpha1`. Production admission and real providers remain incomplete. |
+| `provider.metal.datumapis.com` | Proposed `MachineOffering` owns installation/management capability policy; `MachineOfferingAssignment` controls acquisition access. MachineClass becomes only a one-hop published consumer view; MachineProfile remains immutable requirements in Metal. | Proposed target design, not implemented by the six alpha CRDs above. |
| `fleet.datumapis.com` | Physical inventory: `Facility`, `Rack`, `DeviceClaim`, `Device`, `Cable`, and `PowerFeed`. Physical preparation and provider execution remain operator responsibilities. | Proposed inventory APIs. An operator-written subset is implemented: these six kinds plus a Manufacturer/DeviceType catalog and an observational `Site`. Their alpha CRDs, ProtectedResources and roles are [registered in Milo](../operations/physical-inventory.md) by `config/milo`, and the records live in the provider project. No controller reads them, and no real provider executor is implemented here. |
| `coordination.fleet.datumapis.com` | Intended management-to-location execution handoff, retaining exact allocation identity, location, admitted inputs, release intent, and execution evidence. `MachineAllocationHandoff` is a candidate resource. | Architecture decision only on the current main implementation: no coordination CRD or cell controller is packaged. Replaces the earlier prototype name `internal.fleet.datumapis.com`. |
@@ -74,6 +75,18 @@ and Installation identifies an OS incarnation. Managed NodeClaim identity stays
above allocation. These identities and lifetimes remain separate. Standalone
and managed consumers use the same allocator and installation contract.
+Metal is the common public contract, independent of provider implementation.
+Fleet is optional for fulfillment. Allocations retain accepted offering identity,
+contract/profile and installation/management capabilities. Catalog or assignment
+withdrawal blocks new allocations, not retained runtime rights. Current action,
+image, secret and endpoint permissions and explicit safety/suspension controls
+still apply; cleanup uses retained obligations rather than acquisition grants.
+The [PXE design](../enhancements/pxe-installation/README.md) defines the proposed
+immutable managedImage/delegatedPXE union, exclusive execution drivers, and
+completion assurance. Managed consumers require qualified assurance, not merely
+an Installation Ready condition. These changes specify the target design without
+compatibility or migration machinery for earlier drafts.
+
The broader proposals describe managed clusters, node services, image catalogs,
and OS policy. Their implementation and final group placement remain separate
design work. Vendor and OS adapters may retain typed groups; this document does
@@ -88,18 +101,23 @@ not create additional service registrations for them.
| Protected allocation custody | Service-owned private storage | The allocator retains exact identities, authority, and cleanup obligations before effects. |
| Fleet physical inventory | Intended operator/provider infrastructure control planes | Inventory and provider controllers own their respective facts and execution contracts; exact scopes and deployment remain proposed. |
| Coordination intent | Intended Karmada federation hub | Management writes admitted handoff intent. |
-| Coordination replicas and execution | Intended selected location/cell | Federation delivers intent; the cell executes location work and reports status directly to the hub. |
+| Coordination replicas and execution | Intended selected location/cell | Federation delivers intent; the cell executes location work and writes cell-local results only. |
+| Reflected execution results | Intended Karmada federation hub | Karmada reflects results from the selected cell; management validates them before public projection. |
The coordination design requires its CRD on the federation hub and participating
cells, not in customer Milo project control planes. Management owns handoff
-intent and the selected cell owns execution status. The management process's
-deployment cluster is not implicitly the authoritative handoff store.
+intent; the selected cell owns local execution results, and Karmada alone reflects
+them to the hub. Cells receive no hub or consumer-project API credentials. The
+management process's deployment cluster is not implicitly the authoritative handoff store.
Management retains admission and reservation authority before creating a
handoff. Federation targets the selected location, and the cell asks networking
-to prepare the admitted interfaces. Current location evidence is projected into
-the customer's Metal resource. Release requires verified location cleanup before
-provider cleanup and quota settlement complete. Missing, stale, or uncertain
+to prepare the admitted interfaces. The status path is cell-local result ->
+Karmada reflection -> management validation -> public projection. Validation checks
+selected cell, allocation, operation identity/revision, executor fence, and evidence
+freshness. Wrong-cell, stale, conflicting, or partition-delayed results cannot
+advance readiness; reflected status itself is not authority. Release requires
+verified location cleanup before provider cleanup and quota settlement complete. Missing, stale, or uncertain
execution evidence remains unknown.
Networking/IPAM and Galactic retain authority over attachments, addresses,
diff --git a/docs/architecture/design.md b/docs/architecture/design.md
index 125d7209..05cbfcc8 100644
--- a/docs/architecture/design.md
+++ b/docs/architecture/design.md
@@ -57,6 +57,21 @@ logical attachments, address allocation, and switch configuration. Galactic owns
fabric and routing intent. DNS, certificates, and service addresses stay with
their owning services. Fleet consumes these contracts and their evidence.
+The [PXE enhancement](../enhancements/pxe-installation/README.md) defines the target
+Metal installation contract, with Fleet as an optional provider implementation.
+It supersedes older image-only examples for current design work without rewriting
+the pinned source history. Installation has exactly one managedImage/delegatedPXE
+source, consumes its predecessor atomically, and retains explicit completion mode,
+assurance and one execution driver. Provisioning Redfish sessions attach to that
+admitted operation, never independent boot authority. Installation, runtime power,
+and release share serialization/fencing; session closure or callbacks do not prove
+executor shutdown. Managed consumers require QualifiedImage assurance.
+
+For Fleet execution, management writes hub intent, the selected cell writes only
+local results, Karmada reflects them, management validates exact identity, fence
+and freshness, and the projector publishes public status. Cells have no hub
+credentials. Partitions or uncertain results never imply readiness or settlement.
+
## Lifecycle and authority contracts
1. **Preserve distinct identities.** DeviceClaim describes an approved physical
diff --git a/docs/enhancements/machine-lifecycle/README.md b/docs/enhancements/machine-lifecycle/README.md
index 0c360482..7ea336fe 100644
--- a/docs/enhancements/machine-lifecycle/README.md
+++ b/docs/enhancements/machine-lifecycle/README.md
@@ -38,22 +38,21 @@ stage: alpha
## Summary
-Fleet will let consumers allocate and install machines in their project.
-Five public resources define the contract: `MachineClass`, `MachineProfile`,
-`MachineCapacity`, `Machine`, and `Installation`. Fleet keeps immutable
+Metal defines the common public contract; Fleet is an optional provider
+implementation. Consumers use `MachineClass`, `MachineProfile`, `Machine`, and
+`Installation`; providers expose supply through `MachineCapacity`. Fleet keeps immutable
allocation and operation records in the provider project. These internal records retain
ownership, execution authority, exact inputs, and cleanup obligations.
-The current implementation encodes the renamed allocation surface in Go types,
-CRDs, IAM resources, controller watches, the synthetic fixtures, and tests:
-customer `Machine`, provider `MachineCapacity`, protected `MachineAllocation`,
-and `Installation.machineRef`. API-authored references are names; exact object
-incarnations remain in service-owned records. The existing lifecycle library
-still stores its protected allocation and operation encoding in private Secrets,
-and the simulator's binding and epoch fields are private executor-fencing details,
-not fields in the proposed API contract. Fleet has no production allocation
-controller or real provider effects yet. The implemented subset and gaps are recorded in
-[`docs/development/README.md`](../../development/README.md).
+The [PXE implementation baseline](../pxe-installation/README.md#implementation-baseline)
+pins the current source audit. The public Installation still uses top-level
+`imageRef` and optional `bootstrapConfigRef`; the source union, execution driver,
+completion and assurance fields below are future API design. Current execution
+uses provider-project `MachineAllocation`, `DeviceCustody`, `DeviceInstallation`
+and `DeviceWipe`, with per-Device journals and fences; the old Secret-backed
+allocation/operation path has been removed in that revision. Local acceptance
+is not production deployment or hardware qualification. The implemented subset
+and gaps are recorded in [`docs/development/README.md`](../../development/README.md).
## Motivation
@@ -127,7 +126,9 @@ machine. Deleting a completed Installation leaves the OS and allocation in place
### Resource relationships across projects
-Classes describe provider offerings; profiles describe hardware requirements.
+MachineOffering owns provider policy; MachineClass publishes its consumer view.
+MachineOfferingAssignment controls acquisition access; profiles contain immutable
+hardware requirements, not installation or management policy.
An offering can support several profiles, and a profile can serve several
offerings. Consumers can define custom profiles where the offering permits them.
@@ -193,61 +194,57 @@ not copy an opaque revision, UID, or epoch between requests.
#### MachineClass
-Provider operators own definitions; the publication service owns consumer
-references. The example uses provider types from the
-[bare-metal proposal][allocation].
+Provider operators own `MachineOffering` in `provider.metal.datumapis.com`;
+MachineClass is a publisher-owned one-hop consumer view, never a provider policy
+definition. MachineOfferingAssignment controls acquisition access. These proposed
+contracts replace earlier draft shapes without migration or compatibility rules;
+they do not describe the current alpha CRD implementation.
```yaml
-apiVersion: metal.datumapis.com/v1alpha1
-kind: MachineClass
-# Classes span the provider project so namespaces can share an offering.
+apiVersion: provider.metal.datumapis.com/v1alpha1
+kind: MachineOffering
metadata:
name: standard-metal
-# The definition owns offering policy; profiles own hardware requirements.
-# Its mode cannot change after creation.
spec:
- # Named profiles select provider-local contracts by name.
- # Fleet retains their resolved identities internally.
- # Custom profiles default to disabled and require provider validation.
profilePolicy:
allowedProfiles:
- name: accelerated-16c-64g
customProfiles:
enabled: false
-
- # Access describes supported operations, not permission to perform them.
- # The first implementation supports power control but no console sessions.
- access:
- consoleModes: []
- powerControl: true
-
- # Capacity limits selection to existing supply in one provider namespace.
- # Labels identify candidates; they confer no eligibility or purchase authority.
- capacity:
- machineCapacities:
- namespace: infra-ops
- selector:
- matchLabels:
- fleet.datumapis.com/capacity-pool: general-metal
-
- # Provider backend qualification and BMC enrollment are private cell state.
- # Public classes select admitted capacity, not an implementation-specific CRD.
-
-# The projector reports the definition that the class evaluator accepted.
-# Acceptance validates the offering; it does not reserve or promise capacity.
+ capabilities:
+ installation:
+ sourceModes: [ManagedImage, DelegatedPXE]
+ executionDrivers: [ProviderAutomatic, CustomerRedfish]
+ completionContracts:
+ - {mode: VerifiedImage, assurance: QualifiedImage}
+ - {mode: CustomerCallback, assurance: DelegatedContract}
+ management:
+ profiles: [ReadOnly, Provisioning]
+ provisioningSteps: [OneTimePXE, Reset, LocalDisk]
+ powerControl: true
status:
- evaluatedRevision: class-revision-example
+ evaluatedRevision: offering-revision-example
conditions:
- - {type: Accepted, status: "True"}
+ - type: Accepted
+ status: "True"
+ observedGeneration: 1
+ lastTransitionTime: "2026-11-14T12:00:00Z"
+ reason: OfferingValid
+ message: "Profile and capability contracts accepted; no capacity reserved."
```
+The offering is a portable service promise. Fleet inventory selectors, executor
+configuration, and BMC enrollment belong to private provider implementation state,
+not MachineOffering. The permitted source/driver/completion combinations and
+management steps follow the [PXE contract](../pxe-installation/README.md).
+
An offering must allow named profiles, custom profiles, or both. Enabling custom
profiles still requires provider validation of the complete configuration at the
requested location.
Approval applies to a profile's lifetime. A missing or recreated profile blocks
its entry. The provider must select a new name or remove and re-add the entry in
-separate accepted class revisions to approve a replacement.
+separate accepted offering revisions to approve a replacement.
Publication, quota, image, and network policy remain separate from the definition.
The publication service creates the consumer reference:
@@ -263,6 +260,8 @@ metadata:
# cannot become a definition or override its policy.
spec:
source:
+ apiGroup: provider.metal.datumapis.com
+ kind: MachineOffering
project: provider
name: standard-metal
@@ -271,8 +270,8 @@ spec:
status:
# The revision identifies the evaluated offering independently of this
# reference object's generation. It does not grant source-use permission.
- evaluatedRevision: class-revision-example
- resolvedClass:
+ evaluatedRevision: offering-revision-example
+ resolvedOffering:
# Publication maps allowed provider profiles to protected local copies.
# These local names do not expose provider inventory or grant use.
profilePolicy:
@@ -280,15 +279,19 @@ status:
- name: accelerated-16c-64g
customProfiles:
enabled: false
- access:
- consoleModes: []
- powerControl: true
+ capabilities:
+ installation:
+ sourceModes: [ManagedImage, DelegatedPXE]
+ executionDrivers: [ProviderAutomatic, CustomerRedfish]
+ management:
+ profiles: [ReadOnly, Provisioning]
+ powerControl: true
conditions:
- {type: SourceResolved, status: "True"}
```
-Resolution follows one hop to a definition and rejects cycles, chains, and mixed
-modes. Fleet checks current offering policy and authorization at Machine admission;
+Resolution follows one hop to MachineOffering and rejects cycles, chains, and
+consumer-authored policy overrides. Fleet checks current offering policy and authorization at Machine admission;
accepted Machines retain the source identities, revision, and requirements through
later edits. [Publication and access rules](#authorization-and-publication)
control who receives and may use an offering.
@@ -634,11 +637,15 @@ dispatch new work.
A named profile must be the provider-approved profile or its protected published
copy. Matching names or requirements do not establish that relationship. Other
profiles take the custom path, including profiles from another provider. The
-class must permit custom profiles, the adapter must accept the complete
+offering must permit custom profiles, the adapter must accept the complete
configuration, and published sources still require use permission.
-A MachineAllocation retains its accepted requirements and hardware snapshot through source
-changes or deletion. Later observations can change readiness, but a bound Machine
+A MachineAllocation retains the accepted offering identity and contract, immutable
+profile requirements, installation/management capabilities, and hardware snapshot
+through source changes or deletion. Offering/assignment withdrawal blocks new
+allocations, not retained runtime rights; reinstall still checks current action,
+image, secret and endpoint permissions and explicit safety/suspension controls.
+Cleanup remains authorized by retained obligations, even after withdrawal. Later observations can change readiness, but a bound Machine
never moves to another Machine. Owner references cannot replace Fleet's release
protocol.
@@ -731,23 +738,28 @@ metadata:
name: example-os-1
namespace: default
# The entire spec is immutable so recovery uses the same authorized inputs.
-# Machine and approved image are required. Fleet checks install and image-use
-# permissions and internally pins the Machine lifetime, image artifacts, and digests.
spec:
machineRef: {name: example}
# This required precondition prevents competing installs from replacing
# an unexpected OS. None identifies a blank allocation with no admitted install.
expectedPredecessor:
type: None
- imageRef: {name: qualified-linux}
-
- # Optional bootstrap data comes from a Secret in this namespace under
- # explicit caller authority. Protected copies of its identity, digest, and bytes
- # preserve the accepted input through Secret changes or deletion.
- bootstrapConfigRef: {name: example-bootstrap}
+ source:
+ managedImage:
+ imageRef: {name: qualified-linux}
+ bootstrapConfigRef: {name: example-bootstrap}
+ execution:
+ driver: ProviderAutomatic
+ completion:
+ mode: VerifiedImage
+ requiredAssurance: QualifiedImage
+ postCompletionBoot: LocalDisk
# The projector reports the retained installation outcome, not guest health.
status:
+ sourceMode: ManagedImage
+ completionMode: VerifiedImage
+ assurance: QualifiedImage
completedAt: "2026-10-27T12:00:00Z"
conditions:
- {type: Accepted, status: "True"}
@@ -755,6 +767,27 @@ status:
- {type: Ready, status: "True"}
```
+Exactly one non-null `source.managedImage` or `source.delegatedPXE` is required;
+both, neither, and mixed member fields are invalid. The entire spec, including
+predecessor, driver, and explicit completion mode/required assurance, is immutable.
+The [delegated example](api-examples.md#delegated-pxe-installation) uses the same
+allocation and predecessor rules. ManagedImage requires VerifiedImage /
+QualifiedImage; delegated PXE initially supports CustomerCallback /
+DelegatedContract only, with LocalDisk completion for both. Pending or unknown
+work has no achieved assurance. Ready describes completion of this explicit
+contract, not guest health. Managed consumers must require QualifiedImage at
+admission and activation/join (including initial-installation gates); delegated
+Ready cannot satisfy them.
+
+A provisioning-profile management session must bind an already admitted
+Installation and its exact operation. ProviderAutomatic and CustomerRedfish are
+mutually exclusive drivers, not independent boot authorities. CustomerRedfish is
+initially permitted only for delegated PXE. Sessions, automatic PXE, runtime power,
+and release share per-allocation serialization and provider fencing. Session
+closure and callbacks do not prove a running installer stopped. Independent
+executor fencing, PXE/network revocation, and local boot evidence are mandatory;
+unknown work holds the allocation. See the [shared BMC execution contract](../pxe-installation/README.md#shared-bmc-and-installation-execution).
+
A reinstall names the Machine's current `status.currentInstallationRef` in
`spec.expectedPredecessor`:
@@ -771,7 +804,7 @@ with one nonempty name. `None` is valid only for a verified blank allocation tha
has never admitted an installation. Fleet resolves the named predecessor in the
same project and namespace and privately pins its exact incarnation and allocation;
name reuse cannot replace it. A predecessor reference does not replace install or
-image-use permission.
+the current permissions required by the selected installation source.
Admission atomically consumes the precondition and retains the operation before
effects. Only one request can win. A retry of that request recovers its retained
@@ -833,9 +866,10 @@ Each resource defines its conditions:
- **MachineProfile:** `Accepted` validates structure without promising class
compatibility, authorization, or supply.
-- **MachineClass:** `Accepted` requires a resolved profile policy and provider
- contract. `SourceResolved` requires an authorized, resolved definition. Neither
- condition promises capacity or grants every reader source-use permission.
+- **MachineOffering:** `Accepted` validates provider profile and capability policy;
+ it neither reserves capacity nor grants acquisition access.
+- **MachineClass:** `SourceResolved` requires an authorized, resolved one-hop
+ offering. It promises neither capacity nor source-use permission to every reader.
- **Machine:** `Prepared` requires preparation evidence; `Healthy` requires health
evidence. `Available` also requires eligible policy and no live allocation or
cleanup obligation.
@@ -848,7 +882,9 @@ Each resource defines its conditions:
remains true until cleanup and quota release finish.
- **Installation:** `Accepted` requires an admitted operation with exact inputs.
`Executing=False` alone cannot establish success. `Ready=True` and `completedAt`
- require verified installation and platform handoff, not guest health. Verified
+ require the explicit completion contract, achieved assurance, executor fencing,
+ and platform handoff, not guest health. Managed consumers require QualifiedImage
+ even when a delegated Installation is Ready. Verified
failure or cancellation yields `Ready=False`; an uncertain outcome yields
`Unknown`.
@@ -938,7 +974,8 @@ The initial deployment accepts enrollment only from operator-controlled provider
#### Request authority
Machine admission checks the initiating principal's local create permission,
-provider-project `machineclasses.use`, and local `machineprofiles.use`. Published
+provider-project `machineofferings.use` and effective acquisition access through
+MachineOfferingAssignment, and local `machineprofiles.use`. Published
profiles also require `machineprofiles.use` on their canonical provider source;
custom profiles require no provider-profile grant. Cross-project checks preserve
the caller and change only the target scope, as the [IPClass checker][ipam-class-use]
@@ -958,8 +995,10 @@ use current Machine permissions and the retained contract; the creator's departu
does not reclaim the machine.
Each action needs separate admission. Installations require Machine `install`,
-image-use permission, and access to bootstrap input. Power changes retain their
-own caller and generation. Network resolution checks the caller's network-use
+image-use permission for managed images, and current secret/endpoint permissions
+for their selected source. They use retained capabilities rather than reacquiring
+a withdrawn offering or assignment; explicit safety/suspension still applies.
+Power changes retain their own caller and generation. Network resolution checks the caller's network-use
permission in each selected namespace and the required address authority. These
checks are Fleet integration requirements, not permissions granted by references.
@@ -975,7 +1014,7 @@ The following are protected service records, not fields a customer authors:
```text
(consumer project, local class name + private incarnation evidence)
- -> (provider project, definition name + private incarnation evidence, contract digest)
+ -> (provider project, MachineOffering name + private incarnation evidence, contract digest)
(consumer project, local profile name + private incarnation evidence)
-> (provider project, source profile name + private incarnation evidence, requirements)
```
@@ -1006,8 +1045,9 @@ Retain the following information:
- **Identity:** immutable `metadata.name`, state, consumer and provider project
context, customer Machine and provider MachineCapacity names, their private
object-incarnation evidence, request digest, and canonical asset identity.
-- **Accepted contract:** class and local/source profile names with private
- incarnation evidence and contract digests, exact
+- **Accepted contract:** offering identity, accepted contract revision and
+ installation/management capabilities, class publication provenance, and
+ local/source profile names with private incarnation evidence and digests, exact
requirements, dependency identities/content, provider configuration/catalog
revision, hardware snapshot, and logical-to-physical device mapping.
- **Authority:** authenticated principal, authorization decision,
@@ -1190,8 +1230,10 @@ sessions. Lifecycle integration must handle these triggers:
- **Project or entitlement suspension:** Deny new allocations, installations, and
consumer power actions. Bring committed work to a safe boundary and allow
authorized release without automatically wiping active machines.
-- **Class/profile withdrawal or Machine disablement:** Block future allocations,
- preserve active contracts, and admit reclaim separately.
+- **Offering/assignment/profile withdrawal or capacity disablement:** Block future
+ allocations, preserve active contracts and retained runtime capabilities, and
+ admit reclaim separately. Runtime safety/suspension is an explicit control, not
+ an inference from catalog withdrawal; cleanup remains authorized.
Milo's [project controller][milo-cleanup] waits for cleanup before reclaiming the
control plane, while [suspension admission][milo-suspension] permits deletes and
diff --git a/docs/enhancements/machine-lifecycle/acceptance-tests.md b/docs/enhancements/machine-lifecycle/acceptance-tests.md
index b611e74a..cab606be 100644
--- a/docs/enhancements/machine-lifecycle/acceptance-tests.md
+++ b/docs/enhancements/machine-lifecycle/acceptance-tests.md
@@ -2,6 +2,13 @@
Required validation for the [machine lifecycle contract](README.md).
+The proposed PXE/Redfish extension additionally requires the concrete
+[cross-system acceptance scenarios](../pxe-installation/README.md#acceptance-tests):
+competing boot/power/release operations, session closure with a live installer,
+offering withdrawal followed by reinstall, hub/cell partitions and stale reflected
+results, and managed-consumer assurance enforcement. These scenarios are not
+implemented or executed by this documentation change.
+
Implement the following tests through Milo tenancy, IAM, entitlement, and quota.
No implementation tests exist yet.
@@ -25,7 +32,7 @@ component, lose responses, and delay old workers to verify recovery.
- **Consumer copies a named profile or reuses its name:** Require the custom
path or protected publication provenance; reject lifetime substitution.
- **Provider recreates an allowed profile under the same name:** Block use until
- the provider removes and re-adds the entry in separate accepted class revisions,
+ the provider removes and re-adds the entry in separate accepted offering revisions,
or selects a new name. An unrelated class edit cannot renew approval.
- **Custom profiles are disabled, unsupported, or temporarily unverifiable:**
Report the specific admission result without reserving capacity or purchasing.
diff --git a/docs/enhancements/machine-lifecycle/api-examples.md b/docs/enhancements/machine-lifecycle/api-examples.md
index 706484a1..d9823e8b 100644
--- a/docs/enhancements/machine-lifecycle/api-examples.md
+++ b/docs/enhancements/machine-lifecycle/api-examples.md
@@ -5,67 +5,52 @@ They show different lifecycle points, not one simultaneous observation. Names,
identifiers, and timestamps are synthetic. They define no implemented APIs or
production timing requirements. The enhancement owns field semantics and lifecycle rules.
-- [Provider MachineClass](#provider-machineclass)
+- [Provider MachineOffering](#provider-machineoffering)
- [Consumer MachineClass](#consumer-machineclass)
- [MachineProfile](#machineprofile)
- [MachineCapacity](#machinecapacity)
- [Machine](#machine)
- [Installation](#installation)
+- [Delegated PXE Installation](#delegated-pxe-installation)
- [Reinstallation predecessor](#reinstallation-predecessor)
The exact MachineProfile CPU and memory shape, `Machine.status.requestedHardware`,
and the `RequestResolved` condition are implemented; the rest of these responses
remain proposed.
-## Provider MachineClass
+## Provider MachineOffering
```yaml
-apiVersion: metal.datumapis.com/v1alpha1
-kind: MachineClass
-# Classes span the provider project so namespaces can share an offering.
+apiVersion: provider.metal.datumapis.com/v1alpha1
+kind: MachineOffering
metadata:
- generation: 1
name: standard-metal
-# The definition owns offering policy; profiles own hardware requirements.
-# Its mode cannot change after creation.
spec:
- # Named profiles select provider-local contracts by name.
- # Fleet retains their resolved identities internally.
- # Custom profiles default to disabled and require provider validation.
profilePolicy:
allowedProfiles:
- name: accelerated-16c-64g
customProfiles:
enabled: false
-
- # Access describes supported operations, not permission to perform them.
- # The first implementation supports power control but no console sessions.
- access:
- consoleModes: []
- powerControl: true
-
- # Capacity limits selection to existing supply in one provider namespace.
- # Labels identify candidates; they confer no eligibility or purchase authority.
- capacity:
- machineCapacities:
- namespace: infra-ops
- selector:
- matchLabels:
- fleet.datumapis.com/capacity-pool: general-metal
-
- # Provider backend qualification and BMC enrollment are private cell state.
-
-# The projector reports the definition that the class evaluator accepted.
-# Acceptance validates the offering; it does not reserve or promise capacity.
+ capabilities:
+ installation:
+ sourceModes: [ManagedImage, DelegatedPXE]
+ executionDrivers: [ProviderAutomatic, CustomerRedfish]
+ completionContracts:
+ - {mode: VerifiedImage, assurance: QualifiedImage}
+ - {mode: CustomerCallback, assurance: DelegatedContract}
+ management:
+ profiles: [ReadOnly, Provisioning]
+ provisioningSteps: [OneTimePXE, Reset, LocalDisk]
+ powerControl: true
status:
- evaluatedRevision: class-revision-example
+ evaluatedRevision: offering-revision-example
conditions:
- type: Accepted
status: "True"
observedGeneration: 1
- lastTransitionTime: "2026-10-27T12:00:00Z"
- reason: DefinitionValid
- message: "Profile policy and provider contract resolved."
+ lastTransitionTime: "2026-11-14T12:00:00Z"
+ reason: OfferingValid
+ message: "Profile and capability contracts accepted; no capacity reserved."
```
## Consumer MachineClass
@@ -82,6 +67,8 @@ metadata:
# cannot become a definition or override its policy.
spec:
source:
+ apiGroup: provider.metal.datumapis.com
+ kind: MachineOffering
project: provider
name: standard-metal
@@ -90,8 +77,8 @@ spec:
status:
# The revision identifies the evaluated offering independently of this
# reference object's generation. It does not grant source-use permission.
- evaluatedRevision: class-revision-example
- resolvedClass:
+ evaluatedRevision: offering-revision-example
+ resolvedOffering:
# Publication maps allowed provider profiles to protected local copies.
# These local names do not expose provider inventory or grant use.
profilePolicy:
@@ -99,9 +86,13 @@ status:
- name: accelerated-16c-64g
customProfiles:
enabled: false
- access:
- consoleModes: []
- powerControl: true
+ capabilities:
+ installation:
+ sourceModes: [ManagedImage, DelegatedPXE]
+ executionDrivers: [ProviderAutomatic, CustomerRedfish]
+ management:
+ profiles: [ReadOnly, Provisioning]
+ powerControl: true
conditions:
- type: SourceResolved
status: "True"
@@ -453,6 +444,11 @@ status:
## Installation
+Future API example: the audited implementation has top-level `imageRef` and
+optional `bootstrapConfigRef`, with `phase`, `completedAt` and `conditions` in
+status. It does not implement the source union, driver, completion or assurance
+fields shown here. See the [pinned baseline](../pxe-installation/README.md#implementation-baseline).
+
```yaml
apiVersion: metal.datumapis.com/v1alpha1
kind: Installation
@@ -463,8 +459,6 @@ metadata:
name: example-os-1
namespace: default
# The entire spec is immutable so recovery uses the same authorized inputs.
-# Machine and approved image are required. Fleet checks install and image-use
-# permissions and internally pins the Machine lifetime, image artifacts, and digests.
spec:
machineRef:
name: example
@@ -472,17 +466,22 @@ spec:
# an unexpected OS. None identifies a blank allocation with no admitted install.
expectedPredecessor:
type: None
- imageRef:
- name: qualified-linux
-
- # Optional bootstrap data comes from a Secret in this namespace under
- # explicit caller authority. Protected copies of its identity, digest, and bytes
- # preserve the accepted input through Secret changes or deletion.
- bootstrapConfigRef:
- name: example-bootstrap
+ source:
+ managedImage:
+ imageRef: {name: qualified-linux}
+ bootstrapConfigRef: {name: example-bootstrap}
+ execution:
+ driver: ProviderAutomatic
+ completion:
+ mode: VerifiedImage
+ requiredAssurance: QualifiedImage
+ postCompletionBoot: LocalDisk
# The projector reports the retained installation outcome, not guest health.
status:
+ sourceMode: ManagedImage
+ completionMode: VerifiedImage
+ assurance: QualifiedImage
completedAt: "2026-10-27T12:00:00Z"
conditions:
- type: Accepted
@@ -523,3 +522,45 @@ expectedPredecessor:
type: Installation
name: example-os-1
```
+
+## Delegated PXE Installation
+
+Future design only: delegated PXE, CustomerRedfish and its callback/assurance
+contract are not implemented by the current image-based Installation API.
+
+This alternative successor uses the same retained allocation and consumes its
+predecessor atomically. It cannot run concurrently with another installation.
+The source union, execution driver, and completion contract are immutable. A
+provisioning session may attach only after this request is admitted; it cannot
+change its endpoint or create another boot operation. Required assurance is not
+achieved assurance: pending/unknown status must not claim DelegatedContract.
+
+```yaml
+apiVersion: metal.datumapis.com/v1alpha1
+kind: Installation
+metadata:
+ name: example-os-2
+ namespace: default
+spec:
+ machineRef: {name: example}
+ expectedPredecessor: {type: Installation, name: example-os-1}
+ source:
+ delegatedPXE:
+ endpoint:
+ url: https://pxe.customer.example/boot.ipxe
+ trustBundleRef: {name: customer-pxe-ca}
+ authorizationRef: {name: customer-pxe-credentials}
+ execution:
+ driver: CustomerRedfish
+ completion:
+ mode: CustomerCallback
+ requiredAssurance: DelegatedContract
+ postCompletionBoot: LocalDisk
+```
+
+After independently verified executor shutdown, PXE/network revocation, local
+boot, and management validation of the reflected result, status may report
+`sourceMode: DelegatedPXE`, `completionMode: CustomerCallback`,
+`assurance: DelegatedContract`, and `Ready=True`. Neither the callback nor session
+closure proves shutdown. Managed consumers requiring QualifiedImage reject this
+contract and cannot use its Ready condition to open their activation/join gate.
diff --git a/docs/enhancements/machine-lifecycle/diagrams/public-resources.svg b/docs/enhancements/machine-lifecycle/diagrams/public-resources.svg
index 172d1c76..2b223aa1 100644
--- a/docs/enhancements/machine-lifecycle/diagrams/public-resources.svg
+++ b/docs/enhancements/machine-lifecycle/diagrams/public-resources.svg
@@ -1,6 +1,6 @@
diff --git a/docs/enhancements/pxe-installation/README.md b/docs/enhancements/pxe-installation/README.md
new file mode 100644
index 00000000..6d6a5306
--- /dev/null
+++ b/docs/enhancements/pxe-installation/README.md
@@ -0,0 +1,622 @@
+---
+status: provisional
+stage: alpha
+---
+
+# PXE installation and delegated network boot
+
+- [Summary](#summary)
+- [Implementation baseline](#implementation-baseline)
+- [Motivation](#motivation)
+- [Proposal](#proposal)
+ - [User stories](#user-stories)
+ - [Installation modes](#installation-modes)
+ - [Managed golden image](#managed-golden-image)
+ - [Delegated customer PXE](#delegated-customer-pxe)
+- [Design details](#design-details)
+ - [Control-plane placement](#control-plane-placement)
+ - [API design](#api-design)
+ - [Admission and authority](#admission-and-authority)
+ - [Shared BMC and installation execution](#shared-bmc-and-installation-execution)
+ - [Location execution](#location-execution)
+ - [Completion and evidence](#completion-and-evidence)
+ - [Release and recovery](#release-and-recovery)
+ - [Security boundaries](#security-boundaries)
+ - [Acceptance tests](#acceptance-tests)
+- [Production readiness review questionnaire](#production-readiness-review-questionnaire)
+- [Drawbacks](#drawbacks)
+- [Alternatives](#alternatives)
+- [Open design questions](#open-design-questions)
+- [Infrastructure needed](#infrastructure-needed)
+
+## Summary
+
+Metal defines the common public installation contract; Fleet is an optional
+provider implementation, not a prerequisite for publishing or consuming it.
+This proposal describes two ways to install an allocated bare-metal machine. Fleet can
+automatically install a platform-approved golden image, or it can temporarily
+chain the machine to a customer-supplied PXE service. Both paths use the same
+immutable `Installation`, allocation, federation handoff, power, boot fencing,
+and release contracts.
+
+The two-source public API and delegated execution below are target contracts,
+not implemented or hardware-qualified. The implementation baseline below separates
+the existing image-based path from that future scope. These proposed shapes do
+not impose a compatibility or migration requirement on earlier drafts. The [canonical lifecycle design](../machine-lifecycle/README.md)
+and [examples](../machine-lifecycle/api-examples.md) use the same source union.
+
+Companion review on 2026-11-14 used [BMC #41](https://github.com/datum-cloud/fleet/pull/41)
+at `b72c314624bd0b05849059815619c9783607818c`,
+[control planes #51](https://github.com/datum-cloud/fleet/pull/51) at
+`16e7cb2a268cf20bc58d490493b5a3fef9237027`, and
+[offerings #58](https://github.com/datum-cloud/fleet/pull/58) at
+`031477d011090ea6ec378d526e975bbfae07a060`. The decisions here replace those drafts'
+provider MachineClass policy, direct cell-to-hub status writing, and independent
+provisioning-session boot authority where they differ. Companion branches must
+converge on these contracts; this PR does not edit their branches or rewrite the
+[pinned source provenance](../../proposals/fleet-management/MIGRATION.md).
+
+The Fleet management control plane admits the exact operation before any effect.
+The Federation Control Plane delivers that operation to one selected location
+control plane. The location prepares networking, controls one-time network boot,
+executes the selected installation mode, and returns attributable evidence.
+
+Fleet does not adopt a separate provisioning platform. A location may use
+Kubernetes CRDs, Jobs, and Kube Resource Orchestrator (KRO) to compose local work,
+but those resources are execution details and cannot allocate a machine, expand
+the admitted operation, or release capacity.
+
+
+
+## Implementation baseline
+
+Source audit on 2026-11-29 compares [PR #59](https://github.com/datum-cloud/fleet/pull/59)
+at `9722b295fc96ef49312f253d18c5dad68ffc82ec` with
+[`feat/manual-inventory-records` at `fd0f33f7a740871850b97abc190e28f6f71a3477`][implementation].
+This records source behavior and existing local acceptance documentation; it does
+not establish deployment, production readiness, or physical hardware qualification.
+
+| Surface | Implemented at the audited revision | Future contract in this proposal |
+| --- | --- | --- |
+| Public Installation | Immutable `machineRef`, `expectedPredecessor`, `imageRef`, optional `bootstrapConfigRef`; status has `phase`, `completedAt`, `conditions`. | `source.managedImage` / `source.delegatedPXE`, `execution.driver`, `completion`, and reported source mode / completion mode / assurance. |
+| Image execution | Private `DeviceInstallation` pins image, optional sealed bootstrap input, boot interface, target disks and delivery inputs. Delivery selects `NetworkBoot` or `VirtualMedia` from the site's declaration. Schema support for bootstrap does not establish support by every worker. | Delegated endpoint/trust/credential resolution and the customer PXE callback contract. Virtual media is a delivery mechanism, not a third public source mode. |
+| Effect authority | `MachineAllocation` retains the consumer, Device, accepted contract, hardware, authority, cleaning policy and targets. `DeviceCustody` serializes admitted Device operations; assignments carry exact inputs, snapshot and fence. | A customer provisioning session bound to that admission, `CustomerRedfish` driver selection and shared session-step deduplication. Existing Redfish workers are provider execution, not customer Redfish delegation. |
+| Release | `DeviceWipe` retains the cleaning policy digest, target disks, boot interface and operation-scoped boot inputs. `OutcomeUnknown` leaves a custody hold; a terminal operation does not make capacity free. | The same cleanup gates extended to every delegated endpoint, session and remote installer effect path. |
+| Boot network | Per-operation IPAM claims, synchronized reservations, served/withdrawn evidence and central Kea integration exist in source. | Qualification of the selected central DHCP and boot-file topology through site-router relays; see the [boot-network contract](https://github.com/datum-cloud/fleet/pull/87). |
+| Completion | Typed site evidence and validated results drive the image-based lifecycle. | `QualifiedImage` / `DelegatedContract` are proposed assurance values, not current status fields or a qualification conferred by a successful lab run. |
+
+The current Redfish network-boot phases arm `Pxe`; the boot service serves iPXE
+scripts, not an EFI loader. Central UEFI HTTP loader delivery and firmware
+boot-URL selection remain unqualified future work, not an implemented alternative
+established by this source audit.
+
+For comparison, this synthetic request uses the current public field shape. Its
+image name is illustrative; it makes no claim that a catalog entry or qualified
+hardware exists:
+
+```yaml
+apiVersion: metal.datumapis.com/v1alpha1
+kind: Installation
+metadata:
+ name: example-os-current
+ namespace: default
+spec:
+ machineRef: {name: example}
+ expectedPredecessor: {type: None}
+ imageRef: {name: example-linux}
+```
+
+The source map is [public types][public-types], [Device operation types][operation-types],
+[custody coordinator][custody-source], [site runner][site-source], and
+[federation transport][transport-source]. The allocation, physical Device,
+installation incarnation and any managed node identity remain distinct.
+Creating or importing inventory starts unverified custody; it neither provisions
+the Device nor exposes occupied capacity.
+
+The current result path is management-authored `MachineAllocationHandoff` on the
+hub → selected-cell assignment → worker journal/result → cell observer status →
+Karmada reflection → management validation and projection. `Cell.Work` runs the
+assignment without writing status; the observer publishes stored results. The
+transport checks selected-cell identity, assignment digest, Device, operation and
+fence. Fence and delivery observations have freshness checks; this is not a claim
+that every terminal result has a uniform maximum age. The target evidence freshness
+requirements below still need qualification for each evidence type. A Job's
+success or kro readiness grants no allocation or completion authority.
+
+[Site execution][site-execution-source] documents an implemented **local acceptance**
+composition. Its libvirt runtime, in-cell boot Service, shared volume and lab
+Redfish emulator do not prescribe production placement. The [graph source][graph-source]
+references Flux-owned shared services and storage; kro creates only per-handoff
+Jobs, ServiceAccounts, Roles and RoleBindings. Central hosting preserves this
+single-writer split. Neither graph deletion nor worker expiry proves a remote
+installer stopped; uncertain execution, withdrawal or cleaning keeps custody held.
+
+[implementation]: https://github.com/datum-cloud/fleet/tree/fd0f33f7a740871850b97abc190e28f6f71a3477
+[public-types]: https://github.com/datum-cloud/fleet/blob/fd0f33f7a740871850b97abc190e28f6f71a3477/internal/api/v1alpha1/types.go
+[operation-types]: https://github.com/datum-cloud/fleet/blob/fd0f33f7a740871850b97abc190e28f6f71a3477/internal/api/operations/v1alpha1/types.go
+[custody-source]: https://github.com/datum-cloud/fleet/tree/fd0f33f7a740871850b97abc190e28f6f71a3477/internal/custody
+[site-source]: https://github.com/datum-cloud/fleet/blob/fd0f33f7a740871850b97abc190e28f6f71a3477/internal/site/runner.go
+[transport-source]: https://github.com/datum-cloud/fleet/blob/fd0f33f7a740871850b97abc190e28f6f71a3477/internal/coordination/transport.go
+[site-execution-source]: https://github.com/datum-cloud/fleet/blob/fd0f33f7a740871850b97abc190e28f6f71a3477/docs/operations/site-execution.md
+[graph-source]: https://github.com/datum-cloud/fleet/blob/fd0f33f7a740871850b97abc190e28f6f71a3477/config/site/graph/rgd.yaml
+
+## Motivation
+
+Some customers want a ready machine built from a supported platform image. Other
+customers already operate an installation system and need Fleet to hand an
+allocated machine to that system without giving it broad DHCP, BMC, or provider
+inventory access.
+
+Treating those as unrelated workflows would duplicate boot, power, fencing, and
+recovery logic. Giving a customer direct control of a shared provisioning network
+would let its system affect machines outside its allocation. Requiring Fleet to
+understand each customer installer would create an unnecessary backend contract.
+
+### Goals
+
+- Install approved golden images through an automated PXE workflow.
+- Chain one allocated machine to a customer PXE endpoint for a bounded session.
+- Keep Fleet in control of allocation, power, the first boot decision, fencing,
+ release, and provider cleanup.
+- Use one immutable Installation and one durable handoff protocol for both modes.
+- Keep DHCP, IPAM, switch configuration, and routing with their existing owners.
+- Report what Fleet verified without claiming knowledge of an opaque customer OS.
+
+### Non-goals
+
+- Running or adopting Tinkerbell, Metal3, Ironic, or another provisioning control
+ plane as part of Fleet.
+- Giving customers BMC credentials or authority to answer DHCP on a shared
+ provisioning network.
+- Supporting a permanently network-booted workload in the first release.
+- Continuously managing or monitoring the installed operating system.
+- Making KRO, a Job, or a location-local record an allocation authority.
+
+## Proposal
+
+### User stories
+
+- A customer selects a supported golden image and receives an installed machine
+ without operating a provisioning service.
+- A customer with an existing PXE service installs its own operating system on
+ an allocated machine while Fleet retains power and boot control.
+- A provider controls installation and management capabilities on MachineOffering.
+- An operator can recover a lost response without repeating a destructive action
+ or exposing uncertain capacity to another customer.
+
+The two customer journeys share admission and fencing but differ in who supplies
+the installer and what Fleet can verify:
+
+
+
+### Installation modes
+
+An Installation has exactly one source:
+
+| Mode | Installer and image owner | Fleet verifies |
+| --- | --- | --- |
+| `ManagedImage` | Fleet resolves a platform-approved image and qualified recipe. | Exact image and recipe, target disk evidence, boot fencing, and required first-boot evidence. |
+| `DelegatedPXE` | The customer supplies a PXE endpoint and controls its installer. | Exact delegation target, boot session, customer result, boot fencing, and the configured post-install boot observation. |
+
+`MachineOffering` in `provider.metal.datumapis.com` owns installation and
+management capability policy. `MachineClass` in `metal.datumapis.com` is only a
+consumer-published, one-hop view of that offering. `MachineOfferingAssignment`
+grants acquisition access, not runtime boot authority. `MachineProfile` contains
+immutable hardware requirements, never installation, management, or audience policy.
+
+Allocation retains the accepted offering identity and contract revision, exact
+profile identity and requirements, and installation/management capabilities.
+Offering or assignment withdrawal blocks new allocations, not retained runtime
+rights. A reinstall uses that retained contract even if the catalog copy or
+offering is gone; it cannot acquire capabilities added after allocation. Admission
+still checks current Machine install permission, image-use permission for managed
+images, secret-use and endpoint permission as applicable, explicit safety or
+suspension controls, network feasibility, and predecessor state. Unavailable
+authorization is unknown, not permission. Cleanup remains authorized by retained
+provider obligations despite withdrawal, suspension, or project deletion.
+
+### Managed golden image
+
+Fleet resolves the approved image, bootstrap configuration, hardware compatibility,
+and location recipe. It retains their exact identities, bytes or digests, and
+revisions before dispatch. The selected location then:
+
+1. obtains provisioning-network readiness from its owner;
+2. authorizes one network boot for the selected machine;
+3. boots a small Fleet installer;
+4. writes and verifies the pinned image on the admitted target disk;
+5. revokes network boot and requests local-disk boot; and
+6. returns installation and required first-boot evidence.
+
+### Delegated customer PXE
+
+The customer provides an HTTPS iPXE endpoint, trust configuration, optional
+endpoint credentials, and a completion policy. Fleet retains protected copies of
+those inputs before dispatch. The centrally hosted boot service remains the first boot
+decision point for that logical site and chains only the admitted machine to the customer endpoint.
+
+The customer does not receive BMC credentials or DHCP authority. Its system may
+install any OS allowed by service policy, then sends an operation-scoped completion
+callback. That is only a customer assertion. The location separately proves the
+installer stopped, revokes delegation, performs the admitted local-disk transition,
+and returns the evidence required by the Installation contract.
+
+The first release requires delegated PXE to finish with local-disk boot. A
+permanently network-booted runtime needs a separate design because it retains boot
+authority for the life of the allocation.
+
+## Design details
+
+### Control-plane placement
+
+The design follows the Fleet management control-plane boundaries:
+
+| Boundary | Responsibility |
+| --- | --- |
+| Provider project API | MachineOffering capability policy and MachineOfferingAssignment acquisition access; Fleet-backed providers additionally own MachineCapacity and inventory. |
+| Consumer project API | Machine and immutable Installation requests and projected status. |
+| Fleet private storage | Exact allocation, caller authority, admitted inputs, operation journal, credentials, and cleanup custody. |
+| Fleet management runtime | Admission, allocation coordination, handoff creation, and result validation. |
+| Federation hub | Management-authored admitted intent and Karmada-reflected selected-cell results. |
+| Selected logical site/cell | Delivered intent, cell-local results, network integration, power, fencing and evidence; assignment does not require on-premises hosting. |
+| Central provisioning services | DHCP and boot-file hosting, scoped to the admitted operation and logical site; Flux owns shared service configuration. |
+| Physical site | Machine, BMC and site-router DHCP relay; no provisioning appliance. |
+
+The Fleet runtime's deployment cluster is not the canonical store for project
+objects or federation intent. Kubernetes UIDs are local evidence and do not cross
+project, hub, or cell API boundaries as authored references.
+
+The only status path is management-authored hub intent -> selected-cell delivery
+-> cell-local results -> Karmada reflection -> management validation -> public
+projection. Cells have no hub or project API credentials. Karmada transports
+results, not authority or readiness decisions. Management validates selected-cell
+identity, retained operation and revision, allocation, fencing token, and evidence
+freshness before projection. Wrong-cell, duplicated, stale, or conflicting results
+cannot advance readiness. A partition leaves results pending or unknown; absence
+of a result never proves completion or cancellation.
+
+### API design
+
+The following shapes are future proposals, not implemented schemas. The current
+API uses top-level `imageRef` and optional `bootstrapConfigRef`, as recorded in
+the [implementation baseline](#implementation-baseline). Do not submit these
+source-union examples to the current API. `Installation.spec`
+remains immutable and keeps the existing predecessor contract.
+
+```yaml
+apiVersion: metal.datumapis.com/v1alpha1
+kind: Installation
+metadata:
+ name: example-os-1
+ namespace: default
+spec:
+ machineRef: {name: example}
+ expectedPredecessor: {type: None}
+ source:
+ managedImage:
+ imageRef: {name: qualified-linux}
+ bootstrapConfigRef: {name: example-bootstrap}
+ execution:
+ driver: ProviderAutomatic
+ completion:
+ mode: VerifiedImage
+ requiredAssurance: QualifiedImage
+ postCompletionBoot: LocalDisk
+```
+
+A delegated request selects the other union member:
+
+```yaml
+spec:
+ machineRef: {name: example}
+ expectedPredecessor: {type: None}
+ source:
+ delegatedPXE:
+ endpoint:
+ url: https://pxe.customer.example/boot.ipxe
+ trustBundleRef: {name: customer-pxe-ca}
+ authorizationRef: {name: customer-pxe-credentials}
+ correlation:
+ workflowID: example-workflow-1
+ templateDigest: sha256:example
+ execution:
+ driver: CustomerRedfish
+ completion:
+ mode: CustomerCallback
+ requiredAssurance: DelegatedContract
+ postCompletionBoot: LocalDisk
+```
+
+Exactly one non-null `source.managedImage` or `source.delegatedPXE` is required;
+both, neither, and fields from the other member are rejected. Source, predecessor,
+execution driver, and completion contract are immutable. Completion and assurance
+are explicit, not inferred from a callback or `Ready`. ManagedImage requires
+`VerifiedImage` and `QualifiedImage`; delegated PXE initially supports only
+`CustomerCallback` and `DelegatedContract`. Both require `LocalDisk`. Other
+combinations are rejected until a separate qualified evidence contract exists.
+
+The API server applies any other defaults before Fleet captures the request digest. Fleet
+resolves referenced Secrets under the caller's authority and retains protected
+copies needed for recovery. Credentials and rendered bootstrap content do not
+enter the federation handoff.
+
+MachineOffering defines allowed source modes, execution drivers, completion and
+assurance combinations, and management profiles/Redfish steps. Publication exposes
+only the permitted summary through MachineClass; it cannot override the source. The exact
+provider executor, BMC enrollment, installer recipe, and boot-service configuration
+remain private location state.
+
+### Admission and authority
+
+Before dispatch, Fleet retains:
+
+- provider and consumer Project identities;
+- Machine, MachineAllocation, MachineCapacity, and Installation incarnations;
+- the retained MachineOffering identity, accepted contract and capability policy,
+ MachineClass publication provenance, and immutable MachineProfile requirements;
+- the consumed predecessor and operation identity;
+- target location, boot interface, and qualified firmware mode;
+- image, recipe, bootstrap, endpoint, trust, and credential digests as applicable;
+- current action/source permissions and explicit safety/suspension decisions,
+ plus the allocation's retained acquisition and quota evidence; and
+- an executor fencing token and required completion evidence.
+
+The handoff contains the exact admitted target and non-secret execution inputs or
+protected capability references. Delivery to a cell is not fresh authorization.
+The cell cannot select another machine, endpoint, image, or installation mode.
+
+Retain the operation's validity interval and allowed step budget before dispatch.
+Disconnected cells may only recover/execute within that retained scope and
+validity; expiry prevents new effects but does not prove a running installer
+stopped. Renewal is a management decision for the same exact operation, never a
+cell-local expansion. Fencing and cleanup continue under retained obligations.
+
+Admission atomically consumes the exact predecessor with the operation record.
+`None` means a verified blank allocation with no previously admitted installation;
+otherwise use the current Installation name, resolved to its retained incarnation.
+Competing successors cannot both win. Active or uncertain work offers no usable
+predecessor. Request deletion, session closure, or a callback does not restore it.
+After failure, a successor requires proven fencing and intact prior state;
+partial or uncertain effects require recovery of the same operation or release.
+
+### Shared BMC and installation execution
+
+A provisioning-profile `MachineManagementSession` must name an already admitted
+Installation in the same project/namespace and allocation. Admission privately
+binds its exact incarnation, operation, selected cell, fence, driver, and permitted
+step set. Missing, foreign, stale, or completed bindings fail closed. A session
+cannot create an Installation, select another endpoint or image, or arm independent
+boot authority. Read-only observation does not grant provisioning permissions.
+Current session create/use permissions and explicit suspension checks still apply;
+neither the retained capability nor knowledge of an Installation name grants access.
+
+Exactly one execution driver is selected at Installation admission. The public
+`ProviderAutomatic` name is provider-neutral: Fleet runs the automatic sequence
+when Fleet fulfills the offering; another provider implements the same retained
+authority and evidence contract without deploying Fleet:
+
+| Driver | Effect authority |
+| --- | --- |
+| `ProviderAutomatic` | The provider (Fleet in this design) orders all boot/power steps. Customer provisioning-session writes are rejected; observation may be allowed. |
+| `CustomerRedfish` | The customer submits the offering-permitted Redfish steps through a bound provisioning session. The gateway journals and executes only steps of the admitted Installation; Fleet does not run an automatic competing sequence. |
+
+CustomerRedfish is permitted only for delegated PXE in the initial qualification.
+The gateway maps allowed one-time PXE, reset, and local-disk transitions to the
+retained plan; arbitrary boot targets, persistent overrides, virtual media, and
+unadmitted resets are rejected. Source choice and execution driver are distinct:
+delegated PXE may also use ProviderAutomatic. Switching drivers requires settlement
+and a new admitted successor, not editing a session.
+
+All automatic, gateway, runtime power, and release effects share one durable
+per-allocation serialization and fencing domain. A provisioning session attaches
+to the Installation's reservation, not a second operation authority. Concurrent
+sessions cannot duplicate a step. Power intent queues or fails with an explicit
+conflict while installation owns the reservation. Release closes new admission,
+revokes sessions, and takes over only through verified fencing and settlement;
+there is no lock-free emergency reset path. Recovery deduplicates provider steps
+using retained operation identity, including after a lost Redfish response.
+
+Closing or expiring a session revokes access but does not settle an installer
+already running in RAM or remotely. A callback proves neither executor shutdown
+nor boot revocation. Completion requires independent stop/fence evidence for all
+old effect paths, verified PXE/network revocation, and observed local-disk boot.
+If those cannot be proven, keep the Installation unknown and capacity occupied.
+Safety/release fencing is retained recovery authority, not a second install driver.
+
+### Location execution
+
+The selected topology centrally hosts **both DHCP and boot files**. Site routers
+relay firmware DHCP requests to the central DHCP service; firmware fetches the
+selected boot files over the routed provisioning network. No provisioning
+appliance, DHCP server or boot-file server is required in the physical cell/site.
+A logical site's assignment, enrollment, journal and fencing scope identify which
+machines it may serve, not where its Kubernetes workers or shared services run.
+
+The networking owner controls relays, routing, IPAM and isolation. Fleet supplies
+only admitted operation-scoped boot intent and consumes served/withdrawn evidence.
+The central boot service serves an installer only for a live, exact admission;
+without one it returns local boot and must not authorize installation. The
+proposed delegated path adds
+an allocation-scoped proxy to the admitted customer endpoint. A central service
+outage blocks new boot progress and can leave withdrawal unknown; it never proves
+cleanup. The [boot-network enhancement](https://github.com/datum-cloud/fleet/pull/87) owns the detailed
+relay, DHCP and address contract.
+
+The proxy validates the endpoint and TLS policy, prevents unapproved redirects,
+keeps endpoint credentials away from the machine, and records the response digest.
+Customer artifacts referenced by the returned script must use approved HTTPS
+origins or the same scoped proxy.
+
+The centrally hosted implementation may use:
+
+- shared Deployments for boot files and, in future, delegated proxies/callbacks;
+- a private execution CRD for the delivered handoff;
+- Jobs for bounded Redfish, power, verification, and fencing actions; and
+- KRO to create and order the per-operation resources: one bounded Job and its
+ scoped identity and RBAC for each delivered handoff.
+
+Long-lived shared services, their policies and RBAC, and durable provider state
+have one configuration owner: the environment's GitOps writer (Flux), not an
+operation graph. An operation graph references them and cannot create, change or
+delete them, so its lifecycle cannot remove a shared service or a provider
+journal. Jobs must recover a retained provider operation before retrying. Job
+completion does not by itself prove a remote effect. A KRO instance is derived
+state and cannot replace the hub handoff, operation journal, or provider fence.
+
+The local multi-plane acceptance implements this pattern for a disposable
+libvirt cell with kro v0.9.4. Flux owns the VM runtime Deployment, the boot
+Deployment and Service, the journal-only status observer and the retained
+journal volume. kro creates only per-handoff RBAC and bounded Jobs. See
+[Kubernetes-native site execution][site-execution-source]. That is
+local evidence for ownership and execution, not the selected physical hosting
+topology or hardware qualification. In particular, the lab boot Service running
+in the disposable cell does not imply a production appliance at each site.
+
+
+
+### Completion and evidence
+
+In the future delegated contract, the logical site issues a short-lived callback
+capability through the centrally hosted callback service. The callback
+can report the retained operation's result but cannot choose another target,
+extend authority, request release, or write public status.
+
+Managed-image success proves the qualified image and recipe evidence required by
+the retained offering. Delegated success proves only that Fleet delegated the correct
+machine, the customer reported completion, Fleet revoked the delegation, and the
+configured local boot was observed, with the old executor demonstrably stopped.
+Public status reports `sourceMode`, `completionMode`, and achieved `assurance`
+(`QualifiedImage` or `DelegatedContract`), separately from conditions. Pending or
+unknown work has no achieved assurance. An opaque customer OS is not platform verified.
+
+Managed consumers must explicitly require `QualifiedImage` at admission and
+activation/join gates; `Ready=True` with `DelegatedContract` cannot satisfy them.
+The same rule applies to a Machine's initial-installation gate for that consumer.
+There is no callback-based promotion from delegated to qualified assurance.
+
+Fleet validates the target, operation revision, fencing token, evidence freshness,
+and required conditions before setting Installation `Ready=True`. Installation
+readiness reports completion of the admitted contract, not continuing guest health.
+
+### Release and recovery
+
+A timeout or lost response does not prove that an installer stopped. Fleet marks
+the outcome unknown, retains the allocation, and recovers the same operation. A
+takeover must fence the old executor at the boot, network, power, and provider
+effect boundaries before continuing.
+
+Release closes new boot and power admission, revokes PXE and console sessions,
+fences provisioning networking, settles in-flight work, and performs required
+provider cleanup. Capacity returns to supply only after cleanup is verified.
+Consumer project deletion does not remove these provider-side obligations.
+
+### Security boundaries
+
+- The platform remains the first DHCP and iPXE decision point.
+- A delegated endpoint applies to one allocation and one admitted operation.
+- Customer endpoint access is restricted against server-side request forgery and
+ cross-allocation data exposure.
+- BMC, provider, bootstrap, and endpoint credentials remain in protected stores.
+- Boot requests authenticate more than a caller-supplied MAC address.
+- Callback capabilities are short lived, single operation, and non-authoritative.
+- Logs and evidence retain correlation and digests without secret content.
+
+### Acceptance tests
+
+Qualify one UEFI, Redfish, non-Talos hardware and OS combination. Test both modes
+through real project admission, federation delivery, networking, and disposable
+hardware.
+
+These are required cross-system tests, not executed tests in this documentation
+PR. In addition to the cases below, acceptance requires:
+
+- only the allocated machine can use a boot session;
+- a managed install writes the retained image and boots from the selected disk;
+- a delegated endpoint cannot affect another machine or shared DHCP;
+- duplicate delivery and duplicate Jobs recover one retained operation;
+- endpoint, cell, image, predecessor, and fencing mismatches cause no effects;
+- lost callbacks and cell outages remain unknown rather than ready;
+- revocation prevents another network boot after completion;
+- release cannot expose capacity before network and provider cleanup; and
+- customer project deletion preserves recovery and cleanup custody.
+
+| Scenario and fault injection | Required observable result |
+| --- | --- |
+| Submit both/neither source members, mixed fields, an unsupported completion/assurance pair, or a provisioning session without an admitted Installation (including foreign/recreated names). | Reject before effects; no predecessor consumption or boot authority for invalid requests. Session access also requires current create/use permission. |
+| Race ProviderAutomatic PXE with a provisioning-session boot override, two successor requests, and runtime power-on. | One predecessor consumption and one install driver; session write rejected, other successor conflicts, power blocked; provider journal has no duplicate or competing effect. |
+| CustomerRedfish sends duplicate resets through two sessions; lose the provider response, then recover gateway and Fleet workers. | Both sessions bind the same admitted operation; one retained step is recovered, never blindly replayed. No automatic installer driver starts. |
+| Close the provisioning session or send a successful callback while its installer remains active; concurrently release. | No Ready or usable predecessor; release blocks new steps, fences all old paths and verifies cleanup before reuse. Closure/callback alone never settles work. |
+| Withdraw offering/assignment and delete the published class after allocation; request a reinstall and a new Machine. | New allocation denied; reinstall retains original offering/profile/capabilities and succeeds only with current install/source permissions. A later offering capability expansion is not inherited. |
+| Repeat that reinstall with revoked image/secret/endpoint permission or explicit runtime suspension. | No new install effects; an authorization outage is unknown. Retained cleanup still completes without reacquiring the withdrawn offering. |
+| Partition hub from selected cell during boot; expire authority, duplicate delivery, inject wrong-cell and stale-fence results, then reconnect. | Cell writes only local results, has no hub credentials, and starts no effects beyond its retained validity. Karmada reflects; management rejects mismatches and reconciles the same operation without inferring stop from expiry. |
+| Customer callback and local boot succeed but image evidence is absent. | At most DelegatedContract after independent fencing proof; managed admission/join/initial gates requiring QualifiedImage remain closed even if Installation Ready is true. |
+| Managed image has wrong digest or stale first-boot evidence; later deliver valid qualified evidence through reflection. | No initial readiness or assurance on invalid evidence; only the validated exact operation can report QualifiedImage and open the managed gate. |
+
+## Production readiness review questionnaire
+
+### How is the feature enabled or disabled?
+
+Enable installation modes per accepted MachineOffering and qualified location.
+Rollback stops new admission while preserving handoff recovery, boot revocation,
+and release. Disabling a controller does not cancel remote work.
+
+### What must operators monitor?
+
+Monitor active and expired boot sessions, handoff delivery lag, endpoint failures,
+unknown operations, stale callbacks, fencing failures, cleanup age, and quarantined
+capacity. Correlate each event with the retained allocation and operation.
+
+### How are failures recovered?
+
+Query the retained operation and location evidence before retrying. Reuse its
+identity and exact inputs. Fence the previous executor before takeover. Missing or
+conflicting evidence blocks readiness and capacity reuse.
+
+### What must upgrades preserve?
+
+Preserve allocation custody, immutable Installation inputs, handoff revisions,
+executor fencing, active boot sessions, callback correlation, and cleanup
+obligations. Test restore while both installation modes run. This proposal imposes
+no backwards-compatibility contract on earlier draft APIs.
+
+## Drawbacks
+
+The platform must operate central DHCP and boot services reachable through each
+qualified site's routers, and a small ephemeral installer on each admitted machine.
+Delegated PXE adds endpoint security and weaker OS assurance.
+Strict fencing can keep a machine unavailable when a customer system or location
+cannot prove that work stopped.
+
+## Alternatives
+
+- **Adopt a provisioning platform:** rejected because it adds overlapping hardware,
+ workflow, networking, and lifecycle authorities.
+- **Give customers direct DHCP or BMC access:** rejected because it can affect
+ machines outside the allocation and is difficult to revoke safely.
+- **Treat delegated PXE as allocate-only with no Fleet operation:** insufficient
+ when Fleet must provide one-time PXE, power, network isolation, and recovery.
+- **Create a public ProvisioningClass now:** deferred. MachineOffering policy and the
+ immutable Installation source establish the first required contract without a
+ second offering hierarchy.
+
+## Open design questions
+
+- Detailed MachineOffering capability schema and union validation implementation.
+- Portable handoff encoding and Karmada reflection enforcement.
+- Boot identity beyond MAC address for the first qualified hardware.
+- Customer endpoint connectivity, TLS trust, proxying, and artifact-origin policy.
+- The managed installer image, action format, target-disk selector, and signing.
+- Callback authentication and the minimum delegated completion evidence.
+- Whether repeated endpoint configuration later warrants a reusable public kind.
+- Durable journal, credential broker, evidence retention, and restore protocols.
+
+Record these decisions and their rationale before enabling hardware effects.
+
+## Infrastructure needed
+
+Testing needs one provider project, two consumer projects, a federation hub, one
+selected logical site control plane, networking-owner integration, central DHCP
+and boot services, a site-router relay, an independent customer PXE endpoint,
+protected artifact and credential storage, and disposable Redfish/UEFI hardware. Failure injection must cover lost
+responses, duplicate delivery, stale workers, endpoint outages, control-plane
+outages, credential revocation, and storage restoration.
diff --git a/docs/enhancements/pxe-installation/diagrams/architecture.svg b/docs/enhancements/pxe-installation/diagrams/architecture.svg
new file mode 100644
index 00000000..3d516dd2
--- /dev/null
+++ b/docs/enhancements/pxe-installation/diagrams/architecture.svg
@@ -0,0 +1,75 @@
+
diff --git a/docs/enhancements/pxe-installation/diagrams/installation-workflows.svg b/docs/enhancements/pxe-installation/diagrams/installation-workflows.svg
new file mode 100644
index 00000000..6f7fc2f6
--- /dev/null
+++ b/docs/enhancements/pxe-installation/diagrams/installation-workflows.svg
@@ -0,0 +1,111 @@
+
diff --git a/docs/enhancements/pxe-installation/diagrams/user-journeys.svg b/docs/enhancements/pxe-installation/diagrams/user-journeys.svg
new file mode 100644
index 00000000..2c3e7556
--- /dev/null
+++ b/docs/enhancements/pxe-installation/diagrams/user-journeys.svg
@@ -0,0 +1,118 @@
+