Gate Manifest

loom-buildersourcepython
Path: loom-builder/scripts/gate_manifest.pyRelative: scripts/gate_manifest.pySubproject: loom-builderCategory: dispatch-scripts
Lines: 264Bytes: 10,973Imports: 7Exports: 13

Content Preview

  1. #!/usr/bin/env python3
  2. """gate_manifest.py — single hashing authority for the gate governance system.
  3. Every component (cut script, pre-commit hook, test suite) imports or invokes
  4. this module. The TypeScript runtime check (harness/gate-integrity.ts)
  5. implements the identical raw-bytes sha256 contract independently.
  6. Contract:
  7. - A pack is ONE json file at gates/v<semver>/<name>.json
  8. - Pack identity: "v<semver>/<name>" (loom-builder ref format)
  9. - Hash = sha256 of raw file bytes. No canonical