High: make flake input inventory and host validation coverage complete #51
Labels
No labels
host:electra
host:fleet
host:lyra
host:vega
host:vega
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:declarative-purity-cleanup
project:external-review
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
service:auto-update
service:mem0
service:sillytavern
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#51
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The update policy previously lived as duplicated shell literals and had drifted from
flake.nix:claude-code-nixwas still updated even though Nix only warned and exited successfullyhermes-agentandlanzabootehad no direct policyCommit
a3fb725replaces that table with a flake-exported, auditable policy and an enforced drift check.Implementation
lib/auto-update-policy.nixdeclares eight update groups, consumer hosts, and rationales.flake.lib.autoUpdatePolicy.rootInputsis generated from the actual root input argument set, avoiding another hand-maintained inventory.nixosConfigurationshost names.nixpkgs-sbomnix-176is explicitly pinned with its compatibility rationale.Completion criteria
Closure validation
After pushing
a3fb725:claude-code-nixwarning appears and the pinned sbomnix rationale is logged.Implemented locally as
a3fb725(fix: enforce flake input update policy).Validation passed:
nix flake checkfor Electra, Lena, Vega, and Lyragit diff --checkThe commit is not pushed automatically. The ticket remains open for Forgejo workflow and real producer-policy evidence.
Post-push validation update:
a3fb725.The remaining closure evidence is the scheduled input-update run: it must evaluate the 19-input/4-host policy, log the deliberate sbomnix pin, process the declared groups without a stale Claude warning, and complete safely. No further repository changes should be mixed into that candidate before the scheduled run.
Final producer validation passed in run 316.
The scheduled job completed successfully and Nova published
d0feca790f6a0d0dabd54ff1a4b980965f04c10a(chore: Auto-update flake inputs). Comparing its lock file with parenta3fb725shows accepted root-input changes for:hermes-agentnixpkgs-unstable-smallnurpaseotrilium-nextand their changed transitive lock nodes.
The accepted Hermes change is direct live proof that the new inventory ran: Hermes was absent from the former hard-coded updater table. The new policy, required regression workflow, drift injection, full host coverage, explicit Lanzaboote policy, documented sbomnix pin, real builds, cache push, commit, and publication have all passed. Closing.