public-surface-audit
public-surface-audit — Operator-Private Token Leak Scan
Scans the git-tracked file set (the public surface) for operator-private tokens that were supposed
to stay in gitignored files (e.g. CLAUDE.local.md, companion store). After a public/private split,
a front-door fix is not enough — a leaked username or absolute home path anywhere in the tracked set
breaks the "public repo = model-agnostic methodology only" invariant.
While
marketplace-gateCheck 5 answers "is this repo broadly safe to publish?" (API keys, internal domains, license),public-surface-auditanswers a narrower question: "did any operator-private token survive the public/private split into a tracked file?" It scansgit ls-filesonly — gitignored files likeCLAUDE.local.mdare intentionally out of scope (they are the correct home for these tokens).