146 lines
7.5 KiB
JSON
146 lines
7.5 KiB
JSON
{
|
|
"date": "2026-11-22",
|
|
"status": "native_tariff_master_proposals_buyer_confirmation_order_freezing_and_customs_receipt_link_verified_in_isolated_QA",
|
|
"source_requirements": "rq01-import-reconciliation.json",
|
|
"source_sections": [
|
|
"10.1",
|
|
"10.2",
|
|
"10.6"
|
|
],
|
|
"implemented": [
|
|
"Versioned material-master tariff code and documentary source, preserving native stock facts",
|
|
"Explicit material selection or manual per-requisition-item proposal; unknown code stays null",
|
|
"Current Procurement confirmation retains proposed/final code, source, actor and deviation reason",
|
|
"Immutable historical versions, stale-master/version refusal, actor-bound operation replay and transactional audit",
|
|
"Company/request/item scope, current membership revalidation and existing material-catalog visibility",
|
|
"Private encrypted-history forms, remembered data, departure protection, pagination and contextual help",
|
|
"New native normal/partial/consolidated orders freeze confirmed imported-item classifications; unconfirmed marked items reject before budget effects",
|
|
"Order screen, native Blade print and landed-cost workspace reuse the frozen order classification, preserving existing documents",
|
|
"Classified imported orders require a native import process and independent customs release before usable receipt; arrival alone remains insufficient; replay preserves one physical movement"
|
|
],
|
|
"verification": {
|
|
"SQLite": {
|
|
"tests": 5,
|
|
"assertions": 49,
|
|
"log": "storage/logs/import-tariffs-final-native.txt",
|
|
"uses_default_installed_common_runtime_without_landed_financial_dependency": true
|
|
},
|
|
"PostgreSQL_with_native_requisition_catalogue": {
|
|
"tests": 9,
|
|
"assertions": 112,
|
|
"log": "storage/logs/import-tariffs-catalogue-current-pg.txt",
|
|
"database": "compras_receipts_test_30a47ee88442",
|
|
"database_removed": true
|
|
},
|
|
"frontend_help": {
|
|
"tests": 8,
|
|
"log": "storage/logs/import-tariffs-help-tests.txt"
|
|
},
|
|
"phpstan": "passed_zero_errors",
|
|
"typescript": "passed",
|
|
"scoped_format_lint": "passed",
|
|
"private_build": {
|
|
"exit_code": 0,
|
|
"manifest_sha256": "f3bbf5518a88e3af4646f933856c95e2e9f51d246e357ffd31211bba88a01e5f",
|
|
"log": "storage/logs/import-tariffs-links-private-build.txt"
|
|
},
|
|
"native_visual_mobile_print": "pending; no new browser proof claimed",
|
|
"PostgreSQL_native_order_connection": {
|
|
"tests": 8,
|
|
"assertions": 212,
|
|
"log": "storage/logs/import-tariffs-orders-isolated-pg.txt",
|
|
"database": "compras_receipts_test_8fca1b135f98",
|
|
"database_removed": true
|
|
},
|
|
"PostgreSQL_foreign_legacy_approval_regression": {
|
|
"tests": 8,
|
|
"assertions": 157,
|
|
"log": "storage/logs/import-tariffs-order-regression-pg.txt",
|
|
"database": "compras_receipts_test_d59f03cc3ae3",
|
|
"database_removed": true
|
|
},
|
|
"SQLite_latest_validation_delta": {
|
|
"tests": 5,
|
|
"assertions": 53,
|
|
"log": "storage/logs/import-tariffs-link-validation-tests.txt"
|
|
},
|
|
"SQLite_cost_classification_connection": {
|
|
"tests": 22,
|
|
"assertions": 163,
|
|
"log": "storage/logs/import-tariffs-links-native-tests.txt"
|
|
},
|
|
"SQLite_customs_receipt_connection": {
|
|
"tests": 1,
|
|
"assertions": 25,
|
|
"log": "storage/logs/import-tariffs-receipt-tests.txt"
|
|
},
|
|
"PostgreSQL_receipt_stock_regression": {
|
|
"tests": 45,
|
|
"passed": 44,
|
|
"assertions": 531,
|
|
"result": "one_test_only_aggregate_type_mismatch_then_corrected_in_focused_delta",
|
|
"log": "storage/logs/import-tariffs-receipt-pg.txt",
|
|
"database": "compras_receipts_test_d467be2a92ad",
|
|
"database_removed": true,
|
|
"focused_corrected_case_log": "storage/logs/import-tariffs-catalogue-receipt-delta-pg.txt",
|
|
"complete_suite_rerun_claimed": false,
|
|
"focused_corrected_case": {
|
|
"tests": 1,
|
|
"assertions": 30,
|
|
"database": "compras_receipts_test_721d1ad1998c",
|
|
"database_removed": true
|
|
}
|
|
},
|
|
"harness_isolation_regression": {
|
|
"tests": 4,
|
|
"assertions": 13,
|
|
"log": "storage/logs/import-tariffs-isolation-tests.txt",
|
|
"separate_Pest_kernels_cannot_reuse_one_database": true
|
|
},
|
|
"failed_diagnostic_attempts": [
|
|
{
|
|
"log": "storage/logs/import-tariffs-issuance-pg.txt",
|
|
"cause": "Full 87-declaration purchase-order suite exceeded the existing 180-second process limit; no pass claimed; disposable database removed"
|
|
},
|
|
{
|
|
"log": "storage/logs/import-tariffs-issuance-partitioned-pg.txt",
|
|
"cause": "Own harness reused a PostgreSQL database across Pest kernels; migration functions persisted. Corrected to separate disposable databases and guarded by regression tests; failed database removed"
|
|
}
|
|
],
|
|
"phpstan_final_log": "storage/logs/import-tariffs-complete-phpstan.txt"
|
|
},
|
|
"preserved": {
|
|
"operational_flag_default": false,
|
|
"operational_installation_activation": false,
|
|
"new_schema_migration": false,
|
|
"existing_orders_approvals_stock_or_financial_facts_changed": false,
|
|
"legal_rates_exemptions_licences_bank_or_JUE_activated": false,
|
|
"pilot_manifest_sha256": "1edb9ab0aa62fcf4e9c9075ce6e405de5435dc8ea4799d1949535a96c718df4e"
|
|
},
|
|
"remaining_authorized_work": [
|
|
"Official versioned tariff/legal suggestions, applicability and supporting-document rules; no active legal calculation is inferred from the Word summary",
|
|
"Native visual/mobile/print and operational readiness; product acceptance remains pending",
|
|
"Typed shipment/customs dossier, broker/forwarder conflicts and bank documentary tracking; whole-order import scope remains as the existing logistics model",
|
|
"Complete official-rule and import-estimate reconciliation plus remaining global SGC requirements"
|
|
],
|
|
"source_sha256": {
|
|
"app/Services/ImportTariffCodes.php": "cc0a7f9a2f5fd17612585ee8a2921bd9774c94cb7b17e01e51f93ef14e3725c6",
|
|
"app/Http/Controllers/ImportTariffController.php": "1ca9e66f793f429ea73da5271efd41fad6778fea0616bd63bd0ebd4181531bda",
|
|
"config/import-tariffs.php": "2153ea384c8396493f8b559265be4c4a27d2e12fb0184c6670da9bab5887b2af",
|
|
"resources/js/pages/supply/import-tariffs.tsx": "7fba4d5ad408697247e0f17be29b1aae3396cd8307a799cdb7599f9a6a5a693b",
|
|
"tests/Feature/ImportTariffCodesTest.php": "4c4bf70dc1792e88c5fe9742227f210d17d0035253ad2ac0365a78084ee010ea",
|
|
"app/Services/PurchaseWorkflow.php": "10d94902b74b7d8963b147e50e595fec9b954e1252e33fdbe6c77ebcd25e46f6",
|
|
"app/Services/OrderPartsWorkflow.php": "8b22d222e08639697c6c9ac730f4209f901bb890bc7f21c552724615bf2dbc41",
|
|
"app/Services/ReceiptWorkflow.php": "d5dd38f74ae29b327db712369a80287111d19f9a817b5a25bb599533be34b5ae",
|
|
"app/Services/ImportLandedCosts.php": "b66aa5cc35157606d87af70389fed40465dabadbc43d95a9b4e32d085ca5852e",
|
|
"resources/js/components/import-tariff-summary.tsx": "940095b110cdb281b0c1e2f83f313187798e0455f8a41cc1b4f19da54f49608d",
|
|
"resources/js/pages/supply/import-costs.tsx": "554e467262a4de71457521d9f14b1d052547b39bf43d95ceae4c287815beb702",
|
|
"resources/views/purchases/print.blade.php": "cd36077156a670995b8b6b8c38d6a6d843cb9e5d079ad0664885cfac5d4e5bdb"
|
|
},
|
|
"own_corrections": [
|
|
"Each Pest kernel now has its own disposable PostgreSQL database; mandatory proof helper is loaded before command isolation checks",
|
|
"Raw catalogue receipt SUM comparison normalised as an exact string for SQLite/PostgreSQL; expected 1000 remains unchanged",
|
|
"Receipt linkage corrected so a newly classified import cannot enter usable stock without a native import record and customs release"
|
|
]
|
|
}
|