Этап 4 / Пакет по РБП восстановление живого контура сбора данных и доказательной базы

This commit is contained in:
2026-03-29 10:38:04 +03:00
parent 095e74ad3b
commit 133b6dca3c
83 changed files with 265742 additions and 77 deletions
@@ -0,0 +1,15 @@
# Q1 VAT — MCP Query Recipe
Current runtime call:
- `execute_query` generic accounting-register probe (broad, not claim-specific).
Required proof-oriented call sequence:
1. `execute_query:find_receipt_document_by_date_item`
2. `execute_query:find_sale_document_by_date_item`
3. `execute_query:find_invoice_links_for_receipt_sale`
4. `execute_query:find_vat_register_entries_by_invoice`
5. `execute_query:find_sales_purchase_book_entries`
6. `execute_query:cross_check_document_postings`
Why current call is insufficient:
- returns broad movements without explicit invoice/register/book linkage.
@@ -0,0 +1,14 @@
# Q2 RBP — MCP Query Recipe
Current runtime call:
- no live call selected (both fragments routed to canonical snapshot path).
Required proof-oriented call sequence:
1. `execute_query:find_rbp_writeoff_documents_in_period`
2. `execute_query:find_rbp_object_movements_account_97`
3. `execute_query:find_month_close_entries_linked_to_rbp`
4. `execute_query:compute_end_period_residual_by_rbp_object`
5. `execute_query:classify_normal_vs_abnormal_residual`
Why current path is insufficient:
- object-level RBP lifecycle is not reconstructed in live path.
@@ -0,0 +1,14 @@
# Q3 FA — MCP Query Recipe
Current runtime call:
- `execute_query` generic accounting-register probe.
Required proof-oriented call sequence:
1. `execute_query:find_fa_objects_expected_in_period`
2. `execute_query:find_depreciation_documents_2020_07`
3. `execute_query:map_fa_object_to_depreciation_rows`
4. `execute_query:cross_check_postings_accounts_02_20_44`
5. `execute_query:detect_missing_fa_objects_without_depreciation`
Why current call is insufficient:
- object scope is missing, which causes claim-anchor coverage gap.
@@ -0,0 +1,100 @@
[
{
"question_id": "Q1_VAT",
"question": "13/15 July VAT chain completeness",
"required_live_calls": [
"execute_query:find_receipt_document_by_date_item",
"execute_query:find_sale_document_by_date_item",
"execute_query:find_invoice_links_for_receipt_sale",
"execute_query:find_vat_register_entries_by_invoice",
"execute_query:find_sales_purchase_book_entries",
"execute_query:cross_check_document_postings"
],
"current_live_calls": [
"execute_query:generic_accounting_register_probe"
],
"missing_live_calls": [
"execute_query:find_receipt_document_by_date_item",
"execute_query:find_sale_document_by_date_item",
"execute_query:find_invoice_links_for_receipt_sale",
"execute_query:find_vat_register_entries_by_invoice",
"execute_query:find_sales_purchase_book_entries",
"execute_query:cross_check_document_postings"
],
"wrong_live_calls": [
"execute_query:generic_accounting_register_probe_without_claim_filters"
],
"call_sequence_for_proof": [
"seed_by_receipt_sale_docs",
"resolve_invoice_links",
"resolve_vat_register_rows",
"resolve_book_entries",
"validate_doc_to_posting_chain",
"build_admissible_chain_summary"
]
},
{
"question_id": "Q2_RBP",
"question": "RBP write-off and residual tail at 2020-07-31",
"required_live_calls": [
"execute_query:find_rbp_writeoff_documents_in_period",
"execute_query:find_rbp_object_movements_account_97",
"execute_query:find_month_close_entries_linked_to_rbp",
"execute_query:compute_end_period_residual_by_rbp_object",
"execute_query:classify_normal_vs_abnormal_residual"
],
"current_live_calls": [
],
"missing_live_calls": [
"execute_query:find_rbp_writeoff_documents_in_period",
"execute_query:find_rbp_object_movements_account_97",
"execute_query:find_month_close_entries_linked_to_rbp",
"execute_query:compute_end_period_residual_by_rbp_object",
"execute_query:classify_normal_vs_abnormal_residual"
],
"wrong_live_calls": [
"no_live_call_selected_due_to_canonical_route"
],
"call_sequence_for_proof": [
"seed_by_writeoff_doc",
"bind_to_rbp_object",
"collect_97_movements",
"collect_close_entries",
"compute_residual_tail",
"produce_tail_state_verdict"
]
},
{
"question_id": "Q3_FA",
"question": "FA amortization completeness for 2020-07 with 3 amounts",
"required_live_calls": [
"execute_query:find_fa_objects_expected_in_period",
"execute_query:find_depreciation_documents_2020_07",
"execute_query:map_fa_object_to_depreciation_rows",
"execute_query:cross_check_postings_accounts_02_20_44",
"execute_query:detect_missing_fa_objects_without_depreciation"
],
"current_live_calls": [
"execute_query:generic_accounting_register_probe"
],
"missing_live_calls": [
"execute_query:find_fa_objects_expected_in_period",
"execute_query:find_depreciation_documents_2020_07",
"execute_query:map_fa_object_to_depreciation_rows",
"execute_query:cross_check_postings_accounts_02_20_44",
"execute_query:detect_missing_fa_objects_without_depreciation"
],
"wrong_live_calls": [
"execute_query:generic_accounting_register_probe_without_object_scope"
],
"call_sequence_for_proof": [
"seed_by_fa_amounts_and_period",
"resolve_expected_fa_set",
"resolve_depreciation_docs",
"map_object_level_postings",
"detect_missed_objects",
"produce_completeness_verdict"
]
}
]