{ "schema_version": 1, "date": "2026-10-23", "status": "PARTIAL_GROUND_GOLD_OUTBOX_AND_ENQUEUE_ACK_CANDIDATE_INGRESS_DISABLED", "features": [ "F21" ], "priority": [ "Cube", "Won", "Wolfman", "Conqueror", "Five character slots" ], "client_head": "c1de05dc98b5efa84eb0d08f9cfe193a2612c7e1", "server_head": "6924dc9b4936f25ff008952049f475a8f0d29683", "preserves_existing_dirty_work": true, "server_source_sha256": { "src/server/common/cube_gold_outbox.h": "4a476f076dce84fa5ee89911cf67c02aa07c61fc58b389fa859b4413d474f586", "src/server/common/cube_handshake.h": "e37560d55eb5c2f2141321f2bc88ce7984ae507fe8835b43f752f2db2af7cb79", "src/server/common/cube_gold_intent.h": "fe03b5c91def0ba9a17615b24421937341ec17842f541c12558f46c6ea6b2dd8", "src/server/common/cube_gold_store.h": "aef59d5ca9f8f5668df992c0c2e283d79bd71f8f4bec14bdfd8b18191aec6f8e", "src/server/common/cube_fence.h": "a4d26a1e7eaa8dfc04eb3ccdad3ded0a962a2f1f49161dce1c1dad5028362f42", "src/server/game/src/port_cube_actor.cpp": "9bcb8c6651c06506b0bf1896cfa5bf3346da9f085618a06b930149db09dac6fc", "src/server/game/src/port_cube_actor.h": "63ec80a16f4b0a8d2bbcc6db769dad794343ae969bedec3106ec1fdc0d21644e", "src/server/game/src/char_item.cpp": "766b09f6bd344a1ca69a1c12d99b547627a4db4b81cf86374eb97a1379962ba7", "src/server/game/src/Makefile": "2120e4351742d6be69f8db9425356cdb76d2d9da0e8f1c9876f02575fc7c94e1", "src/server/db/src/CubeRuntime.cpp": "d431f12bcb0216729e0faf0db6fd3fa1cc102015ff67868da6314fbb0eaf51b2", "src/server/db/src/Makefile": "4092f08089b2d2f15b4dd20008fd661c8f2abda9603ce97e3b22f30327ce2d27", "tests/features/fixtures/cube_outbox_probe.cpp": "a2c3c969b68633f3b8e842ebbc473aee18e3cef6299e9c27095b04f317be8326", "tests/features/test_cube_outbox.py": "fc04bad9593e6f9b919ac254b6268d312b74d18b014b1cfb7c1bc63ee487d7fa", "tests/features/test_cube_runtime.py": "4c898f6e7618fc9c7d3c88052d8a4b03b3e1460cb32c34a5fadf1ca5276c4331", "tests/features/test_cube_handshake.py": "c909f837666465e7970b60bebdea84f26bd90c3c317ee897052a5b6ea2e61b44", "tools/cube/test_mysql.sh": "8ffa0bb92f434a5e20c18582402bf2f1646f3e588eb829d94671b340bcbbe7b1", "tools/cube/README.md": "2e790a961bcfe1f4d5ab17bed25635ab656ec4ca4239b58cb20dff7d6da84925" }, "client_metadata_and_report_sha256": { "scripts/test_xxf_all.py": "de1fd0bc5c4f22cfc9e24e36cc323db36ed3b08bf78fa847fc3c23addc925771", "scripts/build_xxf_features_json.py": "8e5c8e34f6d1e0c684e416ebd2cfa7b41e52cbd0a52ea7888f481d6f56d09976", "audit/xxf-ch5/features.json": "15ecbac735a25e1df14c64af379b19809dc0a1fc3259a4c65655ff5c5b2f656d", "docs/AVA2-IMPLEMENTATION-SPEC.md": "66e447367fb4f6916ad94115ca56f40efeb21d6c03f43ae6bf4e98d4d9ada2dd", "docs/XXF-CH5-CUBE-OUTBOX-20261023.md": "b51b9915b30be62cfd0edf92eb9e3ea5f1b010c233ab048dfa6f02624d0e9b3f", "build/ch5-tests/20261023-cube-outbox-final/report.json": "a6a6fe2243be400fd3f26761c4475fe8aa8b331af052e6ab67f882b3563f368e" }, "freebsd_source_artifact_sha256": { "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/common/cube_gold_outbox.h": "4a476f076dce84fa5ee89911cf67c02aa07c61fc58b389fa859b4413d474f586", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/common/cube_handshake.h": "e37560d55eb5c2f2141321f2bc88ce7984ae507fe8835b43f752f2db2af7cb79", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/common/cube_gold_intent.h": "fe03b5c91def0ba9a17615b24421937341ec17842f541c12558f46c6ea6b2dd8", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/common/cube_gold_store.h": "aef59d5ca9f8f5668df992c0c2e283d79bd71f8f4bec14bdfd8b18191aec6f8e", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/common/cube_fence.h": "a4d26a1e7eaa8dfc04eb3ccdad3ded0a962a2f1f49161dce1c1dad5028362f42", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/game/src/port_cube_actor.cpp": "9bcb8c6651c06506b0bf1896cfa5bf3346da9f085618a06b930149db09dac6fc", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/game/src/port_cube_actor.h": "63ec80a16f4b0a8d2bbcc6db769dad794343ae969bedec3106ec1fdc0d21644e", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/game/src/char_item.cpp": "766b09f6bd344a1ca69a1c12d99b547627a4db4b81cf86374eb97a1379962ba7", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/game/src/Makefile": "2120e4351742d6be69f8db9425356cdb76d2d9da0e8f1c9876f02575fc7c94e1", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/db/src/CubeRuntime.cpp": "d431f12bcb0216729e0faf0db6fd3fa1cc102015ff67868da6314fbb0eaf51b2", "/root/deploy-features/cube-outbox.405sXZ/build-root/src/server/db/src/Makefile": "4092f08089b2d2f15b4dd20008fd661c8f2abda9603ce97e3b22f30327ce2d27", "/root/deploy-features/cube-outbox.405sXZ/build-root/tests/features/fixtures/cube_outbox_probe.cpp": "a2c3c969b68633f3b8e842ebbc473aee18e3cef6299e9c27095b04f317be8326", "/root/deploy-features/cube-outbox.405sXZ/build-root/tools/cube/test_mysql.sh": "8ffa0bb92f434a5e20c18582402bf2f1646f3e588eb829d94671b340bcbbe7b1", "/root/deploy-features/cube-outbox.405sXZ/bin/game": "eee96d1f8a4e1f24ed696572b6a8993b14ed4e9f349fcd19ec192d966677fac3", "/root/deploy-features/cube-outbox.405sXZ/bin/db": "83587a1264ac2734e81ed3448925f4c3d8968f594aa95d5d4e9714e44f370d11", "/root/deploy-features/cube-outbox.405sXZ/game-build.log": "d568b1ef1be4a73d984e85d07b6c1e82a71d7dedd8ed811c40f67d168d6a83f9", "/root/deploy-features/cube-outbox.405sXZ/game-final.log": "e379fb61e4643aad55de1c5e151589d8a2e9b70efe6477d72e38ad842dd299b0", "/root/deploy-features/cube-outbox.405sXZ/db-build.log": "ff10bc6a56f99e162e0cd3a6ba8c9954ae21b34a7a4f305628cdffca755e9451", "/root/deploy-features/cube-outbox.405sXZ/mysql.log": "deb4c9b976c3843235574325763d0d8e80207debb5a6b021e3a7639ce6fe31e3", "/tmp/ch5-cube-mysql.XYY57Q/outbox-result.log": "14a6b59e571c0c7474cd07322307f8a50284240f826d8164e6a8b8bd19d9f6f9", "/tmp/ch5-cube-mysql.XYY57Q/gold-result.log": "9148968795d6255464ef2ce88e6e22b2ba56788cac18c25285279dfdcdaf91f7", "/tmp/ch5-cube-mysql.XYY57Q/result.log": "12192293b3990416951c89948fb04abf8359da34771a513f39aee3757ea284f5", "/tmp/ch5-cube-mysql.XYY57Q/sql-worker.log": "9ed28959c3e362731439c3dc31d5fb08ad8e746021eca382d17bf46c2ee66fca" }, "tests": { "summary": { "pass": 131, "partial": 0, "fail": 0, "timeout": 0, "error": 0, "unverified": 0, "blocked": 0 }, "source_changed": false, "release_ready": false, "unittest_cases": 391, "top_level_probes": 33, "report": "build/ch5-tests/20261023-cube-outbox-final/report.json", "local": "ASan/UBSan actual ground-gold helper, extracted original PickupItem gold branch and actual GoldAck handler; explicit actor/item/entropy/audited-gate substitutes; source write-before-remove, no local GiveGold/Save, ordinary behavior, party/distance/ownership denial, uncertain cross-player quarantine, handle/session/cookie ACK identity, no thaw", "journal": "Real file locks/codec, short/EINTR/partial writes, claim/ACK/initial fsync failures, corrupt/torn records, oversized file, hard/symbolic links; separate-process exits after real claim/ACK fsync; restart restores pending and sequence history", "sql_handoff": "Outbox CLAIM -> ambiguous Enqueue COMMIT -> restart/replay same body -> durable ACK -> verified DONE craft -> Apply once -> exact-image release. Tested with SQLite and actual MySQL; this uses explicit actor/SQL ownership fixtures, not a real game freeze.", "actual_db_route": "Original authenticated peer/login/handle/session/cookie and batch binding; disabled actual ingress, stale identity, ambiguous commit, repeated/conflicting event, incoming forged GoldAck and missing restart binding refuse or retain pending without extra currency", "native_source_matches": 13, "native": "Fresh .cube-outbox-game-obj and .cube-outbox-db-obj, -j2 sequential full game/DB compile+link; actor explicitly rebuilt/relinked afterward against final outbox header. Internal platform libraries inherited, not full clean-library rebuild.", "native_root": "/root/deploy-features/cube-outbox.405sXZ", "mysql_root": "/tmp/ch5-cube-mysql.XYY57Q", "mysql": "Dedicated no-defaults socket-only MySQL ran actual base/addon DDL, base/lifecycle/gold/outbox fault+crash+duplicate scenarios, actual libsql FIFO and explicit v1 upgrade probes; script shuts down only this dedicated instance and retains evidence", "warnings": "Legacy Makefiles retain -w; not strict-warning/type-safety certification", "client_native": "Not rebuilt this batch; no client runtime/action/capability change", "android": "Not run", "live": "Not run. No production deployment/restart/config/asset/SQL mutation or forced logout", "encoding": "char_item.cpp byte-for-byte equals pre-pull preserved stash after reversing exact new gold-pickup/save replacements; original encoding and previous dirty edits retained", "post_regression": "Only this evidence JSON added after final unified regression; runtime/tests/docs/manifest unchanged" }, "contracts": { "source": "Only submitted held non-party PC after original distance/ownership check and current binding/lifecycle/actual ground-gold validation. Ordinary GiveGold/group distribution path unchanged. No generic PointChange diversion.", "durability": "Core-private cube-gold-outbox/journal, CGO1 fixed 166-byte LE frames, exclusive lock, O_NOFOLLOW, regular single-link current-owner non-group/world-write file, initial file/lock/directory fsync; CLAIM/ACK fsync before success. Checksum is corruption detection, not authorization.", "identity": "Random 128-bit event ID canonical positive intent account/player/epoch/owner/request/sequence, persisted with session/cookie/handle and ground VID/vnum/map.", "source_order": "Fsync CLAIM -> synchronous source removal/destroy, no local GiveGold or stale player Save. Failed/uncertain append does not remove pile and quarantines VID even against other actors. Pure pre-write refusal does not quarantine.", "limits": "1024 intents per batch, 8192 historical claims and 16MiB log; ACK history retained, no automatic compaction/cleanup. Conservative gold headroom includes pre-craft wallet and all recorded batch credits.", "wire": "Internal unreleased header78 GoldEnqueue7/GoldAck8, GoldStored8/GoldApplied9; 102-byte prefix +129-byte intent =231 bytes. Game/DB must match. No client crafting capability.", "ack": "Only DB immutable Stored/Applied is acknowledged. Game validates body/handle/session/cookie and fsyncs ACK; it does not apply currency or authorize thaw.", "retry": "At most two pending deliveries per three seconds, round-robin; stable body/event on all retries. Outbox only opened/replayed when both ingress/audit gates permit and DB is connected.", "restart": "Local pending/history recover, but DB/game restart, owner/peer/session change is NOT auto-adopted; original runtime binding required. Retain pending evidence for trusted reconciliation.", "gates": "HandshakeEnabled=false, ActorMutationAuditComplete=false, modern craft macro remains off; no real source path activated and no live Prepare/Execute/Apply/resync/release hookups" }, "not_complete": [ "Trusted durable owner adoption/reconciliation after game/DB restart, peer loss or cross-core handover", "Source-close/drain barrier before Resync: SQL queue empty cannot exclude local not-yet-enqueued intents", "ABORTED wallet reconciliation and complete actor quiescence across setters, item/EXP/expiry/global/server callbacks", "Other gold sources and party distribution retention", "Online reward factory/ID allocation, actual Prepare/Execute, authority image apply/exact ACK/thaw", "Copy attributes, success-rate items and matched real-server/Android acceptance", "Won/Wolfman/Conqueror/five character slots" ] }