ARCH: защитить documents pivot от inventory selected-object drift

This commit is contained in:
2026-04-23 20:50:09 +03:00
parent d7ee95286d
commit 5acb016573
5 changed files with 177 additions and 2 deletions
@@ -0,0 +1,65 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase78_payments_to_contracts_all_time",
"domain": "address_phase78_payments_to_contracts_all_time",
"title": "Phase 78 payments to contracts all-time continuity",
"description": "Replay for a human chain where the user opens documents by counterparty, pivots to payments, then pivots again to contracts via pronoun follow-up, and finally requests the same contracts for all available time 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_payments_by_pronoun_followup",
"title": "Pivot to payments",
"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_contracts_after_payments_pivot",
"title": "Pivot again to contracts",
"question": "А по нему договоры?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)договор|контракт|соглаш"
],
"criticality": "critical",
"semantic_tags": ["contracts_followup", "second_pivot", "integrity_guard"]
},
{
"step_id": "step_04_all_time_after_second_pivot",
"title": "Request all available time after the second pivot",
"question": "А за все время?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)договор|контракт|соглаш"
],
"forbidden_answer_patterns": [
"(?i)уточните .* контрагент",
"(?i)уточните .* период",
"(?i)метадан",
"(?i)схем",
"(?i)объект[а-я]* 1с"
],
"criticality": "critical",
"semantic_tags": ["all_time_after_second_pivot", "contracts_followup", "integrity_guard"]
}
]
}
@@ -0,0 +1,77 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase79_payments_to_contracts_to_documents_year_switch",
"domain": "address_phase79_payments_to_contracts_to_documents_year_switch",
"title": "Phase 79 payments to contracts to documents year-switch continuity",
"description": "Replay for a human chain where the user opens documents by counterparty, pivots to payments, then to contracts, then back to documents by pronoun follow-up, and finally narrows the same document contour to 2021 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_payments_by_pronoun_followup",
"title": "Pivot to payments",
"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_contracts_after_payments_pivot",
"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", "second_pivot", "integrity_guard"]
},
{
"step_id": "step_04_documents_after_contracts_pivot",
"title": "Pivot back to documents",
"question": "А по нему документы?",
"allowed_reply_types": ["factual", "factual_with_explanation", "partial_coverage"],
"required_answer_patterns_all": [
"(?i)жуковк|контрагент",
"(?i)документ|сч[её]т|акт|накладн|строк"
],
"criticality": "critical",
"semantic_tags": ["documents_followup", "third_pivot", "integrity_guard"]
},
{
"step_id": "step_05_year_switch_after_third_pivot",
"title": "Switch the year after the third 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_third_pivot", "documents_followup", "integrity_guard"]
}
]
}