Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ restart the old manager, modify private records, rotate credentials, or remove
provider state. Continue with the allocation, restart recovery, and release
checks described above.

On November 12, 2026, the staging server accepted this ownership-only dry run:
the complete Deployment spec remained identical at zero replicas, and only
`kustomize-controller` retained sidecar ownership. Execution and successful
post-handoff reconciliation must be verified separately.
A server-side dry run of this ownership-only change must leave the complete
Deployment spec identical at zero replicas, with only `kustomize-controller`
retaining sidecar ownership. Execution and successful post-handoff
reconciliation must be verified separately.
8 changes: 3 additions & 5 deletions docs/development/datum-inventory-ui-alignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ reuse is not a live freshness or newly granted permission claim.

## Validation

- Provider after exact-base merge: `pnpm --dir ui/provider test` — 35 files,
539 tests; typecheck and
- Provider after exact-base merge: `pnpm --dir ui/provider test`, typecheck and
production build pass. Coverage asserts actual library slots/variants, field
and button semantics, visible blur/focus node identity, permissions, immutable
baselines, unknown outcomes and existing read/write fences.
Expand All @@ -135,11 +134,10 @@ reuse is not a live freshness or newly granted permission claim.
navigation management readiness, in-flight create fencing, and fresh reads on
principal, logout, denial, hidden/pagehide, explicit revalidation and unknown
query changes. These do not mock Datum components.
- Consumer: `pnpm --dir ui/consumer test` — 3 files, 44 tests; typecheck and
production build pass. Consumer implementation is untouched.
- Consumer: `pnpm --dir ui/consumer test`, typecheck and production build pass. Consumer implementation is untouched.
- Seven focused session-boundary, tab-navigation, exact-staging, stable-control,
visible-focus-save, navigation-safety and revalidation-safety files pass three
consecutive runs (150 tests each). The inherited settled async `mountHost`
consecutive runs. The inherited settled async `mountHost`
synchronization remains unchanged. The cached-create navigation test now
asserts the removed recorder/reference controls are absent rather than filling
obsolete fields; it still checks draft clearing and zero stale writes.
Expand Down
2 changes: 1 addition & 1 deletion docs/development/device-reported-placement.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Multiple registrations do not select an active asset by time or revision.

## Existing resource audit integration: source-reviewed, not live verified

On 2026-11-21 the following clean local source revisions were inspected. No
The following pinned source revisions were inspected. No
authenticated audit event, deployed audit policy or storage retention was queried
or verified by this implementation. This is not a claim of live audit completeness.

Expand Down
9 changes: 3 additions & 6 deletions docs/development/hardware-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,7 @@ Unavailable model/device collections produce unknown counts, not zero; unreadabl
dependencies lose their labels and links immediately. Resolved subsets remain
visible with missing-reference guidance. Initial loading stays in the page shell.

Local validation on 2026-11-22: provider full suite (42 files / 692 tests),
typecheck and production build pass, as do documentation-link and whitespace
checks. Validation used Node 22.22.0 and pnpm 11.28.9; the documented Node 26
runtime was not exercised. Focused tests cover reference scope, unrelated and
Focused tests cover reference scope, unrelated and
dangling records, duplicate rows/counts/labels, fallback labels, catalog picker
choices, denied/partial collections, actual destination URLs, reported-only
location, loading and history/filter retention. Existing session, write-precondition
Expand Down Expand Up @@ -300,8 +297,8 @@ are not proof of real Milo authorization or live NetBox parity.

Validation of the PR106 integration passed the full Go suite, race suite and vet,
with local Kubernetes 1.37.0 envtest assets including catalog concurrency and
strict rejection of retired fields. Provider validation covers 459 tests;
consumer validation covers 44 tests. Both typechecks and production builds pass.
strict rejection of retired fields. The provider and consumer suites, both
typechecks and both production builds pass.
The five CI manifest roots, synthetic-staging render, overlay isolation and its
regression tests, standalone render, Milo acceptance packaging, documentation
links and whitespace checks also pass. These are local synthetic checks, not
Expand Down
13 changes: 7 additions & 6 deletions docs/development/site-facility-relationship.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ record, Facility premises identifiers, observational readers, IAM declarations,
and staff directory views. It does not install these
changes, mutate live records or assert authenticated staging acceptance.

The clarification **Datum Site DFW3 relates to DataBank premises DFW1** describes
two concepts, not two Facilities. It is conceptual evidence only, not permission
to migrate existing records. No DFW mapping is seeded by this change. Tests and
A clarification of the form **operational Site EX3 relates to provider premises
EX1** describes two concepts, not two Facilities. It is conceptual evidence only,
not permission to migrate existing records. No such mapping is seeded by this
change. Tests and
preview records use synthetic `EX3` / `example-provider / EX1` identities.

