Docs · Diagnostics · updated December 2026
The Five Failure Modes
Deterministic detection rules for FM-01 through FM-05 used by the Mistry Run Analyzer to diagnose engineering deliverable runs.
LiveOther docs:QuickstartCLI referenceTrajectory JSON SchemaHow a run worksRegister Coverage & Output Path ChecksChangelog
01
01. Why deterministic rules beat LLM-as-a-judge
Engineering deliverables fail in structural, auditable ways long before a human reviewer reads prose quality. Mistry checks trajectory mechanics directly: whether files exist at declared paths, whether every register document was inspected, whether outputs were verified after the last write, and whether the agent thrashed in rewrite loops.
02
02. Failure mode catalog
Every run is evaluated against all five flags on upload. Each triggered flag links directly to the offending step indices and the exact harness guard that prevents it.
| Code | Failure Mode | Trigger Condition | Guard Setting |
|---|---|---|---|
| FM-01 | Unverified Deliverable Write | Final write/edit step is not followed by any verify step. | require_post_write_verification: true |
| FM-02 | Rewrite Thrashing Loop | Same output path rewritten >= 3 times without intervening verification. | max_rewrite_streak: 2 |
| FM-03 | Register Blindspot | Register coverage < 70% or any citation not found in provided_documents. | min_register_coverage_pct: 85 |
| FM-04 | Output Path Drift | One or more declared_outputs missing from produced deliverables. | enforce_declared_output_paths: true |
| FM-05 | Think-in-Tool-Call Bloat | Think-in-tool steps exceed 25% of steps or 30% of total tokens. | max_think_tool_ratio_pct: 25 |