ARCH: удержать counterparty scope после contracts pivot в payments

This commit is contained in:
2026-04-23 20:30:55 +03:00
parent 0528745e39
commit 7e1a2edadb
4 changed files with 206 additions and 6 deletions
@@ -0,0 +1,65 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase75_contracts_to_payments_year_switch",
"domain": "address_phase75_contracts_to_payments_year_switch",
"title": "Phase 75 contracts to payments year-switch continuity",
"description": "Replay for a human chain where the user opens documents by counterparty, pivots to contracts, then pivots again to payments via pronoun follow-up, and finally switches the year without renaming the counterparty.",
"bindings": {},
"steps": [
{
"step_id": "step_01_documents_by_counterparty",
"title": "Open documents for the counterparty",
"question": "Покажи документы по Жуковке 51.",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк",
"(?i)документ|сч[её]т|акт|накладн|строк"
],
"criticality": "critical",
"semantic_tags": ["documents_by_counterparty", "pivot_seed", "integrity_guard"]
},
{
"step_id": "step_02_contracts_by_pronoun_followup",
"title": "Pivot to contracts",
"question": "А по нему договоры?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)договор|контракт|соглаш"
],
"criticality": "critical",
"semantic_tags": ["contracts_followup", "counterparty_pronoun_resolution", "integrity_guard"]
},
{
"step_id": "step_03_payments_after_contracts_pivot",
"title": "Pivot again to payments",
"question": "А по нему платежи?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)платеж|операц|банк|поступлен|списан"
],
"criticality": "critical",
"semantic_tags": ["payments_followup", "second_pivot", "integrity_guard"]
},
{
"step_id": "step_04_year_switch_after_second_pivot",
"title": "Switch the year after the second pivot",
"question": "А за 2021?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)2021",
"(?i)жуковк|контрагент",
"(?i)платеж|операц|банк|поступлен|списан"
],
"forbidden_answer_patterns": [
"(?i)уточните .* контрагент",
"(?i)метадан",
"(?i)схем",
"(?i)объект[а-я]* 1с"
],
"criticality": "critical",
"semantic_tags": ["year_switch_after_second_pivot", "payments_followup", "integrity_guard"]
}
]
}