test(confidence-engine): report final deep provider count
This commit is contained in:
@@ -394,8 +394,8 @@ assert(helperSrc.includes("effectiveContributions.push(derivedContrib)"), "one d
|
|||||||
// D7. Prior Findings accumulate exactly once — postEpisodeFindings = prior + newDeconstructed + appended
|
// D7. Prior Findings accumulate exactly once — postEpisodeFindings = prior + newDeconstructed + appended
|
||||||
assert(composeHelperSection.includes("postEpisodeFindings") && composeHelperSection.includes("[...priorFindings, ...newFindingsFromContributions"), "findings accumulation: prior + derived from deconstruction (exactly-once)");
|
assert(composeHelperSection.includes("postEpisodeFindings") && composeHelperSection.includes("[...priorFindings, ...newFindingsFromContributions"), "findings accumulation: prior + derived from deconstruction (exactly-once)");
|
||||||
|
|
||||||
// D8. Episode reconsideration still executes via reconsiderCompletedEpisode
|
// D8. Episode reconsideration receives timedProvider (counter accounting fix)
|
||||||
assert(helperSrc.includes("reconsiderCompletedEpisode"), "episode reconsideration still executes post-deconstruction");
|
assert(helperSrc.includes("reconsiderCompletedEpisode(prepared, { provider: timedProvider })") || helperSrc.includes('reconsiderCompletedEpisode(prepared, { provider : timedProvider })'), "episode reconsideration receives timedProvider (counter accounting fix)");
|
||||||
|
|
||||||
// D9. CU synthesis still executes with accumulated findings
|
// D9. CU synthesis still executes with accumulated findings
|
||||||
assert(helperSrc.includes("postEpisodeFindings") && helperSrc.includes("synthesizeCurrentUnderstanding"), "CU synthesis uses full accumulated findings");
|
assert(helperSrc.includes("postEpisodeFindings") && helperSrc.includes("synthesizeCurrentUnderstanding"), "CU synthesis uses full accumulated findings");
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ async function composeDeepInvestigationCheckpoint({ situationGraph, previousQues
|
|||||||
throw new Error("no_episodic_content: prepared episode has no turns or eligible findings");
|
throw new Error("no_episodic_content: prepared episode has no turns or eligible findings");
|
||||||
}
|
}
|
||||||
|
|
||||||
const reasoning = await reconsiderCompletedEpisode(prepared);
|
const reasoning = await reconsiderCompletedEpisode(prepared, { provider: timedProvider });
|
||||||
if (!reasoning.success) {
|
if (!reasoning.success) {
|
||||||
throw new Error(`reconsiderCompletedEpisode failed: ${reasoning.error}`);
|
throw new Error(`reconsiderCompletedEpisode failed: ${reasoning.error}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user