What one case pins
A golden case is a fixture (a small, readable JSON world of connectors, reports, metrics, and lineage), a natural-language question, and an expected block compared field-by-field against the real investigation result:
- intent / kindthe classification label, and whether the result is an answer, a refusal, or a clarifying question
- queryStatusok, error, no-connector, out-of-scope, or ambiguous — failure modes are pinned, not just happy paths
- mustMentionsubstrings the assembled answer must contain — the evidence that has to surface
- mustNotMentionthe anti-fabrication assertions: a broken-warehouse case pins that the answer never contains the row count that came from a probe that failed
The 👎 rule: when a user thumbs-down an answer, the workspace state that produced it becomes a fixture and the correct behavior becomes a frozen case. The engine is fixed until the case passes — the case is never edited to match a wrong answer. Each regression caught this way can never return.