credential-profiles: read secrets.lib.rotationRegistry #78
No reviewers
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/archetypes!78
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/rotation-registry-rename"
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?
The
credential-profilescheck reads the credential rotation registry through its new flake export,secrets.lib.rotationRegistry, and names it that way in its one registry-wide assertion message. What changes for a running machine: nothing; this check is evaluation-only and its inputs and clauses are unchanged. What stays identical: every clause of the check, every other name in the flake, and the generated systems. What proves it: the check passes with the secrets input overridden to the branch of allod/secrets PR 31 (allod/secrets#31), and fails by attribute name without that override, which shows the read is strict. If it is wrong the symptom isattribute 'rotationRegistry' missingat evaluation, and the fix is a straight revert.Not mergeable yet:
flake.lockstill pins secrets at a commit that exports only the old name, socredential-profilesfails until the secrets PR merges and a lock-bump commit is added here (the branch is not stacked on the secrets branch because master lands by rebase-merge and would carry a different hash). The bump is the last commit before merge; nothing else changes.Refs allod/secrets#22
Risk
R3. A cross-repo interface is read by a new name from an evaluation-time check. Residual: only the ordering above; a wrong pin fails evaluation by name and changes no state.
Validation
Run by the integrator on the reviewed commits, from the worktree:
nix build .#checks.x86_64-linux.credential-profiles --no-link -L --override-input secrets path:<worktree of allod/secrets PR 31>: exit 0.error: attribute 'rotationRegistry' missingatflake.nix:625.grep -rn -i 'forgejo-token-groups\|forgejoTokenGroups' .outside.git: no hits.Cold review:
gpt-5.6-solviacodex exec, default effort, read-only sandbox, on commitab797361. Findings and disposition:2e48bc10, message text only; re-validated with the override build.allod/secrets PR 31 has merged, so this branch now carries a merge of master and the lock bump the body promised: the
secretsinput moves from 74eab12a to cc705d4e, the commit that exportslib.rotationRegistry. Nothing else changed.Validation on the bumped commit, run by the integrator with no override:
nix build .#checks.x86_64-linux.credential-profiles --no-link -Lexits 0. The PR is mergeable now.