The previous commit does not pass its own tests (5 errors in test_payload_codec and test_union_parity).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fix batch h2 for cut py-msgpack-default (r2). The codec's read hook (_checked_map) and
write check carry the C# reference's key rule; PayloadCodecFault and a coded
CultCachePayloadFormatError replace the map_keys walk and the JSON remedy sentence;
refusals are raised after the except block so no decoder exception rides on
__context__. migrate_payloads rewrites a 0.3 store whole or not at all. The store's
schema-stamp recovery and the optional-msgpack guards are deleted.
Not yet run: this commit's tests are verified by the next commit's job.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Kills the mutants that rewrote the remedy sentence and the write refusal's attributes. Builds.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
define_document_type payloads are MessagePack (ruling py-msgpack-default). PayloadCodec,
MESSAGEPACK_PAYLOAD_CODEC and JSON_PAYLOAD_CODEC replace the payload_encoder/payload_decoder pair,
_STACK_FAULTS and the optional-msgpack guards. A payload that is not one value of the codec's format
is CultCachePayloadFormatError naming the remedy; a map key the default cannot read back is refused on
write; JSON reads past the interpreter stack are the depth refusal. interop_peer drops its lambdas.
Breaking: 0.3 JSON stores read with payload_codec=JSON_PAYLOAD_CODEC. Builds; not yet run on Yggdrasil.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>