docs(delivery): record G6A installed delta and reconciled 68 plus 64 balance

This commit is contained in:
2026-10-24 19:24:39 +02:00
parent e3601c124d
commit a23f1dcb6e
5 changed files with 485 additions and 16 deletions
@@ -12239,5 +12239,302 @@
},
"authenticated_destination": "Fresh read confirmed6f056359;installer inactive",
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed"
},
"iva_l1_g6a_homologation_20261024": {
"status": "installed_delta_verified_partial_L1",
"candidate": "965da2642627ad1e484d52587e07b4a60cae6af2",
"base": "e99ea1d0",
"last_known_remote_main": "6f056359",
"coverage": {
"AUD-SIM-L1-P049": "reimport_same_state",
"AUD-SIM-L1-P051": "central_bank_gold"
},
"runtime_delta": [
{
"path": "resources/js/lib/iva-import-exemptions.ts",
"sha256_LF": "43d823a594c5ea98801b69597fbd660effd90596709dec3a84787b7b11eef1c8"
},
{
"path": "resources/js/components/simulation-import-exemptions.tsx",
"sha256_LF": "20f35daf9573e9ff0813ee7b0e3f4ad19eb0d47eabb0d661af845a915e76340e"
},
{
"path": "resources/js/components/simulation-monthly-iva.tsx",
"sha256_LF": "a41275ce37268345d137745572c858ff3c989e392af337235f6b8b5e7dc38b86"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256_LF": "ac75a0e24fdf31d17a90b3c9ecec338d6f0e309bd302d1254da04c2eacc493b3"
}
],
"counts_current": {
"delivered": 68,
"QA": 0,
"functional_pending": 64,
"documentary": 1,
"total": 133
},
"counts_after_delivery_only": {
"delivered": 68,
"QA": 0,
"functional_pending": 64,
"documentary": 1,
"total": 133
},
"proofs_reused": {
"frontend_new": 5,
"affected_report_tests": 14,
"frontend_total": 19,
"API_tests": 1,
"API_assertions": 20,
"QA_database": "simulator_fiscal_delta_20261021_test:55441",
"transaction_rollback": true,
"types": "passed",
"production_build": "passed;existing plugin warnings",
"QA_build": "passed;existing chunk warning",
"QA_storage": "save/recover/reject passed,temporary file only",
"UI": {
"actor": "Codex",
"method": "Edge/CUA observed",
"URL": "http://127.0.0.1:18642/g6a.html",
"observed": [
"unknown condition ->indeterminate",
"failed condition ->nonapplication,normal tax unknown",
"affirmative conditions ->exempt import VAT0.00",
"switch treatment ->only applicable questions;answers,document,1000MZN retained",
"save/recover/report ->P049/P051,Manica,2026-12,documents,sources",
"three previous UI results;20salesbooks and1purchasebook identical"
],
"manual_Tempo_reply": null,
"screenshot": "C:\\laragon\\www\\portal-investidor\\outputs\\iva-l1-g6a-imports-20261024\\qa-recovered-report.png",
"screenshot_sha256": "e6914778f6513e2ea22850d1b30a79ff3592e0c8085cb09c38f1ffb23541cf9c"
},
"Word_PDF": "Existing exporter proofs reused;no new pagination claim"
},
"rollback": "l1-g6a-readonly-rollback-20261024.patch checked;not applied",
"backup_restore": {
"backup": {
"stage": "/var/backups/investmoz-l1-g6a-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "93d9e16845af367cab80ee4d646cc679b9668495c822d26ed6157caeb74da3fb",
"files_sha256": "928f06a3795206702dbdc3ebd3ef76f9e345a199c1ec81f5abfa97a40154ba58",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g6a_restore_20261024",
"port": 55441,
"source_dump_sha256": "93d9e16845af367cab80ee4d646cc679b9668495c822d26ed6157caeb74da3fb",
"active_database_writes": 0
}
},
"activation": "Git FF/webhook/installer completed;zero migrations/imports",
"served_revision_and_delta": "verified",
"limits": "2026/MZN;classificação L1 de12(1)(d/f),sem direitosaduaneirosL13,dedução/campo11L2,baseaduaneira,taxa normal presumida,apuramento integral ou submissãoAT. P080/P084/P085 explicitamente abertos;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": "6f056359df4231f9e1802922782b21263a8dae0b",
"release": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"previous_release": "/var/www/investmoz-homologacao/releases/69f2e365bf4ebd509ec2e080dd0bf1b7717d7a75-ac55d458",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"release_revision": {
"commit": "6f056359df4231f9e1802922782b21263a8dae0b",
"branch": "main",
"built_at": "2026-10-24T17:10:20.021314+00:00",
"manifest_sha256": "0e2ee85ab107f34efcc9c589328a0635d2d6021ba28ee387e02b0654aeab85db"
},
"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 confirmed6f056359;installer inactive",
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed",
"beverages_followup": {
"source": "CIVA13(2),20(1)(d)",
"L2": "Dedução do IVA da via13(2),com montante/documento/condições próprios",
"L3": "Restituição da via13(2),conforme procedimento aplicável;pedido não equivale a deferimento",
"closed_by_G6A": false
},
"fresh_destination_preflight": "completed authenticated6f056359 before installation;see authenticated_preflight",
"treatment": "P049/reimport_same_state,12(1)(d);P051/central_bank_gold,12(1)(f);classificação IVA na importação,sem direitosaduaneiros nem dedução/campo11",
"served_commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"release": "/var/www/investmoz-homologacao/releases/e3601c124d50fa2b52ea9d9fb86fbddf1d224d51-b40b5ef1",
"previous_release": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "3cef2e5d47d357e3a831ee9fc1f332d0"
},
"after": {
"rows": 105,
"checksum": "fa38aab45da6527192848bea480f8014"
}
},
"sessions": {
"before": {
"rows": 29,
"checksum": "f7d4d8e560b9e7fcf35d15bbf457f195"
},
"after": {
"rows": 30,
"checksum": "162782d2ac82e4deaacf4d79561ea513"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"branch": "main",
"built_at": "2026-10-24T17:23:49.644454+00:00",
"manifest_sha256": "4972fe7be0ab6293c73e2d731084a6986079044fea4548e07d9537d4d3ca20f7"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"import-exemptions/1": [
"assets/project-dossier-JEkKEtTe.js"
],
"reimport_same_state": [
"assets/project-dossier-JEkKEtTe.js"
],
"central_bank_gold": [
"assets/project-dossier-JEkKEtTe.js"
],
"importExemptions": [
"assets/project-dossier-JEkKEtTe.js"
],
"12(1)(d/f)": [
"assets/project-dossier-JEkKEtTe.js"
]
},
"assets": [
{
"file": "assets/services-BXU5lh3t.js",
"status": 200,
"sha256": "e0cf2f3f2f1c1c6d440729cfd6cd7a4bb830b20ed1121860d67862436765d2fd"
},
{
"file": "assets/project-dossier-JEkKEtTe.js",
"status": 200,
"sha256": "adf02748a797af916d4fa0c9c1f60b8710a90550937f541785b98fe33d1fff6c"
},
{
"file": "assets/project-dossier-document-3_HjfTXa.js",
"status": 200,
"sha256": "21a61a7ac141d65b7f3f74fd515371a3f1f25d76c896901f52ecb1f9a820555e"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-qm4e17dP.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"release": "/var/www/investmoz-homologacao/releases/e3601c124d50fa2b52ea9d9fb86fbddf1d224d51-b40b5ef1",
"previous_release": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"release": "/var/www/investmoz-homologacao/releases/e3601c124d50fa2b52ea9d9fb86fbddf1d224d51-b40b5ef1",
"previous_release": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"e3601c124d50fa2b52ea9d9fb86fbddf1d224d51"
],
"finished_at": "2026-10-24T17:23:52.274448+00:00"
},
"log_file": "1792862542167178181.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 24.86s",
"OK (59 tests, 317 assertions)",
"# tests 305",
"# pass 305",
"# fail 0"
],
"log_bytes": 117310
},
"rollback_executed": false
}
}
}
@@ -1,6 +1,6 @@
{
"key": "iva_l1_g6a_P049_P051_import_exemptions_QA_demonstrated_20261024",
"status": "demonstrated_QA_not_installed",
"status": "delivered_with_QA_proofs_preserved",
"candidate": "965da2642627ad1e484d52587e07b4a60cae6af2",
"base": "e99ea1d0",
"homologation": "6f056359/e99ea1d0",
@@ -179,16 +179,29 @@
"roll_back": "l1-g6a-readonly-rollback-20261024.patch checked,not applied;readers/history/reports retained"
},
"counts": {
"delivered": 68,
"QA": 0,
"functional_pending": 64,
"documentary": 1,
"total": 133
},
"G6": {
"delivered": 2,
"QA": 0,
"functional_pending": 13
},
"limits": "2026/MZN;classificação L1 de12(1)(d/f),sem direitosaduaneirosL13,dedução/campo11L2,baseaduaneira,taxa normal presumida,apuramento integral ou submissãoAT. P080/P084/P085 explicitamente abertos;L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas.",
"qa_acceptance_status": "demonstrated_QA_not_installed",
"qa_acceptance_counts": {
"delivered": 66,
"QA": 2,
"functional_pending": 64,
"documentary": 1,
"total": 133
},
"G6": {
"delivered": 0,
"QA": 2,
"functional_pending": 13
},
"limits": "2026/MZN;classificação L1 de12(1)(d/f),sem direitosaduaneirosL13,dedução/campo11L2,baseaduaneira,taxa normal presumida,apuramento integral ou submissãoAT. P080/P084/P085 explicitamente abertos;L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas."
"delivery_followup": {
"served_commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"record": "iva_l1_g6a_homologation_20261024",
"receipt": "l1-g6a-delivery-20261024.json"
}
}
@@ -1,5 +1,5 @@
{
"status": "ready_after_fresh_authenticated_preflight_and_verified_backup_restore",
"status": "installed_delta_verified_partial_L1",
"candidate": "965da2642627ad1e484d52587e07b4a60cae6af2",
"base": "e99ea1d0",
"last_known_remote_main": "6f056359",
@@ -26,8 +26,8 @@
}
],
"counts_current": {
"delivered": 66,
"QA": 2,
"delivered": 68,
"QA": 0,
"functional_pending": 64,
"documentary": 1,
"total": 133
@@ -93,8 +93,8 @@
"active_database_writes": 0
}
},
"activation": "Existing normal Git FF/webhook/installer;no push or installation in QA passage",
"served_revision_and_delta": "pending delivery;homologation remains6f056359",
"activation": "Git FF/webhook/installer completed;zero migrations/imports",
"served_revision_and_delta": "verified",
"limits": "2026/MZN;classificação L1 de12(1)(d/f),sem direitosaduaneirosL13,dedução/campo11L2,baseaduaneira,taxa normal presumida,apuramento integral ou submissãoAT. P080/P084/P085 explicitamente abertos;L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas.",
"L1_complete": false,
"P001": "05/06 only",
@@ -143,5 +143,155 @@
"pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604"
},
"authenticated_destination": "Fresh read confirmed6f056359;installer inactive",
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed"
"new_backup_restore": "Verified fresh backup and real isolated restore;no active restore performed",
"beverages_followup": {
"source": "CIVA13(2),20(1)(d)",
"L2": "Dedução do IVA da via13(2),com montante/documento/condições próprios",
"L3": "Restituição da via13(2),conforme procedimento aplicável;pedido não equivale a deferimento",
"closed_by_G6A": false
},
"fresh_destination_preflight": "completed authenticated6f056359 before installation;see authenticated_preflight",
"treatment": "P049/reimport_same_state,12(1)(d);P051/central_bank_gold,12(1)(f);classificação IVA na importação,sem direitosaduaneiros nem dedução/campo11",
"served_commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"installation": {
"protected": {
"installed": {
"status": "installed",
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"release": "/var/www/investmoz-homologacao/releases/e3601c124d50fa2b52ea9d9fb86fbddf1d224d51-b40b5ef1",
"previous_release": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"database_migrations": 0,
"content_imports": 0
},
"runtime_files_verified": 4,
"persistent_files_and_env_verified": 369,
"tables_compared": 174,
"changed_tables": {
"cache": {
"before": {
"rows": 105,
"checksum": "3cef2e5d47d357e3a831ee9fc1f332d0"
},
"after": {
"rows": 105,
"checksum": "fa38aab45da6527192848bea480f8014"
}
},
"sessions": {
"before": {
"rows": 29,
"checksum": "f7d4d8e560b9e7fcf35d15bbf457f195"
},
"after": {
"rows": 30,
"checksum": "162782d2ac82e4deaacf4d79561ea513"
}
}
},
"preserved_counts": {
"published_fiches": 29,
"relations": 28,
"geometries": 408
},
"migration_count": 0,
"content_imports": 0,
"comparison_role": "postgres_before_and_after;sameexportedsnapshotbaseline;noapplicationRLSvisibilityinference",
"writes_by_verification": 0
},
"public": {
"status": "installed_delta_verified",
"served_revision": {
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"branch": "main",
"built_at": "2026-10-24T17:23:49.644454+00:00",
"manifest_sha256": "4972fe7be0ab6293c73e2d731084a6986079044fea4548e07d9537d4d3ca20f7"
},
"manifest_hash_matches": true,
"compiled_delta_markers": {
"import-exemptions/1": [
"assets/project-dossier-JEkKEtTe.js"
],
"reimport_same_state": [
"assets/project-dossier-JEkKEtTe.js"
],
"central_bank_gold": [
"assets/project-dossier-JEkKEtTe.js"
],
"importExemptions": [
"assets/project-dossier-JEkKEtTe.js"
],
"12(1)(d/f)": [
"assets/project-dossier-JEkKEtTe.js"
]
},
"assets": [
{
"file": "assets/services-BXU5lh3t.js",
"status": 200,
"sha256": "e0cf2f3f2f1c1c6d440729cfd6cd7a4bb830b20ed1121860d67862436765d2fd"
},
{
"file": "assets/project-dossier-JEkKEtTe.js",
"status": 200,
"sha256": "adf02748a797af916d4fa0c9c1f60b8710a90550937f541785b98fe33d1fff6c"
},
{
"file": "assets/project-dossier-document-3_HjfTXa.js",
"status": 200,
"sha256": "21a61a7ac141d65b7f3f74fd515371a3f1f25d76c896901f52ecb1f9a820555e"
},
{
"file": "assets/simulation-form-CPZAFZU3.js",
"status": 200,
"sha256": "c6bcf64e60a5eeac0cafe3dc055dc5544162f21942ee08b34d51bc6d52947567"
}
],
"simulator_status": 200,
"simulator_entry": "assets/app-qm4e17dP.js",
"existing_fiscal_availability": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
},
"synthetic_private_writes": 0,
"method": "Read-only installedrevision/manifest/newcompiledcatalogueandreaders/simulatorentry;acceptedQAproofsreused"
},
"installer": {
"service": "ExecMainStatus=0\nActiveState=inactive\nSubState=dead\n",
"installed": {
"status": "installed",
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"release": "/var/www/investmoz-homologacao/releases/e3601c124d50fa2b52ea9d9fb86fbddf1d224d51-b40b5ef1",
"previous_release": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"database_migrations": 0,
"content_imports": 0
},
"latest_report": {
"status": "installed",
"commit": "e3601c124d50fa2b52ea9d9fb86fbddf1d224d51",
"release": "/var/www/investmoz-homologacao/releases/e3601c124d50fa2b52ea9d9fb86fbddf1d224d51-b40b5ef1",
"previous_release": "/var/www/investmoz-homologacao/releases/6f056359df4231f9e1802922782b21263a8dae0b-5bf30d7b",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"e3601c124d50fa2b52ea9d9fb86fbddf1d224d51"
],
"finished_at": "2026-10-24T17:23:52.274448+00:00"
},
"log_file": "1792862542167178181.log",
"summaries": [
"OK (1 test, 3106 assertions)",
"built in 24.86s",
"OK (59 tests, 317 assertions)",
"# tests 305",
"# pass 305",
"# fail 0"
],
"log_bytes": 117310
},
"rollback_executed": false
}
}
@@ -1,5 +1,14 @@
# Rastreabilidade, utilização e formação
## 24/10/2026 — G6A/P049/P051 entregue na homologação e3601c12
**P049→reimport_same_state /12(1)(d);P051→central_bank_gold /12(1)(f). Doisramos** de classificação do IVA na importação em2026/MZN. A Tempo aceitou a candidata965da264 concluída emQA segundo o relatório615f78e7 e autorizou integração/disponibilização peloGit existente,com preservação de alterações concorrentes e conferência apenas do delta instalado. Reutilizadas provas aceites de condições,indeterminação/não aplicação/isenção,gravação/recuperação/relatório e20livrosvendas+1aquisições;sem repetir aceitação ou atribuir nova conferência manual àTempo.
Gitfast-forward sobre6f056359;consulta fresca de main e destino autenticado sem avanço concorrente encontrado;66ramos e recibos anteriores preservados. Backup novo e restauro real isolado sem rede:174tabelas/369ficheiros. Delta instalado:revisão efectivamente servida,manifesto/hash,cinco marcadores,quatro ficheiros funcionais,simuladorHTTP200. Preservação:174tabelas,369ficheiros/configuração,29fichas publicadas/28relações/408geometrias,identidadePostgreSQL equivalente antes/depois;apenas diferenças operacionais cache/sessões registadas. Zero migrações/importações/alterações de permissões ou ensaios sintéticos noactivo. Backup/release anterior conservados;contenção de novas classificações conferida,não aplicada;leitores/histórico/relatórios mantidos.
[Manifesto/recibo](../simulations/l1-g6a-delivery-20261024.json),registo `iva_l1_g6a_homologation_20261024`. **68entregues+64funcionaispendentes+P001=133;sem candidatasQA por disponibilizar.** G6:2entregues/13pendentes. **P080/P084/P085 explicitamente abertos;L1aberto;P001só05/06;bebidasL2/L3;Estatísticas/IAadiadas.** Classificação não fixa baseaduaneira/direitos,nem preenche dedução/campo11 ou totaisModeloA;P086 permanece disposição eliminada/encaminhamento aplicável,fonteBR89/2017 preservada.
## 24/10/2026 — G6A/P049/P051 demonstrado em QA
File diff suppressed because one or more lines are too long