#python

19 files tagged python.

pi-cyberneticsource

Pretooluse Gate Guard

#!/usr/bin/env python3 """pretooluse_gate_guard.py — Claude Code PreToolUse hook enforcing N15. Blocks Edit/Write/Multi…

PY105 lines3,779 bytes
pi-cyberneticsource

Register Pretooluse

#!/usr/bin/env python3 """register_pretooluse.py — safely register the gate guard in .claude/settings.json. Discipline …

PY80 lines3,193 bytes
pi-cyberneticsource

Pre Commit Gate Guard

#!/usr/bin/env python3 """pre_commit_gate_guard.py — git pre-commit enforcement of N15 (layer 3). Rules: 1. Any stage…

PY126 lines4,956 bytes
pi-cyberneticsource

Spec Lint Gates

#!/usr/bin/env python3 """spec_lint_gates.py — lint dispatch specs for gate governance (N16 + fidelity). Checks, per sp…

PY149 lines6,453 bytes
pi-cybernetictest

Test Gate Governance

#!/usr/bin/env python3 """test_gate_governance.py — N10 discipline applied to the governance system. Every enforcement …

PY238 lines11,790 bytes
pi-cyberneticsource

Gate Manifest

#!/usr/bin/env python3 """gate_manifest.py — single hashing authority for the gate governance system. Every component (…

PY264 lines10,973 bytes
pi-cyberneticsource

Cut Gate Version

#!/usr/bin/env python3 """cut_gate_version.py — the ONLY sanctioned way a gate pack changes (N15/N17). Creates gates/v<…

PY154 lines6,863 bytes
loom-buildersource

Pre Commit Gate Guard

#!/usr/bin/env python3 """pre_commit_gate_guard.py — git pre-commit enforcement of N15 (layer 3). Rules: 1. Any stage…

PY126 lines4,956 bytes
loom-buildersource

Spec Lint Gates

#!/usr/bin/env python3 """spec_lint_gates.py — lint dispatch specs for gate governance (N16 + fidelity). Checks, per sp…

PY149 lines6,453 bytes
loom-buildertest

Test Gate Governance

#!/usr/bin/env python3 """test_gate_governance.py — N10 discipline applied to the governance system. Every enforcement …

PY238 lines11,790 bytes
loom-buildersource

Gate Manifest

#!/usr/bin/env python3 """gate_manifest.py — single hashing authority for the gate governance system. Every component (…

PY264 lines10,973 bytes
loom-buildersource

Cut Gate Version

#!/usr/bin/env python3 """cut_gate_version.py — the ONLY sanctioned way a gate pack changes (N15/N17). Creates gates/v<…

PY176 lines8,102 bytes
loom-buildersource

Pretooluse Gate Guard

#!/usr/bin/env python3 """pretooluse_gate_guard.py — Claude Code PreToolUse hook enforcing N15. Blocks Edit/Write/Multi…

PY105 lines3,779 bytes
loom-builder-solsource

Pre Commit Gate Guard

#!/usr/bin/env python3 """pre_commit_gate_guard.py — git pre-commit enforcement of N15 (layer 3). Rules: 1. Any stage…

PY126 lines4,956 bytes
loom-builder-solsource

Spec Lint Gates

#!/usr/bin/env python3 """spec_lint_gates.py — lint dispatch specs for gate governance (N16 + fidelity). Checks, per sp…

PY149 lines6,453 bytes
loom-builder-soltest

Test Gate Governance

#!/usr/bin/env python3 """test_gate_governance.py — N10 discipline applied to the governance system. Every enforcement …

PY238 lines11,790 bytes
loom-builder-solsource

Gate Manifest

#!/usr/bin/env python3 """gate_manifest.py — single hashing authority for the gate governance system. Every component (…

PY264 lines10,973 bytes
loom-builder-solsource

Cut Gate Version

#!/usr/bin/env python3 """cut_gate_version.py — the ONLY sanctioned way a gate pack changes (N15/N17). Creates gates/v<…

PY176 lines8,102 bytes
loom-builder-solsource

Pretooluse Gate Guard

#!/usr/bin/env python3 """pretooluse_gate_guard.py — Claude Code PreToolUse hook enforcing N15. Blocks Edit/Write/Multi…

PY105 lines3,779 bytes