Gates.Test

_archivetesttypescript
Path: _archive/loom-stale-pre-sprint-snapshot/tests/execution/gates.test.tsRelative: loom-stale-pre-sprint-snapshot/tests/execution/gates.test.tsSubproject: _archiveCategory: archived
Lines: 103Bytes: 4,287Imports: 7Exports: 0has tests

Content Preview

  1. import { describe, expect, test } from "bun:test";
  2. import { AckGate } from "../../src/execution/ack-gate";
  3. import { LoopDetector } from "../../src/execution/loop-detector";
  4. import { ReversibilityGate } from "../../src/execution/reversibility-gate";
  5. import { preflight } from "../../src/execution/preflight";
  6. import { mintApprovalToken } from "../../src/lib/hmac";
  7. import { HEX64 } from "./fakes";
  8. const H2 = "a".repeat(64);
  9. const SECRET = "test-secret-at-least-32-bytes-long!!";
  10. const SCOPE = { goal