M4: return the secrets template to identity-only exports #9
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
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/secrets!9
Loading…
Reference in a new issue
No description provided.
Delete branch "agent/secrets-drop-behavior-exports"
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?
Part of the archetypes/profiles repo split —
Refs allod/strategy#18. This is M4: returning thesecretstemplate to identity-only exports. Depends on M2 being merged (the framework no longer reads these exports).Changes:
lib.profileDefinitions,lib.profileData, andhomeModules.preferencesfromflake.nix, and deletemodules/preferences.nix(which moved to theallod/profilesdefinitions repo at M1). With the lasthomeModulesgone, the flake now exports onlylibandchecks.secretsisarchetypes, notprofiles(a profiles definitions repo never importssecrets) — correct the stale framework references (ownership list, "How … consumes it", related repos). These bare-profilesreferences would not be caught by M5'sallod/profilesgrep, so they are fixed here in the same file.Identity, credentials, host keys, git policy, and every other
secretsexport are untouched — only the misplaced behavior exports leave.Risk
R1 Low — removes exports the framework stopped reading at M2; straight revert restores dead-but-harmless attrs. Only meaningful to revert if M2 were also reverted (revert M4 before M2 in that case so the restored framework reads find their attrs).
Validation
Merged framework green against the cleaned template, no lock commit — run in an
archetypescheckout (post-M2 master):This proves M2 truly removed every read of the behavior exports:
archetypescomposes the whole example fleet with asecretsthat no longer providesprofileDefinitions/profileData/preferences.