{ "public_baseline": [ { "first_page_ids": [ 64, 63, 62, 61, 60 ], "path": "/api/v1/investment/search?sector=agronegocio\u0026province_id=bfde2651-2b46-5d9c-a500-733fa55a8c5c", "total": 5 }, { "first_page_ids": [ ], "path": "/api/v1/investment/search?sector=agronegocio\u0026province=Maputo%20Prov%C3%ADncia", "total": 0 }, { "first_page_ids": [ ], "path": "/api/v1/opportunities/search?sector=agronegocio\u0026province=Maputo%20Prov%C3%ADncia", "total": 0 }, { "first_page_ids": [ 62, 63, 64, 60, 61, 49, 50, 55, 58, 56, 52, 48 ], "path": "/api/v1/opportunities/search?sector=agronegocio\u0026province_id=bfde2651-2b46-5d9c-a500-733fa55a8c5c", "total": 34 } ], "branch": "codex/province-search-20261029", "data_writes": 0, "authentication": { "automatic_console_launch": "rejected by automatic approval review: blocked by policy; no specific reason supplied", "manual_helper": "outputs/province-search-20261029/ssh-session.py", "session": "renewed_connected_for_delivery", "resolution": "Console reopened on explicit user request, authenticated; prior automatic rejection no longer blocks delivery" }, "installed": "fde7343894964043fa633e3d4d07385a6cb7e039", "cause": "Legacy text province uses exact opportunity field comparison; legacy search ignores canonical province_id; canonical province filtering already expands descendants", "remaining": [ "team execution and record of authenticated visual Competitiveness workflow", "broader V2-07/V2-10 and ACT-02 functionality outside this provincial search compatibility correction" ], "visual_competitiveness": "pending direct execution and record by team; accepted proofs preserved", "schema_changes": 0, "status": "installed_specific_HTTP_QA_and_public_API_confirmed_preservation_verified", "change": "Resolve a public, unique exact province name to the existing hierarchy; constrain legacy API by the same published catalogue territorial query; include declared province-only legacy records only without contradictory primary/additional territories", "candidate": "fde7343894964043fa633e3d4d07385a6cb7e039", "browser_bridge": "diagnosed separately; URL read not restored; outputs/edge-bridge-diagnostic-20261029/report.json", "checks": { "specific_HTTP_tests_run": 4, "diff": "passed", "specific_HTTP_tests_planned": 4, "PHP_syntax": "passed", "specific_HTTP_assertions": 364 }, "source_sha256": { "app/Services/InvestmentCatalogue.php": "731091c7c754aaf40a7235c405869134523de1fef431e686a94a1d1b3d1e9fd9", "app/Services/InvestmentGeography.php": "9815835078fe625031d795e3fda83b4af0fc1a0d18af6e8ce9fd2d3f8e535c72", "tests/Feature/ProvinceSearchCompatibilityTest.php": "b0164154b6f08c624dcd81425f145c2fc2770a595f04c7917858c30b26049279", "app/Http/Controllers/Api/V1/OpportunityController.php": "69a873a429e3510d5fd6691b58d825cf877274f6cd7d1303aa8029555680bb92" }, "tested_candidate": "e0987afb0e2722300eeb0d50e8797b07fb53853a", "QA": { "candidate": "e0987afb0e2722300eeb0d50e8797b07fb53853a", "status": "passed", "database": "province_search_20261029_test", "port": 55441, "snapshot_restored": true, "active_database_writes": 0, "schema_changes": 0, "log": "/var/lib/investmoz-deploy/province-search-qa-20261029/qa-e0987afb0e2722300eeb0d50e8797b07fb53853a.log", "summary": "PHPUnit 12.5.34 by Sebastian Bergmann and contributors.\n\nRuntime: PHP 8.4.27\nConfiguration: /var/lib/investmoz-deploy/province-search-qa-20261029/e0987afb0e2722300eeb0d50e8797b07fb53853a-1793279039249452598/phpunit.xml\n\n.... 4 / 4 (100%)\n\nTime: 00:10.928, Memory: 60.50 MB\n\n\u001b[30;42mOK (4 tests, 364 assertions)\u001b[0m\n" }, "baseline": "b81f477bf2385227ed3099868e80b1e3c7bcb46b", "backup": { "stage": "/var/backups/investmoz-province-search-20261029/backup", "created_at": "2026-10-29T13:06:32Z", "target": { "database": "teste_investidor", "port": 5432 }, "tables": 176, "files_verified": 369, "dump_sha256": "7140e88c56f76835a4dc321b62ef13ce08050b0d59b9a69795a98c8eb3cb9337", "files_sha256": "ab3badc10980171b1e65b4286ee0b3e26aab33354de7fb6f76826d09ea141ffb", "restore_verified": false }, "restore": { "restore_verified": true, "tables_verified": 176, "container_network": "none", "database": "province_search_restore_20261029_test", "port": 55441, "source_dump_sha256": "7140e88c56f76835a4dc321b62ef13ce08050b0d59b9a69795a98c8eb3cb9337", "active_database_writes": 0 }, "api": { "candidate": "fde7343894964043fa633e3d4d07385a6cb7e039", "public_revision_confirmed": true, "provincial_comparisons": [ { "province": "Cabo Delgado", "id": "059b02ca-7095-577a-8705-4d4c46896747", "matching_results": 5, "all_four_entry_points_agree": true }, { "province": "Gaza", "id": "8ed9aa8a-8815-5863-97ec-494e40a7ea81", "matching_results": 5, "all_four_entry_points_agree": true }, { "province": "Inhambane", "id": "9e42dac8-fd9b-523f-bf59-71a7d3aa0fb8", "matching_results": 0, "all_four_entry_points_agree": true }, { "province": "Manica", "id": "cf5e81f1-ffbc-535d-b1b6-b44b445c4421", "matching_results": 7, "all_four_entry_points_agree": true }, { "province": "Maputo Cidade", "id": "4aa31470-997e-5c63-8fe0-ff2f62586f56", "matching_results": 5, "all_four_entry_points_agree": true }, { "province": "Maputo Província", "id": "bfde2651-2b46-5d9c-a500-733fa55a8c5c", "matching_results": 5, "all_four_entry_points_agree": true }, { "province": "Nampula", "id": "33a98ebf-f98c-53d1-a047-32ccd9c4cd98", "matching_results": 6, "all_four_entry_points_agree": true }, { "province": "Niassa", "id": "7d908cf8-6e52-5141-8832-b1193985e39f", "matching_results": 5, "all_four_entry_points_agree": true }, { "province": "Sofala", "id": "f57ff041-6275-57b9-8800-c35e46e0d475", "matching_results": 7, "all_four_entry_points_agree": true }, { "province": "Tete", "id": "c0a78e45-ebaa-590e-847f-8ba68e4b2fbe", "matching_results": 6, "all_four_entry_points_agree": true }, { "province": "Zambezia", "id": "c20efcce-8af8-588d-84b2-b4b138b6e066", "matching_results": 6, "all_four_entry_points_agree": true } ], "Maputo": [ { "endpoint": "/api/v1/investment/search", "selection": { "province_id": "bfde2651-2b46-5d9c-a500-733fa55a8c5c" }, "ids": [ 60, 61, 62, 63, 64 ], "district_not_assigned": true }, { "endpoint": "/api/v1/investment/search", "selection": { "province": "Maputo Província" }, "ids": [ 60, 61, 62, 63, 64 ], "district_not_assigned": true }, { "endpoint": "/api/v1/opportunities/search", "selection": { "province_id": "bfde2651-2b46-5d9c-a500-733fa55a8c5c" }, "ids": [ 60, 61, 62, 63, 64 ], "district_not_assigned": true }, { "endpoint": "/api/v1/opportunities/search", "selection": { "province": "Maputo Província" }, "ids": [ 60, 61, 62, 63, 64 ], "district_not_assigned": true } ], "map_unlocated": 5, "map_coordinates_invented": false, "export_responded": true, "active_domain_writes": 0, "scope": "Installed public API confirmed; deeper-level synthetic fixtures proved separately in isolated QA (4 tests/364 assertions)", "competitiveness_visual_conference": "pending team execution and record; accepted technical proofs preserved", "browser_URL_read": "not recovered; independent of this API conference" }, "code": { "candidate": "fde7343894964043fa633e3d4d07385a6cb7e039", "source_files_verified": 14, "diagnostics_C132": { "result": "passed", "case": "C132", "source_explicit_constant_OFF": true, "effective_configuration_OFF": true, "configuration_cached": false, "database_connections_used": 0, "active_writes": 0 }, "active_writes": 0 }, "preservation": { "navigation_asset_and_shared_props_verified": true, "at": "2026-10-29T13:17:10.135835+00:00", "served_commit": "fde7343894964043fa633e3d4d07385a6cb7e039", "backup_dump_sha256": "7140e88c56f76835a4dc321b62ef13ce08050b0d59b9a69795a98c8eb3cb9337", "prior_public_tables_checked": 176, "prior_domain_rows_preserved": true, "new_migration_registry_rows": 0, "operational_delta": { "cache": { "before": { "rows": 120, "checksum": "55ffaf3e179865765ecf047ad31a2c35" }, "after": { "rows": 126, "checksum": "013841da1ac8a6ddd713bf8d12672fac" } }, "sessions": { "before": { "rows": 18, "checksum": "8c7f1af4213371d0022a6b2e0cc62bb6" }, "after": { "rows": 37, "checksum": "b9a7610497fee6005c2bebc69a84d99c" } } }, "persistent_files_and_configuration_identical": 369, "private_catalogue": { "observations": 361464, "distinct_administrative_observations": 214299, "preserved_repetitions": 147165, "unmapped_territory": 205608 }, "preservation_identity": "postgres, matching backup reader; no actor impersonation", "anonymous_query_status": 401, "public_revision_confirmed": true, "actual_team_UI_journey": "pending authenticated browser conference;accepted QA is not repeated", "unique_company_count": null, "publication": false, "national_coverage": "partial", "investment_conclusion": "hypothesis,not proved demand or viability", "L8": "unchanged,partial" }, "pipeline": { "unit_tests": 59, "summaries": [ "\u001b[30;42mOK (1 test, 3106 assertions)\u001b[0m", "✓ built in 33.95s", "\u001b[30;42mOK (59 tests, 320 assertions)\u001b[0m", "# tests 1180", "# pass 1180", "# fail 0" ], "schema_assertions": 3106, "frontend_tests": 1180, "result": { "status": "installed", "commit": "fde7343894964043fa633e3d4d07385a6cb7e039", "release": "/var/www/investmoz-homologacao/releases/fde7343894964043fa633e3d4d07385a6cb7e039-224377ca", "previous_release": "/var/www/investmoz-homologacao/releases/b81f477bf2385227ed3099868e80b1e3c7bcb46b-5eed771e", "database_migrations": 0, "content_imports": 0, "requested_commits": [ "fde7343894964043fa633e3d4d07385a6cb7e039" ], "finished_at": "2026-10-29T13:13:03.813678+00:00" }, "unit_assertions": 320 } }