feat: demonstrate scoped IVA operations L1 in QA

This commit is contained in:
2026-10-24 12:59:37 +02:00
parent e8c39a1b54
commit 544068e8cc
11 changed files with 901 additions and 3 deletions
@@ -2726,5 +2726,471 @@
"IRPC_IRPS": "deferred, inventory preserved",
"statistics_AI": "deferred",
"protected_installer_or_database_audit": "not needed or performed; public served revision and delta verified; no synthetic private writes in homologation"
},
"fiscal_inventory_plan_20261024": {
"status": "analysis_complete_plan_proposed_not_implemented",
"tempo_decision": "Concluir simulador e inventario fiscal acordado antes de Imobiliario; preservar lotes fechados.",
"single_plan": "docs/investmoz/unification/traceability-and-manual.md#24-10-2026--inventario-fiscal-reconciliado-e-proposta-de-fecho-antes-do-imobiliario",
"matrix_id": "AUD-SIM-INT02",
"source_inventory": [
{
"folder": "Modelos",
"name": "Cópia de IRPS-IMOP.xlsx",
"bytes": 277846,
"sha256": "1ceca6f4c6d77853c1b2b445876599b42093175fa89eecf40590180956d83a9e",
"temporary": false
},
{
"folder": "Modelos",
"name": "Escalões e Taxas do IRPS.docx",
"bytes": 16692,
"sha256": "ea9fdfaf8a8682645e0e3dad3e2e165520783e9f72e8d23acdf684d8359d690e",
"temporary": false
},
{
"folder": "Modelos",
"name": "Impostos e seu tratamento.docx",
"bytes": 64899,
"sha256": "aade59537c6c19eb56b017cfc317407d5c6ae758c8a15a390508cd5f6e9ae3ed",
"temporary": false
},
{
"folder": "Modelos",
"name": "IRPC M-22- DECLARACAO DE RENDIMENTOS.pdf",
"bytes": 109727,
"sha256": "4b61bd83d1fbcfd3b7b5c5523cea5923f7d0f65dc4c004eff58e5db38f763c88",
"temporary": false
},
{
"folder": "Modelos",
"name": "IRPC_IRPS.xlsx",
"bytes": 115701,
"sha256": "fd5ddb07392bcad1313a76ae85603169a56eeecd9ac6fa4a1be12cee909c6260",
"temporary": false
},
{
"folder": "Modelos",
"name": "O IRPC (Imposto sobre o Rendimento das Pessoas Coletivas) .docx",
"bytes": 64489,
"sha256": "4a4668c116c1abae26a334d55e3c9fe508c1ab31aa2a19fe7b88e374c4b34d16",
"temporary": false
},
{
"folder": "Modelos",
"name": "VAT Return.pdf",
"bytes": 285479,
"sha256": "9c0b99a810c7db53eb75d63c22ee22fb86a50ba57bd5509041ed80ee10f75741",
"temporary": false
},
{
"folder": "Modelos",
"name": "~$calões e Taxas do IRPS.docx",
"bytes": 162,
"sha256": "e33840a850226b6465e40b78318d597edf0ed399e574a33dd1638748ed2c99a3",
"temporary": true
},
{
"folder": "Modelos",
"name": "~$IRPC_IRPS.xlsx",
"bytes": 165,
"sha256": "5a6f905aea475f25f054b0e13e4b2c8b955b7097789fcc3ca24ac2dd0b0bb284",
"temporary": true
},
{
"folder": "Modelos",
"name": "~$postos e seu tratamento.docx",
"bytes": 162,
"sha256": "d96fe8461a43a2d40d28e3b247b43eb3d111906531354f9862523588d51ee69b",
"temporary": true
},
{
"folder": "Modelos",
"name": "~WRL1681.tmp",
"bytes": 32054,
"sha256": "a3214a4b46c6c0b654e3621ff09ecfd2b777fa4e2b398571d91e754fdd074b06",
"temporary": true
},
{
"folder": "Notas",
"name": "Estamos a gerar um problema.docx",
"bytes": 28938,
"sha256": "aa589574f7e581ca0e41df1a690a60379062879fed04ce765b827b9965047e44",
"temporary": false
},
{
"folder": "Notas",
"name": "INVESTEMOZ Ibane.docx",
"bytes": 144410,
"sha256": "c5252af6dfa38558b638fafcf726658bb10edabe92939a2f97f5862003f6bed9",
"temporary": false
},
{
"folder": "Notas",
"name": "investimentos nos corredores.docx",
"bytes": 21595,
"sha256": "1473b06c48aa234e771660e3f2a51b9d2e4e1943bd52d878e0ae854ee6657055",
"temporary": false
},
{
"folder": "Notas",
"name": "Neste momento.docx",
"bytes": 19639,
"sha256": "e6166411122a12089da1cb4436c6a2322338467dbd46ea4e57aee0015a49902c",
"temporary": false
},
{
"folder": "Notas",
"name": "nota 1.docx",
"bytes": 25488,
"sha256": "7037ff6d968aa8f756a74adad76758b64ba54d786726aac9e0c7a54ecdc225da",
"temporary": false
},
{
"folder": "Notas",
"name": "Novo Modelo A v1.docx",
"bytes": 532100,
"sha256": "63d45fa80db17a60b43619d55a25813229d670d14c758273f86316285db8e02b",
"temporary": false
},
{
"folder": "Notas",
"name": "Novo Modelo A.docx",
"bytes": 532008,
"sha256": "62c198e90d8c6792f7d5ccefc6386df2e4b6089573067d3a6e1eae7fc2b9572b",
"temporary": false
},
{
"folder": "Notas",
"name": "PROVÍNCIA DE INHAMBANE v1.docx",
"bytes": 109317,
"sha256": "32c6ab160c5028f3084d23b2173ce3cfe6dddba0715d1228da6bd9380247f486",
"temporary": false
},
{
"folder": "Notas",
"name": "PROVÍNCIA DE INHAMBANE.docx",
"bytes": 108584,
"sha256": "9f628cd57eb860433f36058b299660834e9052d07e1f7ca99f68f1d1cfdc9d72",
"temporary": false
},
{
"folder": "Notas",
"name": "~$OVÍNCIA DE INHAMBANE.docx",
"bytes": 162,
"sha256": "7c2c7731b5ef1023fa980c582051296bf2b5e75a8645113368c2aa9bf34cf12f",
"temporary": true
},
{
"folder": "Notas",
"name": "~$tamos a gerar um problema.docx",
"bytes": 162,
"sha256": "e726ad6723df9f664121d97e18854466b30efd24a1f8efab0a7945cbecf7059b",
"temporary": true
},
{
"folder": "Notas",
"name": "~$VESTEMOZ Ibane.docx",
"bytes": 162,
"sha256": "9e71bcb8ded90236b2ca70f10937b758eacc0e924cf89d46ba73f1540d6f3132",
"temporary": true
},
{
"folder": "Notas",
"name": "~$vestimentos nos corredores.docx",
"bytes": 162,
"sha256": "2b19e4a708c934710926f0dc5da74b785787d4818500e9c1d43359e06ffb9b57",
"temporary": true
},
{
"folder": "Notas",
"name": "~WRL2857.tmp",
"bytes": 143261,
"sha256": "85ed72087b6b670292e81c83a455a264a9c4cf2b36ee12807379d475358b3577",
"temporary": true
}
],
"read_scope": [
"All accessible originals inventoried in Modelos and Notas; editing temporaries distinguished",
"Full OOXML text of both duplicate-content tax notes and IRPS scales",
"Both XLSX sheet/cell/formula structures without executing or trusting cached formulas",
"All three M22 PDF pages visually reviewed",
"Accepted Modelo A and VAT Return comparison reused",
"Current source consumer and persistence/report infrastructure reconciled"
],
"findings": [
"Tax notes have distinct bytes but identical extracted text",
"IRPC_IRPS contains M39/M19 guides and no formulas",
"IRPS-IMOP has 102 formulas, 15 direct REF errors and 18 cached error cells; private exemplar data not investor inputs",
"M22 PDF and workbook have differing field labels, numbering and statutory references",
"2026 transitions/repeals in Laws9-12/2025 affect specific claims in notes",
"No universal invoice stamp duty or annual-to-monthly IRPS inference admitted"
],
"estimated_person_hours": {
"minimum": 544,
"maximum": 912,
"basis": "Engineering estimate including specific remaining source mapping, implementation, end-to-end QA, report and delivery delta; excludes external waiting/AT integration"
},
"lots": [
{
"id": "L1",
"hours_min": 40,
"hours_max": 64
},
{
"id": "L2",
"hours_min": 48,
"hours_max": 72
},
{
"id": "L3",
"hours_min": 48,
"hours_max": 80
},
{
"id": "L4",
"hours_min": 40,
"hours_max": 64
},
{
"id": "L5",
"hours_min": 32,
"hours_max": 56
},
{
"id": "L6",
"hours_min": 48,
"hours_max": 80
},
{
"id": "L7",
"hours_min": 48,
"hours_max": 80
},
{
"id": "L8",
"hours_min": 32,
"hours_max": 56
},
{
"id": "L9",
"hours_min": 24,
"hours_max": 40
},
{
"id": "L10",
"hours_min": 40,
"hours_max": 64
},
{
"id": "L11",
"hours_min": 48,
"hours_max": 80
},
{
"id": "L12",
"hours_min": 24,
"hours_max": 48
},
{
"id": "L13",
"hours_min": 40,
"hours_max": 72
},
{
"id": "L14",
"hours_min": 32,
"hours_max": 56
}
],
"implementation_changed": false,
"active_data_changed": false,
"new_tax_rules_activated": false,
"accepted_tests_repeated": false,
"closed_references_preserved": [
"276d833a",
"cd10cccb/355656b5",
"1655f57e/e8c39a1b"
],
"documentation_limits": [
"Detailed operative bases/rules not yet mapped for each proposed lot",
"No entire historical 2000-2025 calculation coverage inferred",
"No external AT submission, bank execution or approval inferred",
"Six associations and two legacy originals affect only concretely dependent rules"
]
},
"iva_l1_qa_20261024": {
"status": "increment_executable_in_isolated_QA_not_full_L1_closure_not_deployed",
"base": "e8c39a1b",
"branch": "codex/iva-l1-20261024",
"candidate": null,
"manual": "docs/investmoz/unification/traceability-and-manual.md",
"matrix_id": "AUD-SIM-INT02",
"scope": {
"period": "2026-01 through2026-12",
"currency": "MZN",
"calculated_treatments": 10,
"indeterminate_categories": [
"foreign_operation/model06 correspondence",
"other/unclassified"
],
"included_price": "general statutory unit rounding; reduced only exact inverse at6decimal places"
},
"source_pages": {
"CIVA2016": {
"sha256": "b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b",
"pdf_pages": [
9,
10,
12,
13,
14,
15
]
},
"Lei22_2022": {
"pdf_pages": [
1,
2,
3,
4
],
"articles": [
"1:9/10/15/17",
"2:17-A",
"6:entry2023-01-01"
]
},
"Lei10_2025": {
"pdf_pages": [
13,
14,
15
],
"articles": [
"1:19(2)/34",
"2:25-A/53",
"3:revocation",
"5:entry2026-01-01"
]
},
"prior_claim_IRPC": {
"law": "12/2025",
"pdf_page": 20,
"articles": [
3,
4,
6
]
},
"prior_claim_IRPS": {
"law": "11/2025",
"pdf_page": 18,
"articles": [
3,
4,
6
]
}
},
"proofs": {
"frontend": {
"passed": 15,
"new_L1": 7,
"changed_acquisition_dependency": 8
},
"real_private_api": {
"tests": 1,
"assertions": 13,
"input": "UI-calculated payload",
"database": "simulator_fiscal_delta_20261021_test",
"port": 55441,
"transaction_rollback": true,
"idempotency": true,
"other_owner_refused": true,
"rule_fingerprint_unchanged": true
},
"visual": "Actual component, synthetic inputs; insufficient-input version then general included and reduced exact included; report in browser",
"types": "passed",
"build": "passed",
"exports": [
"HTML",
"CSV"
],
"native_pdf_new": "not_produced_or_verified; previous accepted PDFs untouched"
},
"implementation": "Frontend projected operations stored in existing ownership-protected private draft, not new published fiscal server rules",
"remaining_L1": [
"model06 exact correspondence and territorial cases",
"reduced included price requiring rounding",
"other exemptions9/12-14, special bases15(2), reverse charge/digital and non-enumerated cases"
],
"real_estate_inventory": {
"omissions_confirmed": [
"SISA",
"IPRA"
],
"same_plan_lots": [
"L15",
"L16"
],
"state": "to_analyse_not_implemented_not_in_original_estimate",
"related_existing_lots": [
"L1",
"L5",
"L6",
"L7",
"L8",
"L10",
"L11",
"L12"
],
"sources": [
"https://cmcpemba.gov.mz/impostos-e-taxas/iasisa",
"https://cmcpemba.gov.mz/impostos-e-taxas"
],
"limits": "Municipal family identification only; no universal rates or property/DUAT inference"
},
"effort": "Actual infrastructure reused; no reliable measured hours; original544-912 remains preliminary, excludes unanalyzed L15/L16; remaining L1 to reestimate by coverage",
"active_data_changed": false,
"schema_or_permissions_changed": false,
"rules_activated": false,
"accepted_unaffected_tests_repeated": false,
"artifacts": {
"ui-calculated.json": {
"sha256": "5301e83cb77bcb8841e0d14a20e4995ff8eae5d27cd07212286a823fccca9c35"
},
"ui-api-recovered.json": {
"sha256": "08af640394930de8cfa88ae8a2df25938218a05c2d61a951d31fdc694a74b113"
},
"report-model.json": {
"sha256": "bfc494f507ba4ad628b378a26828744b3d51adbf9b85ef961b0f519fb239d020"
},
"l1-final.html": {
"sha256": "8b3f08be41ea9e22dbab7baf8d8305a0884055498f6a66bfc708f235ad326e90"
},
"l1-final.csv": {
"sha256": "88caa5674c70fe48c6ab8050a42a1d2f218bf2121fc0676a2665dcbe2142b6b7"
},
"frontend-tests.txt": {
"sha256": "21a8ea44ca5b7a14f6b0ca969040d9485fc57581e77aa9558f36dc7ad6d20eee"
},
"api-tests.txt": {
"sha256": "6a42799fdbd876ebaea333dbc4523dbff6baed05663803072c703af84b1aad2f"
},
"types.txt": {
"sha256": "82962651e47f564de653ad2883f8fd34e7dae4b4468e4ac459cb3331962a3879"
},
"build.txt": {
"sha256": "5548145b640658e388ff914d91a21afe783a0a8af4fce29c0efce8e316aba421"
},
"l1-final-tests.txt": {
"sha256": "c09e7e21ce72064b8fc1a8c90525b1576a1d62bd760299c03dbe995f73409735"
}
},
"preserved_ancestors": [
"276d833a",
"1655f57e"
],
"qa_url": "http://127.0.0.1:18624/"
}
}