ARCH: разрешить net-flow discovery переопределять stale lifecycle carryover

This commit is contained in:
2026-04-21 19:10:29 +03:00
parent 429bd3d8ec
commit d323dcd509
4 changed files with 304 additions and 41 deletions
@@ -0,0 +1,71 @@
{
"schema_version": "domain_truth_harness_spec_v1",
"scenario_id": "address_truth_harness_phase21_net_followup_after_broad_eval",
"domain": "address_phase21_net_followup_after_broad_eval",
"title": "Phase 21 net-flow follow-up after broad evaluation replay",
"description": "Targeted AGENT replay for the assistant-stage1-LpuYsX0SRP regression where a net cash-flow question about Группа СВК inside an existing dialogue chain was wrongly kept on the counterparty lifecycle contour instead of applying the guarded MCP discovery answer.",
"bindings": {},
"steps": [
{
"step_id": "step_01_company_activity_lifecycle",
"title": "Activity lifecycle answer seeds broad counterparty context",
"question": "а по Альтернативе Плюс сколько лет активности в базе 1С?",
"allowed_reply_types": [
"partial_coverage",
"factual",
"factual_with_explanation"
],
"required_answer_patterns_any": [
"(?i)лет",
"(?i)активност",
"(?i)1с",
"(?i)не получил|не подтвержден|проверил доступный контур"
],
"criticality": "critical",
"semantic_tags": [
"company_activity_lifecycle",
"context_seed"
]
},
{
"step_id": "step_02_broad_company_evaluation",
"title": "Broad evaluation sits between lifecycle and net-flow question",
"question": "Как ты оценишь деятельность компании?",
"required_answer_patterns_any": [
"(?i)активн",
"(?i)заказчик|контрагент|деятельност|оценк"
],
"criticality": "warning",
"semantic_tags": [
"broad_evaluation_bridge"
]
},
{
"step_id": "step_03_net_flow_after_broad_eval",
"title": "Net-flow follow-up overrides stale lifecycle carryover and answers with inflow outflow and net",
"question": "какое нетто по деньгам с Группа СВК за 2020 год: сколько получили и сколько заплатили?",
"allowed_reply_types": [
"partial_coverage",
"factual_with_explanation"
],
"required_answer_patterns_all": [
"(?i)свк",
"(?i)получил|входящ|поступ",
"(?i)заплат|исходящ|списан|плат[её]ж",
"(?i)нетто|сальдо|разниц",
"(?i)2020|период",
"(?i)руб"
],
"forbidden_answer_patterns": [
"(?i)активных заказчиков",
"(?i)лет в базе",
"(?i)последняя активность"
],
"criticality": "critical",
"semantic_tags": [
"counterparty_net_cash_flow",
"stale_lifecycle_override"
]
}
]
}