Files
Investidor-V2/outputs/investmoz-referencias-economicas-mapa-20261016/DOC01/LOTE-PROPOSTO.json
T
nala 2d23157e40
tests / ci (push) Canceled after 0s
versao nrgocios
2026-10-16 13:06:58 +02:00

310 lines
10 KiB
JSON

{
"date": "2026-10-16",
"status": "REVISED_DESIGN_FOR_TEMPO_DECISION_NOT_IMPLEMENTED",
"active_authorization": false,
"app_code_changed": false,
"same_matrix": "docs/investmoz/v2/auditoria-portal/matriz-requisitos.csv",
"masters_reused": {
"sector_id": 1,
"sector_slug": "agronegocio",
"cluster_code": "CLU-01",
"cluster_id": "2b37d84a-0b71-4b87-b577-6f550954c908"
},
"proposed_catalog": {
"code": "economic-activities-cae",
"version_no": 1,
"source_version": "eBAU exemplar identified by SHA256; normative edition unresolved",
"existing_editorial_catalog_unchanged": true
},
"source_sha256": "97ef683468032d3153d89a23f78b97500c755c429694ef78b30197ad2e928545",
"activities": [
{
"sheet_row": 39,
"source_id": "1",
"code": "A",
"parent_source_id": null,
"level": "1",
"flag": "A",
"label": "AGRICULTURA, PRODUÇÃO ANIMAL, CAÇA, FLORESTA E PESCA"
},
{
"sheet_row": 57,
"source_id": "110",
"code": "01",
"parent_source_id": "1",
"level": "2",
"flag": "A",
"label": "AGRICULTURA, PRODUÇÃO ANIMAL, CAÇA E ACTIVIDADES DOS SERVIÇOS RELACIONADOS"
},
{
"sheet_row": 124,
"source_id": "200",
"code": "011",
"parent_source_id": "110",
"level": "3",
"flag": "A",
"label": "CULTURAS TEMPORÁRIAS"
},
{
"sheet_row": 238,
"source_id": "731",
"code": "0112",
"parent_source_id": "200",
"level": "4",
"flag": "A",
"label": "CULTURA DE ARROZ"
},
{
"sheet_row": 1122,
"source_id": "1049",
"code": "01120",
"parent_source_id": "731",
"level": "5",
"flag": "A",
"label": "CULTURA DE ARROZ"
}
],
"chain_stages": [
{
"code": "CLU01-INPUT",
"stage": "input",
"name": "Modelo editorial — Fornecimento agroindustrial",
"nature": "editorial proposal for QA; not a real operator/capacity declaration"
},
{
"code": "CLU01-PRODUCTION",
"stage": "production",
"name": "Modelo editorial — Produção agrícola",
"nature": "editorial proposal for QA; not a real operator/capacity declaration"
},
{
"code": "CLU01-PROCESSING",
"stage": "processing",
"name": "Modelo editorial — Transformação agroindustrial",
"nature": "editorial proposal for QA; not a real operator/capacity declaration"
},
{
"code": "CLU01-LOGISTICS",
"stage": "logistics",
"name": "Modelo editorial — Logística agroindustrial",
"nature": "editorial proposal for QA; not a real operator/capacity declaration"
},
{
"code": "CLU01-MARKET",
"stage": "market",
"name": "Modelo editorial — Comercialização agroindustrial",
"nature": "editorial proposal for QA; not a real operator/capacity declaration"
}
],
"chain_links": [
{
"from": "CLU01-INPUT",
"to": "CLU01-PRODUCTION",
"type": "supplies",
"nature": "proposed editorial sequence"
},
{
"from": "CLU01-PRODUCTION",
"to": "CLU01-PROCESSING",
"type": "processes",
"nature": "proposed editorial sequence"
},
{
"from": "CLU01-PROCESSING",
"to": "CLU01-LOGISTICS",
"type": "distributes",
"nature": "proposed editorial sequence"
},
{
"from": "CLU01-LOGISTICS",
"to": "CLU01-MARKET",
"type": "distributes",
"nature": "proposed editorial sequence"
}
],
"new_reference_records": 15,
"additional_test_revisions_and_audit_events": "not counted as master/reference records; enumerate during future QA",
"existing_master_updates": 0,
"existing_classification_changes": 0,
"new_uuid_allocation": "not yet executed; freeze per version/source key in implementation manifest",
"decisions": [
"Scope and implementation in QA remain for Tempo decision; user recommendations are not authorization",
"Recommended bounded convention: division 01 as subsector, subclass 01120 as activity, retain original five levels",
"Recommended editorial chain model in existing CLU-01, with visible names and no confirmed operators/capacities/flows"
],
"deferred": [
"Other 1355 economic codes",
"Energy combined versus specific mapping",
"Fintech cross-sector regulatory activity mapping",
"Parks full operational record",
"Duplicate consolidation",
"Full Fintech regulation"
],
"prospective_files": [
{
"path": "database/migrations/2026_10_16_120000_extend_economic_reference_hierarchy.php",
"planned_change": "new: non-unique sector index, nullable unassigned ancestor, economic metadata; preserve FKs and published immutability",
"exists": false,
"before_sha256": null,
"after_sha256": null
},
{
"path": "database/data/economic-references-lot-01.json",
"planned_change": "new: closed versioned manifest; UUIDs frozen at implementation, QA only",
"exists": false,
"before_sha256": null,
"after_sha256": null
},
{
"path": "app/Services/EconomicReferenceCatalog.php",
"planned_change": "new: shared hierarchy/source reader and QA-only preview/apply adapter",
"exists": false,
"before_sha256": null,
"after_sha256": null
},
{
"path": "app/Services/OpportunityCanonicalContract.php",
"planned_change": "replace: descendant hierarchy and legacy compatibility",
"exists": true,
"before_sha256": "78f7656b13a09830bd20e1cd4258e1f364e064851348fdbedcb745629f5c9591",
"after_sha256": null
},
{
"path": "app/Services/OpportunityClassification.php",
"planned_change": "replace: shared options with code, level and provenance distinction",
"exists": true,
"before_sha256": "fc924b187bbe1634a4723c4d11d1412228d7a90816189d2260b2e12f9d9a7cbe",
"after_sha256": null
},
{
"path": "app/Http/Controllers/Api/V1/ReferenceCatalogController.php",
"planned_change": "replace: explicit economic origin selection, unchanged legacy default",
"exists": true,
"before_sha256": "f5a2920d3f6b4c92fde9ca968039c2e6953abb96ff40f1ba6da78d99b02c4a70",
"after_sha256": null
},
{
"path": "resources/js/components/opportunity-canonical-fields.tsx",
"planned_change": "replace: recover and select division/activity with full path",
"exists": true,
"before_sha256": "542ee4d6bdbd259fc1c7a5a41757bb78279cc4210bbe75d2d377f894598cc83d",
"after_sha256": null
},
{
"path": "resources/js/components/opportunity-classification.tsx",
"planned_change": "replace: shared code/path presentation and filters",
"exists": true,
"before_sha256": "91a609af736dcaefac3e47ebab30156e8081f7ae5024f38066b8ef9dfdb3505b",
"after_sha256": null
},
{
"path": "app/Services/EconomicReferenceInstallation.php",
"planned_change": "new: bounded authenticated schema installation and data operation readiness/receipts",
"exists": false,
"before_sha256": null,
"after_sha256": null
},
{
"path": "app/Http/Controllers/EconomicReferenceController.php",
"planned_change": "new: authenticated preview/schema/import/publish/withdraw routes",
"exists": false,
"before_sha256": null,
"after_sha256": null
},
{
"path": "resources/js/pages/management/economic-references.tsx",
"planned_change": "new: separate phases, visible reasons and receipts",
"exists": false,
"before_sha256": null,
"after_sha256": null
},
{
"path": "routes/web.php",
"planned_change": "replace: append bounded economic reference routes, preserve previous installers",
"exists": true,
"before_sha256": "049080ce60b271f9d1a28e5cb7a2a59d8973f6b562a3893b42057d39d336c10f",
"after_sha256": null
}
],
"runtime_sources": 10,
"migration": 1,
"manifest": 1,
"QA_tools": [
"tools/economic-references-qa.php",
"tools/economic-references-acceptance-qa.php"
],
"build": "Future build required if UI changes are implemented; no build performed this stage",
"estimate_hours": {
"manifest": [
2,
3
],
"schema_and_import_QA": [
2,
3
],
"adapter_and_UI": [
3,
4
],
"directed_proofs_and_rollback": [
4,
6
],
"delivery_docs_receipt": [
1,
2
],
"original_functional_QA_total": [
12,
18
],
"new_operational_QA": [
2,
4
],
"revised_QA_total": [
14,
22
]
},
"positive_chain_case": "PENDING; planned in both canonical and existing-business consumers only in new isolated clone",
"reference_QA_business": "172aa874-98fc-4bf6-b78f-d2e9a386d345 published/v12 remains untouched",
"future_active_import_dependency": "Designed now in DESENHO-OPERACIONAL.md; authenticated HTTP schema/import/publish/withdraw phases must be implemented and proven in QA before final delivery proposal; not installed or authorized on active",
"rollback_after_use": "PARTIAL AND COMPATIBLE: retain additive migration/data, six functional source files, reference manifest and coherent compatibility build; operational layer can be removed without losing UUID resolution or historical data",
"revision": "DOC01",
"authorization_granted": false,
"documentary_reconciliation": {
"subclasses_in_exemplar": 600,
"subclasses_in_prior_instruction": 579,
"status": "OPEN; factual reconciliation still required. Five-node QA sample does not certify a normative edition.",
"QA_use": "only five identified nodes with exemplar SHA256 and technical source version; no claim of complete normative conformity"
},
"operational_routes": {
"base": "/management/economic-references/lot-01",
"GET": "preview",
"POST": [
"schema",
"import",
"publish",
"withdraw"
],
"implemented": false
},
"application_artifacts": 12,
"future_active_execution_estimate_hours": [
2,
4
],
"authorization_and_provenance_note": "User recommendations informed the documentary revision only; no authorization, functional acceptance, source validity or legal edition inferred",
"rollback_components": [
"app/Services/EconomicReferenceCatalog.php",
"app/Services/OpportunityCanonicalContract.php",
"app/Services/OpportunityClassification.php",
"app/Http/Controllers/Api/V1/ReferenceCatalogController.php",
"resources/js/components/opportunity-canonical-fields.tsx",
"resources/js/components/opportunity-classification.tsx"
],
"compatibility_build_required": true
}