AnomalyTypeZ
constAnomalyTypeZ:ZodEnum<{ac-blocked:"ac-blocked";ac-needs-context:"ac-needs-context";auto-complex-override:"auto-complex-override";boundary-pattern-unmatched:"boundary-pattern-unmatched";build-test-bypassed:"build-test-bypassed";checkpoint-force-released:"checkpoint-force-released";code-review-high:"code-review-high";code-review-unconverged:"code-review-unconverged";coherence-warn:"coherence-warn";coverage-bypassed:"coverage-bypassed";files-outside-boundary:"files-outside-boundary";force-used:"force-used";loop-violation:"loop-violation";per-task-fail:"per-task-fail";plan-review-unconverged:"plan-review-unconverged";redundant-task-work:"redundant-task-work";skill-audit-miss:"skill-audit-miss";spec-review-unconverged:"spec-review-unconverged";ui-spec-review-unconverged:"ui-spec-review-unconverged";verifier-failure:"verifier-failure"; }>
Defined in: types/src/anomaly.ts:34
Anomaly event types. Phase 17 introduced the first six; Phase 23.2 adds
coherence-warn (emitted from cadence draft check/draft approve per
warn issue). DESIGN.md §3.3 is the canonical list. Phase 187 adds
auto-complex-override (emitted when --allow-auto-complex bypasses the
settle/draft-approve soft cap). Phase 205 adds ui-spec-review-unconverged
(emitted when the ui-spec-review gate hard-escalates at cadence spec approve).
Fired when the 'anomaly-notify' gate is in the effective gate set
(auto + standard×{standard,complex} cells). Informational only —
never block the emitting command.
Phase 286-01 adds boundary-pattern-unmatched (emitted by
findUnmatchedBoundaryPatterns, packages/core/src/checks/boundary.ts,
when a wildcard files: entry matches zero touched files). Deliberately
NOT part of runBoundaryCheck’s own return array and always
severity: 'warn' — see dec-20260821-001 (D-Y).
Phase 336-01 adds checkpoint-force-released (emitted by settle’s
collectAnomalies when the checkpoint Stop-gate’s sticky lastForcedAt
is at or after the active draft’s openDrafts[].since; always
severity: 'error', mapped to a checkpoint-stop gate bypass) — see
dec-20261022-002 (D-CE).
Phase 346-01 adds build-test-bypassed (emitted by settle’s
collectAnomalies when the build-test-must-pass gate let a failing test
suite through via --allow-failing-build or --force; always
severity: 'error', mapped to a build-test-must-pass gate bypass whose
detail carries the output tail — the tail never enters the message).