docs(iva): verify G2K G2L joint delivery backup and restore
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-24 16:39:06 +02:00
parent da798dd1d8
commit ccdecbd8d7
3 changed files with 194 additions and 7 deletions
@@ -7271,5 +7271,117 @@
"homologation_unchanged": true,
"P001": "05/06only",
"L1_complete": false
},
"iva_l1_g2kl_authenticated_preparation_20261024": {
"status": "ready_not_installed",
"candidate": "da798dd1d8a017cfb20764b566661807b2ef0ffc",
"base_main": "e45a1394fa2ca8631593549b3af62093f25d9c13",
"groups": [
"G2K",
"G2L"
],
"branches": [
"P008",
"P035"
],
"new_treatments": 2,
"documentary_positions": {
"AnexoIII": 170,
"AnexoI": 172
},
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "e45a1394fa2ca8631593549b3af62093f25d9c13",
"release": "/var/www/investmoz-homologacao/releases/e45a1394fa2ca8631593549b3af62093f25d9c13-f5f7e07d",
"previous_release": "/var/www/investmoz-homologacao/releases/d4eae917ee9c9d37f0339905a96c1e35480f324e-afcda0da",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/e45a1394fa2ca8631593549b3af62093f25d9c13-f5f7e07d",
"release_revision": {
"commit": "e45a1394fa2ca8631593549b3af62093f25d9c13",
"branch": "main",
"built_at": "2026-10-24T13:51:02.487098+00:00",
"manifest_sha256": "2f3fd204e659ac71f0e35b59365b7342d79f1460119ef34a4daa217e4b21c0af"
},
"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": {
"stage": "/var/backups/investmoz-l1-g2kl-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "8c6d8f2745ebb3dc6883d67fb8d9810593d47ad44fb0e20859e3547044adee6c",
"files_sha256": "66d42c9053508681e8f7adfe20631396272f2fb934a69a6c79347a029fa11f78",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g2kl_restore_20261024",
"port": 55441,
"source_dump_sha256": "8c6d8f2745ebb3dc6883d67fb8d9810593d47ad44fb0e20859e3547044adee6c",
"active_database_writes": 0
},
"runtime_files": [
{
"path": "resources/js/components/simulation-operations.tsx",
"sha256_LF": "6e6d7b5d7f47541683dd4f32e93805b0d3068283a8ff1b3446884f5e4c626039"
},
{
"path": "resources/js/lib/iva-operations.ts",
"sha256_LF": "02e411659c84c00182c6c46f3af499f04648a8cf84911ce11ed9a21f12d48d78"
},
{
"path": "resources/js/lib/iva-pharma-annex.ts",
"sha256_LF": "dd56382b6edcced208efb03ebfc412f75e03b7180d084021ecbde1bac713ce3f"
},
{
"path": "resources/js/lib/iva-annex-i.ts",
"sha256_LF": "6dda21a66dd9399b911bc9839163a5e20f10808ac1937d3b2ca70dff3109424d"
}
],
"rollback_patch_checked_not_applied": true,
"accepted_QA_reused": true,
"new_active_private_synthetic_writes": 0,
"schema_import_permission_changes": false,
"counts": {
"delivered": 34,
"demonstrated_QA": 2,
"functional_pending": 96,
"documentary": 1,
"total": 133
},
"P001": "05/06only",
"L1_complete": false
}
}
@@ -1,7 +1,7 @@
{
"status": "QA_completed_awaiting_fresh_authenticated_preflight_backup_restore_not_installed",
"status": "ready_after_fresh_authenticated_preflight_and_verified_backup_restore",
"base_remote_main": "e45a1394fa2ca8631593549b3af62093f25d9c13",
"fresh_fetch": "main e45a1394;ancestral;fetch again before integration",
"fresh_fetch": "origin/main e45a1394,ancestor;fetch again immediately before main push",
"coverage": {
"G2K": {
"P008": [
@@ -66,13 +66,12 @@
"alternate_origin_or_browser_workaround_attempted": false
},
"before_delivery_required": [
"Fresh remote main and authenticated destination; reconcile concurrent changes",
"Fresh protected backup and isolated restore",
"Git existing activation; served revision/manifest/assets/runtimehashes and preservation delta only"
"Fresh final fetch; reconcile any concurrent main change",
"Existing Git activation; verify served revision, runtime hashes, assets and preservation delta only"
],
"activation": "Existing Git fast-forward/webhook/installer and existing simulator panel;no migrations/imports/server fiscal activation/permissions/other taxes",
"rollback": "Existing l1-joint-readonly-rollback-20261024.patch passed git apply --check;not applied;keeps catalogue/readers/history/API/reports. Retain prior release and verified fresh backup before deployment;no DBrestore executed.",
"backup_restore_new_delivery": "not yet executed; required before main push",
"backup_restore_new_delivery": "Verified fresh backup and real isolated restore;no active restore executed.",
"homologation_unchanged": true,
"P001": "05/06only;notextended",
"L1_complete": false,
@@ -107,5 +106,72 @@
"tool_block_is_portal_failure_evidence": false,
"circumvention": false
},
"G2L_completion_record": "iva_l1_g2l_manual_completion_and_actual_UI_payload_20261024"
"G2L_completion_record": "iva_l1_g2l_manual_completion_and_actual_UI_payload_20261024",
"candidate": "da798dd1d8a017cfb20764b566661807b2ef0ffc",
"authenticated_preflight": {
"installed": {
"status": "installed",
"commit": "e45a1394fa2ca8631593549b3af62093f25d9c13",
"release": "/var/www/investmoz-homologacao/releases/e45a1394fa2ca8631593549b3af62093f25d9c13-f5f7e07d",
"previous_release": "/var/www/investmoz-homologacao/releases/d4eae917ee9c9d37f0339905a96c1e35480f324e-afcda0da",
"database_migrations": 0,
"content_imports": 0
},
"current_link": "/var/www/investmoz-homologacao/releases/e45a1394fa2ca8631593549b3af62093f25d9c13-f5f7e07d",
"release_revision": {
"commit": "e45a1394fa2ca8631593549b3af62093f25d9c13",
"branch": "main",
"built_at": "2026-10-24T13:51:02.487098+00:00",
"manifest_sha256": "2f3fd204e659ac71f0e35b59365b7342d79f1460119ef34a4daa217e4b21c0af"
},
"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-g2kl-delivery-20261024/backup",
"target": {
"database": "teste_investidor",
"port": 5432
},
"tables": 174,
"files_verified": 369,
"dump_sha256": "8c6d8f2745ebb3dc6883d67fb8d9810593d47ad44fb0e20859e3547044adee6c",
"files_sha256": "66d42c9053508681e8f7adfe20631396272f2fb934a69a6c79347a029fa11f78",
"restore_verified": false
},
"restore": {
"restore_verified": true,
"tables_verified": 174,
"container_network": "none",
"database": "l1_g2kl_restore_20261024",
"port": 55441,
"source_dump_sha256": "8c6d8f2745ebb3dc6883d67fb8d9810593d47ad44fb0e20859e3547044adee6c",
"active_database_writes": 0
}
},
"rollback_compatibility": "git apply --check passed on current candidate;patch not applied;catalogue/readers/history retained"
}
@@ -1,5 +1,14 @@
# Rastreabilidade, utilização e formação
## 24/10/2026 — G2K/G2L preparados após conferência autenticada e restauro
Destino e main frescos em `e45a1394`,sem avanço concorrente detectado. G2K/P008 eG2L/P035 demonstradosQA;dois novos ramos/dois tratamentos,170opçõesAnexoIII e172AnexoI. Provas aceites reutilizadas;origem manualTempo e técnicaCodex conservadas. Quatro ficheiros funcionais,sem migrações,importações,activação de regra fiscal no servidor,alterações de permissões ou outros impostos.
Backup novo `/var/backups/investmoz-l1-g2kl-delivery-20261024/backup`:174tabelas e369ficheiros/configuração verificados;dumpSHA256 `8c6d8f2745ebb3dc6883d67fb8d9810593d47ad44fb0e20859e3547044adee6c`. Restauro real em contentor isolado sem rede,174contagens/checksums correspondentes;zeroescritas de teste no activo. Contenção compatível passou `git apply --check`,não aplicada,conservando catálogo,leitores,histórico e relatórios;release anterior ebackup mantidos.
[Manifesto da entrega](../simulations/l1-g2kl-delivery-20261024.json). Preparação não equivale a instalação:34entregues+2QA+96funcionaispendentes+P001=133. Próxima acção:novo fetch,pushmain semforce pelo processoGit existente e conferência somente do delta instalado. P001só05/06;calendário/fechos preservados;L1aberto;estatísticas/IAadiadas.
## 24/10/2026 — G2L: passagem manual e ficheiro real conferidos; QA concluída
A Tempo comunicou primeiro não encontrar falhas no que leu/observou e, após clarificação dos controlos, confirmou ter seguido as instruções guardar → recuperar → relatório. Esta é a origem da observação manual; não se atribuem pormenores adicionais não comunicados, captura de ecrã ou observação visual pelo Codex. O bloqueio da ferramenta permanece distinto de uma falha do portal e não foi contornado.