## Ownership and cardinality
Expand Down Expand Up @@ -105,7 +106,7 @@ not an unrelated legacy API migration.

`Facility.spec.identifiers` is an optional bounded list of
`{provider, type, value}`. `provider` is a canonical provider namespace (for example
`databank`), not its mutable display label. Types are `PremisesCode`, `PremisesAlias`
`example-provider`), not its mutable display label. Types are `PremisesCode`, `PremisesAlias`
and `PremisesID`. Multiple identifiers, aliases, and provider namespaces are
supported. Identical code values under different providers are distinct; exact
duplicate entries are rejected. These are sourced descriptive facts, not resource
Expand Down Expand Up @@ -152,8 +153,8 @@ remain observations, not available capacity or readiness.
resourceVersion preconditions for corrections outside the spec. Review name
reuse explicitly. No delete/recreate migration is required or allowed here.
4. Independently review IAM and authenticated staging behavior before rollout.
This task changes no live counts or memberships and does not deploy. The nine
DFW3 reported-placement corrections and separate audit companion are out of scope.
This task changes no live counts or memberships and does not deploy. Existing
reported-placement corrections and their separate audit companion are out of scope.

Future allocation policy, canonical provider namespace governance, cross-record
identifier uniqueness adjudication, and atomic relationship admission remain
Expand Down
23 changes: 9 additions & 14 deletions docs/development/staff-inventory-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ Module Federation remote. The implemented six-kind API, not the broader

## Native Pencil comparison

Read and rendered `/Users/scotwells/Downloads/asset-inventory.pen` with Pencil's
Read and rendered the `asset-inventory.pen` design file with Pencil's
native Get, TakeScreenshot and Export tools. No design mutations were made.
Source SHA-256:
`1c20996c68b29206597c69ad2bd6b7833854b906427b2ec30d63b6afd0c40590`.
Expand Down Expand Up @@ -590,14 +590,11 @@ coverage. These tests are local regression evidence, not independent signoff.

Earlier synthetic browser geometry/keyboard checks at PR104 head `4a30bb7`
exercised the now-superseded disabled-view behavior; they are not acceptance
evidence for this revision. The real staging URL redirected to sign-in and no
login was manipulated. Authenticated Safari URL-bar acceptance remains unverified.
evidence for this revision. Authenticated Safari URL-bar acceptance remains
unverified.
Independent review, CI and authenticated staging/Safari acceptance remain release
gates; this work does not merge, deploy or change live inventory/IAM/NetBox data.

