chore: root-anchored /keys/ ignore + tracked-secret gate #14
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/keys-ignore-secret-gate"
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?
What
The enforcement half of the credential lifecycle (policy: colibri
docs/wiki/credentials.md). One commit, three files:.gitignore— root-anchored/keys/, the disposable repo-localtest-credential boundary.
scripts/check-secrets.sh(new) — the operational gate.gitignorecannot be. Fails when:
keys/is tracked;id_*,*_rsa,*.ed25519,*.pem,*.key,*.p12,*.pfx);forge.env/jev.envcredential file is tracked;-----BEGIN … PRIVATE KEY-----header.package.json— addscheck:secretsand includes it incheck:all.Verification
check-secrets: clean(exit 0).keys/forgejo-testand a strayleak.key→ exit 1 with theoffenders listed (both cases exercised).
npm run check:boundariesPASS ·npm run check:linksPASS.Note
keys/is a deliberately insecure, disposable convenience boundary — not asecure store. The policy and the promotion-by-replacement rule live in colibri
docs/wiki/credentials.md.Gate confirmation — full run on merged
mainRe-ran the complete gate set in a clean disposable worktree at
e67b49a(the real checkout has unrelated untracked files, so a throwaway worktree was
safer than installing there).
npm cicheck:portal0.10.0synced, zero broken local referencescheck:wikiwiki.json10 page/locale entries, 19 provenance records; locale parity, required routes, provenance, internal targets all passcheck:secretscheck:boundaries/check:linkstest:wikiNon-blocking:
npm warn install-scripts esbuild@0.28.2 (postinstall: node install.js)— both Astro builds completed regardless.
node_modulesis ignored (.gitignore:5 -> node_modules/), local-only, and wasnot committed; the disposable worktree was removed and the real checkout is
untouched (0 dirty). This closes the earlier
astro: not foundcaveat — bothpreviously-unrun gates now pass on the merged head.