chore(delivery): prepare G5A with fresh authenticated backup and restore
tests / ci (push) Waiting to run

This commit is contained in:
2026-10-24 18:47:03 +02:00
parent 4e97cd05ea
commit 69f2e365bf
2 changed files with 262 additions and 4 deletions
@@ -10797,5 +10797,180 @@
"P070": "export_international_organisation",
"P071": "export_humanitarian_organisation"
}
},
"iva_l1_g5a_delivery_preparation_20261024": {
"status": "ready_after_fresh_authenticated_preflight_and_verified_backup_restore",
"candidate": "1f7fc13872bd706f583a6f4d29024cd3c22ec265",
"base": "0eb2c485",
"last_known_remote_main": "2e21ca45002b76adcef0347135783c706d37dd42",
"fresh_destination_preflight": "Verified authenticated installed/current-link/build revision2e21ca45;installer inactive;existing authenticated session reused",
"coverage": {
"group": "G5A",
"branches": {
"AUD-SIM-L1-P081": [
"regime_dispatch_goods",
"regime_dispatch_transport"
],
"AUD-SIM-L1-P082": [
"regime_internal_goods",
"regime_internal_services"
],
"AUD-SIM-L1-P083": [
"regime_transit_goods",
"regime_transit_transport"
]
},
"branch_count": 3,
"treatment_count": 6,
"scope": "2026/MZN;CIVA14(1)(b/c/d),19(1)(b)(iv)"
},
"runtime_delta": [
{
"path": "resources/js/components/simulation-operations.tsx",
"sha256_LF": "ef1019201ef546aee7dbd312741ec9653afdd3bb9c94777ea4735682506b6633"
},
{
"path": "resources/js/lib/iva-operations.ts",
"sha256_LF": "e9d2b0d7ed97ef9034f151b88e819e895666048f1d362a81d88855bad8e44f82"
},
{
"path": "resources/js/lib/iva-special-regimes.ts",
"sha256_LF": "76098c658dcaf7bb09c68664001fdd5a2a6e9e2c401d0dd0d1cdca8ae710f4ab"
}
],
"counts_current": {
"delivered": 62,
"QA": 3,
"functional_pending": 67,
"documentary": 1,
"total": 133
},
"counts_after_delivery_only": {
"delivered": 65,
"QA": 0,
"functional_pending": 67,
"documentary": 1,
"total": 133
},
"proofs_reused": {
"frontend_new": 4,
"API_tests": 1,
"API_assertions": 44,
"QA_database": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"types": "passed",
"production_build": "passed; existing plugin timing warnings",
"QA_build": "passed; existing future config/chunk size warnings",
"QA_storage": "save/recover/reject passed in temporary directory",
"UI": {
"actor": "Codex",
"method": "Edge extension/CUA observed actions",
"URL": "http://127.0.0.1:18640/g5a.html",
"observed": [
"six distinct treatments initially visible",
"no-final-use condition unchecked -> indeterminate; price100MZN retained",
"unknown regime -> indeterminate; price/currency/period retained",
"restore regime and explicitly recheck conditions ->600MZN/05",
"Guardar -> Recuperar -> Relatório with context/regime/source and totals",
"three previous results in history;19priorbooks unchanged"
],
"manual_Tempo_reply": null,
"screenshot": "outputs/iva-l1-g5-regimes-20261024/qa-recovered-report.png",
"screenshot_sha256": "ec68a1287ade198f34544fed0e5b1f49a6c15c2e6855fcaf13dc34ceb45c8772"
},
"Word_PDF": "accepted exporter/numeric proofs reused; no new pagination claim"
},
"rollback": "l1-g3-readonly-rollback-20261024.patch checked on G5A candidate,not applied;readers/history/reports retained;fresh backup and previous release must be preserved",
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g5a-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "4568a12444365980c0265429521f7e13df67a03c116103ec18163f8c2feaa9de",
"files_sha256": "2016c081b509c976eda3d809b4481147501468295bcb51f586ea989560ba7c59",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g5a_restore_20261024",
"port": 55441,
"source_dump_sha256": "4568a12444365980c0265429521f7e13df67a03c116103ec18163f8c2feaa9de",
"active_database_writes": 0
}
},
"activation": "Existing Git FF/webhook/installer when delivery is undertaken; no migrations/imports/permission changes or synthetic active tests",
"served_revision_and_delta": "pending installation;homologation remains2e21ca45/0eb2c485",
"limits": "2026/MZN; condição inicial14(1),regime/destino/permanência e ligação directa próprios; preço distinto dos bens/serviços. Sem isenção pelo mapa, certificação de regime, cálculo da própria importação/saída, aquisições14(2),dedução automática ou submissãoAT. P080/P084/P085/P086 continuam pendentes. L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas.",
"L1_complete": false,
"P001": "05/06 only",
"beverages": "L2/L3;not closed",
"statistics_AI": "deferred",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "2e21ca45002b76adcef0347135783c706d37dd42",
"release": "/var/www/investmoz-homologacao/releases/2e21ca45002b76adcef0347135783c706d37dd42-a5faea22",
"previous_release": "/var/www/investmoz-homologacao/releases/686328a0853a1165872b5eb8163f7223600033ea-81b13983",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/2e21ca45002b76adcef0347135783c706d37dd42-a5faea22",
"release_revision": {
"commit": "2e21ca45002b76adcef0347135783c706d37dd42",
"branch": "main",
"built_at": "2026-10-24T16:27:47.396813+00:00",
"manifest_sha256": "9b28c92c584ad406e17d01ffc3fa982b9299195b371e1c5311626b9025a22615"
},
"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"
},
"authenticated_destination": "Fresh read confirmed2e21ca45;installer inactive",
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed",
"user_instruction": {
"QA_acceptance": "G5A concluído em QA segundo o relatório4e97cd05;seis tratamentos correspondem aos três ramosP081–P083",
"delivery": "Integrar e disponibilizar pelo processoGit existente,preservando alterações concorrentes e conferindo apenas o delta instalado",
"proofs": "Accepted QA proofs reused;no new functional/manual proof requested",
"constraints": "L1open;P00105/06;beveragesL2/L3;StatisticsAIdeferred"
},
"concurrency": {
"fresh_origin_main": "2e21ca45002b76adcef0347135783c706d37dd42",
"fresh_authenticated_destination": "2e21ca45002b76adcef0347135783c706d37dd42",
"incoming_changes_since_G4E": [],
"preserved_local_commits": [
"0eb2c485cc13e0ecbc6fa448c95425a8ab8f05b4",
"1f7fc13872bd706f583a6f4d29024cd3c22ec265",
"4e97cd05ea09e5dd2e74ec3264928a2f1f61858c"
],
"integration": "Normal Git fast-forward,without force;fetch/ancestor guard repeated immediately before push"
}
}
}
@@ -1,9 +1,9 @@
{
"status": "QA_demonstrated_delivery_prepared_not_installed",
"status": "ready_after_fresh_authenticated_preflight_and_verified_backup_restore",
"candidate": "1f7fc13872bd706f583a6f4d29024cd3c22ec265",
"base": "0eb2c485",
"last_known_remote_main": "2e21ca45002b76adcef0347135783c706d37dd42",
"fresh_destination_preflight": "required before installation; not performed in this QA passage",
"fresh_destination_preflight": "Verified authenticated installed/current-link/build revision2e21ca45;installer inactive;existing authenticated session reused",
"coverage": {
"group": "G5A",
"branches": {
@@ -81,12 +81,95 @@
"Word_PDF": "accepted exporter/numeric proofs reused; no new pagination claim"
},
"rollback": "l1-g3-readonly-rollback-20261024.patch checked on G5A candidate,not applied;readers/history/reports retained;fresh backup and previous release must be preserved",
"backup_restore": "fresh authenticated destination backup and isolated restore required before any active change; accepted G4E receipt is preservation context,not a substitute",
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g5a-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "4568a12444365980c0265429521f7e13df67a03c116103ec18163f8c2feaa9de",
"files_sha256": "2016c081b509c976eda3d809b4481147501468295bcb51f586ea989560ba7c59",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g5a_restore_20261024",
"port": 55441,
"source_dump_sha256": "4568a12444365980c0265429521f7e13df67a03c116103ec18163f8c2feaa9de",
"active_database_writes": 0
}
},
"activation": "Existing Git FF/webhook/installer when delivery is undertaken; no migrations/imports/permission changes or synthetic active tests",
"served_revision_and_delta": "pending installation;homologation remains2e21ca45/0eb2c485",
"limits": "2026/MZN; condição inicial14(1),regime/destino/permanência e ligação directa próprios; preço distinto dos bens/serviços. Sem isenção pelo mapa, certificação de regime, cálculo da própria importação/saída, aquisições14(2),dedução automática ou submissãoAT. P080/P084/P085/P086 continuam pendentes. L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas.",
"L1_complete": false,
"P001": "05/06 only",
"beverages": "L2/L3;not closed",
"statistics_AI": "deferred"
"statistics_AI": "deferred",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "2e21ca45002b76adcef0347135783c706d37dd42",
"release": "/var/www/investmoz-homologacao/releases/2e21ca45002b76adcef0347135783c706d37dd42-a5faea22",
"previous_release": "/var/www/investmoz-homologacao/releases/686328a0853a1165872b5eb8163f7223600033ea-81b13983",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/2e21ca45002b76adcef0347135783c706d37dd42-a5faea22",
"release_revision": {
"commit": "2e21ca45002b76adcef0347135783c706d37dd42",
"branch": "main",
"built_at": "2026-10-24T16:27:47.396813+00:00",
"manifest_sha256": "9b28c92c584ad406e17d01ffc3fa982b9299195b371e1c5311626b9025a22615"
},
"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"
},
"authenticated_destination": "Fresh read confirmed2e21ca45;installer inactive",
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed",
"user_instruction": {
"QA_acceptance": "G5A concluído em QA segundo o relatório4e97cd05;seis tratamentos correspondem aos três ramosP081–P083",
"delivery": "Integrar e disponibilizar pelo processoGit existente,preservando alterações concorrentes e conferindo apenas o delta instalado",
"proofs": "Accepted QA proofs reused;no new functional/manual proof requested",
"constraints": "L1open;P00105/06;beveragesL2/L3;StatisticsAIdeferred"
},
"concurrency": {
"fresh_origin_main": "2e21ca45002b76adcef0347135783c706d37dd42",
"fresh_authenticated_destination": "2e21ca45002b76adcef0347135783c706d37dd42",
"incoming_changes_since_G4E": [],
"preserved_local_commits": [
"0eb2c485cc13e0ecbc6fa448c95425a8ab8f05b4",
"1f7fc13872bd706f583a6f4d29024cd3c22ec265",
"4e97cd05ea09e5dd2e74ec3264928a2f1f61858c"
],
"integration": "Normal Git fast-forward,without force;fetch/ancestor guard repeated immediately before push"
}
}