Закрепить целевой AGENT-прогон hot value-flow handoff
This commit is contained in:
@@ -60,6 +60,25 @@ describe("assistant MCP discovery data need graph", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("does not turn explicit no-top wording into a value-flow ranking", () => {
|
||||
const result = buildAssistantMcpDiscoveryDataNeedGraph({
|
||||
semanticDataNeed: "counterparty value-flow evidence",
|
||||
rawUtterance:
|
||||
"Определить общую сумму поступлений в ООО Альтернатива Плюс за 2020 год, исключая топ-контрагентов и детализацию по контрагентам",
|
||||
turnMeaning: {
|
||||
asked_domain_family: "counterparty_value",
|
||||
asked_action_family: "counterparty_value_or_turnover",
|
||||
explicit_organization_scope: "ООО Альтернатива Плюс",
|
||||
explicit_date_scope: "2020"
|
||||
}
|
||||
});
|
||||
|
||||
expect(result.business_fact_family).toBe("value_flow");
|
||||
expect(result.ranking_need).toBeNull();
|
||||
expect(result.decomposition_candidates).toContain("aggregate_checked_amounts");
|
||||
expect(result.decomposition_candidates).not.toContain("aggregate_ranked_axis_values");
|
||||
});
|
||||
|
||||
it("marks metadata lane choice as a clarification-required graph", () => {
|
||||
const result = buildAssistantMcpDiscoveryDataNeedGraph({
|
||||
semanticDataNeed: "metadata lane clarification",
|
||||
|
||||
@@ -100,7 +100,7 @@ describe("assistant MCP discovery debug attachment", () => {
|
||||
);
|
||||
expect(debug.mcp_discovery_entry_status).toBe("bridge_executed");
|
||||
expect(debug.mcp_discovery_attempted).toBe(true);
|
||||
expect(debug.mcp_discovery_hot_runtime_wired).toBe(false);
|
||||
expect(debug.mcp_discovery_hot_runtime_wired).toBe(true);
|
||||
expect(debug.mcp_discovery_bridge_status).toBe("answer_draft_ready");
|
||||
expect(debug.mcp_discovery_selected_chain_id).toBe("value_flow");
|
||||
expect(debug.mcp_discovery_evidence_plan_status).toBe("ready_for_execution");
|
||||
|
||||
Reference in New Issue
Block a user