pub const STRICT_GATE: &str = "{{BEGIN_MARKER}}\nCODE_SYSTEM_GRAPH_RESULT=\"$({{BINARY}} changes --scope staged --database {{DATABASE}} --workspace {{WORKSPACE}} --repository {{REPOSITORY}})\" || {\n echo \"Code System Graph staged-change analysis failed; commit blocked by strict mode.\" >&2\n exit 1\n}\nCODE_SYSTEM_GRAPH_FINGERPRINT=\"$(printf \'%s\' \"$CODE_SYSTEM_GRAPH_RESULT\" | tr -d \'\\n\' | sed -n \'s/.*\"exact_diff_fingerprint\":\"\\([^\"]*\\)\".*/\\1/p\')\"\nif [ -z \"$CODE_SYSTEM_GRAPH_FINGERPRINT\" ]; then\n echo \"Code System Graph returned no exact staged fingerprint; commit blocked by strict mode.\" >&2\n exit 1\nfi\nunset CODE_SYSTEM_GRAPH_RESULT CODE_SYSTEM_GRAPH_FINGERPRINT\n{{END_MARKER}}\n";Expand description
Strict pre-commit gate shell template.