Revised local validation (2026-11-21): provider 495 tests in 32 files and consumer
44 tests in 3 files pass, along with both TypeScript checks/production builds,
`go test ./internal/api/inventory/...`, documentation links and whitespace.
Temporarily restoring the management form's blur invalidation fails 29 of 56
focused stable-controls/pending-save tests; the mutation was removed before the
full passing run. This is sensitivity evidence, not independent review.
Expand Down Expand Up @@ -899,7 +896,7 @@ Views never show a generated resource name (`netbox-ca213d185ea9153b853f295e`,
or any name with a run of twelve or more hex digits, or a UID) by default.
`humanName()` in `ui/provider/src/lib/display-names.ts`, the single home for
name condensing, uses the display name, or the resource name when it reads as a
human name (`pdu-a.rk105.yul3`). Without one, a Cable is named by its medium
human name (`pdu-a.rack-01.ex1`). Without one, a Cable is named by its medium
("Copper cable") and a peer by its kind ("Unnamed device"). When two different
records would read the same, `viewNames()` adds a short suffix from the
resource name ("Copper cable #295e"). A denied peer is never named or
Expand Down Expand Up @@ -1403,8 +1400,8 @@ go test ./internal/api/inventory/...
git diff --check
```

Prior UI phase results: 278 tests in 20 files, TypeScript check, production build,
and the Go inventory package tests pass. Build warnings concern the existing
Prior UI phase results: the UI tests, TypeScript check, production build and the
Go inventory package tests pass. Build warnings concern the existing
transitive undici share and Zod annotation handling; they do not fail the build.
Documentation relative links and whitespace were checked. At that phase, the 68
independent tests remained byte-for-byte identical to the supplied review suite.
Expand All @@ -1426,7 +1423,7 @@ Screenshots are local browser artifacts; the original Pencil exports are separat

### Local visual evidence

Screenshots below are in `/Users/scotwells/.t3/userdata/browser-artifacts/`
Screenshots below were kept in a local browser-artifacts directory
(synthetic data only, not committed application assets):

| Check | Screenshot file |
Expand Down Expand Up @@ -1530,7 +1527,5 @@ browser or authenticated host acceptance, live inventory reads/writes, deploymen
or operational readiness is claimed. Responsive behavior uses the existing scoped
layout and scrollable Datum tables; visual layout remains unverified in a browser.

Local validation on 2026-11-22: all 41 provider test files / 678 tests passed;
provider `pnpm typecheck`, `pnpm build`, `bash hack/validate-doc-links.sh` and
`git diff --check` passed. Consumer/shared API code is unchanged; consumer checks
were not required for this provider-only presentation change.
Consumer/shared API code is unchanged by this provider-only presentation
change.
2 changes: 1 addition & 1 deletion docs/enhancements/machine-lifecycle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ kind: MachineCapacity
# gets a new resource lifetime; labels only group capacity for selection.
metadata:
name: lab-server-01
namespace: infra-ops
namespace: fleet-ops
labels:
fleet.datumapis.com/capacity-pool: general-metal
spec:
Expand Down
2 changes: 1 addition & 1 deletion docs/enhancements/machine-lifecycle/api-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ kind: MachineCapacity
metadata:
generation: 1
name: lab-server-01
namespace: infra-ops
namespace: fleet-ops
labels:
fleet.datumapis.com/capacity-pool: general-metal
spec:
Expand Down
2 changes: 1 addition & 1 deletion docs/functionality/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ the customer service, inventory, and intended coordination contracts.
[owned bare-metal journey](../proposals/fleet-management/examples/owned-bare-metal/README.md)
from planning and physical verification through customer release.
- **Managed platform operator:** Read the
[rented-capacity adoption example](../proposals/fleet-management/examples/us-east-1-alice.md)
[rented-capacity adoption example](../proposals/fleet-management/examples/rented-capacity-adoption.md)
alongside the cluster lifecycle contract. Adoption starts with observation,
not reprovisioning or exposing occupied machines as available.

Expand Down
2 changes: 1 addition & 1 deletion docs/operations/gitops.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ hash.

| Component | Pin | Why |
| --- | --- | --- |
| Flux | v2.9.6: `install.yaml` SHA-256 `9c1fda7e…4251c`; CLI `flux_2.9.6_darwin_arm64.tar.gz` SHA-256 `7008a758…c126`; controllers by digest in `config/multiplane/flux/components.yaml` (source v1.9.6, kustomize v1.9.6, helm v1.6.5, notification v1.9.4) | v2.10.0 (2026-10-26) requires Kubernetes ≥ 1.35.2, and the exercised kind node is v1.35.0. v2.9.6 (2026-10-01) is the newest patch of the newest compatible minor, and datum-cloud/infra staging runs v2.9.5. Image automation and source-watcher are removed; notification-controller is kept so controller events have a receiver. |
| Flux | v2.9.6: `install.yaml` SHA-256 `9c1fda7e…4251c`; CLI `flux_2.9.6_darwin_arm64.tar.gz` SHA-256 `7008a758…c126`; controllers by digest in `config/multiplane/flux/components.yaml` (source v1.9.6, kustomize v1.9.6, helm v1.6.5, notification v1.9.4) | v2.10.0 (2026-10-26) requires Kubernetes ≥ 1.35.2, and the exercised kind node is v1.35.0. v2.9.6 (2026-10-01) is the newest patch of the newest compatible minor. Image automation and source-watcher are removed; notification-controller is kept so controller events have a receiver. |
| Source | OCI artifact `fleet-gitops:local` in the run registry, `registry:3.0.0@sha256:6c5666b8…457e` | The Flux OCI pattern Datum uses for `*-kustomize` bundles, with no external publication of uncommitted changes |
| Karmada | chart v1.16.0 from `HelmRepository` `raw.githubusercontent.com/karmada-io/karmada/master/charts`; chart archive SHA-256 `773ab194…34fe` verified in Flux's HelmChart artifact | Same chart as the connected test-infra federation. The repository and release shape follow datum-cloud/infra `infrastructure/karmada`. The chart's floating `cfssl` and `kubectl` hook images are now pinned by index digest. |
| kro | `OCIRepository` `oci://registry.k8s.io/kro/charts/kro` at manifest digest `sha256:4e8de4d3…a67c` (chart layer `ceeb6307…`), image `v0.9.4@sha256:eaf9fbad…` | Unchanged from [site execution](site-execution.md#versions); `OCIRepository` as a chart source is the Flux-native way to pin an OCI chart by digest |
Expand Down
46 changes: 19 additions & 27 deletions docs/operations/physical-inventory-staging.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,25 @@ adversarial review. It is not approval to deploy or evidence of physical readine
No deployment, source-tag changes, hardware actions, or inventory
writes were performed during the implementation checks below.

