{ "at": "2026-10-16T15:28:49.408356+00:00", "planning_only": true, "application_artifacts": 12, "substitutions": 8, "new_sources": 3, "new_migration": 1, "sources": [ { "path": "app/Models/InvestmentZone.php", "before_sha256": "2cd4135801830c3eb501bf175897185e7686347e72bd118a0687c52230183c9a", "candidate_sha256": null, "purpose": "Cast e ocultação defensiva do novo bloco; DTO explícito, sem tocar UUID/operador canónico." }, { "path": "app/Http/Controllers/InvestmentZoneController.php", "before_sha256": "adb51d281b90e55f294a66d2bedbbd09e1f2b951fbb22ac145c3c9f7ceba32cf", "candidate_sha256": null, "purpose": "Validar e recuperar grupos L1, projeção pública explícita e prévia nominal do novo esquema." }, { "path": "app/Services/InvestmentZones.php", "before_sha256": "7e54ce2ef40f0d8d353116a8bf7754b49735c6546310afb720a07410590e84d5", "candidate_sha256": null, "purpose": "Snapshots completos/compatíveis e publicação transaccional do novo bloco, sem mudar workflow." }, { "path": "app/Services/InvestmentZoneOperationalProfile.php", "before_sha256": "02df3fc7262670884e066a84558cf69fd5c7bad7a395cb8682bb45ac293d0552", "candidate_sha256": null, "purpose": "Conservar novo bloco oculto nos saves antigos, versões-base e promoção; omissão distinta de remoção." }, { "path": "resources/js/pages/investment/zone.tsx", "before_sha256": "9e4d13a299bbf10e1a6b21ff346e12af234c64fc3703ab982822df7270c2a7d2", "candidate_sha256": null, "purpose": "Integrar formulário/ficha L1 no ecrã existente, sem outro cadastro." }, { "path": "resources/js/pages/investment/zones.tsx", "before_sha256": "c27370913e0122c5dad97f46143a5fa2b6684c88fdadba9ba0d59469a6fc5bbf", "candidate_sha256": null, "purpose": "Embeber a prévia nominal L1 na gestão existente; filtros/cartões aceites mantidos." }, { "path": "routes/investment-zones.php", "before_sha256": "5a9e3e1872ccde9307a82369272c2eaa69ee1db03f07efb20182c526fe5a705b", "candidate_sha256": null, "purpose": "GET/POST fixos do adaptador 140000 com os controlos existentes." }, { "path": "resources/js/components/investment-zone-installation.tsx", "before_sha256": "93da4408042c2f789a1fd7e0200fa9ffc4d78b87becfbf6cb96fbdb96f901e2f", "candidate_sha256": null, "purpose": "Parâmetros de rótulo/resumo para reutilizar o componente sem descrever incorretamente a nova coluna." }, { "path": "app/Services/InvestmentZoneOperationalDetails.php", "before_sha256": null, "candidate_sha256": null, "purpose": "Contrato tipado/merge/projeção/citação de responsabilidades, condições, riscos e revisão; sem mestre paralelo." }, { "path": "app/Services/InvestmentZoneOperationalDetailsInstallation.php", "before_sha256": null, "candidate_sha256": null, "purpose": "Adaptador nominal 140000, reaproveitando autoridade/MFA/prévia/readiness; nenhum caminho/migration/ator arbitrário." }, { "path": "resources/js/components/investment-zone-operational-details.tsx", "before_sha256": null, "candidate_sha256": null, "purpose": "Novos grupos no formulário/ficha existente; privados e públicos separados." }, { "path": "database/migrations/2026_10_16_140000_add_investment_zone_operational_details.php", "before_sha256": null, "candidate_sha256": null, "purpose": "Uma coluna JSONB nullable, sem backfill/importação; down preserva dados após uso." } ], "candidate_and_compatibility_build_required": true, "build_counts_and_new_hashes_not_determined": true, "migration_proposed": "2026_10_16_140000_add_investment_zone_operational_details", "new_column_proposed": "investment_zones.operational_details", "shape": "nullable jsonb; raw field hidden; explicit DTOs; private contacts/notes/support in durable encrypted fragment; existing key", "new_masters": 0, "business_data_imports": 0, "flags": [], "existing_130000_preserved": true, "compatible_retained_functional_sources_cumulative": [ "app/Models/InvestmentZone.php", "app/Http/Controllers/InvestmentZoneController.php", "app/Services/InvestmentZones.php", "app/Services/InvestmentZoneOperationalProfile.php", "app/Services/InvestmentZonePathContext.php", "app/Services/InvestorPath.php", "resources/js/pages/investor-path/show.tsx", "app/Services/InvestmentZoneOperationalDetails.php" ], "retained_source_count": 8, "active_or_implementation_authorization_assumed": false, "document_revision": "DOC01", "base_delivery_status": "recorded deployed; not independently reviewed by user", "base_candidate": "parques-operacionais-QA-6aacf653a98e", "base_migration": "2026_10_16_130000_add_investment_zone_editorial_draft", "qa_snapshot_precedes_base_installation": true, "same_organization_may_have_multiple_roles": true, "tariff_context": [ "source", "source_date", "scope", "currency_if_applicable", "unit_basis_if_applicable", "period_if_applicable", "knowledge_state" ], "rollback_proof_pending": [ "private data recovered after compatible old-editor save", "previous public version preserved after compatible old-editor save" ], "estimated_additional_QA_hours": [ 24, 36 ], "estimated_future_operations_hours": [ 2, 4 ], "manual_status": "pending implementation and delivery confirmation" }