Files
Investidor-V2/docs/investmoz/simulations/integrated-review-continuation-20261020-receipt.json
T

2006 lines
94 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"base": "a690c665fb4e",
"branch": "codex/simulator-integrated-review",
"scope": "QA only; no main merge; no remote execution; no migration; no real tax activation",
"source_files": [
{
"path": "app/Http/Requests/StoreSimulationFormDraftRequest.php",
"sha256": "b98bb46d7aab33b1e9bbc449b397dceea9aef9a07825a336f0dd5133828776b0"
},
{
"path": "app/Services/SimulationTaxParameterResolver.php",
"sha256": "62edefeb64274b7c0b516b2cebb66a96f94f498412bd0ce2f100d86bfe290e62"
},
{
"path": "app/Services/SimulationTaxRuleExpression.php",
"sha256": "a976c0eb43ebb706275ca17efc9354a8d84f2dbe698375211704b158df02f7e1"
},
{
"path": "bootstrap/app.php",
"sha256": "68e0a909a9b1c4f09cdb857707e93515672cdc7bcc87c131d6124acd8ca4ff7f"
},
{
"path": "docs/investmoz/unification/traceability-and-manual.md",
"sha256": "241bb07e89db3358c77b8984727ed1f196616a1d42560c38685b98ef0ae0c581"
},
{
"path": "docs/investmoz/v2/auditoria-portal/backlog-priorizado.csv",
"sha256": "ab72dfe5dc85569f24e1b4b0767610936c33fbd1300f4e041037eb41cf0695f0"
},
{
"path": "docs/investmoz/v2/auditoria-portal/backlog.md",
"sha256": "1d37e153719b66ed90387107151753db31256d794220eb8570aa0a3bd6f44b66"
},
{
"path": "docs/investmoz/v2/auditoria-portal/matriz-requisitos.csv",
"sha256": "b95bda4d791e666f0bc67203931c20d2dcd083fb76ea82c6760ff0f554bba815"
},
{
"path": "resources/js/components/simulation-cashflow-planner.tsx",
"sha256": "b11589c3b06129685b3105aa66992fda30b2ab699c502fdc8e1a4af320a82a03"
},
{
"path": "resources/js/components/simulation-financial-tools.tsx",
"sha256": "1275b72072d3f2b66822dbe6c1f5dd47e1a642d51460254a8871500035fa3b72"
},
{
"path": "resources/js/components/simulation-form.tsx",
"sha256": "4de2bb2fd1ccb9fb44bdec4e59820815f8a5eb0c6c326532c0e10bef087add45"
},
{
"path": "resources/js/lib/financial-calculators.ts",
"sha256": "f551ce4a818484459535d80b968ae77ee17d6baf4ae1e4f018a23e11ccb18fca"
},
{
"path": "resources/js/lib/monthly-cashflow.ts",
"sha256": "9206b7e07d5078f979d16a21c1ed22c03cce83407bf376e146cb9b7ef959762d"
},
{
"path": "resources/js/lib/project-dossier-report.ts",
"sha256": "95d491b481bccd3ac0d2169619528b40b49e4a115a03807305b69c06a95e2461"
},
{
"path": "resources/js/lib/project-dossier.ts",
"sha256": "dfd2e5e28f2e2f0d1d185f111ecf9e43984c9b5952c1a39a6d483e13ad1a5758"
},
{
"path": "tests/Feature/SimulatorCashflowContinuityTest.php",
"sha256": "11a3423c8ef970b7f5522ae07bf1538055496d88d9559fd7e687024dade8848a"
},
{
"path": "tests/Feature/SimulatorReviewMessagesTest.php",
"sha256": "571d8df887ad78335d93caffc83bc21128cf4cb96ccd0038b14a5e4d30ef9797"
},
{
"path": "tests/Unit/SimulationTaxParameterResolverTest.php",
"sha256": "c0a14ce0f5e92a7a2159266e4fff6bfe54edbbcdfd324174ff7103745cc2fe9f"
},
{
"path": "tests/frontend/simulator-independent-review.test.mjs",
"sha256": "fcfaa6659d889a72eeb8be394e039d7a0b7b458a980e503a86d414a170c1828a"
}
],
"build_manifest_sha256": "2c9826427585cbf41123507611ad1f002090ceb888c2271bdb14005427181416",
"evidence": [
{
"path": "outputs/simulator-continuation-20261020/fiscal-corpus-inventory.json",
"sha256": "e51825792b5007f6bd285d066ffe683c9d241c0965a6fae74a843bbe3d8f4317"
},
{
"path": "outputs/simulator-continuation-20261020/local-rule-visibility.json",
"sha256": "99ef0aab6f30e2491692eeac123d9a9e1a4eeae08ee11bd647e832bf6db571db"
},
{
"path": "outputs/simulator-continuation-20261020/history-preservation-proof.json",
"sha256": "7e591c614f43deefc9e44cc1abe7d8a7decaaa0e8ea17c13e9893024b80bbe98"
},
{
"path": "outputs/simulator-continuation-20261020/interface-comparison.json",
"sha256": "44d54f49973d0fd20b28533a561fab03a32ccb43e0410ba54b0c017a62d96e63"
},
{
"path": "outputs/simulator-continuation-20261020/interface-report.docx",
"sha256": "de0dc3af6936020199dda963bc2aaa8d462fb560e419dcc5a86f369bf18730b7"
},
{
"path": "outputs/simulator-continuation-20261020/interface-financial.csv",
"sha256": "552817d6b9fa7e84f457f490e275f374cdd0254568e8370cfc21716147204150"
},
{
"path": "outputs/simulator-continuation-20261020/financial-screen.jpg",
"sha256": "73b6510861dfc4a29147331ac99f7a7db80987c1db03d1dc34efccfaffaa61e5"
},
{
"path": "outputs/simulator-continuation-20261020/financial-screen.txt",
"sha256": "de37ce59ee87650cdb9bf977e9dddc87ec56ecbb0efb52260c8c69f2898d6e57"
},
{
"path": "outputs/simulator-continuation-20261020/new-session-A.txt",
"sha256": "f1f2455a3d81bc9a140feae71bfd813ad3e3bd51f8167cbb8b7868540fb1b267"
},
{
"path": "outputs/simulator-continuation-20261020/new-session-B.txt",
"sha256": "ccc338bedaa8272db3a49bedb18d2872cb83cdc6b5912da73520132e14018900"
},
{
"path": "outputs/simulator-continuation-20261020/history-visible.txt",
"sha256": "39ac194341c81b1f2e81dc544f879da280ebf8f9e2d0bfad1b2ac95f2f0cc62f"
},
{
"path": "outputs/simulator-continuation-20261020/docx-render/interface-report.pdf",
"sha256": "00ae9586605bd29debffe96388bf874b0391170bbc7d60d6a94f1637975805b4"
}
],
"verified": {
"frontend_tests": 14,
"php_tests": 3,
"php_assertions": 18,
"typescript": "passed",
"build": "passed",
"ui": "Two synthetic dossiers recovered after logout/login; failed-save retry; calculation navigation; results 24 and 12 visible; CSV and DOCX downloaded through application",
"history": "Three original hashes unchanged; other-account case 403 and result policy 404",
"synthetic_parameters": "In-memory resolver only; 7.5 then 9.25; period transition and stale source version; no database rows",
"corpus": "9901 paths enumerated; 32 fiscal filename candidates; three existing repository originals hashed; prior analyses retained",
"credit_recipe": "1000 MZN; nominal annual 12%; 12 months; monthly 1%; half-up cents; no grace or fees; first 88.85; last 88.84; interest 66.19; total 1066.19",
"cashflow_delta": "Versioned editable snapshot in existing economic JSON; two-dossier/new-session API recovery and refusal tested; blank tax not zero; report summary/detail included"
},
"limitations": [
"Current homologation inventory awaits local SSH authentication; remote read script prepared but not executed",
"Native Edge print dialog opened; user PDF save pending; DOCX render not counted as native print",
"New cashflow browser and generated-output visual delta awaits completion of native print",
"Interactive attachment attempt blocked by extension file-URL permission before upload; accepted automated exporter limits retained",
"QA role bypasses RLS; new refusal proof is application policy; previous nonprivileged RLS evidence retained",
"UI DOCX evidence is dossier B without cashflow snapshot and before historical-result selection; its unchanged six-page output is retained",
"Tax DSL/governance/resolver exist but execution engine remains custom arithmetic; connecting legal tax formulas is not silently included"
],
"remaining_hours": [
2,
4
],
"remaining_scope": "Read-only remote collection; native PDF; new cashflow visual continuation; evidence closure; excludes waiting and tax-engine integration",
"secrets_and_private_fixtures": "Not included in source manifest or Git",
"current_reconciliation_20261021": {
"items": {
"AUD-SIM-INT01": {
"status": "Concluído no recorte",
"remaining": "Nenhum delta de validação de data por demonstrar; prova anterior preservada."
},
"AUD-SIM-INT02": {
"status": "Parcial",
"remaining": "Leitura remota concluída: zero regras de todos os estados na homologação, tal como QA; seis referências jurídicas não são parâmetros executáveis. Falta cadastro fundamentado por componente/âmbito/período e ligação funcional ao motor fiscal. Fontes e análises existentes reutilizáveis; aceitação oficial da Tempo de08/10 preservada. Não activar taxas nem importar/publicar por esta reconciliação."
},
"AUD-SIM-INT03": {
"status": "Concluído no recorte",
"remaining": "A/B, logout/novo login, recuperação e recusa pela aplicação demonstrados anteriormente. A tesouraria tem prova API de nova sessão e prova visual de recuperação por recarga. Não atribuir ao navegador nova sessão dos valores de tesouraria, nem nova certificação RLS; limites expressos conservados."
},
"AUD-SIM-INT04": {
"status": "Concluído no recorte demonstrado",
"remaining": "Histórico24/12 visível, hashes preservados e versões temporais sintéticas do resolvedor conferidas. Execução fiscal integrada com parâmetros reais pertence ao saldo de02 e não foi demonstrada por estes testes."
},
"AUD-SIM-INT05": {
"status": "Concluído nos controlos delimitados",
"remaining": "Controlos independentes de caixa/plano/crédito, zero/desconhecido e moedas preservados. Não são validação de taxas legais nem certificação de toda a contabilidade."
},
"AUD-SIM-INT06": {
"status": "Concluído na apresentação e comparação deste relatório",
"remaining": "Rodapé do PDF nativo fechado em QA segundo provas apresentadas;10 páginas/valores/CSV não repetidos. Tempo declarou que não abriu imagem/PDF pelos caminhos locais: registar aceitação das provas, não revisão visual directa do utilizador. Outras provas de relatório conservadas; falhas interactivas de exportação/anexos mantêm saldo em07."
},
"AUD-SIM-INT07": {
"status": "Parcial",
"remaining": "Gravação503→nova tentativa→recuperação e exportações normais demonstradas. Faltam falhas dirigidas de geração Word/ZIP/PDF e retoma; teste interactivo de limite de anexo não ocorreu por bloqueio da ferramenta antes do envio. Nova leitura do código: três catch apresentam cause.message para Error, podendo mostrar texto técnico sem tradução. Sem nova falha de execução alegada."
},
"AUD-SIM-INT08": {
"status": "Parcial",
"remaining": "Inventário estático,404 real e traduções de validação preservados. Classificar/apresentar em português os erros dinâmicos das bibliotecas de exportação (cause.message, três consumidores) e conferir estados residuais/governação delimitados; não certificar todos os textos dinâmicos do catálogo."
}
},
"remaining_hours_delimited": [
1,
2
],
"integral_fiscal_implementation_estimated": false,
"user_direct_visual_review_of_local_files": false,
"native_footer_accepted_on_presented_evidence": true,
"remote_rule_count": 0,
"remote_legal_reference_count": 6,
"supersedes_prior_pending": [
"remote authentication and inventory",
"native print save and visual footer correction",
"cashflow screen/download values"
],
"tool_limits_retained": [
"interactive file chooser before attachment upload",
"native save performed by user"
],
"branch": "codex/simulator-integrated-review",
"main_merge": false,
"read_only_evidence_sha256": "bbb2d2f0b001f1f439ce2bf8e60a4233467463f5cfa430dd05b82f515f5d9a5f"
},
"candidate_20261021": {
"branch": "codex/simulator-integrated-review",
"base": "c22003a3",
"main_integration": false,
"active_changes": false,
"new_tests": 4,
"typescript": "passed",
"browser": {
"word_failure_retry": "passed, 2 attempts / 1 success",
"pdf_failure_retry": "passed, failed popup closed / one populated retry",
"zip_failure_retry": "passed: failed ZIP, edited title/unchecked section and one attachment retained; retry produced one valid archive",
"attachment_limit_ui": "passed: refused16MB, prior valid entry retained",
"attachment_valid_retry": "passed: duplicate selection leaves one entry and translated status"
},
"duplicate_prevention": "synchronous gate test passed; attachment name+SHA256 identity test passed; ZIP single original test passed",
"logs": "local diagnostic console; no backend telemetry added",
"accepted_evidence_reused": [
"native PDF 10-page footer QA acceptance",
"financial values and CSV",
"A/B and new session",
"historical snapshots and temporal resolver",
"read-only remote fiscal inventory"
],
"limitations": [
"Synthetic wrapper injects generator faults only and is excluded from deployment",
"Native print and values/CSV proofs reused, not repeated",
"Transient attachment read/concurrent-click proofs are automated; manual chooser path observed separately",
"Local console diagnostics are not persistent server audit",
"Fiscal integration remains incomplete; catalogue/governance language is not globally certified"
],
"sources": [
{
"path": "resources/js/components/project-dossier-export.tsx",
"sha256": "c0bbea29c8e307785cbe54014a85d6271c723a541bea9f2ad5196118b9570764"
},
{
"path": "resources/js/lib/dossier-export-state.ts",
"sha256": "ac40e30134ba56b67c6c6a3b044aaeb110750cac53e0934794c8a7d346d745fe"
},
{
"path": "resources/js/lib/project-dossier-document.ts",
"sha256": "3bec7565324587bdd42f65f5b3c723597ec554b1c80376bfb45d350516eae16f"
},
{
"path": "tests/frontend/dossier-export-recovery.test.mjs",
"sha256": "b4112d612ce204c41b7376e64a0c15e7b85a6ec19087b0ed5415c1114d99f2b2"
},
{
"path": "tests/frontend/project-dossier-report.test.mjs",
"sha256": "77e33425e33e7ca0290e60e0b09fab7bbe5c8bd1eef196dd0863452da8f06271"
}
],
"remaining_engineering_hours_delimited": [
0,
0
],
"review_pending": true,
"build_manifest_sha256": "e4846e02db6112bce9c1f5466038e0a25f381c17fdcd8fe54248a7068a0645dd",
"evidence": [
{
"path": "outputs\\simulator-continuation-20261020\\export-word-error-20261021.txt",
"sha256": "b1c984663ea27bbeb5bfe760ab181314142f32cc9f6b27fa11c2fb7d7f0456ca"
},
{
"path": "outputs\\simulator-continuation-20261020\\export-pdf-error-20261021.txt",
"sha256": "b46f597e185874875d823d2c90219b555ee1f2028b5d144e00754db73468ed41"
},
{
"path": "outputs\\simulator-continuation-20261020\\export-pdf-retry-20261021.txt",
"sha256": "091679de9a60e4f22e2d0cb2127b736addfc9e2752fb0bb2aec051ddcb51f3c8"
},
{
"path": "outputs\\simulator-continuation-20261020\\export-zip-error-20261021.txt",
"sha256": "eda788b6f69b7fbcbb13aadf44dd0d3fbe695a2f050445b6f6a6d6553e7dc63d"
},
{
"path": "outputs\\simulator-continuation-20261020\\export-zip-retry-20261021.txt",
"sha256": "ef8c3c2197cb77260c1f8a1f169f282f1a14376e2aa331d26e9b98aee45e92c3"
},
{
"path": "outputs\\simulator-continuation-20261020\\attachment-limit-preserved-20261021.txt",
"sha256": "2132c4ddfaf044e8349766322514e9c6ce5c1a0f06236bfb4323b8a010e73197"
},
{
"path": "outputs\\simulator-continuation-20261020\\attachment-duplicate-retry-20261021.txt",
"sha256": "3027ea5949168df879442bb04a481d3f8c5e4741e470d30875e1dc6c25892312"
},
{
"path": "outputs\\simulator-continuation-20261020\\export-zip-content-proof-20261021.json",
"sha256": "6ee6bece4d2110c996bad2d686b24970c9d199eff2940dfba34e285f005f0f7c"
}
],
"build_exit_code": 0,
"existing_items_current_scope": {
"AUD-SIM-INT01": "demonstrated within bounded scope; see existing manual for limits",
"AUD-SIM-INT02": "partial; fiscal implementation remains open",
"AUD-SIM-INT03": "demonstrated within bounded scope; see existing manual for limits",
"AUD-SIM-INT04": "demonstrated within bounded scope; see existing manual for limits",
"AUD-SIM-INT05": "demonstrated within bounded scope; see existing manual for limits",
"AUD-SIM-INT06": "demonstrated within bounded scope; see existing manual for limits",
"AUD-SIM-INT07": "demonstrated within bounded scope; see existing manual for limits",
"AUD-SIM-INT08": "demonstrated within bounded scope; see existing manual for limits"
}
},
"integration_review_20261021": {
"functional_candidate": "13f68f1b",
"delivery_label": "melhorias de planeamento financeiro, recuperacao, exportacao e idioma",
"attachment_limit_bytes_before_and_after": 15728640,
"refused_fixture_bytes": 16777216,
"lower_limit_introduced": false,
"user_read_local_record": false,
"main_integration": false,
"fiscal_first_batch_proposal": {
"rule": "IVA general rate on net taxable base; provisional identifier only",
"demonstrated_coverage": "2026-01-01 through 2026-12-31; not invented legal expiry",
"data_work_hours": [
4,
8
],
"code_and_acceptance_hours": [
12,
20
],
"total_hours": [
16,
28
],
"scope_and_rounding_evidence_required": true,
"rules_created": 0,
"rules_activated": 0
}
},
"fiscal_qa_v12_20261021": {
"instruction": "Tempo: exact decimal IVA calculation without automatic rounding; presentation distinct; no activation or main integration",
"supersedes": "v1.1 rounding-as-blocker and remaining estimate; no reopening accepted evidence",
"status": "QA scoped implementation verified; fiscal product remains partial AUD-SIM-INT02",
"proof": {
"synthetic_qa": true,
"database": "simulator_fiscal_delta_20261021_test",
"rule_id": "01a15d4e-c69b-7264-bdee-1e56ee88bf94",
"rule_status": "draft",
"registration_reused": true,
"simulation_id": "842e05f9-2b6e-4853-8ff5-81650633f6c4",
"report_id": "49cac0bd-f49c-4613-a8f0-1ee5c285cf81",
"exact_value": "0.0048",
"rounding_applied": false,
"report_sha256": "8ed8155a56fdf98ad26e2f01435644e062f27ca6b067ce3553415e974261c687",
"result_report_equal": true,
"previous_report_unchanged": true,
"published_rules": 0,
"source_reference_is_qa_fixture": true,
"human_legal_approval": false
},
"tests": {
"feature": 5,
"feature_assertions": 51,
"resolver_unit": 7,
"resolver_assertions": 25,
"frontend": 3,
"typescript": "passed",
"build": "passed",
"pint": "passed"
},
"browser_observation": "Actual component SSR and native report HTML fiscal delta observed in Edge; not a newly saved native PDF or complete browser history flow",
"limits": [
"synthetic source reference and QA actors; not human legal approval",
"QA PostgreSQL role bypasses RLS; application denials only",
"no payment or return balance; scope declared",
"no activation, migration, main merge or deployment"
],
"remaining_hours_scoped_qa_engineering": 0,
"previous_15_26_hours": "Historical conditional estimate includes work now performed, not measured hours; review/activation and fiscal product scope separate",
"record": "docs/investmoz/simulations/ficha-IVA-GERAL-BASE-LIQUIDA-v1.md"
},
"review_83d2f97d_20261021": {
"scope": "Consolidated review; accepted evidence reused; only missing full interface journey targeted",
"legal_scope": "Internal general-rate IVA on previously determined net taxable base; context declared, not automatic legal incidence",
"period": "Rate chain since 2023-01-01; demonstrated coverage 2026, no artificial legal expiry",
"excluded": [
"gross-price extraction",
"reduced rates/exemptions",
"special bases",
"imports/digital/nonresidents",
"deduction/credit/refund",
"incentives",
"other taxes"
],
"concrete_gap": "83d2f97d had QA API and rendering but no input/recovery review screen",
"delta": "Protected QA-only Inertia review page calling existing calculation/history/immutable-report APIs",
"new_checks": {
"route_test": 1,
"assertions": 17,
"typescript": "passed",
"build": "passed"
},
"interface_journey": {
"observed_at_utc": "2026-10-21T07:39:15+00:00",
"scope": "synthetic QA interface journey only",
"database": "simulator_fiscal_delta_20261021_test",
"simulation_id": "fa6d17f2-5f47-4cb6-b8cb-40850c12505f",
"report_id": "d13e2ad5-3ba8-4d01-9d30-5815496da774",
"report_sha256": "2e5e260f47ee5c849a34453fad248009e607ef8679dc56b7a1c58730f13e5c3b",
"input": {
"base": "1000.03",
"currency": "MZN",
"reference_date": "2026-10-21",
"scope_status": "user_declared"
},
"calculated_value": "160.0048",
"status": "calculated",
"rounding_applied": false,
"browser_observed": [
"normal_login_and_mfa",
"explicit_inputs",
"calculate_and_save",
"hard_reload",
"load_history",
"recover_same_id",
"read_immutable_report_same_value_and_provenance"
],
"personal_simulation_count": 1,
"result_report_hash_equal": true,
"rule_status": "draft",
"published_rules": 0,
"tool_interruption": "Browser connection unavailable during initial authentication; later restored; no simulator failure attributed",
"initial_invalid_attempt": "Date editing was not committed initially; history checked empty before retry; one completed execution persisted",
"not_legal_applicability_validation": true,
"main_integration": false,
"rule_publication_or_activation": false,
"proof_files": [
"fiscal-ui-complete-20261021.txt",
"fiscal-ui-complete-20261021.jpg",
"fiscal-ui-report-20261021.jpg"
]
},
"integration": "Separate Tempo decision for exact candidate including reviewed UI delta; origin/main read as 13f68f1b; auto deployment on push; no migration or rule transition",
"publication": "Existing submit/review/approve/publish with version/evidence; published parameter becomes visible to resolver API",
"activation": "No public fiscal consumer switch in 83d2f97d; QA draft preview must not be activated by removing guards or changing active APP_ENV",
"deactivation": "Existing suspend excludes published version from new resolution; snapshots/reports/history remain; QA draft preview stopped by closing QA exposure",
"status": "Consolidated scoped QA review demonstrated, including complete interface journey; no further generic preparation identified",
"user_legal_validation": false,
"main_merge": false,
"rule_publication_or_activation": false,
"tool_interruption_resolved": true
},
"public_consumer_delta_proposal_20261021": {
"reviewed_head": "d186f942",
"status": "Bounded product code delta required; proposal only",
"existing_reused": [
"permissions and anonymous token/organization ownership",
"rule governance",
"temporal resolver and expression evaluator",
"exact decimal arithmetic",
"execution idempotency and immutable history/reports"
],
"operations": [
"integrate compatible code with consumer disabled",
"publish exact rule version through existing governance",
"activate explicit consumer binding to authorized published version"
],
"coverage": "IVA general net taxable base, MZN, declared internal operation, 2026 only",
"suspension": "No new admissions; previously admitted frozen executions may complete; historical reads and exports preserved",
"accepted_evidence_repeated": false,
"main_integration": false,
"rule_publication": false,
"consumer_activation": false,
"user_legal_validation": false,
"record": "docs/investmoz/unification/traceability-and-manual.md: Proposta unica - consumidor IVA"
},
"published_consumer_qa_20261021": {
"proposal_base": "2ced7b79",
"status": "Implemented and demonstrated in normal QA simulator; separate integration/publication/activation decisions pending",
"consumer_default_enabled": false,
"scope": "IVA general net taxable base, declared internal general operation, MZN, exigibility 2026 only",
"feature_tests": {
"passed": 8,
"assertions": 75,
"isolated_database": "simulator_fiscal_checks_20261021_test",
"rls_non_superuser": true,
"separate_connection_lock_probe": true
},
"frontend_new_link_tests_passed": 2,
"typescript": "passed",
"build": "passed",
"pint": "passed",
"accepted_evidence_reused": [
"decimal calculation",
"exporters",
"native PDF pagination",
"financial planning and recovery"
],
"normal_simulator_browser_journey": {
"database": "simulator_fiscal_delta_20261021_test",
"url": "http://127.0.0.1:18580/simulador-fiscal",
"fixture_only": true,
"user_id": 167,
"rule_id": "01a15ddc-b0c5-727f-bb24-d806a69bd1f5",
"rule_status": "suspended",
"suspended_at": "2026-10-21T09:52:16.000000Z",
"executions": [
{
"id": "53663785-2e5d-4be2-8a05-c0c96a57896d",
"status": "completed",
"base": "1000.03",
"value": null,
"result_status": "indeterminate",
"scope_status": "undetermined",
"admitted_at": "2026-10-21T09:50:53.949756Z",
"frozen_rule_status": "published",
"rule_id": "01a15ddc-b0c5-727f-bb24-d806a69bd1f5",
"rule_version": 2,
"report_id": "63d427ac-e6ae-481c-adad-e5f39fcc3c15",
"report_sha256": "d405705f6ce050518a0b400bed842b2aeaec143af3d78c54088100417d326c64",
"result_report_hash_equal": true
},
{
"id": "5fa778f1-413e-4643-8c67-1b93ab290da7",
"status": "completed",
"base": "1000.03",
"value": "160.0048",
"result_status": "calculated",
"scope_status": "user_declared",
"admitted_at": "2026-10-21T09:51:11.307106Z",
"frozen_rule_status": "published",
"rule_id": "01a15ddc-b0c5-727f-bb24-d806a69bd1f5",
"rule_version": 2,
"report_id": "533b60df-ce44-40fd-9911-c7ed492dbd7e",
"report_sha256": "2c5cc798c06920aee0707465ab8b7fee517783db24939b3921c76a70999dad77",
"result_report_hash_equal": true
},
{
"id": "be1e8399-ea95-4aa7-9ac0-7fa392932ac1",
"status": "completed",
"base": "1001.03",
"value": "160.1648",
"result_status": "calculated",
"scope_status": "user_declared",
"admitted_at": "2026-10-21T09:52:11.782758Z",
"frozen_rule_status": "published",
"rule_id": "01a15ddc-b0c5-727f-bb24-d806a69bd1f5",
"rule_version": 2,
"report_id": "5e416a48-db07-449b-8eae-aa51a1538f04",
"report_sha256": "997f026665e586c662ae574fd2ff7f62e0254819adb26aea920575e47e0490a3",
"result_report_hash_equal": true
}
],
"execution_count": 3,
"pending_queue_records": 0,
"main_integration": false,
"homologation_publication_or_activation": false
},
"observed": [
"initial disabled consumer",
"insufficient scope persisted as indeterminate",
"declared scope calculated through published server binding",
"repeat without duplicate",
"database queue admitted before suspension and processed after suspension",
"new input refused with values preserved",
"hard reload and history recovery of calculated and indeterminate snapshots",
"CSV control enabled without rerunning download"
],
"final_qa_fixture_status": "suspended",
"final_qa_switch_enabled": false,
"historical_records_preserved": true,
"main_local_head": "13f68f1b",
"main_integration": false,
"homologation_rule_publication": false,
"homologation_consumer_activation": false,
"user_legal_validation": false,
"user_local_file_review": false,
"procedure": "Existing manual: Procedimento unico das tres operacoes - agora executavel apos decisao",
"proofs_private": true
},
"homologation_authorised_rollout_20261021": {
"authorisation": "Tempo authorised implementation of candidate 226fd308 and the three operations in the current conversation",
"recorded_utc": "2026-10-21T10:08:57.106309+00:00",
"candidate": "226fd308dd45d2805ef4678b20ca4398d7fef6c6",
"previous_main": "13f68f1bd8676d5ed418876a562af259e3887ba8",
"integration": "fast-forward and push origin/main",
"integration_completed": true,
"deployment_verified": {
"commit": "226fd308dd45d2805ef4678b20ca4398d7fef6c6",
"branch": "main",
"built_at": "2026-10-21T10:07:12.300278+00:00",
"manifest_sha256": "d524c957dc95e92fcb6eb0d802b9df845743466bd51e398a485bd5ba3d7e3d8f"
},
"consumer_availability_verified": {
"data": {
"enabled": false,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "O cálculo de IVA geral sobre base líquida está indisponível para novas execuções. Os históricos mantêm-se acessíveis."
}
},
"intended_real_rule": {
"rule_code": "IVA-GERAL-BASE-LIQUIDA",
"rule_version": 1,
"documentary_sheet": "v1.2",
"source_sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"destination_id": null
},
"rule_publication_completed": false,
"consumer_activation_completed": false,
"qa_fixture_imported": false,
"data_writes_executed": false,
"remaining_dependency": "SSH authentication resolved and backup/restoration confirmed. Unsupported four-person fiscal control corrected and verified in QA following explicit Tempo instruction. Corrective code/schema not applied to homologation; real rule publication and consumer activation remain unexecuted.",
"accepted_tests_repeated": false,
"credentials_recorded": false,
"juridical_validation_attributed_to_user": false,
"prior_dependency_preserved": "Previous destination SSH session closed; noninteractive authentication failed; user asked to reopen the existing authenticated deployment session. Read-only preflight prepared, not submitted. Backup/restoration and existing application actors must be checked before destination fiscal data writes."
},
"fiscal_maintenance_actor_correction_20261021": {
"status": "QA control correction completed; not integrated or applied to homologation",
"authority": "Explicit Tempo instruction: no four distinct persons required for fiscal parameter maintenance; reuse existing authorised administration",
"origin": {
"commit": "e65cb269",
"date": "2026-10-06",
"classification": "implementation choice; no express applicable Tempo approval identified",
"files": [
"app/Services/SimulationTaxRuleGovernance.php",
"database/migrations/2026_10_03_170000_create_simulation_tax_rule_governance.php",
"docs/investmoz/simulator-evolution-progress.md"
]
},
"designated_destination_responsible": "nala@tempo.co.mz",
"existing_account_read_only": {
"id": 15,
"verified": true,
"mfa_enrolled": true,
"existing_superuser_profile": true,
"no_account_or_profile_created": true
},
"reuses": [
"existing verified administration",
"MFA and existing scoped profiles",
"rule states versions sources and immutable events"
],
"removed": "Mandatory distinct actor identities in fiscal maintenance only",
"fiscal_official_source_curation": {
"endpoint": "POST /api/v2/investment/admin/tax-rule-sources",
"same_authorised_person": true,
"required": [
"official_origin",
"citation",
"sha256"
],
"legal_opinion": false,
"independent_review": false,
"other_source_workflows_unchanged": true,
"general_validation_status": "pending",
"not_automatically_usable_in_other_workflows": true,
"source_eligibility_only": "Existing fiscal governance, resolver and published-rule SELECT policy recognise explicit fiscal acceptance and matching hash/version; formula/evaluator unchanged"
},
"schema_delta": {
"migration": "2026_10_21_130000_correct_fiscal_maintenance_actor_constraints.php",
"qa_guard": true,
"active_application": false,
"unrelated_constraints_unchanged": true,
"reversal_preserves_dependent_records": true,
"original_source_independent_validation_check_preserved": true
},
"tests": {
"database": "simulator_fiscal_checks_20261021_test",
"tests": 6,
"assertions": 86,
"result": "passed",
"transactions_rolled_back": true,
"calculator_tests_repeated": false,
"simulation_execution_count_preserved": true,
"exporter_tests_repeated": false,
"non_superuser_published_rule_visibility": true
},
"destination_backup_restore": {
"utc": "2026-10-21T10:18:00.737890+00:00",
"source_database": "teste_investidor",
"served_commit": "226fd308dd45d2805ef4678b20ca4398d7fef6c6",
"backup_directory": "/var/backups/investmoz/iva-rollout-20261021_101750",
"dump_sha256": "4e972c028fbe70c347c518ba86fe7e293093b7c81278ac4d64a077bf3e5325b7",
"dump_bytes": 4584693,
"environment_backup_sha256": "537eff52f0f28b83ccc56bf9a9b85c2d8fca1da2f678c30b929b46c67c09491b",
"environment_path": "/var/www/html/teste-investidor.tempo.co.mz/.env",
"restore_database": "iva_rollout_20261021_101750_test",
"restore_database_public_connect": false,
"restore_equal": true,
"table_count": 171,
"method": "Exported repeatable-read snapshot, custom pg_dump, isolated restore, all public table counts and canonical row hashes compared",
"active_data_writes": false,
"qa_fixture_imported": false
},
"served_revision_unchanged": "226fd308dd45d2805ef4678b20ca4398d7fef6c6",
"consumer_enabled": false,
"real_rule_published": false,
"synthetic_destination_actors_created": false,
"user_juridical_validation": false,
"user_local_file_review": false,
"persistent_qa_schema_proof": {
"qa_database": "simulator_fiscal_delta_20261021_test",
"preserved_tables": {
"simulation_tax_rule_versions": {
"rows": 2,
"hash": "5ec81670fd48a9ae4393552b06a37cfb"
},
"simulation_tax_rule_events": {
"rows": 7,
"hash": "0bd8ab5a124751729c7ff90e7e799086"
},
"simulation_results": {
"rows": 11,
"hash": "09cdaa0c5acdbc7e17739c98d9b3ba4e"
},
"simulation_reports": {
"rows": 11,
"hash": "127ee229e4baca978d3ad8c699b59f19"
},
"investment_legal_sources": {
"rows": 8,
"hash": "473d504fc4e9a03d795fde4be16deb70"
}
},
"same_rows_and_hashes": true,
"fiscal_acceptance_column": true,
"active_database_changed": false
}
},
"authorised_fiscal_rollout_execution_20261021": {
"recorded_utc": "2026-10-21T10:57:04.072315+00:00",
"authorisation": "Tempo authorised incorporating 4a4d1212 and the remaining source/rule registration, publication and consumer activation in current conversation",
"integrated_delta": "4a4d1212751726da6a71d465b3ea2266e720cf28",
"integration_completed": true,
"served_revision": {
"commit": "d3fe8a02ec7f5dcd01984c4f4a1eba18b5a0cf19",
"branch": "main",
"built_at": "2026-10-21T10:48:46.529930+00:00",
"manifest_sha256": "f417509cfa060240801c6a956a787a90d0e283c3c08e77b5be655d63394a4cb9"
},
"team_merge": "d3fe8a02 includes 4a4d1212; fiscal files unchanged; additional team navigation/presentation changes preserved",
"backup_restore": {
"utc": "2026-10-21T10:43:03.077516+00:00",
"source_database": "teste_investidor",
"served_commit": "226fd308dd45d2805ef4678b20ca4398d7fef6c6",
"backup_directory": "/var/backups/investmoz/iva-rollout-20261021_104253",
"dump_sha256": "b37bf4aad0abd839bc81d70adf802535ad7738fabe75fda61d74f39dfc11e74b",
"dump_bytes": 4584693,
"environment_backup_sha256": "537eff52f0f28b83ccc56bf9a9b85c2d8fca1da2f678c30b929b46c67c09491b",
"environment_path": "/var/www/html/teste-investidor.tempo.co.mz/.env",
"restore_database": "iva_rollout_20261021_104253_test",
"restore_database_public_connect": false,
"restore_equal": true,
"table_count": 171,
"method": "Exported repeatable-read snapshot, custom pg_dump, isolated restore, all public table counts and canonical row hashes compared",
"active_data_writes": false,
"qa_fixture_imported": false
},
"schema_operation": {
"utc": "2026-10-21T10:44:11.639087+00:00",
"operation": "Explicit authenticated destination schema application of reviewed QA DDL; QA migration not executed or weakened",
"authorisation": "Tempo current conversation",
"ssh_actor": "root",
"database": "teste_investidor",
"migration": "2026_10_21_130000_correct_fiscal_maintenance_actor_constraints",
"migration_sha256": "66102bc9f2f546c9a76df5c3cc03b0bf14e0b9f7afbcf4b2c75db6a047b223f9",
"ddl_sha256": "89125b27f5a8ce3855c9a4c0d8abe4e5821a298f54a8e084607212bc10956cd2",
"backup_directory": "/var/backups/investmoz/iva-rollout-20261021_104253",
"existing_rows_preserved": true,
"unrelated_constraints_preserved": true,
"qa_fixture_imported": false
},
"schema_contract": {
"utc": "2026-10-21T10:46:20.853594+00:00",
"target": "4a4d1212751726da6a71d465b3ea2266e720cf28",
"reviewed_schema_delta": [
"database/migrations/2026_10_21_130000_correct_fiscal_maintenance_actor_constraints.php"
],
"compatibility_decision": "Tempo authorised correction; reviewed destination DDL applied with restored backup and preserved existing rows. Consumer remains off. Executor retains no-migration policy.",
"schema_contract_sha256": "4bf1ed9c79a795e55f83785efad54ed6b5beb4ac205644887a9a672a352917ae"
},
"consumer_availability": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
},
"rule_publication_completed": true,
"consumer_activation_completed": true,
"qa_fixture_imported": false,
"accepted_calculation_export_proofs_repeated": false,
"user_local_file_review_claimed": false,
"legal_opinion_attributed_to_user": false,
"authentication_note": "Normal portal login and MFA completed by user through loopback-only browser helper. Real account nala@tempo.co.mz (ID15) performed source registration and all governance stages through existing HTTPS endpoints. Cookies remained in memory; password/MFA not logged or saved. Synthetic QA session not used. Tool-created console not visible to user and Edge automation timeouts were limitations of tooling; browser helper access succeeded manually.",
"real_rule": {
"id": "01a15e1a-5338-700f-8a45-f87707d696a7",
"rule_code": "IVA-GERAL-BASE-LIQUIDA",
"rule_version": 1,
"component": "IVA",
"scope_key": "mz.internal-general-net.mzn",
"valid_from": "2023-01-01",
"valid_until": null,
"status": "published",
"rule_definition": {
"nodes": {
"base": {
"op": "input",
"key": "base_tributavel"
},
"rate": {
"op": "parameter",
"key": "iva_general_rate"
},
"hundred": {
"op": "literal",
"value": "100"
},
"product": {
"op": "multiply",
"args": [
"base",
"rate"
]
},
"intermediate": {
"op": "divide",
"args": [
"product",
"hundred"
]
}
},
"result": "intermediate",
"language": "investmoz.tax.v1"
},
"parameters": {
"IVA_GENERAL_RATE": {
"unit": "percent",
"value": "16",
"conditions": {
"currency": "MZN",
"operation": "internal_general_net"
}
}
},
"rounding_policy": {
"ties": "not_applicable_without_rounding",
"method": "none",
"status": "not_applied",
"purpose": "operation_tax_not_payment",
"evidence": "Orientação expressa Tempo: calcular este lote IVA sem arredondamento automático; ficha v1.2",
"precision": "exact_decimal",
"aggregation": "single_declared_taxable_base",
"coverage_end": "2026-12-31",
"coverage_start": "2026-01-01"
},
"legal_source_id": "01a15e1a-44a8-7316-82ba-008c432609ef",
"source_version_no": 1,
"source_sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"author_id": 15,
"reviewer_id": 15,
"approver_id": 15,
"publisher_id": 15,
"review_evidence": "Manutenção fiscal autorizada pela Tempo nesta conversa; ficha v1.2 e fontes oficiais aceites em08/10/2026. Mesma conta autorizada, sem parecer jurídico ou revisão independente. civa2016=01a15e1a-3f26-713b-8964-3511cb2fea08 SHA256 b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b; iva2022=01a15e1a-44a8-7316-82ba-008c432609ef SHA256 ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53; iva2025=01a15e1a-4dc2-7021-bbd4-6052db9fcf36 SHA256 ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251. Conferência técnica do cadastro contra a ficha e os exemplares já documentados. Excluídos preço comIVA incluído, taxas reduzidas, isenções, regimes especiais, importações, digitais não residentes, dedução/crédito/reembolso, incentivos, pagamento/declaração e outros impostos. Não certifica elegibilidade individual.",
"approval_evidence": "Manutenção fiscal autorizada pela Tempo nesta conversa; ficha v1.2 e fontes oficiais aceites em08/10/2026. Mesma conta autorizada, sem parecer jurídico ou revisão independente. civa2016=01a15e1a-3f26-713b-8964-3511cb2fea08 SHA256 b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b; iva2022=01a15e1a-44a8-7316-82ba-008c432609ef SHA256 ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53; iva2025=01a15e1a-4dc2-7021-bbd4-6052db9fcf36 SHA256 ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251. Aprovação operacional do lote delimitado já autorizada pela Tempo; não é validação jurídica atribuída ao utilizador. Estimativa de IVA calculado sobre base declarada, sem apuramento final do imposto a pagar. Precisão calculada distinta de apresentação monetária.",
"publication_evidence": "Manutenção fiscal autorizada pela Tempo nesta conversa; ficha v1.2 e fontes oficiais aceites em08/10/2026. Mesma conta autorizada, sem parecer jurídico ou revisão independente. civa2016=01a15e1a-3f26-713b-8964-3511cb2fea08 SHA256 b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b; iva2022=01a15e1a-44a8-7316-82ba-008c432609ef SHA256 ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53; iva2025=01a15e1a-4dc2-7021-bbd4-6052db9fcf36 SHA256 ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251. Publicação apenas da versão1 fundamentada. Taxa eficaz desde01/01/2023, cobertura do consumidor01/01/2026–31/12/2026. Activação continua separada. Suspensão recusa novas admissões; execuções admitidas conservam versão congelada, históricos e relatórios.",
"closure_evidence": null,
"submitted_at": "2026-10-21 10:55:47+00",
"reviewed_at": "2026-10-21T10:55:49.000000Z",
"approved_at": "2026-10-21T10:55:51.000000Z",
"published_at": "2026-10-21T10:55:53.000000Z",
"suspended_at": null,
"archived_at": null,
"version_no": 5,
"created_at": "2026-10-21T10:55:45.000000Z",
"updated_at": "2026-10-21T10:55:53.000000Z"
},
"real_sources": {
"civa2016": {
"id": "01a15e1a-3f26-713b-8964-3511cb2fea08",
"title": "Lei n.º 13/2016 — CIVA republicado",
"url": "https://www.inm.gov.mz/pt-br/content/suplemento-n%C2%BA-10-de-301216-pag-1426-259-290-br-n%C2%BA-156-boletim-da-rep%C3%BAblica-i-serie",
"diploma": "Lei 13/2016",
"article": "Arts. 1–4, 6–7, 15, 17(2), 27 do CIVA; art. 4 da Lei",
"competent_entity": "Assembleia da República de Moçambique",
"valid_from": "2017-01-01",
"valid_until": null,
"validation_status": "pending",
"owner_id": 15,
"validator_id": null,
"validated_at": null,
"version_no": 1,
"created_at": "2026-10-21T10:55:40.000000Z",
"updated_at": "2026-10-21T10:55:40.000000Z",
"fiscal_acceptance": {
"basis": "Tempo-official-sources-20261008",
"scope": "fiscal_parameters",
"sha256": "b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b",
"citation": "BR156, 10.º suplemento, 30/12/2016. PDF6–8,13–14,17–18: âmbito, base tributável declarada e cálculo. Taxa histórica 17% não utilizada. Consulta dirigida da ficha v1.2; não certifica anexos ou elegibilidade individual.",
"accepted_at": "2026-10-21T10:55:40.836454Z",
"legal_opinion": false,
"official_origin": "Boletim da República; exemplar do acervo oficial já aceite pela decisão Tempo de 08/10/2026, arquivado em docs/investmoz/simulations/source-archive/Lei-13-2016-CIVA-BR-156-10-suplemento.pdf. Cadastro fiscal rastreável; sem atribuição de parecer jurídico ou revisão independente à Tempo.",
"independent_review": false,
"responsible_user_id": 15
}
},
"iva2022": {
"id": "01a15e1a-44a8-7316-82ba-008c432609ef",
"title": "Lei n.º 22/2022 — republicação oficial do IVA",
"url": "https://www.inm.gov.mz/pt-br/content/assembleia-da-rep%C3%BAblica-suplemento-n%C2%BA-2-de-281222-pag-2252-25-42-br-n%C2%BA-250-boletim-da",
"diploma": "Lei 22/2022",
"article": "Art. 17(1) do CIVA e art. 6 da Lei",
"competent_entity": "Assembleia da República de Moçambique",
"valid_from": "2023-01-01",
"valid_until": null,
"validation_status": "pending",
"owner_id": 15,
"validator_id": null,
"validated_at": null,
"version_no": 1,
"created_at": "2026-10-21T10:55:42.000000Z",
"updated_at": "2026-10-21T10:55:42.000000Z",
"fiscal_acceptance": {
"basis": "Tempo-official-sources-20261008",
"scope": "fiscal_parameters",
"sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"citation": "BR250, 2.º suplemento, 28/12/2022; PDF3/BR2252-(27): taxa geral 16%; PDF4, art.6: eficácia 01/01/2023. Exemplar republicado; publicação inicial sem efeito. Aplicação delimitada à base líquida declarada em MZN e cobertura do consumidor 2026, ficha v1.2.",
"accepted_at": "2026-10-21T10:55:42.246583Z",
"legal_opinion": false,
"official_origin": "Boletim da República; exemplar do acervo oficial já aceite pela decisão Tempo de 08/10/2026, arquivado em docs/investmoz/simulations/source-archive/Lei-22-2022-IVA-republicada-BR-250-2-suplemento.pdf. Cadastro fiscal rastreável; sem atribuição de parecer jurídico ou revisão independente à Tempo.",
"independent_review": false,
"responsible_user_id": 15
}
},
"iva2025": {
"id": "01a15e1a-4dc2-7021-bbd4-6052db9fcf36",
"title": "Lei n.º 10/2025 — alterações ao CIVA, BR248 suplemento1",
"url": "https://www.at.gov.mz/api/webdav?path=%2FLEGISLA%C3%87%C3%83O%2FLEGISLA%C3%87%C3%83O%20FISCAL%2FLEI%2FBR_248_I_SERIE_SUPLEMENTO_2025.pdf",
"diploma": "Lei 10/2025",
"article": "Art. 1 (artigos alterados) e disposição de entrada em vigor",
"competent_entity": "Assembleia da República de Moçambique",
"valid_from": "2026-01-01",
"valid_until": null,
"validation_status": "pending",
"owner_id": 15,
"validator_id": null,
"validated_at": null,
"version_no": 1,
"created_at": "2026-10-21T10:55:44.000000Z",
"updated_at": "2026-10-21T10:55:44.000000Z",
"fiscal_acceptance": {
"basis": "Tempo-official-sources-20261008",
"scope": "fiscal_parameters",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251",
"citation": "BR248, suplemento1, 29/12/2025, PDF12–15: Lei10/2025 efectiva 01/01/2026; não altera arts.15/17 nas disposições consultadas. Apoio à cadeia temporal 2026 do lote delimitado, não implementação de regimes ou obrigações adicionais.",
"accepted_at": "2026-10-21T10:55:44.576628Z",
"legal_opinion": false,
"official_origin": "Boletim da República; exemplar do acervo oficial já aceite pela decisão Tempo de 08/10/2026, arquivado em docs/investmoz/simulations/source-archive/BR-248-I-Suplemento-1-2025.pdf. Cadastro fiscal rastreável; sem atribuição de parecer jurídico ou revisão independente à Tempo.",
"independent_review": false,
"responsible_user_id": 15
}
}
},
"publication_events": [
{
"action": "submit",
"status": "submitted",
"version_no": 2,
"utc": "2026-10-21T10:55:48.179954+00:00"
},
{
"action": "review",
"status": "reviewed",
"version_no": 3,
"utc": "2026-10-21T10:55:50.198403+00:00"
},
{
"action": "approve",
"status": "approved",
"version_no": 4,
"utc": "2026-10-21T10:55:52.268896+00:00"
},
{
"action": "publish",
"status": "published",
"version_no": 5,
"utc": "2026-10-21T10:55:54.303429+00:00"
}
],
"activation": {
"utc": "2026-10-21T10:55:58.330391+00:00",
"authorisation": "Tempo current conversation, separate consumer activation",
"served_revision": {
"commit": "d3fe8a02ec7f5dcd01984c4f4a1eba18b5a0cf19",
"branch": "main",
"built_at": "2026-10-21T10:48:46.529930+00:00",
"manifest_sha256": "f417509cfa060240801c6a956a787a90d0e283c3c08e77b5be655d63394a4cb9"
},
"rule": {
"id": "01a15e1a-5338-700f-8a45-f87707d696a7",
"rule_code": "IVA-GERAL-BASE-LIQUIDA",
"rule_version": 1,
"status": "published",
"source_sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"legal_source_id": "01a15e1a-44a8-7316-82ba-008c432609ef",
"source_version_no": 1,
"version_no": 5,
"author_id": 15,
"reviewer_id": 15,
"approver_id": 15,
"publisher_id": 15
},
"consumer_enabled": true,
"configuration_keys_changed": [
"INVESTMOZ_IVA_CONSUMER_ENABLED",
"INVESTMOZ_IVA_CONSUMER_RULE_ID",
"INVESTMOZ_IVA_CONSUMER_RULE_VERSION"
],
"other_configuration_preserved": true,
"before_environment_sha256": "537eff52f0f28b83ccc56bf9a9b85c2d8fca1da2f678c30b929b46c67c09491b",
"after_environment_sha256": "7cdaba591bb5787485a349c24db2fd7c8279436da0eb31502e44db2fffa21d03",
"histories_preserved": true,
"accepted_calculation_export_tests_repeated": false,
"qa_fixture_imported": false
},
"destination_delta_read_only": {
"utc": "2026-10-21T10:56:37.650967+00:00",
"read_only": true,
"served": {
"commit": "d3fe8a02ec7f5dcd01984c4f4a1eba18b5a0cf19",
"branch": "main",
"built_at": "2026-10-21T10:48:46.529930+00:00",
"manifest_sha256": "f417509cfa060240801c6a956a787a90d0e283c3c08e77b5be655d63394a4cb9"
},
"inventory": {
"sources": [
{
"id": "01a15e1a-3f26-713b-8964-3511cb2fea08",
"title": "Lei n.º 13/2016 — CIVA republicado",
"diploma": "Lei 13/2016",
"article": "Arts. 1–4, 6–7, 15, 17(2), 27 do CIVA; art. 4 da Lei",
"version_no": 1,
"validation_status": "pending",
"owner_id": 15,
"fiscal_acceptance": {
"basis": "Tempo-official-sources-20261008",
"scope": "fiscal_parameters",
"sha256": "b90dc7c14ecea2e378c4a62e8e5a47d54a5644c457baeb8b8053b92fd2a5710b",
"citation": "BR156, 10.º suplemento, 30/12/2016. PDF6–8,13–14,17–18: âmbito, base tributável declarada e cálculo. Taxa histórica 17% não utilizada. Consulta dirigida da ficha v1.2; não certifica anexos ou elegibilidade individual.",
"accepted_at": "2026-10-21T10:55:40.836454Z",
"legal_opinion": false,
"official_origin": "Boletim da República; exemplar do acervo oficial já aceite pela decisão Tempo de 08/10/2026, arquivado em docs/investmoz/simulations/source-archive/Lei-13-2016-CIVA-BR-156-10-suplemento.pdf. Cadastro fiscal rastreável; sem atribuição de parecer jurídico ou revisão independente à Tempo.",
"independent_review": false,
"responsible_user_id": 15
}
},
{
"id": "01a15e1a-44a8-7316-82ba-008c432609ef",
"title": "Lei n.º 22/2022 — republicação oficial do IVA",
"diploma": "Lei 22/2022",
"article": "Art. 17(1) do CIVA e art. 6 da Lei",
"version_no": 1,
"validation_status": "pending",
"owner_id": 15,
"fiscal_acceptance": {
"basis": "Tempo-official-sources-20261008",
"scope": "fiscal_parameters",
"sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"citation": "BR250, 2.º suplemento, 28/12/2022; PDF3/BR2252-(27): taxa geral 16%; PDF4, art.6: eficácia 01/01/2023. Exemplar republicado; publicação inicial sem efeito. Aplicação delimitada à base líquida declarada em MZN e cobertura do consumidor 2026, ficha v1.2.",
"accepted_at": "2026-10-21T10:55:42.246583Z",
"legal_opinion": false,
"official_origin": "Boletim da República; exemplar do acervo oficial já aceite pela decisão Tempo de 08/10/2026, arquivado em docs/investmoz/simulations/source-archive/Lei-22-2022-IVA-republicada-BR-250-2-suplemento.pdf. Cadastro fiscal rastreável; sem atribuição de parecer jurídico ou revisão independente à Tempo.",
"independent_review": false,
"responsible_user_id": 15
}
},
{
"id": "01a15e1a-4dc2-7021-bbd4-6052db9fcf36",
"title": "Lei n.º 10/2025 — alterações ao CIVA, BR248 suplemento1",
"diploma": "Lei 10/2025",
"article": "Art. 1 (artigos alterados) e disposição de entrada em vigor",
"version_no": 1,
"validation_status": "pending",
"owner_id": 15,
"fiscal_acceptance": {
"basis": "Tempo-official-sources-20261008",
"scope": "fiscal_parameters",
"sha256": "ccf2a8deeca820f2dd076b4b2141b1efe3f6a806568c3a587ca59a8e92f4c251",
"citation": "BR248, suplemento1, 29/12/2025, PDF12–15: Lei10/2025 efectiva 01/01/2026; não altera arts.15/17 nas disposições consultadas. Apoio à cadeia temporal 2026 do lote delimitado, não implementação de regimes ou obrigações adicionais.",
"accepted_at": "2026-10-21T10:55:44.576628Z",
"legal_opinion": false,
"official_origin": "Boletim da República; exemplar do acervo oficial já aceite pela decisão Tempo de 08/10/2026, arquivado em docs/investmoz/simulations/source-archive/BR-248-I-Suplemento-1-2025.pdf. Cadastro fiscal rastreável; sem atribuição de parecer jurídico ou revisão independente à Tempo.",
"independent_review": false,
"responsible_user_id": 15
}
}
],
"rules": [
{
"id": "01a15e1a-5338-700f-8a45-f87707d696a7",
"rule_code": "IVA-GERAL-BASE-LIQUIDA",
"rule_version": 1,
"status": "published",
"valid_from": "2023-01-01",
"valid_until": null,
"legal_source_id": "01a15e1a-44a8-7316-82ba-008c432609ef",
"source_sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53",
"source_version_no": 1,
"version_no": 5,
"author_id": 15,
"reviewer_id": 15,
"approver_id": 15,
"publisher_id": 15
}
],
"event_count": 5,
"historical_counts": {
"results": 0,
"reports": 0
}
},
"consumer": {
"database": "teste_investidor",
"binding": {
"enabled": true,
"rule_id": "01a15e1a-5338-700f-8a45-f87707d696a7",
"rule_version": 1
},
"availability": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
},
"parameter_resolution_without_calculation": {
"parameter_code": "IVA_GENERAL_RATE",
"status": "resolved",
"value": "16",
"unit": "percent",
"conditions": {
"currency": "MZN",
"operation": "internal_general_net"
},
"scope_key": "mz.internal-general-net.mzn",
"rule_code": "IVA-GERAL-BASE-LIQUIDA",
"rule_id": "01a15e1a-5338-700f-8a45-f87707d696a7",
"rule_version": 1,
"period": {
"start": "2026-10-21",
"end": "2026-10-21"
},
"validity": {
"start": "2023-01-01",
"end": null
},
"source": {
"title": "Lei n.º 22/2022 — republicação oficial do IVA",
"diploma": "Lei 22/2022",
"article": "Art. 17(1) do CIVA e art. 6 da Lei",
"url": "https://www.inm.gov.mz/pt-br/content/assembleia-da-rep%C3%BAblica-suplemento-n%C2%BA-2-de-281222-pag-2252-25-42-br-n%C2%BA-250-boletim-da",
"declared_sha256": "ea1b0dc6f5cf6e595f6d9a19e7042f398999e0087caef1785f6e8fac571b5f53"
}
}
},
"qa_fixture_imported": false,
"calculations_exporters_repeated": false
},
"remaining": []
},
"iva_query_diagnostic_qa_20261021": {
"recorded_utc": "2026-10-21T11:35:00.737064+00:00",
"scope": "QA only, parameter-query diagnosis; no calculation/export retest, no destination writes",
"reported_surface": "Componentes fiscais e contributivas, IVA_GENERAL_RATE, annual 2026-01-01 to2026-12-31, indeterminate_context",
"confirmed_origin": "Implementation integration gap: query sent fiscal_operation and no currency/operation, whereas the published IVA parameter requires operation=internal_general_net and currency=MZN. Resolver collapsed every mismatch to indeterminate_context and UI blamed responses without individual evidence.",
"original_answers_known": "Only the period/component/message were provided. No original currency or operation is asserted; USD/domestic are explicit directed QA cases, not inferred original answers.",
"diagnostic_categories": [
"missing_field",
"invalid_value",
"out_of_scope",
"period_unavailable",
"system_configuration"
],
"changes": [
"Server projects each failed criterion, field, received value, expected criterion, source and exact rule version; no expression projection",
"Explicit fiscal_currency answer for IVA query, persisted and recovered; no copy/conversion from budget or IVA-base currency",
"Generic domestic is never silently equated to internal_general_net; integration limitation is explained and links to explicit IVA form",
"Inline notes plus summary links, human IVA — taxa geral label and Ver fundamento disclosure",
"Period diagnostic can inspect published candidates outside queried period under existing visibility policy; selection/calculation eligibility unchanged",
"No eligible visible candidate remains explicitly uncertain; no invented input fault"
],
"verification": {
"new_unit_tests": 5,
"new_unit_assertions": 24,
"targeted_api_tests": 1,
"targeted_api_assertions": 16,
"existing_resolver_regression_tests": 7,
"existing_resolver_regression_assertions": 25,
"typescript": "passed",
"build": "passed, exit0",
"pint": "passed",
"edge": "Normal simulator query, annual2026; missing currency then explicitly chosen USD; inline/summary linked fields focused; source/version disclosure; USD and generic operation preserved after save/recovery; internal code and expression absent from query text",
"no_simulation_created_by_api_diagnostic": true
},
"qa_fixture": {
"rule_version": 3,
"state_after_proof": "suspended",
"consumer_enabled": false,
"database": "simulator_fiscal_delta_20261021_test",
"imported_into_homologation": false
},
"test_database": "simulator_fiscal_checks_20261021_test, existing QA schema correction applied before targeted API test; isolated guard preserved",
"proofs": [
"outputs/simulator-continuation-20261020/iva-diagnostic-api-test.txt",
"outputs/simulator-continuation-20261020/iva-diagnostic-summary.txt",
"outputs/simulator-continuation-20261020/iva-diagnostic-summary.png",
"outputs/simulator-continuation-20261020/iva-diagnostic-build-final.txt"
],
"main_integrated": false,
"homologation_rule_changed": false,
"legal_coverage_expanded": false
},
"monthly_iva_projection_qa_20261021": {
"branch": "codex/iva-monthly-projection-QA",
"status": "candidate_verified_in_isolated_QA_only",
"source": "existing monthly product sales; saved constant cashflow revenue only when no business plan exists",
"basis": "explicit net/included/unknown; only net calculated; no silent conversion",
"selection": "published version selected by server; frozen at admission; same resolver/evaluator",
"cash_treatment": "separate IVA memorandum; declared receipts/payments unchanged; not cost, no inferred collection or final settlement",
"manual_tax": "custom planning only; never input into monthly IVA",
"unknown_vs_zero": "missing month indeterminate; explicit zero calculated as zero; aggregate indeterminate if any month unknown",
"tests": {
"api_tests": 3,
"api_assertions": 46,
"frontend_tests": 4,
"types": "passed",
"build": "passed",
"pint": "passed",
"accepted_calculation_and_exporter_proofs": "reused, not repeated"
},
"qa_fixture": {
"database": "simulator_fiscal_delta_20261021_test",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"rule_version": 4,
"consumer_enabled": true,
"synthetic": true,
"left_available_for_review": true,
"draft_id": "e0201d19-286e-4d5c-9585-2c1e3bd1ad1e"
},
"live_history": [
{
"id": "06566910-9672-4176-804d-aad8350417cb",
"status": "completed",
"created_at": "2026-10-21T11:57:11.000000Z",
"basis": "net",
"rows": [
{
"vat": "160.0048",
"date": "2026-01-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "1000.03",
"gross_sales": "1160.0348",
"rule_version": 4,
"sales_declared": "1000.03"
},
{
"vat": "320.0096",
"date": "2026-02-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "2000.06",
"gross_sales": "2320.0696",
"rule_version": 4,
"sales_declared": "2000.06"
},
{
"vat": "0",
"date": "2026-03-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "0.00",
"gross_sales": "0",
"rule_version": 4,
"sales_declared": "0.00"
},
{
"vat": null,
"date": "2026-04-01",
"rate": null,
"status": "missing_sales",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": null,
"gross_sales": null,
"rule_version": 4,
"sales_declared": null
}
],
"total": null,
"reports": [
{
"id": "42b95158-6c4c-43c6-801d-28e973a087a6",
"same_snapshot": true,
"sha256": "b6d10565f82f7e83952fbdbb15a357ca3a7fee550e53c80a0ef5b9e314ccfa68"
}
]
},
{
"id": "098900ed-2f5f-4141-98c8-08f892912a5b",
"status": "completed",
"created_at": "2026-10-21T11:57:34.000000Z",
"basis": "net",
"rows": [
{
"vat": "480.0144",
"date": "2026-01-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "3000.09",
"gross_sales": "3480.1044",
"rule_version": 4,
"sales_declared": "3000.09"
},
{
"vat": "320.0096",
"date": "2026-02-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "2000.06",
"gross_sales": "2320.0696",
"rule_version": 4,
"sales_declared": "2000.06"
},
{
"vat": "0",
"date": "2026-03-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "0.00",
"gross_sales": "0",
"rule_version": 4,
"sales_declared": "0.00"
},
{
"vat": null,
"date": "2026-04-01",
"rate": null,
"status": "missing_sales",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": null,
"gross_sales": null,
"rule_version": 4,
"sales_declared": null
}
],
"total": null,
"reports": [
{
"id": "44211195-0a53-4f4c-93ef-6ff0e439082b",
"same_snapshot": true,
"sha256": "5de00868029b7a688585e180bcd8fbef1e46e289b19ab766c58f7406fb2af972"
}
]
},
{
"id": "96eec0d8-effa-4286-b465-6af50f756db4",
"status": "completed",
"created_at": "2026-10-21T11:58:35.000000Z",
"basis": "included",
"rows": [
{
"vat": null,
"date": "2026-01-01",
"rate": null,
"status": "unsupported_basis",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": null,
"gross_sales": null,
"rule_version": 4,
"sales_declared": "3000.09"
},
{
"vat": null,
"date": "2026-02-01",
"rate": null,
"status": "unsupported_basis",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": null,
"gross_sales": null,
"rule_version": 4,
"sales_declared": "2000.06"
},
{
"vat": null,
"date": "2026-03-01",
"rate": null,
"status": "unsupported_basis",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": null,
"gross_sales": null,
"rule_version": 4,
"sales_declared": "0.00"
},
{
"vat": null,
"date": "2026-04-01",
"rate": null,
"status": "missing_sales",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": null,
"gross_sales": null,
"rule_version": 4,
"sales_declared": null
}
],
"total": null,
"reports": [
{
"id": "821e6347-680c-4029-9756-c3169d79f85e",
"same_snapshot": true,
"sha256": "06abadc593e65cfff64d208fac6cac3a8f98db4bef92795a27ce637fe7958cec"
}
]
},
{
"id": "e88aaaea-4482-4b7d-869f-f0648a430651",
"status": "completed",
"created_at": "2026-10-21T12:00:32.000000Z",
"basis": "net",
"rows": [
{
"vat": "480.0144",
"date": "2026-01-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "3000.09",
"gross_sales": "3480.1044",
"rule_version": 4,
"sales_declared": "3000.09"
},
{
"vat": "320.0096",
"date": "2026-02-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "2000.06",
"gross_sales": "2320.0696",
"rule_version": 4,
"sales_declared": "2000.06"
},
{
"vat": "0",
"date": "2026-03-01",
"rate": "16",
"status": "calculated",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": "0.00",
"gross_sales": "0",
"rule_version": 4,
"sales_declared": "0.00"
},
{
"vat": null,
"date": "2026-04-01",
"rate": null,
"status": "missing_sales",
"rule_id": "01a15e50-7972-72e0-8991-82ca28df9b49",
"net_sales": null,
"gross_sales": null,
"rule_version": 4,
"sales_declared": null
}
],
"total": null,
"reports": [
{
"id": "bc204cc7-1f0c-4468-80fa-e093642a5eac",
"same_snapshot": true,
"sha256": "4ed224f7de50b533f144f7f411d240eb1ccca6f3e5bff7a64b1eca6f6d7971dc"
}
]
}
],
"main_integrated": false,
"homologation_changed": false,
"rule_publication_on_destination": false,
"coverage_expanded": false,
"limitations": [
"IVA included prices unsupported in current net lot",
"2026 only, max 12 consecutive months",
"no final payable, deductions, refunds, special/reduced/exempt regimes",
"examples prove arithmetic/integration, not legal eligibility of every transaction"
],
"remaining": "Tempo review/decision for code integration; no further generic preparation identified; keep real rule/publication/activation separate",
"proof_directory": "outputs/simulator-continuation-20261020"
},
"modelo_a_reconciliation_qa_20261021": {
"branch": "codex/iva-modelo-a-reconciliation-QA",
"parent_candidate": "3f5430c3",
"status": "documentary_and_first_interface_increment_verified; full IVA settlement remains incomplete",
"reference": "docs/investmoz/simulations/modelo-a-reconciliacao-20261021.md",
"originals": [
{
"id": "fbfa820d-29d5-4bf8-9f81-534931d80cef",
"file_name": "Novo Modelo A.docx",
"sha256": "62c198e90d8c6792f7d5ccefc6386df2e4b6089573067d3a6e1eae7fc2b9572b",
"status": "active",
"malware_scan_status": "clean",
"malware_scanned_sha256": "62c198e90d8c6792f7d5ccefc6386df2e4b6089573067d3a6e1eae7fc2b9572b"
},
{
"id": "cf8b799e-44de-4497-b2e3-a5c468f2fe0e",
"file_name": "Novo Modelo A v1.docx",
"sha256": "63d45fa80db17a60b43619d55a25813229d670d14c758273f86316285db8e02b",
"status": "active",
"malware_scan_status": "clean",
"malware_scanned_sha256": "63d45fa80db17a60b43619d55a25813229d670d14c758273f86316285db8e02b"
}
],
"library_qa_only": true,
"resources": [
33,
34
],
"published": false,
"inventory": "Existing document corpus inventory extended; private inventory of all seven accessible Notes files preserved",
"read": "OOXML text plus embedded image2.png visually inspected; image identical in both originals; source unchanged; all three LibreOffice reading pages inspected, field25 confirmed visually; conversion layout drift is not a replacement original",
"coverage": {
"fields_mapped": "01–27",
"frames_mapped": "1–13 plus ambiguously numbered prior-credit block",
"calculated": "Existing net general-rate component01/02 only",
"totals14_to18": "indeterminate, not inferred from VAT on sales"
},
"implemented": [
"Consultable field/purpose/data/calculation/basis/status table in normal QA simulator",
"Existing purchase schedules reused independently of sales completeness",
"Net/supported VAT/gross/deductible VAT kept separate and unknown without classification",
"Partial simulation marker in report; historical server snapshots not rewritten"
],
"documentary_discrepancies": [
"Regularization prose11/12 versus boxes12/13",
"Credit note18/19 versus block19/20",
"Refund noteart20 versus art21 amended in2025",
"Ambiguous frame8 remissions; repeated25 was extraction artifact, one box25 confirmed visually"
],
"official_sources_read": [
"Existing Lei22/2022 PDF4 art17-A and entry into force",
"Existing Lei10/2025 BR248 PDF12–15; visualPDF13/14"
],
"unresolved": [
"Exact approved edition of form for period",
"Consolidation of relevant base provisions, Lei3/2025 and regulations for each extension",
"Operation-level scopes, eligibility, documents and effective dates for reduced rate/deduction"
],
"tool_limits": [
"Direct AT form page timed out; indexed page has different frame numbering, not used as replacement",
"Current chat attachment was not exposed as a local attachment; exact-named local Tempo Notes exemplar used with hash disclosed"
],
"tests": {
"new_frontend_tests": 3,
"types": "passed",
"build": "passed",
"browser": "new correspondence/purchases/report annotations only, no new calculation",
"import": "preview/private import/clean hash-matched scan/idempotent replay with zero duplicates"
},
"reused_proofs": [
"published rate selection",
"decimal calculation",
"monthly recovery",
"idempotency/suspension/history",
"CSV/DOCX/PDF exporters"
],
"next_lot_estimate": {
"cadastre_and_consolidation_hours": [
8,
16
],
"code_and_acceptance_hours": [
20,
36
],
"total_hours": [
28,
52
],
"excludes": "prior credits/substitutions/payment/refund and full fiscal coverage"
},
"main_integrated": false,
"homologation_changed": false,
"new_rules_registered": false,
"new_rules_published": false,
"consumer_activation_changed": false,
"proof_directory": "outputs/modelo-a-20261021"
},
"contextual_continuity_qa_20261022": {
"branch": "codex/project-context-continuity-QA",
"base": "57fc914821d0cefa02caa80a74b3d42e663f2742",
"scope": "Primeiro incremento de continuidade e explicação contextual; adaptação jurídica integral não encerrada",
"status": "QA, revisão; sem integração main ou alteração fiscal activa",
"http_tests": {
"tests": 4,
"assertions": 74,
"transaction_rollback": true
},
"frontend_tests": 8,
"typescript": "passed",
"build": "passed",
"visual_evidence_directory": "outputs/context-continuity-20261022",
"same_project_new_session": true,
"deliberate_edit_preserved": true,
"second_project_isolated": true,
"fiscal_execution_id": "ae401465-834f-4761-9406-5af060c499fb",
"new_executions_today": 1,
"reused_proofs": [
"13f68f1b: recuperação/exportadores/PDF",
"83d2f97d e 226fd308: precisão/versões/históricos",
"3f5430c3: cálculo mensal",
"0b0cf761: correspondência parcial Modelo A"
],
"limitations": [
"Catálogo visual QA sintético; ZEE/ZFI apenas controlos HTTP sintéticos revertidos, sem elegibilidade real demonstrada",
"Condições jurídicas por sector/actividade/regime e benefícios executáveis não concluídos",
"Outros três consumidores usam origem/reconciliador comum; não houve demonstração visual integral de cada processo",
"Sem regra fiscal nova, publicação, activação ou integração em main",
"Edge interrompeu a inspecção após navegação de regresso; endereço e gravação confirmados por inventário/serviço, visual final não observada. Limitação da ferramenta."
],
"return_evidence_id": "43317c22-50c8-40cf-98e4-e5d4d108c372",
"B_recovered_context_revision": 2
},
"context_review_and_adaptive_path_preparation_20261022": {
"reviewed_commit": "a76369eb",
"review_status": "complete within accepted increment scope; no integration executed",
"last_return_equivalent_evidence": "43317c22-50c8-40cf-98e4-e5d4d108c372",
"accepted_AB_repeated": false,
"next_lot": "Preparação de pedido de investimento privado: condição, fonte/período, formulário, percurso, cálculo e lacuna",
"next_lot_status": "documented, not implemented or demonstrated end-to-end",
"source_url": "https://pt.apiex.gov.mz/wp-content/uploads/2025/02/LEGISLACAO-DE-INVESTIMENTOS-EM-MOCAMBIQUE.pdf",
"source_sha256": "ba1e9eaabfec5d0c4cb2d9f2444a6860f7a90f222034764197829be402d408ed",
"new_fiscal_rule_activation": false,
"next_acceptance": "Only synthetic C condition transitions and dossier/report links; reuse accepted context and IVA evidence"
},
"private_investment_executable_20261022": {
"base": "52fbb146",
"branch": "codex/private-investment-path-executable-QA",
"status": "implemented and verified in isolated QA; not integrated",
"source_version": "private-investment-preparation-2026-v1",
"orientation": "Tempo 22/10: official sources execute without generic additional legal approval; permanent AGENTS updated",
"qa_url": "http://127.0.0.1:18580/investimentos/4133311b-5426-4cec-900d-1f1484484083",
"persistence": {
"case_id": "4133311b-5426-4cec-900d-1f1484484083",
"case_version": 8,
"context_revision": 4,
"mode": "registration",
"association": {
"lease": "e5ce142a-1178-46a2-b039-f187139c62cd"
},
"documents": 1,
"context_events": 4,
"draft_id": "beba1dec-fc05-4820-b099-24952c5ab36c",
"draft_version": 4,
"draft_sha256": "4136e82a3b9420ab8f980ec0d7bda6dc2a67b568c18535b5ba0ecc80efd37e37",
"saved_context_revision": 3,
"saved_preparation_mode": "authorization",
"currency": "MZN",
"date": "2026-01-01",
"preparation_version": "private-investment-preparation-2026-v1"
},
"new_checks": {
"feature_tests": 3,
"assertions": 96,
"frontend_delta_tests": 1,
"typescript": "passed",
"build": "passed"
},
"evidence_sha256": {
"C-authorization-preview.png": "311c9f14ac601429666ded55c5906aa8ab018b5d31a1f101b4fb32697adf0817",
"C-final-directness-preview.png": "2037958e2879fb184cac1c4aa07ddc367417dbd1541d979c4e653a63918cdaca",
"C-final-path.png": "0c3c0900d861724b6def3f5850bd6c6c0f65dfee7cb01d6bb7c72c8bf645645a",
"C-persistence-v3.json": "b8faad9a5d4d9174a489a7b1096104f3a91645201b221b1ad7ece4a217180e00",
"C-persistence.json": "6b6120c88f41cff43b185905fdfec992ca76b359d0eab6bc1df02dee064c780d",
"C-recovered-path.png": "c734d119b0f766d8600892713be473d1c1875cb6ff4474b6fceabef702a3490b",
"C-report-check.json": "217b56b89041e6c8c05907af48c48dadf4f8316a2cce0f9195daf828258cb503",
"C-report.docx": "28cfe4b75116c892d3e29fde389de7d067b456761756bab732af625178ee69ce"
},
"report": {
"path": "C:\\Mac\\Home\\Downloads\\relatorio-investmoz-sintetico-qa-c-pedido-de-investimento-privado.docx",
"size": 16674,
"sha256": "28cfe4b75116c892d3e29fde389de7d067b456761756bab732af625178ee69ce"
},
"tool_limitation": "Download observation timed out and browser debugger detached; completed DOCX found in Downloads, verified before any retry; no repeated export",
"reused": "Accepted A/B, decimal calculation, CSV, exporters and native PDF pagination",
"main_integrated": false,
"homologation_changed": false,
"fiscal_rule_published_or_activated": false,
"limitations": [
"Only 2026 private investment preparation, documented registration/authorization conditions",
"No administrative submission or entitlement decision",
"No full sector licensing, foreign-currency equivalence or fiscal benefits engine",
"ZEE/ZFI routing predicate uses QA references; no real zone visual recognition proof",
"Dossier attachment association does not approve content; synthetic C fixture pending scan not delivered as seed",
"Final C context v4 registration differs from frozen draft/report context v3 authorization; no silent rewrite or repeated export."
],
"historical_report_persistence": {
"case_id": "4133311b-5426-4cec-900d-1f1484484083",
"case_version": 7,
"context_revision": 3,
"mode": "authorization",
"association": {
"lease": "e5ce142a-1178-46a2-b039-f187139c62cd"
},
"documents": 1,
"context_events": 3,
"draft_id": "beba1dec-fc05-4820-b099-24952c5ab36c",
"draft_version": 4,
"draft_sha256": "4136e82a3b9420ab8f980ec0d7bda6dc2a67b568c18535b5ba0ecc80efd37e37",
"saved_context_revision": 3,
"saved_preparation_mode": "authorization",
"currency": "MZN",
"date": "2026-01-01",
"preparation_version": "private-investment-preparation-2026-v1"
},
"directness_control": "Lei 8/2023 art14(b), R13: direct declared before using direct-investment monetary threshold; indirect/unknown unresolved only for dependent results; PPP independent condition remains executable"
},
"private_investment_report_alignment_20261022": {
"functional_revision": "a1fbda06",
"status": "targeted missing evidence completed; no functional code changes",
"current_persistence": {
"case_id": "4133311b-5426-4cec-900d-1f1484484083",
"case_version": 8,
"context_revision": 4,
"mode": "registration",
"association": {
"lease": "e5ce142a-1178-46a2-b039-f187139c62cd"
},
"documents": 1,
"context_events": 4,
"draft_id": "beba1dec-fc05-4820-b099-24952c5ab36c",
"draft_version": 5,
"draft_sha256": "ba824fe0362ca87b301da55298122796f44fdfb11507830b3fe8f54cf88d132d",
"saved_context_revision": 4,
"saved_preparation_mode": "registration",
"currency": "MZN",
"date": "2026-01-01",
"preparation_version": "private-investment-preparation-2026-v1"
},
"reports": {
"historic_v3": {
"path": "C:\\Mac\\Home\\Downloads\\relatorio-investmoz-sintetico-qa-c-pedido-de-investimento-privado.docx",
"sha256": "28cfe4b75116c892d3e29fde389de7d067b456761756bab732af625178ee69ce",
"bytes": 16674,
"rows": [
[
"Contexto do investimento",
"Revisão 3; sem ZEE, ZFI ou parque seleccionado",
"Contexto versionado; não é reconhecimento jurídico. Referência do mesmo dossier no momento da gravação"
],
[
"Preparação do investimento privado",
"Pedido de autorização",
"Declarações e requisitos de preparação; sem aprovação jurídica. Contexto congelado v3; private-investment-preparation-2026-v1"
],
[
"Estudo de viabilidade técnica e económico-financeira",
"Documento por associar",
"Preparação informativa — simulação, sem submissão à Administração. Integra a preparação do pedido de autorização. R14(1)–(2); https://pt.apiex.gov.mz/wp-content/uploads/2025/02/LEGISLACAO-DE-INVESTIMENTOS-EM-MOCAMBIQUE.pdf#page=45"
],
[
"Comprovação da capacidade financeira",
"Documento por associar",
"Preparação informativa — simulação, sem submissão à Administração. Integra a preparação do pedido de autorização. R14(1)–(2); https://pt.apiex.gov.mz/wp-content/uploads/2025/02/LEGISLACAO-DE-INVESTIMENTOS-EM-MOCAMBIQUE.pdf#page=45"
]
]
},
"current_v4": {
"path": "C:\\Mac\\Home\\Downloads\\relatorio-investmoz-sintetico-qa-c-pedido-de-investimento-privado (1).docx",
"sha256": "a2849427f4a91fa6ab78e433be8b919baca80a0f4f452a4546a5b169b921d753",
"bytes": 16678,
"rows": [
[
"Contexto do investimento",
"Revisão 4; sem ZEE, ZFI ou parque seleccionado",
"Contexto versionado; não é reconhecimento jurídico. Referência do mesmo dossier no momento da gravação"
],
[
"Preparação do investimento privado",
"Pedido de mero registo",
"Declarações e requisitos de preparação; sem aprovação jurídica. Contexto congelado v4; private-investment-preparation-2026-v1"
],
[
"Estudo de viabilidade técnica e económico-financeira",
"Não aplicável; histórico preservado",
"Preparação informativa — simulação, sem submissão à Administração. Integra a preparação do pedido de autorização. R14(1)–(2); https://pt.apiex.gov.mz/wp-content/uploads/2025/02/LEGISLACAO-DE-INVESTIMENTOS-EM-MOCAMBIQUE.pdf#page=45"
],
[
"Comprovação da capacidade financeira",
"Não aplicável; histórico preservado",
"Preparação informativa — simulação, sem submissão à Administração. Integra a preparação do pedido de autorização. R14(1)–(2); https://pt.apiex.gov.mz/wp-content/uploads/2025/02/LEGISLACAO-DE-INVESTIMENTOS-EM-MOCAMBIQUE.pdf#page=45"
]
]
}
},
"proof_sha256": {
"C-report-HISTORICO-contexto-v3.docx": "28cfe4b75116c892d3e29fde389de7d067b456761756bab732af625178ee69ce",
"C-report-contexto-v4.docx": "a2849427f4a91fa6ab78e433be8b919baca80a0f4f452a4546a5b169b921d753",
"C-report-v3-v4-comparison.json": "722154fd38b2915ec087f804abe66bc4c98c6eff2c4403d8e670d65d257e3446",
"C-persistence-v4-draft5.json": "a10505a52c553b4c0e03ece59d20d5a0a20204ae694bcf7174ee0574272ec1c4",
"C-new-report-context-v4.png": "b0cf159e6be5a457efdc46eb5e273895c43010caa9727e3b75668f916aa11f8d"
},
"historic_label": "C-report-HISTORICO-contexto-v3.docx; original bytes unchanged, embedded Contexto congelado v3",
"current_label": "C-report-contexto-v4.docx; embedded Contexto congelado v4; registration; study/capacity not applicable",
"accepted_tests_repeated": false,
"integration_dependencies": [
"a76369eb common continuity, required ancestor of a1fbda06",
"52fbb146 documentary intermediate, no executable delta",
"a1fbda06 adaptive private-investment functionality",
"Current branch includes ancestors; do not cherry-pick a1fbda06 alone without a76369eb/equivalent changes"
],
"integration_procedure": "After Tempo evaluation/decision, fetch current main, merge preserving concurrent changes and review actual conflicts. a76369eb can integrate independently first; shared ancestry avoids duplicate application. No reset or force-push main. Confirm deployed revision and only changed destination behavior. PRIVATE_INVESTMENT_PREPARATION_ENABLED is separate from tax publication/activation.",
"remote_main_read": "57fc914821d0cefa02caa80a74b3d42e663f2742",
"main_integrated": false,
"fiscal_rules_changed": false
},
"adaptive_private_path_homologation_20261022": {
"authorized_by": "Tempo, user authorization 22/10/2026",
"previous_main": "57fc914821d0cefa02caa80a74b3d42e663f2742",
"authorized_ancestry": [
"a76369eb",
"52fbb146",
"a1fbda06",
"064296e1"
],
"integration": "fast-forward, no conflicts or concurrent commits observed at push; no forced update",
"first_attempt": {
"status": "failed",
"commit": "064296e1fbf7b17f932df23c7b3ee5508719dec5",
"error": "Verification command failed: node (see protected build log)",
"active_release_preserved": true,
"requested_commits": [
"064296e1fbf7b17f932df23c7b3ee5508719dec5"
],
"finished_at": "2026-10-22T08:11:54.420414+00:00"
},
"compatibility_fix": {
"commit": "042ffbde44cac27704d6f8b7ec25b525a42e3575",
"cause": "Empty inheritance metadata appended when restoring a legacy draft with no compatible source",
"change": "Return original draft when both compatible source and prior inheritance metadata are absent",
"targeted_tests": "9 inheritance controls + exact failing legacy partition/recovery test, all passed"
},
"installed": {
"status": "installed",
"commit": "042ffbde44cac27704d6f8b7ec25b525a42e3575",
"release": "/var/www/investmoz-homologacao/releases/042ffbde44cac27704d6f8b7ec25b525a42e3575-6dfae60c",
"previous_release": "/var/www/investmoz-homologacao/releases/57fc914821d0cefa02caa80a74b3d42e663f2742-f563f9a7",
"database_migrations": 0,
"content_imports": 0,
"requested_commits": [
"042ffbde44cac27704d6f8b7ec25b525a42e3575"
],
"finished_at": "2026-10-22T08:16:16.903501+00:00"
},
"http": {
"/build/revision.json": {
"status": 200,
"body": {
"commit": "042ffbde44cac27704d6f8b7ec25b525a42e3575",
"branch": "main",
"built_at": "2026-10-22T08:16:14.331119+00:00",
"manifest_sha256": "655eef6e6a5e71c5138c68465a5b2ffc36d2cadeff96e6b35682dbfd19d42e79"
}
},
"/api/v1/fiscal-consumer": {
"status": 200,
"body": {
"data": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
}
}
},
"/investimentos": {
"status": 302,
"location": "https://teste-investidor.tempo.co.mz/login"
},
"/simulador-fiscal": {
"status": 200,
"body": "HTML available"
},
"checked_utc": "2026-10-22T08:17:20.250804+00:00"
},
"configuration_before": {
"read_only": true,
"utc": "2026-10-22T08:16:34.265947+00:00",
"revision": {
"commit": "042ffbde44cac27704d6f8b7ec25b525a42e3575",
"branch": "main",
"built_at": "2026-10-22T08:16:14.331119+00:00",
"manifest_sha256": "655eef6e6a5e71c5138c68465a5b2ffc36d2cadeff96e6b35682dbfd19d42e79"
},
"live": "/var/www/investmoz-homologacao/releases/042ffbde44cac27704d6f8b7ec25b525a42e3575-6dfae60c",
"env_path": "/var/www/html/teste-investidor.tempo.co.mz/.env",
"env_sha256": "7cdaba591bb5787485a349c24db2fd7c8279436da0eb31502e44db2fffa21d03",
"env_mode": "0o640",
"uid": 1001,
"gid": 33,
"private_preparation_env": "unset",
"config": {
"private_preparation": false,
"investor_path": true,
"fiscal_consumer": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
},
"preparation_version": "private-investment-preparation-2026-v1"
}
},
"configuration_enable": {
"utc": "2026-10-22T08:16:49.343216+00:00",
"revision": {
"commit": "042ffbde44cac27704d6f8b7ec25b525a42e3575",
"branch": "main",
"built_at": "2026-10-22T08:16:14.331119+00:00",
"manifest_sha256": "655eef6e6a5e71c5138c68465a5b2ffc36d2cadeff96e6b35682dbfd19d42e79"
},
"changed": true,
"env_before_sha256": "7cdaba591bb5787485a349c24db2fd7c8279436da0eb31502e44db2fffa21d03",
"env_after_sha256": "a6b4e9064cf6dbb2d945b53418a6c9252f9c736ff3fde4016b95b74885a9ee0f",
"backup": "/var/lib/investmoz-deploy/backups/private-preparation-20261022/env-7cdaba591bb5787485a349c24db2fd7c8279436da0eb31502e44db2fffa21d03.private",
"backup_bytes_verified": true,
"only_key_changed": "PRIVATE_INVESTMENT_PREPARATION_ENABLED",
"mode_preserved": true,
"owner_preserved": true,
"config": {
"private_preparation": true,
"investor_path": true,
"fiscal_consumer": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
},
"preparation_version": "private-investment-preparation-2026-v1"
},
"fiscal_configuration_changed": false,
"database_operations": false,
"recovery": "Restore previous key value only against recorded post-change hash, rebuild config cache; preserve subsequent changes and all data"
},
"configuration_after": {
"read_only": true,
"utc": "2026-10-22T08:17:21.883131+00:00",
"revision": {
"commit": "042ffbde44cac27704d6f8b7ec25b525a42e3575",
"branch": "main",
"built_at": "2026-10-22T08:16:14.331119+00:00",
"manifest_sha256": "655eef6e6a5e71c5138c68465a5b2ffc36d2cadeff96e6b35682dbfd19d42e79"
},
"live": "/var/www/investmoz-homologacao/releases/042ffbde44cac27704d6f8b7ec25b525a42e3575-6dfae60c",
"env_path": "/var/www/html/teste-investidor.tempo.co.mz/.env",
"env_sha256": "a6b4e9064cf6dbb2d945b53418a6c9252f9c736ff3fde4016b95b74885a9ee0f",
"env_mode": "0o640",
"uid": 1001,
"gid": 33,
"private_preparation_env": "true",
"config": {
"private_preparation": true,
"investor_path": true,
"fiscal_consumer": {
"enabled": true,
"coverage_start": "2026-01-01",
"coverage_end": "2026-12-31",
"message": "IVA geral sobre base líquida disponível; enquadramento declarado."
},
"preparation_version": "private-investment-preparation-2026-v1"
}
},
"effective_procedural_version": "private-investment-preparation-2026-v1",
"new_fiscal_rules_published_or_activated": false,
"qa_fixtures_copied": false,
"accepted_scenarios_repeated_manually": false,
"limitations": "No new scenario executed in homologation and no real dossier or personal data created. QA functional evidence reused; destination verification limited to revision, configuration and entry routes. Sector/fiscal exclusions remain explicit."
}
}