Cut Gate Version
Path:
pi-cybernetic/phase0-gate-governance/scripts/cut_gate_version.pyRelative: phase0-gate-governance/scripts/cut_gate_version.pySubproject: pi-cyberneticCategory: otherLines: 154Bytes: 6,863Imports: 8Exports: 4
Content Preview
- #!/usr/bin/env python3
- """cut_gate_version.py — the ONLY sanctioned way a gate pack changes (N15/N17).
- Creates gates/v<next>/<pack>.json in a NEW version directory and appends it to
- MANIFEST.json. Never mutates existing files; identical re-runs are no-ops (A1).
- Usage:
- cut_gate_version.py --from v1.0.0/default --bump patch
- cut_gate_version.py --from v1.0.0/default --new-pack oregon-smb --set validation='[{"type":"presence","cmd":"test -s $OUT"}]'
- cut_gate_version.py --from v1.0.0/hubcli -