Сохранить phase104 в агентные автопрогоны

This commit is contained in:
dctouch 2026-06-15 20:22:59 +03:00
parent 10cc779de8
commit d0d7962b65
4 changed files with 261 additions and 1 deletions

View File

@ -1,4 +1,52 @@
[
{
"generation_id": "gen-ag06151720-c4b54f",
"created_at": "2026-06-15T17:20:44+00:00",
"mode": "saved_user_sessions",
"title": "AGENT | Phase104 role-tail anchor hygiene and bidirectional value-flow",
"count": 4,
"domain": "address_phase104_generic_role_tail_anchor_hygiene",
"questions": [
"ООО Альтернатива Плюс",
"Теперь дай взрослый обзор за 2020 по компании: входящие, исходящие, нетто, топы, но банк в топах отдельно объясни как финансовый поток, если по назначению он не обычный клиент или поставщик.",
"А отдельно по СБЕРБАНКУ: он для нас клиент, поставщик или финансовый поток? Дай коротко по подтвержденным строкам.",
"А теперь по поставщику Группа СВК за 2020: сколько мы ему заплатили и какой общий денежный смысл?"
],
"generated_by": "codex_agent",
"saved_case_set_file": "assistant_autogen_saved_user_sessions_20260615172044_gen-ag06151720-c4b54f.json",
"context": {
"llm_provider": null,
"model": null,
"assistant_prompt_version": null,
"decomposition_prompt_version": null,
"prompt_fingerprint": null,
"autogen_personality_id": null,
"autogen_personality_prompt": null,
"source_session_id": null,
"saved_session_file": "assistant_saved_session_20260615172044_gen-ag06151720-c4b54f.json",
"saved_case_set_kind": "agent_semantic_scenario",
"agent_run": true,
"agent_focus": "Role-tail anchor hygiene, bank boundary, and supplier-prefix bidirectional money-flow after live domain-case-loop p04.",
"architecture_phase": "turnaround_11",
"source_spec_file": "X:\\1C\\NDC_1C\\docs\\orchestration\\active_domain_contract.json",
"scenario_id": null,
"semantic_tags": [
"bank_like_counterparty",
"bare_org_scope",
"business_overview",
"company_scope",
"counterparty_net_cash_flow",
"financial_role_purpose",
"generic_role_tail_anchor_hygiene",
"post_overview_anchor_integrity",
"stale_scope_guard",
"supplier_prefix_canary"
],
"validation_status": "accepted_domain_pack_loop",
"validated_run_dir": "artifacts\\domain_runs\\phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop",
"saved_after_validated_replay": true
}
},
{
"generation_id": "gen-ag06031328-3e1dd1",
"created_at": "2026-06-03T13:28:09+00:00",

View File

@ -0,0 +1,171 @@
{
"saved_at": "2026-06-15T17:20:44+00:00",
"generation_id": "gen-ag06151720-c4b54f",
"mode": "saved_user_sessions",
"title": "AGENT | Phase104 role-tail anchor hygiene and bidirectional value-flow",
"agent_run": true,
"questions": [
"ООО Альтернатива Плюс",
"Теперь дай взрослый обзор за 2020 по компании: входящие, исходящие, нетто, топы, но банк в топах отдельно объясни как финансовый поток, если по назначению он не обычный клиент или поставщик.",
"А отдельно по СБЕРБАНКУ: он для нас клиент, поставщик или финансовый поток? Дай коротко по подтвержденным строкам.",
"А теперь по поставщику Группа СВК за 2020: сколько мы ему заплатили и какой общий денежный смысл?"
],
"metadata": {
"assistant_prompt_version": null,
"decomposition_prompt_version": null,
"prompt_fingerprint": null,
"agent_focus": "Role-tail anchor hygiene, bank boundary, and supplier-prefix bidirectional money-flow after live domain-case-loop p04.",
"architecture_phase": "turnaround_11",
"source_spec_file": "X:\\1C\\NDC_1C\\docs\\orchestration\\active_domain_contract.json",
"scenario_id": null,
"semantic_tags": [
"bank_like_counterparty",
"bare_org_scope",
"business_overview",
"company_scope",
"counterparty_net_cash_flow",
"financial_role_purpose",
"generic_role_tail_anchor_hygiene",
"post_overview_anchor_integrity",
"stale_scope_guard",
"supplier_prefix_canary"
],
"validation_status": "accepted_domain_pack_loop",
"validated_run_dir": "artifacts\\domain_runs\\phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop",
"saved_after_validated_replay": true,
"save_gate": {
"schema_version": "agent_semantic_save_gate_v1",
"validation_status": "accepted_domain_pack_loop",
"validated_run_dir": "artifacts\\domain_runs\\phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop",
"final_status": "accepted",
"loop_id": "phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop",
"target_score": 88,
"iterations_ran": 1,
"quality_score": 91,
"repair_target_count": 0,
"repair_target_severity_counts": {
"P0": 0,
"P1": 0,
"P2": 0
},
"accepted_gate": true,
"effective_runtime": {
"manifest_path": "artifacts\\domain_runs\\phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop\\effective_runtime.json",
"runner": "domain_case_loop.run-pack-loop",
"git_sha": "bbb3620956f85aa05bb0c2b76c109cb05a066185",
"backend_url": "http://127.0.0.1:8787",
"mcp_proxy_url": "http://127.0.0.1:6003",
"llm_provider": "local",
"llm_model": "unsloth/qwen3-30b-a3b-instruct-2507",
"temperature": 0.8,
"max_output_tokens": 900,
"prompt_version": "normalizer_v2_0_2",
"prompt_source": "file",
"prompt_hash": "f36e36a5e491cd24511b380e0c0059cb01aea5e2af738fb9f01671cd291735c1",
"prompt_registry_status": "pass"
},
"saved_after_validated_replay": true
}
},
"source_session_id": null,
"session": {
"session_id": null,
"mode": "agent_semantic_run",
"items": [
{
"message_id": "agent-user-001",
"role": "user",
"text": "ООО Альтернатива Плюс",
"created_at": "2026-06-15T17:20:44+00:00",
"reply_type": null,
"trace_id": null,
"debug": null
},
{
"message_id": "agent-user-002",
"role": "user",
"text": "Теперь дай взрослый обзор за 2020 по компании: входящие, исходящие, нетто, топы, но банк в топах отдельно объясни как финансовый поток, если по назначению он не обычный клиент или поставщик.",
"created_at": "2026-06-15T17:20:44+00:00",
"reply_type": null,
"trace_id": null,
"debug": null
},
{
"message_id": "agent-user-003",
"role": "user",
"text": "А отдельно по СБЕРБАНКУ: он для нас клиент, поставщик или финансовый поток? Дай коротко по подтвержденным строкам.",
"created_at": "2026-06-15T17:20:44+00:00",
"reply_type": null,
"trace_id": null,
"debug": null
},
{
"message_id": "agent-user-004",
"role": "user",
"text": "А теперь по поставщику Группа СВК за 2020: сколько мы ему заплатили и какой общий денежный смысл?",
"created_at": "2026-06-15T17:20:44+00:00",
"reply_type": null,
"trace_id": null,
"debug": null
}
],
"agent_run": true,
"metadata": {
"assistant_prompt_version": null,
"decomposition_prompt_version": null,
"prompt_fingerprint": null,
"agent_focus": "Role-tail anchor hygiene, bank boundary, and supplier-prefix bidirectional money-flow after live domain-case-loop p04.",
"architecture_phase": "turnaround_11",
"source_spec_file": "X:\\1C\\NDC_1C\\docs\\orchestration\\active_domain_contract.json",
"scenario_id": null,
"semantic_tags": [
"bank_like_counterparty",
"bare_org_scope",
"business_overview",
"company_scope",
"counterparty_net_cash_flow",
"financial_role_purpose",
"generic_role_tail_anchor_hygiene",
"post_overview_anchor_integrity",
"stale_scope_guard",
"supplier_prefix_canary"
],
"validation_status": "accepted_domain_pack_loop",
"validated_run_dir": "artifacts\\domain_runs\\phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop",
"saved_after_validated_replay": true,
"save_gate": {
"schema_version": "agent_semantic_save_gate_v1",
"validation_status": "accepted_domain_pack_loop",
"validated_run_dir": "artifacts\\domain_runs\\phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop",
"final_status": "accepted",
"loop_id": "phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop",
"target_score": 88,
"iterations_ran": 1,
"quality_score": 91,
"repair_target_count": 0,
"repair_target_severity_counts": {
"P0": 0,
"P1": 0,
"P2": 0
},
"accepted_gate": true,
"effective_runtime": {
"manifest_path": "artifacts\\domain_runs\\phase104_generic_role_tail_anchor_hygiene_20260615_p04_loop\\effective_runtime.json",
"runner": "domain_case_loop.run-pack-loop",
"git_sha": "bbb3620956f85aa05bb0c2b76c109cb05a066185",
"backend_url": "http://127.0.0.1:8787",
"mcp_proxy_url": "http://127.0.0.1:6003",
"llm_provider": "local",
"llm_model": "unsloth/qwen3-30b-a3b-instruct-2507",
"temperature": 0.8,
"max_output_tokens": 900,
"prompt_version": "normalizer_v2_0_2",
"prompt_source": "file",
"prompt_hash": "f36e36a5e491cd24511b380e0c0059cb01aea5e2af738fb9f01671cd291735c1",
"prompt_registry_status": "pass"
},
"saved_after_validated_replay": true
}
}
}
}

View File

@ -0,0 +1,37 @@
{
"suite_id": "assistant_saved_session_gen-ag06151720-c4b54f",
"suite_version": "0.1.0",
"schema_version": "assistant_saved_session_suite_v0_1",
"generated_at": "2026-06-15T17:20:44+00:00",
"generation_id": "gen-ag06151720-c4b54f",
"mode": "saved_user_sessions",
"title": "AGENT | Phase104 role-tail anchor hygiene and bidirectional value-flow",
"domain": "address_phase104_generic_role_tail_anchor_hygiene",
"scenario_count": 1,
"case_ids": [
"SAVED-001"
],
"cases": [
{
"case_id": "SAVED-001",
"scenario_tag": "agent_saved_user_sessions",
"title": "AGENT | Phase104 role-tail anchor hygiene and bidirectional value-flow",
"question_type": "followup",
"broadness_level": "medium",
"turns": [
{
"user_message": "ООО Альтернатива Плюс"
},
{
"user_message": "Теперь дай взрослый обзор за 2020 по компании: входящие, исходящие, нетто, топы, но банк в топах отдельно объясни как финансовый поток, если по назначению он не обычный клиент или поставщик."
},
{
"user_message": "А отдельно по СБЕРБАНКУ: он для нас клиент, поставщик или финансовый поток? Дай коротко по подтвержденным строкам."
},
{
"user_message": "А теперь по поставщику Группа СВК за 2020: сколько мы ему заплатили и какой общий денежный смысл?"
}
]
}
]
}

View File

@ -720,7 +720,11 @@ def parse_args() -> argparse.Namespace:
parser.add_argument("--prompt-fingerprint", help="Optional prompt fingerprint metadata.")
parser.add_argument(
"--validated-run-dir",
help="Accepted truth-harness artifact directory containing pack_state.json, truth_review.json, and business_review.json.",
help=(
"Accepted replay artifact directory. Supports truth-harness runs "
"(pack_state/truth_review/business_review), domain-case-loop pack/scenario dirs, "
"and run-pack-loop dirs with loop_state.json."
),
)
parser.add_argument(
"--allow-unvalidated",