Harness.Test
Path:
_archive/loom-stale-pre-sprint-snapshot/tests/execution/harness.test.tsRelative: loom-stale-pre-sprint-snapshot/tests/execution/harness.test.tsSubproject: _archiveCategory: archivedLines: 165Bytes: 8,465Imports: 4Exports: 0has tests
Content Preview
- import { describe, expect, test } from "bun:test";
- import { runDispatch } from "../../src/execution/harness";
- import { mintApprovalToken } from "../../src/lib/hmac";
- import { FakeModel, MemTrace, ackEcho, makeDeps, makeEnvelope, textTurn, toolTurn } from "./fakes";
- const SECRET = "test-secret-at-least-32-bytes-long!!";
- describe("harness integration — the Sprint 1 gates", () => {
- test("(a) H3.1: a blind turn NEVER reaches the executor; exhausted retry → ACK_REJECT", async () => {
- const mo