Files
Investidor-V2/docs/investmoz/simulations/integrated-review-continuation-20261020-receipt.json
T
2026-10-21 12:39:07 +02:00

744 lines
35 KiB
JSON

{
"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
}
}
}