Ack Gate.Test
Path:
loom-sprint-scaffold/loom/tests/execution/ack-gate.test.tsRelative: loom/tests/execution/ack-gate.test.tsSubproject: loom-sprint-scaffoldCategory: testsLines: 162Bytes: 5,577Imports: 3Exports: 0has tests
Content Preview
- /**
- * Tests for ack-gate (H3.1).
- *
- * Proves:
- * - wrapResult produces deterministic hex hash from tool result
- * - checkAcks finds missing acks
- * - checkAcks passes when all expected are present
- * - buildCorrectiveNote returns expected format
- * - makeGateRejectEvent has correct shape/kind
- */
- import { describe, expect, test } from "bun:test";
- import {
- wrapResult,
- checkAcks,
- buildCorrectiveNote,
- makeGateRejectEvent,
- } from "../../src/execution/ack-gate";
- import type { ToolResultEntr