From 0c4b53ccc637c7fd39c44d0d9dcfee191f84e50f Mon Sep 17 00:00:00 2001 From: dctouch Date: Thu, 23 Apr 2026 19:43:08 +0300 Subject: [PATCH] =?UTF-8?q?ARCH:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=82=D1=8C=20phase71=20payments=20year-switch=20replay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...se71_document_to_payments_year_switch.json | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 docs/orchestration/address_truth_harness_phase71_document_to_payments_year_switch.json diff --git a/docs/orchestration/address_truth_harness_phase71_document_to_payments_year_switch.json b/docs/orchestration/address_truth_harness_phase71_document_to_payments_year_switch.json new file mode 100644 index 0000000..933e2e3 --- /dev/null +++ b/docs/orchestration/address_truth_harness_phase71_document_to_payments_year_switch.json @@ -0,0 +1,53 @@ +{ + "schema_version": "domain_truth_harness_spec_v1", + "scenario_id": "address_truth_harness_phase71_document_to_payments_year_switch", + "domain": "address_phase71_document_to_payments_year_switch", + "title": "Phase 71 document to payments year-switch continuity", + "description": "Replay for a human chain where the user opens documents by counterparty, pivots to payments with a pronoun follow-up, and then 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", "pronoun_pivot_seed", "integrity_guard"] + }, + { + "step_id": "step_02_payments_by_pronoun_followup", + "title": "Pivot to payments via pronoun follow-up", + "question": "А по нему платежи?", + "allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"], + "required_answer_patterns_all": [ + "(?i)жуковк|контрагент", + "(?i)платеж|операц|банк|поступлен|списан" + ], + "criticality": "critical", + "semantic_tags": ["payments_followup", "counterparty_pronoun_resolution", "integrity_guard"] + }, + { + "step_id": "step_03_year_switch_after_payments_pivot", + "title": "Switch the year without renaming the counterparty", + "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_pivot", "payments_followup", "integrity_guard"] + } + ] +}