test(confidence-engine): capture original current understanding regression fixture
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -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.
|
||||
Reference in New Issue
Block a user