{ "date": "2026-11-22", "status": "native_documentary_and_per_origin_financial_commands_verified_in_isolated_QA_remaining_import_requirements_in_progress", "authorization": "import-landed-cost-contract-authorization.json", "source_specification": "rq01-import-reconciliation.json", "implemented": [ "Common exact per-document/per-creditor reconciliation with frozen MZN references", "Native private customs/additional-charge evidence with hash checking and immutable corrective versions", "Finance-only isolated-QA recording, source scope/conflict checks and native invoice resolution", "Recoverable preparations, operation replay protection, stale-source checks and independent review", "Authenticated forms, private evidence download, specific help and paginated sources/history", "Existing validated invoice principals and budget effects are preserved; no fictional supplier invoice", "Common reserve/commit/consume/amend/cancel with per-source positions, consumed floors, explicit financial revision and one audit/effect per operation", "Native financial receipts atomic with common effects; a failing receipt insert rolls back commands, entries and audit", "Mixed consumed/reserved states and reviewed late costs; only the incremental amount is encumbered", "Logistics-only versions retain financial review and recoverable forms; cost context and documentary changes require a new independent review", "Optional cost-to-native-item references frozen with item descriptions and quantities; no monetary allocation or stock writer", "Bounded console inspection of historical private import evidence, hashes, missing/altered/orphan files and aggregate non-identifying output" ], "verification": { "SQLite_native_and_operational_health": { "tests": 22, "assertions": 146, "log": "storage/logs/import-landed-cost-health-tests.txt" }, "PostgreSQL_native_common_logistics_financial_operational_regression": { "tests": 147, "passed": 147, "assertions": 846, "database": "compras_receipts_test_626672ea66d6", "database_removed": true, "log": "storage/logs/import-landed-cost-final-pg.txt" }, "real_PostgreSQL_concurrency": { "log": "storage/logs/import-landed-cost-v2-concurrency.txt", "database": "compras_receipts_test_a9f806b6f779", "database_removed": true, "scenarios": [ "same_operation: [200,200], one command/audit", "conflicting_plan_version: [200,409], one command/audit", "same_source_different_plan: [200,409], one command/audit" ], "blocked_writers_observed_per_scenario": 2, "older_installed_V1_and_whole_source_QA_v1_rejected_before_balance": 503 }, "same_role_PostgreSQL_recovery": { "log": "storage/logs/import-landed-cost-v2-recovery.txt", "previous_tables_preserved": 115, "optional_tables": 2, "post_restore_all_tables_equal": true, "mixed_consumed_2000_reserved_500_replay_no_new_effect": true, "pre_extension_schema_data_balance_restored": true, "source_database_removed": true, "restore_database_removed": true, "before_dump_sha256": "6686cc91265dc9a438489d863f5ebd9adc74004ff269aa3a9c4e753ab9862e6d", "after_dump_sha256": "9a77a7106b98a47bea71d9ea0ebdc561ec1162c77fe51f40ddc2f7c5a365fbff" }, "frontend_parser_and_help": { "tests": 17, "log": "storage/logs/import-landed-cost-v2-ui-tests.txt" }, "native_visual": "pending; prior Computer Use URL-confidence interruption preserved; no bypass/retry claimed", "phpstan": "passed_zero_errors", "typescript": "passed", "scoped_format_and_lint": "passed", "private_build": { "exit_code": 0, "manifest_sha256": "51df871f351e8781a1e657651e5924f799da26fe2fad0e096a6d7836aef9556b", "log": "storage/logs/import-landed-cost-final-build.txt" }, "private_evidence_SQL_recovery": { "log": "storage/logs/import-landed-cost-evidence-recovery.txt", "original_versions_restored": 2, "actual_synthetic_source_loss_detected": true, "separate_private_root_restored": true, "native_authorized_evidence_resolved": true, "evidence_manifest_sha256": "a3600e017e1b2c69787d0edd4917929b11d76a9ee2cf0d63d9eb5f5a5fe4eba6", "post_extension_all_SQL_tables_equal": true, "pre_extension_schema_data_balance_restored": true, "source_database": "compras_receipts_test_e92f309b1085", "restore_database": "compras_receipts_test_86a38a1f959d", "both_databases_removed": true, "not_a_rendered_PDF_or_commercial_backup_service_proof": true }, "SQLite_final_native_health_protocol_delta": { "tests": 25, "assertions": 157, "log": "storage/logs/import-landed-cost-evidence-final-tests.txt" }, "latest_shared_private_build": { "manifest_sha256": "f3bbf5518a88e3af4646f933856c95e2e9f51d246e357ffd31211bba88a01e5f", "log": "storage/logs/import-tariffs-links-private-build.txt", "exit_code": 0 } }, "own_corrections": [ "Multipart monetary strings are validated and normalised as exact cent integers, with an authenticated-route regression", "Older documentary values and bytes remain immutable after correction; stale preparations reject superseded sources", "Mandatory concurrency/recovery receipts prevent Laravel CLI exit-zero failures from being accepted as proofs", "Multipart money and financial revision normalized without floating arithmetic; stale financial revision rejects the action", "Legacy invoice roles cannot acquire another financial source identity; same document version cannot change amounts", "Operational text output updated for the additional inspection and covered by native CLI regression" ], "remaining_authorized_work": [ "Landed-cost estimates before actual documentary sources, consumed-cost credit/refund handling if required by reconciled native contract", "Further import requirements: tariff codes, broker/forwarder conflicts, typed dossier/JUE manual evidence, bank documentary support and versioned legal sources/alerts", "Full native visual/mobile/print review, operational proposal and business acceptance", "Operational backup/service configuration and capacity in the actual authorized destination; QA private-file recovery is proven separately" ], "preserved": { "pilot_manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e", "operational_flag_default": false, "real_data_or_permissions_changed": false, "bank_JUE_tax_activation_or_stock_valuation_changed": false, "operational_migration_or_activation": false }, "source_sha256": { "bootstrap.php": "2ca32e23f75107c24e716d5935ed95b2e45a1b7bb4706adbd6d67a518f117984", "src/BudgetControl.php": "d81f8fb172683727c221395224cecf9acb8285ab94e71e914141d41cf9e79efa", "src/BudgetDistributions.php": "fb353e47c335728798a0e653653d4fdecd5cdce7659eefcaa74c028daafbb35f", "src/BudgetOrderParts.php": "f639248062c43e4292a09473b9e722607fd5fc7f2a5e31173ee604913406be58", "src/BudgetLandedCostPlan.php": "5a9f26b3d50abcb0bdc20c5571012da37b1f6403587ca68ea9573f08891f8c7a", "src/BudgetLandedCosts.php": "59b4847040d4aaab42e8ec2e8a528dca92d14cb3272ff242981de93e36cf54c1" }, "host_sha256": { "app/Services/ImportLandedCosts.php": "b66aa5cc35157606d87af70389fed40465dabadbc43d95a9b4e32d085ca5852e", "app/Services/ImportCostDocumentHealth.php": "282a1cab2c6f3e14d93efbde280c699d12a284828a6e19cdb894e3bf46a3b923", "app/Services/OperationalHealth.php": "b19f8a366c9f05848e8e4b4173ef0c9cac19fdcd36eff4c0d5e21dd21083f5f3", "app/Console/Commands/OperationsCheck.php": "1787d325f4eebd4b0196eb7685514c61ba9b1cd67a7a38d55ceb6cf03eba80fe", "app/Http/Controllers/ImportLandedCostController.php": "914951bf60c67fb2b348f95332938cb32a287172fec8e05d34de91e28939b03f", "resources/js/pages/supply/import-costs.tsx": "554e467262a4de71457521d9f14b1d052547b39bf43d95ceae4c287815beb702", "config/import-landed-costs.php": "926005d192572657858bfe6194e2ce2ba34707e4a1fb128229e81c97d7acc55b", "database/qa-migrations/2026_11_22_000009_create_budget_landed_costs.php": "c2b0a799157eab74da91c0c508887c7c1e80f171273f14190602ef7dbdb59828" }, "financial_contract": "COMMON-BUDGET-LANDED-COST-QA-v2", "qa_schema": { "path": "database/qa-migrations/2026_11_22_000009_create_budget_landed_costs.php", "outside_default_migrations": true, "source_snapshot_required": true, "applied_only_to_disposable_test_databases": true, "operationally_applied": false } }