Parity
Path:
loom-sprint-scaffold/loom/docs/PARITY.mdRelative: loom/docs/PARITY.mdSubproject: loom-sprint-scaffoldCategory: documentationLines: 95Bytes: 3,098Imports: 0Exports: 0
Content Preview
- # LOOM Parity Gate
- The parity gate ensures that the monitor decision path produces **byte-identical output**
- across consecutive runs and across different runtimes (bun vs workerd).
- ## Interactive Parity Check
- Run the parity script **twice** and diff the outputs:
- ```bash
- # From the loom-sprint-scaffold/loom directory:
- bun run scripts/parity-check.ts > /tmp/parity-1.json
- bun run scripts/parity-check.ts > /tmp/parity-2.json
- diff /tmp/parity-1.json /tmp/parity-2.json
- ```
- **Expected result:** no