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

489 lines
24 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"
}
}