What to build
Replace silent-failure-hunter's "any non-test source file" path trigger with a content gate that spawns when the diff adds or removes error-handling constructs — try/catch/finally, throw, .catch(, Promise reject, error/err identifiers in handler positions. Reuses the diff → analyser plumbing from #213. Bias toward spawning on ambiguity (per ADR-0008, #212).
This is the weakest-fidelity gate — "error handling changed" is genuinely semantic and hard to capture with deterministic token matching. The slice must mark it (in code comment + ADR note) as the first candidate to promote to model judgment (Y-llm) if it proves too noisy or too blind in practice.
Acceptance criteria
Blocked by
What to build
Replace
silent-failure-hunter's "any non-test source file" path trigger with a content gate that spawns when the diff adds or removes error-handling constructs —try/catch/finally,throw,.catch(, Promisereject, error/erridentifiers in handler positions. Reuses the diff → analyser plumbing from #213. Bias toward spawning on ambiguity (per ADR-0008, #212).This is the weakest-fidelity gate — "error handling changed" is genuinely semantic and hard to capture with deterministic token matching. The slice must mark it (in code comment + ADR note) as the first candidate to promote to model judgment (Y-llm) if it proves too noisy or too blind in practice.
Acceptance criteria
silent-failure-hunterspawns when the diff touches error-handling constructs.node:testfixtures:try/catchadded,.catch()removed, barethrow, no-error-handling source edit.Blocked by