Files
SGF/docs/proofs/stock-receipt-link-20261102.json
2026-11-02 20:29:34 +02:00

144 lines
5.2 KiB
JSON

{
"date": "2026-11-02",
"increment": "COMMON-RECEIPT-STOCK-SIM-v1",
"status": "native_receipt_shared_effect_and_sgf_read_verified",
"tests": {
"native_link": {
"tests": 1,
"assertions": 33,
"errors": 0,
"failures": 0,
"sha256": "39f751da24e4286672e9e7f68da1772ae7639942c20cd50c0dd089d61759a2a4"
},
"affected_receipts": {
"tests": 31,
"assertions": 193,
"errors": 0,
"failures": 0,
"sha256": "15d58947c8e9c8999b53708fc52f33c913d62efb55e3df3f537eb700af04acf9"
},
"affected_lot_receipts": {
"tests": 3,
"assertions": 20,
"errors": 0,
"failures": 0,
"sha256": "08343998fa8b9f33580adc3e697d7071e0a4649252fb30c5ea1d68683c6b9344"
},
"final_native_adapter_replay": {
"tests": 1,
"assertions": 8,
"errors": 0,
"failures": 0,
"sha256": "186385af4fa5f1b2eaf1dab0c117c5a8ab56419adb17b2da386ceac66726d1d8"
},
"sgf_functional": {
"tests": 2,
"assertions": 77,
"errors": 0,
"failures": 0,
"sha256": "c7d7a56e52f132dc549ff940d8413fa35fea4f650922a77b57a644ecfd97fdbd"
},
"sgf_actual_book_link": {
"tests": 1,
"assertions": 31,
"errors": 0,
"failures": 0,
"sha256": "6c4c5c8888bb2f63ced27a96d86771993531cdbfae060d64ea7495d4659dc20c"
}
},
"scenario": {
"first_received_milli": 6000,
"first_accepted_milli": 4000,
"first_rejected_milli": 2000,
"second_received_milli": 2000,
"second_accepted_milli": 0,
"second_rejected_milli": 2000,
"final_physical_milli": "4000",
"movement_count": 1
},
"source_hash_stale_refused": true,
"core_replay_same_movement": true,
"fault_atomic_and_recovered": true,
"concurrency": {
"actual_lock_wait": true,
"wait_event": "transactionid",
"same_receipt": true,
"one_movement": true
},
"same_native_movement_observed_by_sgf": true,
"read_does_not_copy_or_mutate_stock": true,
"source_connection_failure_503_and_recovery": true,
"package": {
"id": "tempo-inventory-receipt-write",
"version": "0.1.0",
"files": {
"bootstrap.php": "b6ea8939536008c9277724216df2a968f416d9e7374189587a1172c02ecacb75",
"src/ReceiptMovementWriter.php": "279cec2ec915e27cf431355fca1e36f21cb3c15a77d02834723a41ec7a6f8f40"
},
"manifest_sha256": "f0b99e591f9a4df135e685f64ceffad77bed259222debe0f34c20f95e3cad800",
"canonical_and_artifact_identical": true
},
"source_hashes": {
"packages/inventory-write/src/ReceiptMovementWriter.php": "279cec2ec915e27cf431355fca1e36f21cb3c15a77d02834723a41ec7a6f8f40",
"app/Modules/Inventory/StockReadController.php": "c6131733974b6902c556593709729356769d11aea9eada3fc5397246102068f4",
"../compras/app/Services/ReceiptWorkflow.php": "a7325d4fdb09d1767d0d4fa3661bcf9b254e8506285080d6063bbed487bb522c",
"../compras/app/Services/ReceiptStockMovement.php": "bd95d201563e4b028f7412eea77d5b157bbc464ddb5b34907bdf17b44d3c1637"
},
"source_postcheck": {
"reader": {
"database": "compras_receipts_test_c20d57941803",
"role": "stock_receipt_read_c20d57941803",
"cluster": "sgf_modular_regression_2576427d1939",
"default_read_only": "on",
"elevated": false,
"stock_select": true,
"stock_write": false,
"receipt_select": false
},
"book": {
"movements": 1,
"physical_milli": "4000",
"receipt_confirmations": 2,
"author_and_date_present": true,
"movement_origin_hash": "6e7dc7721f92b0445c0b850b00e6bbaeb084a30426cd596902340985b76bf7ae"
}
},
"sgf_postcheck": {
"identity": {
"database": "sgf_tempo_test",
"role": "sgf_test_runner",
"port": 55439,
"cluster": "sgf_modular_regression_2576427d1939"
},
"read_only": true,
"temporary_stock_grants_remaining": 0,
"original_constraint_restored_without_stock_right": true,
"constraint_sha256": "40046092cba51f1b46d26d5f0da8af47e8336e90a8d50b8de3a8c390758f1783",
"operational_source_bindings": 0
},
"preservation": {
"new_qa_databases_only": true,
"fixtures_retained": true,
"real_or_demo_database_connected": false,
"protected_six_records_untouched": true,
"blocked_cache_untouched": true,
"prior_association_proofs_unchanged": true,
"purchasing_candidates_activated": false,
"public_rights_changed": false,
"publication": false,
"checkpoint": false
},
"reused_proofs": {
"stock_load_sha256": "4fc1d7d13d480a30966b259611de1066fc22ef31f7a0e782da4872211801c72e",
"stock_composition_sha256": "bb129ab22f424a5d3333f9b851062bc6284fd514b9962e0df04b3efd22d951a6"
},
"limits": [
"Existing native receipt validation remains authoritative; no independent SGF receipt preparation/confirmation UI or command delivered.",
"Source connection is confined to the local QA book and a SELECT-only role; it is not a required remote connector or production architecture.",
"StockWorkflow issues/transfers/corrections and workshop consumption are not extracted by this receipt-only writer.",
"PostgreSQL tested; other database drivers not validated in this increment. No new load benchmark or deployment capacity claim."
],
"visual_review_pending": true,
"deployment_capacity_validated": false
}