{ "increment": "COMMON-LEDGER-INDUSTRIAL-SIM-v1", "consolidated_at_utc": "2026-11-03T05:54:08.190Z", "authorization": { "answer": "Autorizar o ciclo industrial sintético proposto", "approved_scope_archive_sha256": "6044a9471b741db010f6d0509aacb56609624b05e83489311f8f5340cced108d", "matches_presented_proposal": true }, "functional_code": true, "synthetic_only": true, "status": "implemented_and_tested_with_limits", "targeted_checks": 162, "rendered_form_vm_checks": 9, "concurrency_workers": 6, "tests": { "actual_owner_fixture": { "passed": true, "scope": { "tenant_id": 1, "company_id": 1, "unit_id": 1 }, "lot_id": 1, "result_id": 1, "refs": { "material": { "id": 1, "version": 1 }, "labour": { "id": 2, "version": 1 }, "pool": { "id": 3, "version": 1 }, "machine": { "id": 4, "version": 1 }, "production": { "id": 5, "version": 1 }, "material_rate": { "id": 6, "version": 1 }, "labour_rate": { "id": 7, "version": 1 }, "criterion": { "id": 8, "version": 1 } }, "accounts": { "QA-CUSTO-INDUSTRIAL": 9, "QA-COMPENSACAO-INDUSTRIAL": 10 }, "principal_minor": 180000, "residual_exact": "300", "good_units": "10", "unit_cost_exact": "180", "initial_industrial_journals": 0, "actual_owner_workflow": true }, "actual_industrial_workflow": { "passed": true, "journal_id": 2, "journals": 1, "lines": 2, "events": 3, "principal_minor": 180000, "cost_per_unit": "180", "good_units": "10", "residual_exact": "300", "residual_not_posted": true, "source_outbox_rights_unchanged": true, "same_and_other_key_single_effect": true, "typed_filter_and_reports": true }, "regression": { "passed": true, "checks": 31, "cases": [ { "name": "exact-owner-impact-and-no-automatic-residual", "checks": 4, "passed": true }, { "name": "incomplete-result-and-current-dependencies", "checks": 2, "passed": true }, { "name": "same-amount-new-version-stales-capture", "checks": 3, "passed": true }, { "name": "live-permissions-person-and-config", "checks": 5, "passed": true }, { "name": "eligible-foreign-tenant-company-unit", "checks": 3, "passed": true }, { "name": "atomic-faults-recovery-and-no-second-recognition", "checks": 7, "passed": true }, { "name": "direct-origin-overlap-and-perimeter-immutability", "checks": 2, "passed": true }, { "name": "bounded-industrial-cards-and-hidden-panel", "checks": 4, "passed": true } ], "rollback_only": true, "source_outbox_rights_unchanged": true }, "extra_boundaries": { "passed": true, "checks": 10, "cases": [ { "name": "unapproved-result-and-non-cent-total", "checks": 3, "passed": true }, { "name": "production-not-completed-and-criterion-pending", "checks": 2, "passed": true }, { "name": "canonical-source-cannot-be-used-by-second-lot", "checks": 1, "passed": true }, { "name": "changed-posted-result-needs-future-correction", "checks": 2, "passed": true }, { "name": "whole-lot-period-must-fit", "checks": 1, "passed": true } ], "rollback_only": true, "source_outbox_rights_unchanged": true }, "actual_http": { "passed": true, "checks": 43, "actual_http": true, "actual_csrf": true, "principal_minor": 180000, "residual_exact": "300", "industrial_journals": 1, "industrial_lines": 2, "industrial_events": 3, "read_only_repeatable_read": true, "writer_locks": 0, "typed_reports_and_links": true, "visual_review": false }, "industrial_rendered_form": { "passed": true, "checks": 5, "rendered_javascript": true, "node_vm_only": true, "no_business_commands": true, "actual_browser": false }, "joint_workflow": { "passed": true, "checks": 18, "invoice_id": 1, "obligation_id": 1, "receipts": [ 2, 3 ], "allocations": [ 3, 5 ], "reversal_effect_id": 6, "invoice_journal_id": 8, "journals": 9, "lines": 19, "gross_debit_minor": 510500, "gross_credit_minor": 510500, "client_balance_minor": 40000, "financial_balance_minor": 40000, "period_closed": true, "origin_unchanged": true, "combined_checks": 33, "source_outbox_rights_preserved": true, "supplier_balance_minor": 6000, "cost_balance_minor": 29500, "typed_source_filters_separate": true, "joint_period_closed": true }, "joint_final": { "passed": true, "journals": 9, "lines": 19, "gross_debit_minor": 510500, "gross_credit_minor": 510500, "closures": 1, "current_industrial_source_matches_posted_evidence": true, "residual_exact": "300", "residual_not_posted": true, "closed_industrial_ui_without_commands": true, "all_industrial_outbox_still_captured": true, "panel_links_posted_industrial_journal": true }, "concurrency": { "passed": true, "workers": 6, "stale": { "waiting": { "a": { "chain_reaches_parent": true, "wait_event": "transactionid" } }, "read_before_release": { "status": 200, "amount_minor": 180000, "journals": 0 }, "results": { "a": { "status": 409, "message": "Resultado industrial actual completo e validado distintamente obrigatório." } }, "changed_effect_id": 9 }, "posting": { "waiting": { "b": { "chain_reaches_parent": true, "wait_event": "transactionid" }, "a": { "chain_reaches_parent": true, "wait_event": "tuple" } }, "read_before_release": null, "results": { "a": { "status": 200, "result": { "state": "posted", "proposal_id": 3, "journal_id": 2, "replayed": false } }, "b": { "status": 200, "result": { "state": "posted", "proposal_id": 3, "journal_id": 2, "replayed": false } } }, "changed_effect_id": null }, "joint_closing": { "waiting": { "b": { "chain_reaches_parent": true, "wait_event": "transactionid" }, "a": { "chain_reaches_parent": true, "wait_event": "tuple" } }, "read_before_release": null, "results": { "a": { "status": 200, "result": { "state": "closed", "closure_id": 1, "period_version": 2, "replayed": false } }, "b": { "status": 200, "result": { "state": "closed", "closure_id": 1, "period_version": 2, "replayed": false } } }, "changed_effect_id": null }, "journals": 9, "lines": 19, "gross_minor": 510500, "closures": 1, "original_result_and_outbox_preserved": true, "residual_exact": "300", "reader_finished_before_release": true }, "concurrency_final": { "passed": true, "journals": 9, "lines": 19, "gross_debit_minor": 510500, "gross_credit_minor": 510500, "closures": 1, "current_industrial_source_matches_posted_evidence": true, "residual_exact": "300", "residual_not_posted": true, "closed_industrial_ui_without_commands": true, "all_industrial_outbox_still_captured": true, "panel_links_posted_industrial_journal": true }, "team_readiness": { "passed": true, "checks": 40, "roles": 3, "no_business_commands": true, "forms_mock_checks": 4, "actual_browser": false, "visual_review": false, "initial_journals": 1, "initial_groups": 0, "initial_customer_openings": 0, "initial_closures": 0 }, "team_preservation": { "passed": true, "sources_outbox_rights_unchanged": true, "initial_industrial_journals": 0, "initial_closures": 0, "no_reset": true }, "old8057_preservation": { "passed": true, "old8057_industrial_flag_off": true, "new_schema_absent": true, "existing_three_panels_unchanged": true, "two_provider_packet_hash_unchanged": true, "observed_gross_minor": 27500, "source_outbox_rights_unchanged": true, "read_only": true } }, "private_evidence": [ { "file": "private/ledger-9784b53db6ec/industrial-fixture.json", "sha256": "90dcfa147b52ac19a12653bc2cb375c9fe3f2a432339d54f1795f4a6d207b601" }, { "file": "private/ledger-9784b53db6ec/industrial-workflow.json", "sha256": "1fbe6bc0d1b0d3882ab8f4a5b005ad682c32cf990d0277378b8405a63c5fe2aa" }, { "file": "private/ledger-1aa5762a0c16/industrial-cases.json", "sha256": "085cca2cbc57d5302e499aa67bd6d69cb948ca3878b3456b875cc8bf280f1b3a" }, { "file": "private/ledger-1aa5762a0c16/industrial-extra-cases.json", "sha256": "27aab4c701f11bd20378f2a87e3a37b4dbaaff387eb926cbcc9beee9f5c0f3cc" }, { "file": "private/ledger-1aa5762a0c16/industrial-http.json", "sha256": "f37d0868d94d56b5074584d4a00a770a858d383faf0e984cc71c78374c7b819b" }, { "file": "private/ledger-1aa5762a0c16/industrial-form-check.json", "sha256": "c99308acb405ff5d94576018e0ee82fee2485fb68a1d1e62da0d94578be1ba48" }, { "file": "private/ledger-1aa5762a0c16/composition-workflow.json", "sha256": "cfc6e70d148f8721b1fa4e55d4d48df330c46c55edc53627c789bb4abbee1ff3" }, { "file": "private/ledger-1aa5762a0c16/industrial-final.json", "sha256": "8940edb3eedc6f70c54aa438556393423793af4b9f61224690e68f5663ba30ae" }, { "file": "private/ledger-e3009c989fb2/industrial-race.json", "sha256": "7666eb40b6c387871dfced43064df668beec6ae1854d2b8f041c864f80ac41a0" }, { "file": "private/ledger-e3009c989fb2/industrial-final.json", "sha256": "8940edb3eedc6f70c54aa438556393423793af4b9f61224690e68f5663ba30ae" }, { "file": "private/ledger-072ef8124ab4/industrial-demo-http.json", "sha256": "29b989bf0747cb53560205cbb15055ce6cc682fae333dd4eb4be46b5cd6cd1a7" }, { "file": "private/ledger-072ef8124ab4/industrial-demo-preservation.json", "sha256": "12c0c4d5a95617b87ebd03dcf3ce931d1421a638b5d889c575af5d1bbbbb18cb" }, { "file": "private/ledger-fe42e1169ce6/composition-industrial-compatibility.json", "sha256": "5901b4685318d6416e6b00b192f860be277b4f0bbedd89b4ffa366f8ea258e35" }, { "file": "private/ledger-industrial-approved-scope.md", "sha256": "6044a9471b741db010f6d0509aacb56609624b05e83489311f8f5340cced108d" } ], "reused_manifests": [ { "file": "docs/proofs/common-ledger-composition-20261103.json", "sha256": "d64957d14dd6140b66fbb8569997ed941dab954046b56c38939202a2e63653a0", "private_artifacts_reused": true }, { "file": "docs/proofs/common-ledger-direct-cost-correction-20261103.json", "sha256": "2111a30006d24f4325c6f4292e9ffb567adf28950ffbfa76fbb9e8143a2fedb7", "private_artifacts_reused": true }, { "file": "docs/proofs/common-ledger-direct-cost-20261103.json", "sha256": "5354ac34eb27dd9c05564d8eb9694a90c3e8eceaf018e2873aa299aa54b6cf6e", "private_artifacts_reused": true }, { "file": "docs/proofs/common-ledger-sales-receivable-20261103.json", "sha256": "b5572466111fb85d89a604fbaa423976ed17c61afc5e2e45ba392fb23aa82e8c", "private_artifacts_reused": true }, { "file": "docs/proofs/common-ledger-reports-20261103.json", "sha256": "83b81a3401e4cfe8ea4c9d13339385f9241d0eefee5495da3e767812f0c863f1", "private_artifacts_reused": true }, { "file": "docs/proofs/common-ledger-complete-cycle-20261102.json", "sha256": "23657d594b84e6aeeb0d16d45790d54feca04b12e2260cfffa4f8e4a37eaa0ce", "private_artifacts_reused": true }, { "file": "docs/proofs/common-finance-bundle-20261103.json", "sha256": "086c1556e7cefcf64a7064995a4aa6bd0e3aa9dd62cba66285b7801715f9f22c", "private_artifacts_reused": true } ], "previous_private_artifacts_verified": 89, "frozen_bundles": [ { "files": 25, "manifest_sha256": "6a507ea7d708a12a8e526e4c610696d8db84079d18aede470237b65505630e7e", "all_bytes_preserved": true }, { "files": 30, "manifest_sha256": "cbc4ddbea15f5e396c92bc2e664b973138551928980f334bcf3eb0cf097cacb1", "all_bytes_preserved": true } ], "quality": { "syntax": { "php": 26, "js": 7 }, "diff_check_both_repositories": true, "unrelated_business_suites_not_repeated": true }, "source_files": [ { "file": "AGENTS.md", "sha256": "7585c74ee1d3a1631cfe55d7aebf87b7e8aebda5721efd4085e8d26febc3666a" }, { "file": "config/industrial_ledger.php", "sha256": "29613a0128f8b22db2f30fb7b498ea0ad5cae24633768552aca90e8ba589b976" }, { "file": "app/Modules/Industry/IndustrialCosts.php", "sha256": "55ad20b756d94d3d734886f8a6aae157a32916735f8af9fb6a3a5c69859beb45" }, { "file": "app/Modules/Accounting/IndustrialLedgerSource.php", "sha256": "7e72f7ed48dede5e8b719e906dc0ea104e1b19846f4b288632f65e4980c4662d" }, { "file": "app/Modules/Accounting/IndustrialLedgerController.php", "sha256": "ff3645bfb89e78211f4eead60eb65de32ea5f128136b652e4a24fcdf38529972" }, { "file": "app/Modules/Accounting/GeneralLedger.php", "sha256": "39cceb9ec129dc36ae272e5da07538a6e2d7be9bd536e48d4eed3c13a22045ad" }, { "file": "app/Modules/Accounting/GeneralLedgerController.php", "sha256": "25db29ca326a0e5d6f5ae74d0e127e55fdfb60abf152b82243c7eec83292e246" }, { "file": "app/Modules/Accounting/CostLedgerSource.php", "sha256": "4514a392e4900219826da3ffd62f26236a1dfcb5708f0d5f1ff3ab91cbbc6bc8" }, { "file": "app/Modules/Accounting/LedgerComposition.php", "sha256": "0b9f8edafef7c7417b5a3f76ae68ecb693f6884934aa8ade43a0051967c3b1a9" }, { "file": "app/Modules/Accounting/LedgerCompositionController.php", "sha256": "a84834c4471075642a642ad4bed669ba0a439c1a771e17db026113813c61debd" }, { "file": "app/Shared/Testing/TestingDatabaseGuard.php", "sha256": "475cd00bc67bf4e6ed9928170b1c19ff9be8d56b6ab56af783a654a789d7f9fb" }, { "file": "packages/general-ledger/bootstrap.php", "sha256": "4f1353a70e3fe3345cf6816e5d729c5c2d06a07546c958258c75deee0e6d9687" }, { "file": "packages/general-ledger/README.md", "sha256": "78ce127a398fc05d796b41b0c6de3c4748be3fd8c51f0c7539ffed60f6803a1a" }, { "file": "packages/general-ledger/src/IndustrialSchema.php", "sha256": "7ba834cea96e91c5a3d063fe99d4805a823a86e6cac371b3e12b6e46de39873a" }, { "file": "packages/general-ledger/src/PayableJournal.php", "sha256": "c7bd6de3ad850dbfe655c06a3f1f2d27507460260b7faa658fce4231756e9ffc" }, { "file": "packages/general-ledger/src/LedgerCycle.php", "sha256": "615e993a66794ab54012c4f6b02106ce1309d31d4066437714275f064d0a68a3" }, { "file": "packages/general-ledger/src/LedgerReports.php", "sha256": "13ba42d65494bdd65c3e534de6483b691f79231771cf6234748d400caa550968" }, { "file": "packages/general-ledger/ui/reports.php", "sha256": "519ea65b609c3b716dc08e50b2048518963b7991f625e61d190228a90c98ee88" }, { "file": "resources/views/accounting/industrial-ledger.blade.php", "sha256": "d705d844582005cce3c777057075b38f8f97885b898463162163cd0d5300f90a" }, { "file": "resources/views/accounting/industrial-ledger-demo-entry.blade.php", "sha256": "07475b98c5017e87c09ebd05f02415463e7c8980248aaa997345ab519e89800c" }, { "file": "resources/views/accounting/general-ledger.blade.php", "sha256": "758de16171114eff0b1bf5197d5db11d62e99af49ae8198f61efa5233c10fd09" }, { "file": "resources/views/accounting/ledger-composition.blade.php", "sha256": "7cd8ac7cfab684fc73e35752d3b157a3020365628262a7918d40ebce1ea365a0" }, { "file": "routes/web.php", "sha256": "426d7356c4d62278a637495fa8e908f64ad24131e347d0339e95d133f66ead7d" }, { "file": "scripts/payable-history-sgf-proof.php", "sha256": "16f564772fe5c0860734fcbf6368d915f2bb9af2bd9f2764f836325d426ccbe3" }, { "file": "scripts/ledger-cost-proof.php", "sha256": "73950d99939e5edf38556df73912d3807dc4ae3c2e9f7bab82d7464c6552bdbf" }, { "file": "scripts/ledger-cost-http-entry.php", "sha256": "c89ee42790efacb0220fe4e7e30c46e43fd731b0d2f249aa06bca7b8a99c2bf1" }, { "file": "scripts/ledger-cost-demo.mjs", "sha256": "59e86f3d067c8002c5ddd9729fbb8c02bfb2bdcc3bef39b5caf1df19fd7c1afc" }, { "file": "scripts/ledger-run.mjs", "sha256": "30897a856e1804051e65cfd145f3ff15e027123c4d8ac8713da85e0bc2944f1c" }, { "file": "scripts/ledger-composition-proof.php", "sha256": "dd32c47b8be2c45cc484704e25d105ef6467f81dda1882e085f42d99bea296da" }, { "file": "scripts/ledger-composition-workflow.php", "sha256": "2c376a5c4576ef67ca5d0bad1e1754e7c95211d6d75ee4d551f93a299e819825" }, { "file": "scripts/ledger-industrial-cases.php", "sha256": "b99f31a6c26093188fe71741f808a2b8151f578906ef77b9656fae4a0b8bb4db" }, { "file": "scripts/ledger-industrial-demo-check.mjs", "sha256": "c979354087d2349bae08d43ecfadc590ee4bb98217811198507a69fdda971424" }, { "file": "scripts/ledger-industrial-extra-cases.php", "sha256": "67706870888077f6d0cbe9e8fb10cf696e90bb17309480d5e626ce9fba708778" }, { "file": "scripts/ledger-industrial-form-check.mjs", "sha256": "fab3e40dad965bbc7206f4f3c05a4aaca75b3ef417d224ec4d0ef255012942e7" }, { "file": "scripts/ledger-industrial-http.mjs", "sha256": "1811c65444c111f9e6556b80acb249115ee2857e2c2151803e88f1e33b9d4763" }, { "file": "scripts/ledger-industrial-proof.php", "sha256": "5dcbfb55957a0eb7288e93037b19466a60d755b04ccafa7950c41029dad4f366" }, { "file": "scripts/ledger-industrial-race.php", "sha256": "255311ae488da28ec2f7cca4429e34739adb2aa4100af46c51df60a7f61a63d1" }, { "file": "scripts/summarize-ledger-industrial.mjs", "sha256": "1f29b5e5ffdd1f24f566b2f5b941c339626815117c75f9a16bb888feadd2a1a0" }, { "file": "scripts/inspect-module-flow-plan.mjs", "sha256": "f1b52208694e90dd6d5ed83792e97ee6f8772dddea8baefd29158b92b1f2bb59" }, { "file": "docs/integration/sgf-flow-plan.json", "sha256": "49c5c87cc1f7cbf63dadabdc81d92a8a04a98615d0c86d2acb6d097923c4c615" }, { "file": "docs/GENERAL_LEDGER_INDUSTRIAL_SCOPE.md", "sha256": "1f32ff86851f04181111d3ec0deaaa51f7582873bfcb469c9a055f3c04eefb4e" }, { "file": "docs/GENERAL_LEDGER_INDUSTRIAL_DELIVERY.md", "sha256": "a8655379552022c561f25b519e1ba30841afac350aa66b585c237d36b78aa2be" }, { "file": "docs/GENERAL_LEDGER_COMPOSITION_DELIVERY.md", "sha256": "07c6d002bc2ae1eb6d0926ee4d0b35cb6f0e5d2a65b8e6256aa5ca3b72caf11a" }, { "file": "README.md", "sha256": "1d0ed8cc7fd6fbdfd96af17da450151343e8eb0b020751b80bc9d5c0f4327938" }, { "file": "docs/PRODUCT_DEMO.md", "sha256": "2d8d14a2b709869ed04a75f4201f7eee3ef7fe2f177ca340f71ff806ba7907a6" }, { "file": "docs/SGF_MODULE_FLOW_PREPARATION.md", "sha256": "ec95aa485e47c8c4efd0e492128c8b0c969908f76cf491597876a39c330e3a46" } ], "static_flow_inventory": { "file": "docs/proofs/module-flow-industrial-update-20261103.json", "sha256": "4d660a11058dda4db8c841cdfd05d3993eb550ef7e3d2b6d33c550d4bc47fbfa", "modules": 6, "stages": 13, "sources": 32, "mandatory_cycles": 0, "database_connections": 0, "operational_validation": false }, "team_demo": { "tag": "072ef8124ab4", "pid": 25536, "url": "http://127.0.0.1:8058/qa/cost-demo", "cookie": "sgf_cost_072ef8124ab4", "loopback_only": true, "separate_team_database": true, "old_demos_not_reset": true }, "observed_result": { "industrial_journals": 1, "industrial_lines": 2, "industrial_minor": 180000, "units": "10", "unit_cost_exact": "180", "unposted_residual_exact": "300", "joint_journals": 9, "joint_lines": 19, "joint_debit_minor": 510500, "joint_credit_minor": 510500, "client_balance_minor": 40000, "direct_cost_balance_minor": 29500, "supplier_balance_minor": 6000, "joint_closures": 1 }, "preservation": { "old8057_source_outbox_rights_match_original_baseline": true, "old_composition_provider_packet_unchanged": true, "six_pending_records_untouched": true, "blocked_cache_untouched": true, "old_demos_not_reset": true, "destination_unchanged": true, "private_credentials_not_versioned": true, "unrelated_work_preserved": true }, "limits": { "visual_review_pending": true, "actual_browser": false, "large_volume_measurements": false, "deployment_capacity_validated": false, "all_six_modules_operationally_complete": false, "industrial_correction": false, "period_reopening": false, "stock_valuation_or_payroll": false, "real_financial_operations": false, "destination_migrations_or_grants": false, "purchasing_activation": false, "publication": false, "checkpoint": false, "acceptance_presumed": false } }