No Silent Failure.Test

loom-sprint-scaffoldtesttypescript
Path: loom-sprint-scaffold/loom/tests/e2e/no-silent-failure.test.tsRelative: loom/tests/e2e/no-silent-failure.test.tsSubproject: loom-sprint-scaffoldCategory: tests
Lines: 249Bytes: 9,793Imports: 10Exports: 0has tests

Content Preview

  1. /**
  2. * No-Silent-Failure Invariant Walk.
  3. *
  4. * For EVERY terminated (non-DONE) stage across all golden runs + chaos runs,
  5. * walk the trace events and assert that a named monitor cause exists.
  6. *
  7. * Named monitor causes (from the closed union):
  8. * checkpoint, loop_detector, budget, reversibility_gate, ack_gate,
  9. * drift_sentinel, escalation_ledger, reformulation_cap
  10. *
  11. * Termination with zero trace events citing a named cause = test failure.
  12. * This test is the gate.
  13. */
  14. import { describe,