cultnet-py: decode write_admitted.v0 and error.v1 against the write-receipt vectors #66
Loading…
Reference in a new issue
No description provided.
Delete branch "libby/write-receipt-py-interop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Python decoder side of the write receipt (spec: contracts/cultnet/interop/write-receipt.md). Stacked on #64; the diff is only the Python runtime.
parse_messagevalidatescultnet.write_admitted.v0andcultnet.error.v1as closed schemas;error.v1shares the v0 shape rules plus requiredmessageIdandlimit_reached; v0 stays closed.write_content_hash,hello_advertises_write_receipts,CULTNET_ERROR_V1_CODES,CULTNET_WRITE_RECEIPT_MESSAGE_VERSIONS;hello(supported_message_versions=...).tests/test_write_receipt.pyreplayscontentHash(4),wire(7, decode + byte-identical re-encode),schemaInvalid(7).scenarios(client WriteTracker; python has no write client),dedupeandblankFields(server rules; no receipt server in cultnet-py). Interop schemas are read in place from contracts/cultnet/interop.use_bin_typeis msgpack's default).🤖 Generated with Claude Code
3b1b7697) into libby/write-receipt-py-interop