fix(reasoning): reconcile closure selection state

This commit is contained in:
2026-08-14 11:02:00 +01:00
parent a00112e157
commit 54e2e2186b
4 changed files with 386 additions and 3 deletions
+9
View File
@@ -905,6 +905,15 @@ describe("60B.11 — prompt prerequisite-aware targeting", () => {
expect(prompt).toContain("depends_on");
});
it("clarifies selectedQuestion must remain unresolved after applying the same proposal", () => {
expect(prompt).toContain(
"remains unresolved after applying this same proposal",
);
expect(prompt).toContain(
"If the proposal resolves all consequential unknowns, selectedQuestion must be null.",
);
});
it("does NOT duplicate the materiality scoring rule", () => {
// The prompt should clarify targeting but not redefine materiality
expect(prompt).not.toContain("materiality score");