You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Map Each Host Secret File to the Repository That Owns It #3946
A host's ~/.secrets/ directory is shared by every fleet repository that runs on that host. Each repository catalogs only its own files, for example in its own .secrets/README.md. So a file that no repository's catalog lists has no owner anyone can find. No one repository can say whether that file is a leftover, since another repository may read it.
The hub's spec/resolve_secrets.py scaffold already reports a file as unclaimed, but only within the github_ namespace that repository secret provisioning reserves. Host secret files outside that namespace have no ownership record at all.
Proposal (from the maintainer, 2026-11-09)
Keep a README.md inside the host's actual secrets directory. In it each repository lists the secret files it owns, so every file maps to a repository. Every repository that uses host secrets follows the fleet standard for secret file naming.
Who writes the file. Each repository's installer adds or updates its own rows, or the hub generates the whole file from each repository's catalog.
How a file that is listed nowhere gets reported, since scaffold's unclaimed check could extend to it.
Whether a repository's own catalog stays its source of truth, with the directory README derived from it.
Raised in ptr727/HomeAutomation-Config#1812, which found tracker credential files on a host that no catalog lists and that no one repository could account for.
Related issue noted (open-issue sweep, 2026-11-10).
#3959 proposes the owner-first naming scheme for host secret files, and this issue proposes the ownership map. Each depends on the same fleet naming standard, so they are decided together rather than one at a time.
Researched with #3959 (decision triage, 2026-11-10).
The question and its options are on #3959, since the two are decided together. The recommendation there makes the owner-first file name the ownership record, so this issue is answered by it or narrowed to the resolve_secrets.py scaffold change.
Closed in favor of #3959 (maintainer answer, 2026-11-10).
The maintainer chose owner-first file names as the ownership record, so the host secrets README this issue proposed is not built. The one change it still implied, widening resolve_secrets.py scaffold's unclaimed check, is part of #3959.
Activity
ptr727 commentedon Nov 10, 2026
Related issue noted (open-issue sweep, 2026-11-10).
#3959 proposes the owner-first naming scheme for host secret files, and this issue proposes the ownership map. Each depends on the same fleet naming standard, so they are decided together rather than one at a time.
ptr727 commentedon Nov 10, 2026
Researched with #3959 (decision triage, 2026-11-10).
The question and its options are on #3959, since the two are decided together. The recommendation there makes the owner-first file name the ownership record, so this issue is answered by it or narrowed to the
resolve_secrets.py scaffoldchange.ptr727 commentedon Nov 10, 2026
Closed in favor of #3959 (maintainer answer, 2026-11-10).
The maintainer chose owner-first file names as the ownership record, so the host secrets README this issue proposed is not built. The one change it still implied, widening
resolve_secrets.py scaffold's unclaimed check, is part of #3959.