feat: enforce reasoning pattern consistency
This commit is contained in:
@@ -1274,6 +1274,12 @@ describe("lib/graph/orchestrator startCase", () => {
|
||||
resolvedFirstChildNodeId,
|
||||
);
|
||||
expect(initial.diagnostics.noQuestionReason).toBeNull();
|
||||
expect(initial.diagnostics.reasoningPatternValidation).toMatchObject({
|
||||
activePattern: "decision",
|
||||
valid: true,
|
||||
});
|
||||
expect(initial.diagnostics.graphReasoningIntegrity).toBe("valid");
|
||||
expect(initial.diagnostics.incompatibleNodeIds).toEqual([]);
|
||||
expect(initial.selectedQuestion?.question.toLowerCase()).not.toMatch(
|
||||
/price|budget|market size|pilot metrics|benchmark|technical differentiation/,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user