Probe Planner.Test
Path:
loom-sprint-scaffold/loom/tests/dispatcher/probe-planner.test.tsRelative: loom/tests/dispatcher/probe-planner.test.tsSubproject: loom-sprint-scaffoldCategory: testsLines: 197Bytes: 7,246Imports: 5Exports: 0has tests
Content Preview
- /**
- * Tests for ProbePlanner (H2.5).
- *
- * Proves:
- * - api_integration + no behavior model → probe prepended (recoverable-only tools)
- * - probe has http_status criterion
- * - model exists → no probe
- * - hypothesis MemoryRecord validates against contract
- * - non-api_integration stages skip probe
- */
- import { describe, expect, test } from "bun:test";
- import { ProbePlanner } from "../../src/dispatcher/core/probe-planner";
- import { parseContract } from "../../src/lib/validate";
- import type { S