public-hygiene-review
Prevent private or unsafe material from entering public repositories.
Procedure
- Inspect staged, unstaged, and untracked files in the public repo scope.
- Build a risk list from changed paths and content: secrets,
secret_refbindings, paths, identities, governed connector context exports, bundle IDs, Team IDs, SKUs, signing fingerprints, package names, private URLs, approval/audit traces, logs, screenshots, caches, generated artifacts, brands, names, and workflow details. - Search filenames, paths, textual content, and reasonable asset metadata.
- Classify findings as
safe_public,false_positive,needs_user_decision, ormust_remove_before_publish. - Remove or isolate
must_remove_before_publishfindings before continuing. - Run the repo hygiene checks and record limitations.
Constraints
- Do not resolve uncertainty by publishing the private value.
- Do not assume a staged change is safe.
- Treat private governed-context envelopes as protected handoff artifacts, not public repo material.
- Treat governed context audit and approval metadata as public only when it contains no private identifiers, plaintext secrets, provider credentials, or maintainer-local details.
- Keep private commit-manager, signing, launcher, and local-device procedures out of public docs.