From 4c352a826347e5820a4d5e5ccdea2af69fa8e19f Mon Sep 17 00:00:00 2001 From: dctouch Date: Thu, 23 Apr 2026 12:25:41 +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=20phase44=20comparison=20clarification=20replay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...lti_hop_comparison_clarification_loop.json | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 docs/orchestration/address_truth_harness_phase44_multi_hop_comparison_clarification_loop.json diff --git a/docs/orchestration/address_truth_harness_phase44_multi_hop_comparison_clarification_loop.json b/docs/orchestration/address_truth_harness_phase44_multi_hop_comparison_clarification_loop.json new file mode 100644 index 0000000..50a98c0 --- /dev/null +++ b/docs/orchestration/address_truth_harness_phase44_multi_hop_comparison_clarification_loop.json @@ -0,0 +1,70 @@ +{ + "schema_version": "domain_truth_harness_spec_v1", + "scenario_id": "address_truth_harness_phase44_multi_hop_comparison_clarification_loop", + "domain": "address_phase44_multi_hop_comparison_clarification_loop", + "title": "Phase 44 multi-hop comparison clarification loop", + "description": "Targeted AGENT replay for Big Block F where an open-scope incoming-vs-outgoing comparison must ask for both organization and period, then keep the same comparison loop after an organization-only clarification, and finally answer after the second clarification provides the period.", + "bindings": {}, + "steps": [ + { + "step_id": "step_01_comparison_requires_org_and_period", + "title": "Generic incoming-vs-outgoing comparison asks for both organization and period", + "question": "Что больше: входящих денег или исходящих?", + "allowed_reply_types": ["clarification_required", "partial_coverage", "factual_with_explanation"], + "required_answer_patterns_all": [ + "(?i)уточн|нужно", + "(?i)организац", + "(?i)период" + ], + "forbidden_answer_patterns": [ + "(?i)уточните контрагента", + "(?i)не найден контрагент", + "(?i)по какому контрагенту", + "(?i)не найдено контрагента" + ], + "criticality": "critical", + "semantic_tags": ["value_flow_comparison", "multi_hop_clarification", "organization_scope", "period_scope", "bounded_autonomy"] + }, + { + "step_id": "step_02_org_only_clarification_keeps_same_comparison_loop", + "title": "Organization-only clarification preserves the same comparison loop and asks only for the period", + "question": "по ООО Альтернатива Плюс", + "allowed_reply_types": ["clarification_required", "partial_coverage"], + "required_answer_patterns_all": [ + "(?i)уточн|нужно", + "(?i)период" + ], + "forbidden_answer_patterns": [ + "(?i)организац", + "(?i)уточните контрагента", + "(?i)не найден контрагент" + ], + "criticality": "critical", + "semantic_tags": ["value_flow_comparison", "multi_hop_clarification", "organization_followup_reuse", "bounded_autonomy"] + }, + { + "step_id": "step_03_period_clarification_completes_same_comparison_loop", + "title": "Period clarification completes the same comparison loop and yields a bounded comparison answer", + "question": "за 2020 год", + "allowed_reply_types": ["factual_with_explanation", "partial_coverage"], + "required_answer_patterns_all": [ + "(?i)2020", + "(?i)входящ|исходящ|получ|заплат|списан|платеж", + "(?i)руб" + ], + "required_answer_patterns_any": [ + "(?i)больше|меньше|превыш|разниц", + "(?i)альтернатива", + "(?i)проверенн|найденн" + ], + "forbidden_answer_patterns": [ + "(?i)уточните организацию", + "(?i)уточните период", + "(?i)уточните контрагента", + "(?i)не найден контрагент" + ], + "criticality": "critical", + "semantic_tags": ["value_flow_comparison", "multi_hop_clarification", "period_followup_reuse", "bounded_autonomy"] + } + ] +}