## Read-only baseline observed on November 20, 2026

The physical-inventory PR is stacked on `feat/manual-inventory-records` at
`42086bbe2cf05f5d09362fbc777e514907d64462`. Infrastructure configuration was read
at `3bde916629c7b6c49a6820bc40c2546bbf2afdc1`. Preserve that dependent base;
do not retarget the PR or mistake a new artifact publication for deployment.

Read-only staging API queries on that date found:

- Both `fleet-kustomize` and `fleet-inventory-kustomize` configured for
`v0.0.0-feat-manual-inventory-records`, with artifact digest
`sha256:45dfd12971b44a92d3d078007cfd41dcb23f4d278d17e3c5ea8f02c65d3f2fdc`.
- `fleet-milo-configuration` reporting Ready with that exact applied artifact.
- `fleet-provider-inventory` reporting Ready at the infrastructure revision above,
with `prune: false`, `deletionPolicy: Orphan`, and the private
`apps/fleet-system/staging/provider-inventory` source.
- Manager and provider/consumer UI Deployments referencing the manual-inventory
build ending `20261120-165214`, with one manager and two replicas of each UI ready.

The three DeviceClaims and one Device in that applied Git source passed offline
creation and unchanged-update validation against the proposed six-kind schemas.
The source files were handled privately outside Git; no real identities were
added to public fixtures. Existing identity and claim-binding immutability also
have negative regression tests. This is schema compatibility, not a live-object
or hardware audit: the management-cluster project API route did not expose the
provider project, so direct live provider-record comparison remains an operator
acceptance step. No production project context was used as a substitute.
## Read-only baseline before evaluation

Before any evaluation, record a read-only baseline:

1. Confirm the pull request is stacked on its dependent base. Do not retarget it,
and do not mistake a new artifact publication for deployment.
2. Read the staging Fleet and inventory Kustomizations: the version each tracks,
the applied artifact digest, and whether each reports Ready at that digest.
3. Confirm the provider inventory source is retained on removal (`prune: false`,
`deletionPolicy: Orphan`) and note the source revision it applied.
4. Confirm the manager and the provider and consumer UI Deployments reference the
expected build and report their expected replicas ready.
5. Validate the existing DeviceClaims and Devices in the applied source against
the proposed schemas, for creation and for an unchanged update, handling the
source files privately outside Git. Add no real identities to public fixtures.
Schema compatibility is not a live-object or hardware audit.
6. Compare live provider records directly through the authorized project route.
If that route does not expose the provider project, the comparison remains an
operator acceptance step; never substitute a production project context.

## Acceptance gates for an authorized operator

Expand Down
4 changes: 2 additions & 2 deletions docs/proposals/fleet-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ experience designs can evolve through their own enhancements.
This enhancement area covers the service as a whole. Its current foundation
defines responsibilities, domain concepts, lifecycle and execution contracts,
architecture, and rollout. It does not select a provisioning engine. The
[us-east-1 example](examples/us-east-1-alice.md) covers adoption of rented capacity
[region-1 example](examples/rented-capacity-adoption.md) covers adoption of rented capacity
and managed clusters. The [owned bare-metal journey](examples/owned-bare-metal/README.md)
covers planning, registration, cabling verification, preparation, customer
allocation, installation, networking, and OOB access.
Expand Down Expand Up @@ -200,7 +200,7 @@ inventory remains the source of physical endpoints and wiring.
machine unavailable.

The [owned-server journey](examples/owned-bare-metal/README.md) follows these steps
with YAML examples. The [us-east-1 journey](examples/us-east-1-alice.md) applies the
with YAML examples. The [region-1 journey](examples/rented-capacity-adoption.md) applies the
same responsibilities to rented infrastructure and managed clusters.

### Service architecture
Expand Down
10 changes: 5 additions & 5 deletions docs/proposals/fleet-management/bare-metal-hardware.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ metadata:
name: metal-standard
spec:
source:
project: datum-metal
name: datum-metal-standard
project: example-metal
name: example-metal-standard
```

Definition and reference fields are mutually exclusive. The mode and source are
Expand Down Expand Up @@ -120,8 +120,8 @@ existing capacity.
apiVersion: metal.datumapis.com/v1alpha1
kind: MachineCapacity
metadata:
name: iad1-r12-srv01
namespace: infra-ops
name: ex1-r12-srv01
namespace: fleet-ops
labels:
fleet.datumapis.com/capacity-pool: general-metal
spec:
Expand Down Expand Up @@ -184,7 +184,7 @@ spec:
machineProfileRef:
name: standard-metal
locationRef:
name: us-east-1
name: region-1
powerState: "On"
networkAttachmentRefs:
- name: db-01-primary
Expand Down
Loading
Loading