ARCH: связать phase18 capabilities с runtime contracts

This commit is contained in:
2026-04-20 07:45:57 +03:00
parent 43d50e21cc
commit 399e29f4a4
9 changed files with 191 additions and 0 deletions
@@ -352,6 +352,39 @@ export const INVENTORY_CAPABILITY_CONTRACTS: readonly AssistantCapabilityContrac
] as const;
export const ROOT_EXACT_CAPABILITY_CONTRACTS: readonly AssistantCapabilityContract[] = [
rootExactCapability({
capability_id: "documents_drilldown",
domainId: "counterparty_documents",
intent_ids: ["list_documents_by_counterparty", "list_documents_by_contract"],
transitions: ["T1", "T2", "T6", "T7"],
requiredAnchors: [],
optionalAnchors: ["organization", "date_scope", "counterparty", "contract", "document_type"],
resultShape: "counterparty_or_contract_document_list",
answerObjectShape: "documents_drilldown_list",
scenarioFamilies: ["canonical", "colloquial", "short_counterparty_retarget", "followup_date_carryover"]
}),
rootExactCapability({
capability_id: "address_customer_revenue_and_payments",
domainId: "counterparty_revenue",
intent_ids: ["customer_revenue_and_payments"],
transitions: ["T1", "T2", "T6", "T7"],
requiredAnchors: [],
optionalAnchors: ["organization", "date_scope", "counterparty", "contract"],
resultShape: "counterparty_revenue_payment_flow",
answerObjectShape: "counterparty_revenue_summary",
scenarioFamilies: ["canonical", "colloquial", "short_counterparty_retarget", "answer_top_block_matches_current_user_intent"]
}),
rootExactCapability({
capability_id: "address_supplier_payouts_profile",
domainId: "counterparty_payouts",
intent_ids: ["supplier_payouts_profile"],
transitions: ["T1", "T2", "T6", "T7"],
requiredAnchors: [],
optionalAnchors: ["organization", "date_scope", "counterparty", "contract"],
resultShape: "supplier_payout_payment_flow",
answerObjectShape: "supplier_payout_summary",
scenarioFamilies: ["canonical", "colloquial", "short_counterparty_retarget"]
}),
rootExactCapability({
capability_id: "confirmed_payables_as_of_date",
domainId: "counterparty_debt",