Gate Escalation
Path:
loom-builder-sol/src/gate-escalation.tsRelative: src/gate-escalation.tsSubproject: loom-builder-solCategory: dispatch-system-solLines: 295Bytes: 9,472Imports: 1Exports: 5
Content Preview
- /**
- * gate-escalation — consecutive-failure tracking and diagnostic interrogation.
- *
- * When the same validation gate fails 3 consecutive attempts, the harness stops
- * blind-retrying and interrogates the executor model about WHY. This prevents
- * the gaming anti-pattern: an executor rewriting 25 titles to satisfy a buggy
- * regex gate instead of reporting the defect.
- *
- * Design: escalation is always on (no config flag), enforced in code.
- */
- import type { EscalationClassification, Escalatio