Files
SGF/docs/proofs/order-composition-20261103.json
2026-11-04 09:37:20 +02:00

287 lines
12 KiB
JSON

{
"date": "2026-11-03T10:08:43.984Z",
"increment": "SGF-ORDER-TO-RECEIPT-QA-v1",
"functional_code": true,
"passed": true,
"checks": 49,
"tests": {
"workflow": {
"file": "private/receipt-composition-f4a9b4e1ef34/order-result.json",
"sha256": "e34a4e09eb1721dc844325e990088a97fdfb1b59465144d7a63c71728b6cfeaa",
"checks": 28,
"result": {
"passed": true,
"checks": [
"new composition starts before order issuance and receipt",
"SGF lists only the explicitly mapped approved award",
"functional SGF order workspace is mounted",
"procurement profile can confer an unissued approved award",
"warehouse profile cannot issue an order",
"another tenant award cannot enter the bound unit",
"read-only order right cannot prepare issuance",
"preview describes approved data without downstream effects",
"preview creates no order",
"tampered issuance preview is refused",
"changed agreed source requires a new conference",
"SGF issue permission is revalidated after preview",
"native procurement eligibility is revalidated on issuance",
"final approver must remain eligible in the original workflow",
"failure of SGF provenance prevents a successful issuance response",
"order lines budget commitment and original audit roll back together",
"two independent workers recover one canonical issuance",
"concurrent requests never create a second order",
"original common budget records exactly one100MZN commitment",
"original issuance and SGF provenance are each recorded once",
"order issuance does not receive stock or create an invoice",
"issued original document replaces the issue action",
"order becomes visible to warehouse through explicit source requisition binding",
"issuing and receiving functions remain distinct",
"SGF-issued order receives once through the original receipt workflow",
"receipt history traces back to the actually issued SGF order",
"complete approved order-to-receipt path reaches completion",
"receipt creates neither supplier invoice nor budget consumption"
],
"orders": 1,
"commit_minor": 10000,
"receipts": 1,
"movements": 1,
"physical_milli": 1000,
"order_to_receipt_complete": true,
"original_workflows": true,
"concurrency_statuses": [
200,
201
],
"visual_review": false,
"deployment_capacity_validated": false
}
},
"guards": {
"file": "private/receipt-composition-f4a9b4e1ef34/order-guards.json",
"sha256": "f39422d27c05dac5e69aaec0ab6ec27214ae657c45a9aa2485a81c274938cbc5",
"checks": 3,
"result": {
"passed": true,
"checks": [
"disabled order runtime refuses before SQL",
"disabled order endpoint refuses before SQL",
"production cannot activate QA issuance"
],
"database_queries": 0,
"business_writes": 0
}
},
"demonstration": {
"file": "private/receipt-composition-dc8a83df6a24/order-demo-smoke.json",
"sha256": "e82561c35dcad21c0946d0110996c9b75ec6dfe38ec0dda30f9d71cdc48ac987",
"checks": 9,
"result": {
"passed": true,
"checks": [
"new demonstration preserves unconsumed order and receipt decisions",
"demo has exact order authority for actor",
"order workspace is live",
"demo has exact order authority for issuer",
"demo has exact order authority for validator",
"warehouse waits for issued orders in the same composition",
"served order interface matches source",
"read-only demonstration smoke creates no commitment",
"all initial canonical evidence remains unchanged"
],
"before": "5e900986891e6686df70c53d9e2bb64121ac2365ff3b53de4aaa3e8280293252",
"after": "5e900986891e6686df70c53d9e2bb64121ac2365ff3b53de4aaa3e8280293252",
"orders": 0,
"receipts": 0,
"movements": 0,
"commitments": 0,
"visual_review": false
}
},
"assets": {
"file": "private/receipt-composition-dc8a83df6a24/order-demo-assets.json",
"sha256": "91b034db4e5b013eaac5a8c7f0a9cea6fb7473b6f35eb1bdd09cb0baf4b13614",
"checks": 3,
"result": {
"passed": true,
"checks": 3,
"assets": [
{
"file": "assets/app-BxyAGH3A.js",
"sha256": "ac29aa5dad2da3a74165f2637d65df0076f6f87a2ac11eb30c77cc104e806bd7"
},
{
"file": "assets/app-BLSNCrO7.css",
"sha256": "ad7650d0b0f7cc40783126a677d419b058f9f1494ae25f194c6d4b32f87ce657"
}
],
"root_status": 200,
"visual_review": false
}
},
"navigation": {
"file": "docs/proofs/order-home-20261103.json",
"sha256": "cf952b4d466fea9ff30ffa0b076b173841fea77b507137feee059faa7daf3757",
"checks": 6,
"result": {
"passed": true,
"checks": 6,
"names": [
"explicit capability right and unit expose order workspace",
"absent order right hides link",
"wrong unit right hides link",
"disabled order capability hides link",
"unit selection required",
"existing receipt link remains available"
],
"source": "resources/js/PurchasingHome.jsx",
"sha256": "635ee0728b26d0341212552c07430200d17386278af33444d7fee3bdda4d371b",
"visual_review": false
}
}
},
"sources": [
{
"file": "app/Modules/Purchasing/OrderController.php",
"sha256": "958468211587591669c506560b050ada21e1058fe353d3f09950474380e4724a"
},
{
"file": "app/Modules/Purchasing/ReceiptRuntime.php",
"sha256": "351f27debde9eedf2b1b967fcb06f4274c6c77f33fab2801f849fca1016a63ae"
},
{
"file": "app/Modules/Purchasing/ReceiptController.php",
"sha256": "d448d3304e85ff9d1e0b8736612ace04ac5e08c487872d2204c37752a248ab6c"
},
{
"file": "config/receipt_qa.php",
"sha256": "4bd963b4c59400edfaac136a23d1822e56e8b1dfb39c1112326e62efe32cc4be"
},
{
"file": "routes/web.php",
"sha256": "e0d77fcbe854e2e218cf257d4ba57fae300e12fc75cb319f2ad8000579099797"
},
{
"file": "app/Shared/Context/ModuleNavigation.php",
"sha256": "76dcd8ca4f3c39c8db183a5db5eff523d78dd18da1b21e09745f4a488865514c"
},
{
"file": "app/Modules/Identity/Services/IdentityWorkflow.php",
"sha256": "9cf56b0b1ac4d85448fce9865d90fa60d6dd3f3004b6d5343d4244eccf22fa86"
},
{
"file": "resources/js/PurchasingHome.jsx",
"sha256": "635ee0728b26d0341212552c07430200d17386278af33444d7fee3bdda4d371b"
},
{
"file": "resources/views/order-workspace.blade.php",
"sha256": "e5302fffe7a76f9675fb04eacc544ba6e423a4af311c66e7e550f826253b014e"
},
{
"file": "public/order-workspace.mjs",
"sha256": "a17bcf3dbf77495c26b19113a0fa3a455ae69e64ea7fe28f83b1e9e1aea3d8fc"
},
{
"file": "scripts/order-native-setup.php",
"sha256": "66ffb007b20c95a9aa128424c2dcc21fad98a0568330174a12e0fe24a0024139"
},
{
"file": "scripts/order-host-setup.php",
"sha256": "fb79f2edaa828cdfa3640a1dc86f40f412280ac9b4d8f06450472c52a86e044d"
},
{
"file": "scripts/order-composition-proof.php",
"sha256": "32a1c29350b94f968e8cd9d2a87690933e662c2588988543add5c3237baa8fd7"
},
{
"file": "scripts/order-guard-proof.php",
"sha256": "ba8022caf7d2f93db63ec9a309133b4e5301c8a018594e088be3739f926ee37f"
},
{
"file": "scripts/order-demo-smoke.php",
"sha256": "82886eebc3a16ca9fe20a14802fbee7c9e76c3c0aba79950eb9b3c31f030222f"
},
{
"file": "scripts/receipt-composition-run.mjs",
"sha256": "ee434e708d4e6ffe0d087e27a420f984f530d4730d149b559e90991ffba6e65e"
},
{
"file": "scripts/receipt-composition-http.php",
"sha256": "41f5fd174fe77a75ea1c3e156afddbb25f2fc312c2d86fc2d30518311f1cb631"
}
],
"bundled": {
"receipt-composition-f4a9b4e1ef34": {
"native_manifest_sha256": "abbd12edb596e517924caf6f09dda29a3d1e786aaa47992a08625419d9d7aec6",
"economic_manifest_sha256": "8b2d3aa61054e0edc54fcd818467eb2bacb5e1178f903b12ab44119e0f2e8d2e",
"purchase_workflow_original_sha256": "84f9db1286058087ecb8cf08c64fcd3afc94c91d1509b985b634a3fcafd81295",
"receipt_workflow_original_sha256": "a7325d4fdb09d1767d0d4fa3661bcf9b254e8506285080d6063bbed487bb522c"
},
"receipt-composition-dc8a83df6a24": {
"native_manifest_sha256": "abbd12edb596e517924caf6f09dda29a3d1e786aaa47992a08625419d9d7aec6",
"economic_manifest_sha256": "8b2d3aa61054e0edc54fcd818467eb2bacb5e1178f903b12ab44119e0f2e8d2e",
"purchase_workflow_original_sha256": "84f9db1286058087ecb8cf08c64fcd3afc94c91d1509b985b634a3fcafd81295",
"receipt_workflow_original_sha256": "a7325d4fdb09d1767d0d4fa3661bcf9b254e8506285080d6063bbed487bb522c"
}
},
"approved_source_created_by_native_select_and_distinct_decide": true,
"qa_rights": [
"purchasing_orders.view",
"purchasing_orders.issue"
],
"demo": {
"url": "http://127.0.0.1:8065/qa/enter/actor?open=1",
"warehouse_url": "http://127.0.0.1:8065/qa/enter/validator?open=1",
"review_url": "http://127.0.0.1:8065/qa/enter/issuer?open=1",
"initial_orders": 0,
"initial_receipts": 0,
"initial_movements": 0,
"initial_commitments": 0,
"initial_reserved_minor": 10000,
"port": 8065
},
"prior_proofs_preserved": [
{
"file": "docs/proofs/receipt-composition-20261103.json",
"sha256": "c63f17f323db8e7374e60a2b4640d444f0e3153384c5f9c65426d300c258a5bd"
},
{
"file": "docs/proofs/module-association-consolidation-summary-20261102.json",
"sha256": "8f693f39763ee21a22ebd3929d95ba1480f339eca18742fa53055c69eb5219ef"
},
{
"file": "docs/proofs/requisition-composition-20261103.json",
"sha256": "8e4e7a113274b16f9e1d6882ae4f0bf04eb3e9c0d580cf1743fdfe248458f67e"
},
{
"file": "docs/proofs/common-ledger-stock-valuation-20261103.json",
"sha256": "a4eed51a66988ab103770a4be789952b2f377a8e7c41608bbf34662a80745124"
}
],
"preservation": {
"installed_purchasing_sha256": "81899e531e9eec449717e694d8bdc106a9e220a828f5491ce918c1d2dc612787",
"previous_receipt_demo_manifest_sha256": "5035f3e5c2ad5f5813604c3c3fe5342e784c8e8f22df3b4dea2379254d51879c",
"protected_six_records_changed": false,
"blocked_cache_cleared": false,
"existing_demos_written": false,
"real_rights_changed": false,
"purchasing_activated_at_destination": false,
"publication": false,
"checkpoint": false
},
"diagnostics": {
"initial_attempt_preserved": true,
"reason": "ProposalComparison requires original ProposalScoring/QuotationPricing; those exact files are now pinned and loaded separately from the unchanged installed module."
},
"limitations": [
"Entry is an already approved native synthetic award, not yet a supplier-selection/award interface in SGF.",
"No implicit bridge or duplicated budget between SGF requisitions and native awards; the selected source budget alone receives the commitment.",
"Original native snapshot retains legacy budget_checked=false alongside its actual budget_control evidence.",
"One-unit100MZN/zero-tax selected scenario; no real tax or commercial policy validation.",
"New QA roles own their databases; installation/owner-runtime separation and long-lived worker deployment remain unvalidated.",
"No publication, purchasing destination activation, financial settlement, accounting or change of protected real associations.",
"Visual review, sustained load and deployment capacity remain separate."
],
"visual_review_pending": true,
"deployment_capacity_validated": false
}