fix(confidence-engine): preserve intervention fit dependency

This commit is contained in:
2026-09-05 13:33:01 +01:00
parent 55e935066c
commit e5de8564a4
3 changed files with 16 additions and 0 deletions
+8
View File
@@ -245,6 +245,14 @@ describe("v0.5 prompt", () => {
);
});
it("preserves supplied intervention-fit dependencies beyond narrower evidence prerequisites", async () => {
const { prompt } = await buildPrompt("Intervention contingency scenario", "v0.5");
expect(prompt).toContain("intervention appropriateness depends_on unresolved condition");
expect(prompt).toContain("Narrower supported evidence prerequisites");
expect(prompt).toContain("MUST NOT replace the supplied higher-order intervention-fit dependency");
});
it("retains the provenance stop boundary and interpretation separation", async () => {
const { prompt } = await buildPrompt("Contract retention scenario", "v0.5");