Укрепить автономные reviewed-маршруты и срезы задолженности

This commit is contained in:
2026-05-12 23:26:20 +03:00
parent 5dedfeee86
commit b99a3be083
46 changed files with 3234 additions and 142 deletions
@@ -0,0 +1,249 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase95_vendor_procurement_quality_reviewed_route",
"domain": "address_phase95_vendor_procurement_quality_reviewed_route",
"title": "Phase 95 vendor/procurement quality reviewed route",
"description": "Focused semantic replay for promoting vendor_risk_procurement_quality from proxy-only enablement to reviewed procurement-concentration evidence while preserving debt, profit, VAT, value-flow, and inventory reserve canaries.",
"bindings": {},
"steps": [
{
"step_id": "step_01_vendor_procurement_concentration_ready",
"title": "Vendor/procurement boundary uses reviewed outgoing concentration evidence",
"question": "по ООО Альтернатива Плюс за 2020 есть ли риск, что мы зависим от одного поставщика?",
"allowed_reply_types": [
"factual",
"factual_with_explanation",
"partial_coverage"
],
"expected_catalog_alignment_status": "selected_matches_top",
"expected_catalog_chain_top_match": "business_overview",
"expected_catalog_selected_matches_top": true,
"expected_route_candidate_status": "ready_for_reviewed_execution",
"expected_route_candidate_executable_now": true,
"required_answer_patterns_all": [
"(?i)поставщик|vendor|supplier|закуп|procurement",
"(?i)концентрац|зависим|исходящ|получател",
"(?i)надежност|качество|назначени|не доказ|не подтвержд"
],
"forbidden_answer_patterns": [
"(?i)точно подтверждаю.*надежност",
"(?i)точно подтверждаю.*качество",
"(?i)route_candidate",
"(?i)query_movements",
"(?i)primitive",
"(?i)planner_",
"(?i)catalog_"
],
"criticality": "critical",
"semantic_tags": [
"business_overview",
"vendor_risk_procurement_boundary",
"vendor_risk_procurement_quality",
"ready_for_reviewed_execution"
]
},
{
"step_id": "step_02_short_vendor_followup_keeps_bank_boundary",
"title": "Short follow-up keeps bank-like recipient boundary",
"question": "а банк из этого ответа считать обычным поставщиком?",
"allowed_reply_types": [
"factual",
"factual_with_explanation",
"partial_coverage"
],
"expected_catalog_alignment_status": "selected_matches_top",
"expected_catalog_chain_top_match": "business_overview",
"expected_catalog_selected_matches_top": true,
"expected_route_candidate_status": "ready_for_reviewed_execution",
"expected_route_candidate_executable_now": true,
"required_answer_patterns_all": [
"(?i)банк|финансов",
"(?i)не.*обычн.*поставщик|не.*поставщик|отдельн",
"(?i)назначени.*платеж|договор|не доказ|не подтвержд"
],
"forbidden_answer_patterns": [
"(?i)уточните организац",
"(?i)какую компанию",
"(?i)route_candidate",
"(?i)primitive",
"(?i)planner_",
"(?i)catalog_"
],
"criticality": "critical",
"semantic_tags": [
"business_overview",
"context_carryover",
"vendor_risk_procurement_boundary",
"financial_institution_boundary"
]
},
{
"step_id": "step_03_debt_due_date_canary_still_reviewed",
"title": "Debt due-date canary still uses reviewed payment-term evidence",
"question": "по этой же компании на конец 2020 можно точно понять, какая дебиторка просрочена?",
"allowed_reply_types": [
"factual",
"factual_with_explanation",
"partial_coverage"
],
"expected_catalog_alignment_status": "selected_matches_top",
"expected_catalog_chain_top_match": "business_overview",
"expected_catalog_selected_matches_top": true,
"expected_route_candidate_status": "ready_for_reviewed_execution",
"expected_route_candidate_executable_now": true,
"required_answer_patterns_all": [
"(?i)дебитор|долг|открыт.*расчет|остат",
"(?i)2020|2020-12-31|конец 2020",
"(?i)срок.*оплат|due[- ]?date|просроч",
"(?i)не установлен|не подтвержд|не доказ|нет подтвержденной просроч"
],
"forbidden_answer_patterns": [
"(?i)точно подтверждаю.*просроч",
"(?i)route_candidate",
"(?i)primitive",
"(?i)planner_",
"(?i)catalog_"
],
"criticality": "critical",
"semantic_tags": [
"business_overview",
"debt_due_date_boundary",
"canary"
]
},
{
"step_id": "step_04_profit_margin_canary_still_reviewed",
"title": "Profit/margin canary still uses accounting result route",
"question": "а чистая прибыль и маржа за 2020 какие?",
"allowed_reply_types": [
"factual",
"factual_with_explanation",
"partial_coverage"
],
"expected_catalog_alignment_status": "selected_matches_top",
"expected_catalog_chain_top_match": "business_overview",
"expected_catalog_selected_matches_top": true,
"expected_route_candidate_status": "ready_for_reviewed_execution",
"expected_route_candidate_executable_now": true,
"required_answer_patterns_all": [
"(?i)90/91/99|90\\.01|99",
"(?i)учетн|финрезульт|прибыл|убыт",
"(?i)марж|рентаб",
"(?i)2020"
],
"forbidden_answer_patterns": [
"(?i)только bounded operating-flow/trading-margin proxy",
"(?i)route_candidate",
"(?i)primitive",
"(?i)planner_",
"(?i)catalog_"
],
"criticality": "critical",
"semantic_tags": [
"business_overview",
"profit_margin_boundary",
"accounting_profit_margin",
"canary"
]
},
{
"step_id": "step_05_vat_canary_still_answers",
"title": "VAT continuity canary still answers from reviewed tax route",
"question": "НДС за 2020 по ООО Альтернатива Плюс какой?",
"allowed_reply_types": [
"factual",
"factual_with_explanation",
"partial_coverage"
],
"required_answer_patterns_all": [
"(?i)НДС|VAT|налог",
"(?i)2020",
"(?i)продаж|покуп|к уплат|к возмещ|зачет",
"(?i)подтвержд|проверенн|1С"
],
"forbidden_answer_patterns": [
"(?i)route_candidate",
"(?i)primitive",
"(?i)planner_",
"(?i)catalog_"
],
"criticality": "critical",
"semantic_tags": [
"business_overview",
"vat_continuity",
"canary"
]
},
{
"step_id": "step_06_value_flow_ranking_context_still_works",
"title": "Value-flow ranking still uses organization context",
"question": "а кто принес больше всего денег за 2020?",
"allowed_reply_types": [
"factual",
"factual_with_explanation",
"partial_coverage"
],
"expected_catalog_alignment_status": "selected_matches_top",
"expected_catalog_chain_top_match": "value_flow_ranking",
"expected_catalog_selected_matches_top": true,
"expected_route_candidate_status": "ready_for_reviewed_execution",
"expected_route_candidate_executable_now": true,
"required_answer_patterns_all": [
"(?i)2020",
"(?i)контрагент|клиент|покупател",
"(?i)деньг|поступ|выруч|руб",
"(?i)подтвержд|проверенн|найден"
],
"forbidden_answer_patterns": [
"(?i)уточните организац",
"(?i)какую компанию",
"(?i)route_candidate",
"(?i)query_movements",
"(?i)primitive",
"(?i)planner_",
"(?i)catalog_"
],
"criticality": "critical",
"semantic_tags": [
"value_flow_ranking",
"context_carryover",
"canary"
]
},
{
"step_id": "step_07_inventory_reserve_boundary_still_needs_route",
"title": "Inventory reserve boundary remains honest and bounded",
"question": "по ООО Альтернатива Плюс на конец 2020 можно точно подтвердить резерв под неликвиды на складе?",
"allowed_reply_types": [
"factual",
"factual_with_explanation",
"partial_coverage",
"no_grounded_answer"
],
"expected_catalog_alignment_status": "selected_matches_top",
"expected_catalog_chain_top_match": "business_overview",
"expected_catalog_selected_matches_top": true,
"expected_route_candidate_status": "needs_route_enablement",
"expected_route_candidate_executable_now": false,
"required_answer_patterns_all": [
"(?i)резерв|неликвид|склад|товар",
"(?i)не подтвержд|не доказ|нельзя точно|нет точн",
"(?i)списан|ликвидац|учетн|провер"
],
"forbidden_answer_patterns": [
"(?i)точно подтверждаю",
"(?i)route_candidate",
"(?i)primitive",
"(?i)planner_",
"(?i)catalog_"
],
"criticality": "critical",
"semantic_tags": [
"business_overview",
"inventory_reserve_boundary",
"missing_proof_families",
"canary"
]
}
]
}