vestige/.github
Claude 02e0241aa2
ci: guard against private paths, usernames, and machine names
Adds scripts/check-no-private-paths.sh and wires it into the existing
guard workflow (runs on every push + PR). It fails if a real local
filesystem path, personal username, or host name lands in the public
repo — the class of leak just removed (e.g. /home/<user>/ worktree
paths and a dev machine name).

- Blocks exact private tokens and real-username home paths
  (/home/<x>/, /Users/<x>/, C:\Users\<x>\).
- Allowlists the placeholder paths the docs legitimately use
  (/Users/you/..., ~/, etc.), so no false positives on the tree.
- Verified: passes clean on the current tree; fails on a planted
  leak (token + real home path); placeholder paths pass.
- CLAUDE.md hygiene section now points to both guards.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B3RxH4JxAQYsuA9kFVnR5v
2026-07-01 15:14:07 +00:00
..
ISSUE_TEMPLATE Add Codex integration docs 2026-04-05 18:50:57 +03:00
workflows ci: guard against private paths, usernames, and machine names 2026-07-01 15:14:07 +00:00