test(confidence-engine): capture original current understanding regression fixture

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
2026-10-08 09:52:57 +01:00
co-authored by Claude Code
parent dd875b5535
commit 425e1e7805
2 changed files with 395 additions and 1 deletions
@@ -51,4 +51,18 @@ All 14 deterministic tests PASS. Zero live model calls. The following invariants
- Prompt includes revised Rule 2 boundary text ("Do not introduce or describe open questions...")
- Exactly one synthesis invocation per run
- Input fixture is not mutated (deep clone + compare)
- No persistence/Supabase/DB operations
- No persistence/Supabase/DB operations
## Iteration 4 — Regression Fixture
Fixture path: `tests/fixtures/current-understanding-original-investigation.json`
Source: authenticated GET `/api/investigations/6b080d97-033e-477b-9d41-7b2f4f04bbed` (2026-10-08)
Contract: `{ situationGraph: object, findings: array }`
Contents:
- `situationGraph`: 11 nodes (1 state, 5 observation, 2 metric, 3 unknown), 10 edges, full `reasoningState`, `resolvedNodeIds`, `centralStatement`, `activeUnknownNodeId`
- `findings`: 9 findings total; all 7 previously verified IDs present (`hciikc`, `ybfsm3`, `k45vyt`, `vhftyr`, `9bgkmw`, `23192q`, `kkh39k`)
Verified: helper parses without invoking live synthesis; fixture immutability confirmed via deep-clone roundtrip.