Guards at the moment of action
Checks run before a file is written, a command runs, or work is pushed, and refuse credentials, client names, and personal details where they could become public.
Guards run at the moment something happens: before a file is written, before a command runs, and before work is committed or pushed. They look for credentials, client names, personal details, and other material in places that could become public.
A guard that refuses says what it found and where, without repeating the sensitive text, so the operator can fix the problem rather than work around it.
Visibility tiers
Everything has a declared tier (private, internal, or publishable), and what each tier may hold is checked, not assumed.
Everything in the system carries a declared tier: private, internal, or publishable. What each tier may hold is written down and checked, not left to judgment in the moment.
When material moves toward a more public tier, it is checked against what that tier allows.
A gate for anything leaving
Content bound for a client or the public passes a sanitizing gate and a named reviewer before it goes.
Anything leaving the system for a client or for the public passes one gate. It sanitizes the content, checks it against the project’s register of sensitive material, and names the person who reviewed it.
The gate covers the whole artifact, including its history and attachments, not only the files that changed most recently.