protect-files.mjs
- Event: PreToolUse Edit/Write
- Type: wall: blocks the action and says why (exits with code 2)
What it does
Section titled “What it does”BLOCKS editing: files generated by Senzu, secrets (.env, *.pem, credentials), dependencies/build artifacts, versioned migrations, sealed conventions.md/json (cannot be turned off), masters of the chosen logo (logos/final/) and the project’s protectedPaths.