Lock Scenes — On-Demand Write Protection
Blocks Edit/Write to approved files during final assembly. Only active when invoked via /lockscenes. The hook is removed when the session ends.
This is a rare example of Claude Code's PreToolUse hooks used for on-demand file guards. Useful pattern for any project that has an "approved" or "frozen" state.
Usage
Lock default set (everything approved)
/lockscenes
This writes a lock file and activates the PreToolUse hook. Any attempt
[Description truncada. Veja o README completo no GitHub.]