Gate Escalation.Test
Path:
loom-builder/src/gate-escalation.test.tsRelative: src/gate-escalation.test.tsSubproject: loom-builderCategory: dispatch-systemLines: 373Bytes: 15,237Imports: 3Exports: 0has tests
Content Preview
- import { describe, expect, test } from "bun:test";
- import {
- GateEscalationTracker,
- buildDiagnosticPrompt,
- parseDiagnosticResponse,
- appendDiagnosticReasoning,
- } from "./gate-escalation.js";
- import type { EscalationRecord } from "./types.js";
- // ---------------------------------------------------------------------------
- // 1. 2 consecutive failures of one gate → NO escalation triggered
- // ---------------------------------------------------------------------------
- describe("2 consecutive f