feat(confidence-engine): expose focused-investigation inputs in composed checkpoint

Add focusedInvestigationInput {targetDescription, question, answer} to
composeDeepInvestigationCheckpoint() return object. These are the actual
invocation values: targetDescription from situationGraph node, question
is previousQuestion (NOT node.openQuestion), answer is function param.

Deterministic verification: syntax check passed; source-inspection test
assertions E10/E11 added and pass (0 failures). Call-count ownership:
up to 3 live generateReconstruction calls (focusedDeconstruct +
reconsiderCompletedEpisode + synthesizeCurrentUnderstanding).

No provider, graph, or production behavior changed.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
robbond
2026-10-09 13:47:54 +01:00
co-authored by Claude Code
parent d0f357877d
commit d12615075d
4 changed files with 26 additions and 4 deletions
@@ -324,6 +324,10 @@ assert(helperSrc.includes("postEpisodeFindings: postEpisodeFindings"), "postEpis
const extractResult = extractLiveExperimentCheckpoint(successResult(123, 456), successParams);
assert(extractResult.providerGenerateCalls === 1, "providerGenerateCalls preserved from extraction path");
// E10. Apparatus correction: focusedInvestigationInput field present in composed checkpoint (Iteration 2)
assert(helperSrc.includes("focusedInvestigationInput:"), "helper exposes focusedInvestigationInput in composed checkpoint output");
assert(helperSrc.includes("targetDescription:") && helperSrc.includes("question:") && helperSrc.includes("answer,"), "focusedInvestigationInput contains targetDescription, question, answer fields");
// ---- CONTRIBUTION SEAM VERIFICATION (Iteration 4 + Iteration 5 deconstruction) ──────────────────────
console.log("\n=== CONTRIBUTION SEAM VERIFICATION ===\n");