refactor(reasoning): extract decision sufficiency

This commit is contained in:
2026-08-14 15:37:24 +01:00
parent c43decf5d4
commit 36b4f47097
4 changed files with 713 additions and 273 deletions
+1
View File
@@ -1,5 +1,6 @@
import { describe, expect, it } from "vitest";
import { applyValidatedProposal, hasRemainingMaterialFactors } from "@/lib/graph/apply-proposal.js";
import { shouldCloseDecision, isUserConfirmationOfNoRemainingUncertainty } from "@/lib/graph/decision-sufficiency.js";
import { makeEdge, makeGraph, makeNode } from "@/lib/graph/schema.js";
import {
selectActiveUnknownCandidate,