cultmesh-py: refuse a peer's raw put with no stamp (raw-put-refuse-py) #174
Loading…
Reference in a new issue
No description provided.
Delete branch "golden-write/raw-put-refuse-py"
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?
cultmesh-py: a peer's
document_put_rawwhosestoredAtis missing, empty or not a stamp is refusedmessage_invalid(fielddocument), and nothing is minted or stored, pervariants:ruling:raw-put-without-stamp-refused. Before this, an empty stamp over an absent key was written to a single-file store and every later write through it raisedStoreUnreadableError.The server's malformed-put gate (
_unservable_put) refuses it after the authority check;_raw_put_enveloperaisesValueErroras the node-level invariant, so the client replay path and local callers cannot store one either. The stamp shape is #172'sparse_stored_at, made public.Fixes finding
variants:finding:cut-update-with-retry-py.s3.empty-peer-stamp-poisons-store; follow-upvariants:follow_up:raw-put-refuse-py-after-pr172. C#, TypeScript and Rust garbage-stamp cases stay invariants:follow_up:raw-put-garbage-stamp-cs-ts-rs.🤖 Generated with Claude Code