From e45a1394fa2ca8631593549b3af62093f25d9c13 Mon Sep 17 00:00:00 2001 From: nala Date: Sat, 24 Oct 2026 15:49:08 +0200 Subject: [PATCH] docs(iva): verify G2I G2J joint delivery backup and calendar evidence --- ...-review-continuation-20261020-receipt.json | 99 +++++++++++++ .../l1-g2ij-delivery-20261024.json | 140 ++++++++++++++++++ .../unification/traceability-and-manual.md | 9 ++ 3 files changed, 248 insertions(+) create mode 100644 docs/investmoz/simulations/l1-g2ij-delivery-20261024.json diff --git a/docs/investmoz/simulations/integrated-review-continuation-20261020-receipt.json b/docs/investmoz/simulations/integrated-review-continuation-20261020-receipt.json index a5ea9d1b..2c128b3a 100644 --- a/docs/investmoz/simulations/integrated-review-continuation-20261020-receipt.json +++ b/docs/investmoz/simulations/integrated-review-continuation-20261020-receipt.json @@ -6506,5 +6506,104 @@ "ui-calculated.json": "2ae7bdbb601b3f3707a7189f2e95170721cf206dd178fa2335eabe485e95a3f3" }, "explicit_option_reuse": "Source chosen and confirmed;operationDate target20Oct preserved vs source15Oct;origin in recovered snapshot/report;revision5" + }, + "iva_l1_g2_calendar_resolution_qa_20261024": { + "candidate": "72f4187d3bc0727ae0c5162500d5d6f26b7eed49", + "supersedes_limit_in": "iva_l1_g2_production_qa_20261024", + "status": "demonstrated_QA_not_installed", + "source": { + "url": "https://faolex.fao.org/docs/pdf/moz210121.pdf", + "sha256": "a0212d4e3b1bd0f809f63fb69326c13d5e53d953e4653cd2a885ffe6c1ccef83", + "citations": [ + "Civil Code279(c),PDF27/p1909", + "Civil Code296,PDF29/p1911", + "CIVA republicado Lei13/2016,11(3),PDF11/p1426(269)" + ], + "checked_visual": true + }, + "logic_version": "production-option/2", + "calendar_example": { + "start": "2024-02-29", + "term_end": "2029-02-28T24:00", + "return_declaration": "2029-02-28", + "return_effective": "2030-01-01" + }, + "correction": "Clamp missing day within month; distinguish term24h/effectiveJan1; correct formerly inverted declaration comparison to delivery before expiry; require minimum tenure before effects; late declaration effects not presumed", + "tests": { + "targeted_frontend": 2, + "API_QA": 1, + "API_assertions": 10, + "report_visual_HTML": true, + "VAT_coverage_not_extended_beyond_2026": true, + "types": "passed", + "build": "passed" + }, + "preservation": "Old inputs/results preserved; only three opted G2I rules change scoped key; 29 delivered branches untouched; no automatic recalculation", + "artifacts": { + "calendar-frontend-tests.txt": "4caa72d2fb6c2e8a9ae27092a3f6acf94d8480bd1e13c26d9c1410da67b1a592", + "calendar-api-tests.xml": "53629304f474b543eecf10122a9740ee3613f0c32977a57f191122fb4672b5c4", + "calendar-calculated.json": "43f011daa2112b91e9c683395c83cbbebdd3dd905a1d2364ed6c433569f099de", + "calendar-recovered.json": "c5c83adae50c9c0c2ea47a11801c02e7d2a259b3dd2a2f829b5cd5e828025814", + "calendar-model.json": "96720056a09b03c5f0ecce669285f5f31446e38ca9bd0629f8f83e4fd3ffb599", + "calendar-report.html": "37f4cf439de1ee7f7d4d04d0c7d0892f362c67dd8636160553ce861b77659362", + "calendar-report-qa.png": "286841cadded867117d24d8eda4be90ab2ee1fd46d0e6777f751945550dadeb0", + "civil-279.png": "381b18c903103ff5ba104205db2dc9a00201c4649cd062012ebc3482abeaa552", + "civil-296.png": "420e420a42e025a1d7d2cf05604878956d4701c099e5c3ebf48eb87222e6764a", + "article-11-detail.png": "68246b164ba39c882a973f024513d36c14af0b0c6d6009f3d412cf20aaee1152" + }, + "P001_scope": "05/06 only; not resolved", + "L1_complete": false + }, + "iva_l1_g2_fundraising_qa_20261024": { + "candidate": "72f4187d3bc0727ae0c5162500d5d6f26b7eed49", + "status": "demonstrated_QA_not_installed", + "group": "G2J within G2", + "branches": { + "AUD-SIM-L1-P016": [ + "fundraising_public", + "fundraising_nonprofit" + ] + }, + "branch_count": 1, + "treatment_count": 2, + "source": "CIVA2016 PDF10/p1426(268),9(2)(h);PDF15/p1426(273),19(1);Lei22/2022 art1 PDF1/p2252(25),9(1-3),PDF2/p2252(26),10(1-2)", + "scope": "2026/MZN/07; eligible usual exempt activity, exclusive benefit, public/nonprofit conditions, <=8annualeventsperentityincludingoutsidecurrentdossier", + "tests": { + "frontend": 2, + "API_QA": 1, + "API_assertions": 10, + "UI_to_API_to_report": true, + "UI_revision": 3, + "07": "200.00", + "05": "0.00", + "context": "opportunity:319/Manica/2026-11", + "types": "passed", + "build": "passed" + }, + "preservation": "Ten frozen books unchanged; nine current; G2I v1 historical due to deliberate calendar logic v2 change; no recalculation of previous books", + "counts": { + "delivered": 29, + "demonstrated_QA": 5, + "functional_pending": 98, + "documentary_pending": 1, + "total": 133 + }, + "limits": [ + "Entity annual total explicitly declared; no automatic reconciliation across all dossiers", + "No automatic input deduction or ATsubmission" + ], + "homologation_unchanged": true, + "P001_scope": "05/06 only", + "L1_complete": false, + "artifacts": { + "frontend-tests.txt": "cb3dfd60b1cf9ba574fdf735a5164780e6c12695ff10244b240c21c366a15bf2", + "api-ui-tests.xml": "35818f5f275ffcb49941644fcab3db6fde0aaeeec7f0b35a332fc86815a1ce99", + "ui-calculated.json": "73d6d2caf970bc1c410a52e8d6d690ffcbf8f304688b941e37b15e90e0f8d558", + "recovered.json": "10bb3ad976e12ee60549c77103a9e4b9b59e865a9b8d3de99f600b3f6d2eb38d", + "fundraising-model.json": "4495de7cdadc4683fc6e5e107fad4e74db7991b4f4b5e67752f1d67159d4b6fe", + "fundraising-report.html": "292e7f7bdc758a40062a0d4d387ffec2e2ae77e2d65943db7f4ff3a7999df28d", + "report-qa.png": "6aa5404852716daa7d397e81fad093b1efdbb7896b84d8f5b84d4819bbe13b90", + "build-final.log": "ee62e645727198f8aea42f08521a3b23ad48a956d087ecd5cbda6acd630e771d" + } } } diff --git a/docs/investmoz/simulations/l1-g2ij-delivery-20261024.json b/docs/investmoz/simulations/l1-g2ij-delivery-20261024.json new file mode 100644 index 00000000..51432752 --- /dev/null +++ b/docs/investmoz/simulations/l1-g2ij-delivery-20261024.json @@ -0,0 +1,140 @@ +{ + "status": "ready_after_authenticated_preflight_and_verified_backup_restore", + "candidate": "72f4187d3bc0727ae0c5162500d5d6f26b7eed49", + "base_remote_main": "d4eae917ee9c9d37f0339905a96c1e35480f324e", + "fresh_fetch": "main d4eae917; ancestral; no concurrent advance detected; fetch again immediately before push", + "coverage": { + "G2I": { + "P019": [ + "production_agriculture" + ], + "P020": [ + "production_forestry", + "production_forestry_opted" + ], + "P021": [ + "production_livestock", + "production_livestock_opted" + ], + "P022": [ + "production_fishing", + "production_fishing_opted" + ] + }, + "G2J": { + "P016": [ + "fundraising_public", + "fundraising_nonprofit" + ] + }, + "new_branches": 5, + "new_treatments": 9, + "conditional_treatments_total": 72, + "calendar_resolution": "Civil279(c)/296 plus CIVA11(3), production-option/2; no additional branch" + }, + "counts_before": { + "delivered": 29, + "QA": 5, + "functional_pending": 98, + "documentary": 1, + "total": 133 + }, + "counts_after_delivery": { + "delivered": 34, + "QA": 0, + "functional_pending": 98, + "documentary": 1, + "total": 133 + }, + "runtime_delta": [ + { + "path": "resources/js/components/simulation-operations.tsx", + "sha256_LF": "94e7419ee3338c9eda6418e741d72f08334dbb3f6507dd78d2bd6690d4be6b5b" + }, + { + "path": "resources/js/lib/iva-fundraising.ts", + "sha256_LF": "b58fc5733eb9f7facfe00a5f4cf0acdc98ad1e4191dbfdd1189fdf379e25e227" + }, + { + "path": "resources/js/lib/iva-operations.ts", + "sha256_LF": "844d9b634afcb6a72237ca87626e5e1bcba8df3744b35063c1657a590d17b957" + }, + { + "path": "resources/js/lib/iva-production-option.ts", + "sha256_LF": "2bdbb6ed52086c2c47d9f615b2cbe1c8f1370b8fdcefaa40c07b6cda8cc47526" + } + ], + "activation": "Existing Git FF/webhook/installer and existing enabled simulator panel; no migrations/imports/server-rule activation/permissions/other taxes", + "QA": "G2I fe69a16e/a5ac8ca1 reused except changed calendar; calendar2frontend+API1/10;G2J2frontend+API1/10;UI/API/report;types/buildpassed;acceptedWordPDFreused", + "preservation": "29 delivered branches and previous receipts/data retained; only changed G2I opted-rule results marked historical, never rewritten", + "rollback": "Keep catalogue/readers/snapshots/results/reports; verified compatible l1-joint-readonly-rollback-20261024.patch suspends edits/calculations only; not applied. Prior release and verified fresh backup retained; no broad rollback or DB restoration executed.", + "rollback_compatibility": "git apply --check passed; not applied", + "authenticated_preflight": { + "installed": { + "status": "installed", + "commit": "d4eae917ee9c9d37f0339905a96c1e35480f324e", + "release": "/var/www/investmoz-homologacao/releases/d4eae917ee9c9d37f0339905a96c1e35480f324e-afcda0da", + "previous_release": "/var/www/investmoz-homologacao/releases/9a56d982423d0c244850f8638290a1ce8a968619-19d0ea6c", + "database_migrations": 0, + "content_imports": 0 + }, + "current_link": "/var/www/investmoz-homologacao/releases/d4eae917ee9c9d37f0339905a96c1e35480f324e-afcda0da", + "release_revision": { + "commit": "d4eae917ee9c9d37f0339905a96c1e35480f324e", + "branch": "main", + "built_at": "2026-10-24T13:15:11.725340+00:00", + "manifest_sha256": "4018026aac013855f2c9baf9258ed96e1b1bf808d996e8fa8eec9458ea6b35c7" + }, + "service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n", + "configuration_keys": [ + "repository", + "branch", + "target_url", + "legacy_root", + "state_root", + "release_root", + "current_link", + "shared_assets", + "php", + "schema_contract", + "ci_environment", + "postgis_image", + "test_database", + "qa_port", + "retention", + "webhook_secret_file" + ], + "safe_paths": { + "repository": "nala/Investidor-V2", + "release_root": "/var/www/investmoz-homologacao/releases", + "postgis_image": "postgis/postgis@sha256:01a6a70e41e6c4467c8f55f6063555ed72db2d6662cd0d571040d42eadaeb6f6" + }, + "pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604" + }, + "backup_restore": { + "backup": { + "stage": "/var/backups/investmoz-l1-g2ij-delivery-20261024/backup", + "target": { + "database": "teste_investidor", + "port": 5432 + }, + "tables": 174, + "files_verified": 369, + "dump_sha256": "a75cb8751146ad0a59ecd62fa13e4d9ede3fd98ad2f4ebda092b48f7c2526c32", + "files_sha256": "889fe89ec3acccfc17ace98dec9e6fb8675bfb75f69efb1ae9ce7585c50ef873", + "restore_verified": false + }, + "restore": { + "restore_verified": true, + "tables_verified": 174, + "container_network": "none", + "database": "l1_g2ij_restore_20261024", + "port": 55441, + "source_dump_sha256": "a75cb8751146ad0a59ecd62fa13e4d9ede3fd98ad2f4ebda092b48f7c2526c32", + "active_database_writes": 0 + } + }, + "P001": "Documentary05/06only;independentoperationsnotblocked", + "L1_complete": false, + "statistics_AI": "deferred" +} diff --git a/docs/investmoz/unification/traceability-and-manual.md b/docs/investmoz/unification/traceability-and-manual.md index d7d7828d..cd0553f2 100644 --- a/docs/investmoz/unification/traceability-and-manual.md +++ b/docs/investmoz/unification/traceability-and-manual.md @@ -1,5 +1,14 @@ # Rastreabilidade, utilização e formação +## 24/10/2026 — G2I/G2J preparados para entrega conjunta + +Candidata QA `72f4187d`; cinco ramos P016/P019–P022, nove tratamentos. Calendário corrigido e G2J demonstrado sem repetir as provas aceites. Consulta fresca de main e destino pelo canal autenticado: `d4eae917`, ancestralidade confirmada e instalador inactivo. Backup novo privado:174 tabelas,369 ficheiros/configuração; restauro real isolado sem rede,174 contagens/checksums correspondentes, zero escrita de teste no activo. Dump SHA256 `a75cb8751146ad0a59ecd62fa13e4d9ede3fd98ad2f4ebda092b48f7c2526c32`. + +Delta: componente existente, catálogo, módulo de opção e módulo de manifestações ocasionais. Sem migrações, importações, permissões ou outros impostos. Contenção compatível conferida por `git apply --check`, não aplicada; conserva catálogo, leitores, histórico e relatórios, suspendendo apenas edição/cálculo. Release anterior e backup preservados. Activação pelo processo Git existente, após nova conferência de main; verificar revisão servida, assets e preservação, apenas no delta. + +[Manifesto da entrega](../simulations/l1-g2ij-delivery-20261024.json). Preparação não declara entrega:29 entregues+5 QA+98 funcionais pendentes+P001=133. P001 só05/06;L1 aberto;estatísticas/IA adiadas. + + ## 24/10/2026 — calendário G2I corrigido; G2J demonstrado em QA **Candidata QA: G2I/G2J, por integrar. Homologação d4eae917/recibo7696af68 inalterada.** Os29ramos entregues continuam encerrados;L1aberto;P001 exclusivamente05/06. Estatísticas/IAadiadas.