{ "date": "2026-10-27", "status": "installed_and_verified", "served_commit": "838ad941a24ae76ec4bf91ccc3f92012668fe8cf", "accepted_qa": "838ad941a24ae76ec4bf91ccc3f92012668fe8cf", "previous_commit": "e182d1d79dc945f35d2079c6b8ca2ac93048cec3", "sector_fix_preserved": "669cb8979b0c372659fc2ad3876aebc919d5df19", "scope": { "year": "2026", "resident": "general", "period": "calendar year", "currency": "documented MZN", "foreign_tax": "actual income tax paid; inclusion in taxable base documented", "national_fraction": "documented exact input, not automatically derived", "treaty": "case-specific applicability and ceiling documented, not inferred from country", "order": [ "international credit limited to eligible available amount and collection", "PEC limited to remaining collection", "withholdings and PPC" ], "known_absent_missing_distinct": true, "proof_deduplication": "issuer/document across tax natures, dates and snapshot contexts; consolidate country-year quota", "officialBalancesConsumed": false, "carryCreated": false }, "example": { "foreign_tax_paid": "10 MZN", "documented_national_limit": "8 MZN", "documented_treaty_nonapplication": "synthetic only, not actual country entitlement", "credit": "8 MZN", "calculation": "1408 - 8 = 1400; - PEC200 = 1200; - PPC500 = 700 MZN simulated payable", "above_eligibility_limit": "2 MZN, not a carry", "insufficient_collection_example": "available2000, deducted1408, insufficient592; PEC200 not deducted; recoverable500 derives from PPC only" }, "accepted_QA_reused": { "frontend_new": 18, "frontend_affected_annual_pec": 31, "api_assertions": 171, "recovered_HTML_dossier_cases": 7 }, "cases": [ { "name": "payable", "status": "payable", "balance": { "numerator": "700", "denominator": "1" }, "current": true, "history_records": 0, "apiRoundTrip": true, "dossier": true }, { "name": "treaty", "status": "payable", "balance": { "numerator": "702", "denominator": "1" }, "current": true, "history_records": 1, "apiRoundTrip": true, "dossier": true }, { "name": "missing", "status": "indeterminate", "balance": null, "current": true, "history_records": 1, "apiRoundTrip": true, "dossier": true }, { "name": "limited-collecta", "status": "recoverable", "balance": { "numerator": "-500", "denominator": "1" }, "current": true, "history_records": 1, "apiRoundTrip": true, "dossier": true }, { "name": "duplicate", "status": "indeterminate", "balance": null, "current": true, "history_records": 1, "apiRoundTrip": true, "dossier": true }, { "name": "absent", "status": "payable", "balance": { "numerator": "708", "denominator": "1" }, "current": true, "history_records": 1, "apiRoundTrip": true, "dossier": true }, { "name": "prior-use", "status": "payable", "balance": { "numerator": "703", "denominator": "1" }, "current": true, "history_records": 1, "apiRoundTrip": true, "dossier": true } ], "compatibility": { "fast_forward_over": "e182d1d79dc945f35d2079c6b8ca2ac93048cec3", "runtime_files_byte_identical_to_accepted_QA": true, "runtime_delta": [ { "file": "resources/js/components/simulation-irpc-annual.tsx", "before_sha256": "7f18abcaa1100251c5c2780fdfac32e21979d8e6ffed52f732e4a0d345ab4f40", "after_sha256": "307725306df321fc89caf3d1a9efcf7463bb93d9d515d44347f8e14d4fd3136b" }, { "file": "resources/js/components/simulation-irpc-international.tsx", "before_sha256": null, "after_sha256": "6a9f796cc1e678823ed1dc14fbc28ca0e270752b2650518de239424dc75d167c" }, { "file": "resources/js/lib/country-iso-codes.ts", "before_sha256": null, "after_sha256": "1c4e2b6d67457ea2dba3dda28a9b6ce09242c36dfcf04855a8bc1f44506a9fac" }, { "file": "resources/js/lib/irpc-annual-settlement.ts", "before_sha256": "6d80889677c1904b3236b5e43fa5a3dc28327745679392529dfb5fbf5a273f7d", "after_sha256": "47d4167d0f80c649e6d89a586e0d206d2d2a12b8553a7e98be362ea56203a540" }, { "file": "resources/js/lib/irpc-international-credit.ts", "before_sha256": null, "after_sha256": "40b46fbaaff6071ce6a35fd82de586158bf1f58fae8f46bcf6e4ddbbf84287f1" } ], "all_other_compared_sources_unchanged": true, "schema_config_routes_permissions_unchanged": true, "legacy_annual_and_PEC_history_preserved": true, "no_new_manual_retest_of_independent_accepted_proofs": true }, "source_files_verified": { "before": 1002, "after": 1005 }, "backup": { "stage": "/var/backups/investmoz-irpc-l8-international-20261027/backup", "created_at": "2026-10-27T13:15:39Z", "target": { "database": "teste_investidor", "port": 5432 }, "tables": 174, "files_verified": 369, "dump_sha256": "b1e9740653a8664c23268e228efd3ed6a0514bf3e8786dd5adf43342cdb475e1", "files_sha256": "9d3a790f9c7f4a35ebf660d304e92d69f86557d20d2f8be1e996c828711b19ac", "restore_verified": false }, "restore": { "restore_verified": true, "tables_verified": 174, "container_network": "none", "database": "irpc_international_restore_20261027", "port": 55441, "source_dump_sha256": "b1e9740653a8664c23268e228efd3ed6a0514bf3e8786dd5adf43342cdb475e1", "active_database_writes": 0 }, "capacity_before": { "checked_at_UTC": "2026-10-27T13:15:02.501911+00:00", "installed": { "status": "installed", "commit": "e182d1d79dc945f35d2079c6b8ca2ac93048cec3", "release": "/var/www/investmoz-homologacao/releases/e182d1d79dc945f35d2079c6b8ca2ac93048cec3-e2a185b3", "previous_release": "/var/www/investmoz-homologacao/releases/669cb8979b0c372659fc2ad3876aebc919d5df19-6a2f00c6", "database_migrations": 0, "content_imports": 0 }, "current_link": "/var/www/investmoz-homologacao/releases/e182d1d79dc945f35d2079c6b8ca2ac93048cec3-e2a185b3", "release_revision": { "commit": "e182d1d79dc945f35d2079c6b8ca2ac93048cec3", "branch": "main", "built_at": "2026-10-27T12:10:18.923517+00:00", "manifest_sha256": "47bbdd09864d0587133deec179781018e439f9c83b7b328c9dcd52482eaf6d31" }, "service": "MainPID=0\nExecMainStatus=0\nActiveState=inactive\nSubState=dead\n", "volumes": [ { "path": "/var/www/investmoz-homologacao/releases", "mount": "/dev/md2 / ext4", "device": 2306, "available_bytes": 92293206016, "available_inodes": 23699087, "total_inodes": 29089792 }, { "path": "/var/lib/investmoz-deploy", "mount": "/dev/md2 / ext4", "device": 2306, "available_bytes": 92293206016, "available_inodes": 23699087, "total_inodes": 29089792 }, { "path": "/var/backups", "mount": "/dev/md2 / ext4", "device": 2306, "available_bytes": 92293206016, "available_inodes": 23699087, "total_inodes": 29089792 }, { "path": "/tmp", "mount": "/dev/md2 / ext4", "device": 2306, "available_bytes": 92293206016, "available_inodes": 23699087, "total_inodes": 29089792 }, { "path": "/var/lib/docker", "mount": "/dev/md2 / ext4", "device": 2306, "available_bytes": 92293206016, "available_inodes": 23699087, "total_inodes": 29089792 } ], "free_bytes": 92293206016, "existing_pipeline_minimum_bytes": 5368709120, "observed_previous_backup_bytes": 175920446, "same_partition_release_and_backup": true, "space_guard_satisfied": true, "current_release_entry_reference": 31315, "inodes_available_vs_reference": true, "inode_note": "Observed current release footprint for scale;no new arbitrary inode threshold. Capacity rechecked after fresh backup.", "pipeline_sha256": "adec1c17654f3a8658b83b134f1e75f95391b235738552721906c3236e388604", "active_writes": 0 }, "capacity_after_backup": { "at": "2026-10-27T13:16:13.360261+00:00", "baseline": "e182d1d79dc945f35d2079c6b8ca2ac93048cec3", "capacity_after_backup_satisfied": true, "volumes": [ { "path": "/var/www/investmoz-homologacao/releases", "free_bytes": 92114915328, "free_inodes": 23699075 }, { "path": "/var/lib/investmoz-deploy", "free_bytes": 92114915328, "free_inodes": 23699075 }, { "path": "/var/backups", "free_bytes": 92114915328, "free_inodes": 23699075 }, { "path": "/tmp", "free_bytes": 92114915328, "free_inodes": 23699075 }, { "path": "/var/lib/docker", "free_bytes": 92114915328, "free_inodes": 23699075 } ], "backup_age_seconds": 34.36022, "backup_dump_sha256": "b1e9740653a8664c23268e228efd3ed6a0514bf3e8786dd5adf43342cdb475e1", "restore_verified": true, "tables_verified": 174, "files_verified": 369, "backup_paths": { "dump": "/var/backups/investmoz-irpc-l8-international-20261027/backup/database.dump", "files": "/var/backups/investmoz-irpc-l8-international-20261027/backup/files-before.tar.gz" }, "active_writes": 0 }, "schema_permissions": { "schema_sha256": "5045b3e51d2185377aa3d9ac7fa07a44fad3ec620cdfa83ffe31c8884ee1601d", "roles_grants_sha256": "1530c33cb016e67bfdc64891ddfce7f185b13b56b2cd87c012871a685e118109", "filesystem_permissions": { ".env": { "mode": 416, "uid": 1001, "gid": 33 }, "storage": { "mode": 1533, "uid": 1001, "gid": 33 }, "storage/app": { "mode": 1533, "uid": 1001, "gid": 33 }, "bootstrap/cache": { "mode": 1528, "uid": 1001, "gid": 33 } }, "comparison_identity": "postgres;catalogue read only;no passwords collected", "unchanged": true }, "preservation": { "checked_at": "2026-10-27T13:21:25.836367+00:00", "installed": "838ad941a24ae76ec4bf91ccc3f92012668fe8cf", "business_tables_unchanged": 172, "total_tables": 174, "operational_tables_to_reconcile": { "cache": { "before": { "rows": 108, "checksum": "c5e94e4bb71bf085e36447c1da35696e" }, "after": { "rows": 108, "checksum": "ddbdb9e11a50777bd84bc353d178608a" } }, "sessions": { "before": { "rows": 53, "checksum": "fe52dca3e79f71d1f5a3bd474c7d72d1" }, "after": { "rows": 55, "checksum": "359f4b80ea80b807a1f3a50687fe2309" } } }, "persistent_files_unchanged": 369, "original_configuration_preserved": true, "synthetic_QA_storage_not_served": true, "QA_storage_saved_outside_active": "/var/lib/investmoz-deploy/qa-runtime/838ad941a24ae76ec4bf91ccc3f92012668fe8cf-ca7817df", "fixture_or_content_imports": 0, "migrations": 0, "comparison_identity": "postgres;UTC;consistent before snapshot and after read-only transaction", "active_database_writes": 0 }, "operational_delta": { "status": "operational_delta_reconciled", "comparison_identity": "postgres before/after;isolated restored baseline;no RLS visibility inference", "cache": "queue:restart;requestthrottle;identical home-sector cached value with refreshed expiry(HomeController remember10min);no deletedcache", "sessions": "anonymous sessions from delivery user-agent or exactUA/time correlated with nginx public request;deleted sessions individually expired beyond configured lifetime,normal database session garbage collection(config/session lottery2/100)", "delta": { "cache": { "before_rows": 108, "after_rows": 108, "changes": [ { "key_sha256": "7f7dd83f47f5bf404d55e6e9f1367948721579970b195680645e356031a070ff", "kind": "updated", "fields": [ "value", "expiration" ], "key_pattern": "investemoz-cache-illuminate:queue:restart", "is_queue_restart_key": true, "expiration_unchanged": false, "throttle_timer_pair": false, "same_value_home_cache_expiry_refresh": false } ] }, "sessions": { "before_rows": 53, "after_rows": 55, "changes": [ { "key_sha256": "cc9234289e8c94733fb352f52407a2863d547165e1ee7f6eb4523c1ed7b33c1a", "kind": "added", "fields": [ "id", "ip_address", "user_agent", "payload", "last_activity" ], "anonymous_user": true, "delivery_user_agent": true, "expired_before_comparison": false, "session_lifetime_minutes": 120, "anonymous_public_request_logged": true }, { "key_sha256": "dbf3b24ccc55e4bf0a14aad872309de7d890942acb4f68b0c1ec608ff5e49035", "kind": "added", "fields": [ "id", "ip_address", "user_agent", "payload", "last_activity" ], "anonymous_user": true, "delivery_user_agent": true, "expired_before_comparison": false, "session_lifetime_minutes": 120, "anonymous_public_request_logged": true } ] } }, "business_tables_to_confirm_separately": 172, "active_data_writes_by_comparison": 0, "restore_network": "none" }, "installer": { "service": "MainPID=0\nExecMainStatus=0\nActiveState=inactive\nSubState=dead\n", "installed": { "status": "installed", "commit": "838ad941a24ae76ec4bf91ccc3f92012668fe8cf", "release": "/var/www/investmoz-homologacao/releases/838ad941a24ae76ec4bf91ccc3f92012668fe8cf-ca7817df", "previous_release": "/var/www/investmoz-homologacao/releases/e182d1d79dc945f35d2079c6b8ca2ac93048cec3-e2a185b3", "database_migrations": 0, "content_imports": 0 }, "latest_report": { "status": "installed", "commit": "838ad941a24ae76ec4bf91ccc3f92012668fe8cf", "release": "/var/www/investmoz-homologacao/releases/838ad941a24ae76ec4bf91ccc3f92012668fe8cf-ca7817df", "previous_release": "/var/www/investmoz-homologacao/releases/e182d1d79dc945f35d2079c6b8ca2ac93048cec3-e2a185b3", "database_migrations": 0, "content_imports": 0, "requested_commits": [ "838ad941a24ae76ec4bf91ccc3f92012668fe8cf" ], "finished_at": "2026-10-27T13:20:20.796156+00:00" }, "log_file": "1793107006281021543.log", "log_bytes": 313361, "mandatory_summaries": [ "OK (1 test, 3106 assertions)", "✓ built in 31.55s", "OK (59 tests, 317 assertions)", "# tests 1110", "# pass 1110", "# fail 0" ] }, "public_delta": { "phase": "after", "revision": { "commit": "838ad941a24ae76ec4bf91ccc3f92012668fe8cf", "branch": "main", "built_at": "2026-10-27T13:20:18.055286+00:00", "manifest_sha256": "b873c14f3e0e43435fa8f67fa9a65ff8978123cd8792c5f7c2e0cf6f8f84a3b2" }, "manifest_verified": true, "simulator_HTTP": 200, "simulator_component": "portal/services", "active_QA_records_created": false, "compiled_markers": { "IRPC-international-credit/1": [ "assets/project-dossier-bSv3Ugr2.js" ], "Preparar crédito internacional": [ "assets/services-YUy8XgPr.js" ], "Vincular inclusão e limites ao país": [ "assets/services-YUy8XgPr.js" ], "Crédito internacional — antes do PEC": [ "assets/project-dossier-bSv3Ugr2.js" ], "Não determina a fracção nacional": [ "assets/project-dossier-bSv3Ugr2.js" ], "IRPC-PEC/1": [ "assets/project-dossier-bSv3Ugr2.js" ] } }, "remote_backup": "/var/backups/investmoz-irpc-l8-international-20261027/backup", "remote_receipt": "/var/backups/investmoz-irpc-l8-international-20261027/installed-receipt.json", "limits": [ "L8 partial", "no new PEC excess/carry scope", "no automatic foreign exchange or official rounding rule", "no official tax balance consumption, submission or refund execution", "same-snapshot deduplication is not a global inter-dossier official ledger", "synthetic QA examples do not assert any actual foreign treaty", "L8 partial after this bounded delivery", "Songo/Gurue remain private; no QA fixture or content import into active data" ], "remaining_code": [ "automatic national fraction and case-specific treaty matching", "economic double-tax and CBF benefit credits with own rules", "international carry/expiry65(3), separate from PEC66 carry/expiry", "PPC/PEC obligation/calendar; autonomous tax, special periods, other currencies and M20/M22 transport/submission" ], "document_dependencies": [ { "missing": "income inclusion and national fraction", "example": "tax10 but no included income/base correspondence", "resume_when": "income/base and documented fraction matched" }, { "missing": "treaty article/period/ceiling", "example": "country selected but no applicable article or eligible tax", "resume_when": "case-specific article, effective period and eligible ceiling identified" }, { "missing": "proof/titular/previous actual use/temporal link", "example": "payment2027 selected for2026 without correspondence", "resume_when": "actual payment and explicit2026 link supported, prior use reconciled" } ], "local_startup_fix": { "cause": "Local inspect.py shadowed Python stdlib before SSH connection", "renamed_to": "remote_delivery_inspection.py", "inspect_module": "C:/laragon/bin/python/python-3.10/lib/inspect.py", "python": "C:/laragon/bin/python/python-3.10/python.exe", "paramiko": "5.1.0", "remote_linux_geteuid_ssh_guard_preserved": true, "credentials_changed": false, "server_failure_inferred": false }, "local_evidence_directory": "outputs/irpc-l8-international-delivery-20261027", "local_artifacts": [ { "file": "authenticate.ps1", "bytes": 237, "sha256": "89492b8a16b8d5ec8dbe1d6a1a44af0bfbf8e99ccef2abfc5568a831623c05ba" }, { "file": "backup.py", "bytes": 5460, "sha256": "ef5406ffa735d3d563e9b4da0e8ac067c6978710df455d24e2c8e2cbc305fa49" }, { "file": "capacity-after.py", "bytes": 1621, "sha256": "9f1e2df54963469c670098b77392020f2719bb3f795cd04e5ecdad6f1fad1b84" }, { "file": "diagnose-session-delta.py", "bytes": 7395, "sha256": "312e2446a489a99bf9060797e785de4d16d28866b6f9a05a9d99fb60e3a9c838" }, { "file": "int-backup-20261027.json", "bytes": 443, "sha256": "5314107e4438ea22bc6c3261dda9b893faac3cf131c596f30dc6517bc35cd30f" }, { "file": "int-capacity-after-20261027.json", "bytes": 1210, "sha256": "72934b91dcc7ecf5370d7a667ef26ecf8a78a0ceeeeeb71a3062abab33925767" }, { "file": "int-operational-20261027.json", "bytes": 2436, "sha256": "f8936062bdf569740ea4bafc618c88c08ef8a1def30dcf1240c6afa3113ec1c3" }, { "file": "int-preflight-20261027.json", "bytes": 2595, "sha256": "cd339ef9913f8d89644e45ee5d337003cecb758d827764a79f4cfacc1b350dca" }, { "file": "int-preserve-20261027.json", "bytes": 1139, "sha256": "110ec10adf5d2a4de426dd3e6f947026dbff6ef828a56c0353b1e7a0426e2c78" }, { "file": "int-read-20261027.json", "bytes": 2919, "sha256": "12ba15343b9485e08f654a7abb0305e4f10f396b1d20f7aaca844e9ea5317fdc" }, { "file": "int-restore-20261027.json", "bytes": 288, "sha256": "7d9c3fb60ea87407441db867edf8e872e58aeb9aaf209c1b89830b0e0eedea59" }, { "file": "int-schema-after-20261027.json", "bytes": 668, "sha256": "e1767424312345a28a28223c67c424df1ac68d9d1aecec30a4856a71fbe91bfc" }, { "file": "int-schema-before-20261027.json", "bytes": 646, "sha256": "da666867fc18a60b0473e04bcd7966328135dcb684fb974b405b66e53e5a4377" }, { "file": "int-source-after-20261027.json", "bytes": 165, "sha256": "46c3a8f356197988ebbb4325a7a43807a0e5f097eb5eee5c09c063f68dc022cc" }, { "file": "int-source-before-20261027.json", "bytes": 166, "sha256": "3130bda62b9b5b736d8b3a884c34973e2c7387564c1f3e9edfcf626075d4fbbd" }, { "file": "int-status-a1-20261027.json", "bytes": 1442, "sha256": "c895209842c6f59f552a5b9af9542e0a4c58515d91213b188c1ee4300037b3ba" }, { "file": "int-status-final-20261027.json", "bytes": 1795, "sha256": "2c57678c23eabf455295695214f9d87cca99be25245417310c12d25a6ac69e41" }, { "file": "preflight.py", "bytes": 2328, "sha256": "2fccdc6dcd727db3b9599f5c4882b3ca389036ccbf12b91f2953d3789726e13c" }, { "file": "preparation.json", "bytes": 247525, "sha256": "61d83eb63dd5f14d99cd0cce2f460150812b1831a27850c876a991d847b7febc" }, { "file": "preserve-data.py", "bytes": 2304, "sha256": "e56d27b726c5e710b9bd5721d729cc019d57011b2ea1e2699fee6685f1f1bfbd" }, { "file": "public-after.json", "bytes": 986, "sha256": "65a39cc9e37575d5da4731e185728d8762387d28abf34c7991c1f81b8c24479d" }, { "file": "public-before.json", "bytes": 414, "sha256": "010725fedaa5b820efaea13d52140f07b450221f14d71624b6141fbdf5bb6b33" }, { "file": "reconcile-operational-delta.py", "bytes": 5342, "sha256": "1fa90ff8496d2210dee1e01c0ee409abe0f4f1713f844ac99fa6f4b4c889e645" }, { "file": "remote_delivery_inspection.py", "bytes": 1947, "sha256": "7c95ba88a9d5a62a15ec2bf581fa62f5151e548014d106f081487889e56b2703" }, { "file": "restore.py", "bytes": 2828, "sha256": "fcfd6eb0adfff107ee9259b5825ac1afc550c9bd8eabf111fa0b1739d7dd3efd" }, { "file": "schema-permissions-after.py", "bytes": 1868, "sha256": "d71436183c0cf121381e4119560d70f1bcaf850439830b822b728b6e86a04005" }, { "file": "schema-permissions-before.py", "bytes": 1711, "sha256": "10c8acceabaebaeeb5d2e5161d37c3b7927b9f4e44e725e19f0a2eb738638b07" }, { "file": "source-after-input.json", "bytes": 237267, "sha256": "b735f3c10108a40de67eba37cdac203329baea164fe8e48020087ee636462481" }, { "file": "source-before-input.json", "bytes": 237268, "sha256": "3835b8ab18392212a54c4560be32807b5573b22378ff3403ecd10637ff81d59f" }, { "file": "source-check.py", "bytes": 676, "sha256": "1cec620043b013e6b6f79b9f67e4e5588117d91ee7dc0c93592fc6b8d6d0557f" }, { "file": "ssh-import-collision-resolution.json", "bytes": 411, "sha256": "a997a96b0ab7fcd9cb8797c788f4ec27b46df8e70a7008f59400a3af57b99286" }, { "file": "ssh-session.py", "bytes": 3058, "sha256": "f506635c84dcc7c75c1b1cb244f8d1ffa98bcb6a1d906d6c70c5bfc5771bf177" }, { "file": "status.py", "bytes": 1195, "sha256": "2282805a03dcbc4c82d5f8be3504c6408f49a5ddb63d7a3deeed1dbd650d021f" }, { "file": "store-receipt.py", "bytes": 870, "sha256": "e407ff7db3b36fd554f6760dbd05c574c656770a18bf4631b430a8457293b6ea" }, { "file": "update-docs.py", "bytes": 8322, "sha256": "be77002ecad1640fc1999a05d5a50584290e03294c2328cf403768005d4e2b35" }, { "file": "verify-public.py", "bytes": 2037, "sha256": "df9aa7ec8b8581192abf8b3c726668205b4c50413005faa872a3fc8ecefbd5ad" } ], "remote_receipt_sha256": "d80324b898fd160ab3e7a2fd0b11ea2decd0b99a9324255850062ee4a13e0f0f" }