CultNet: schema catalog serves member rows on request (C# server, contract) #195

Merged
eureka merged 8 commits from hands/rs-subscribe-catalog-cs into main 2026-11-28 06:54:17 +00:00
Owner

Third of four cuts toward a Rust subscription client, implementing cultlib-gaps:ruling:subscriber-member-rows-by-catalog-request. schema_catalog_request gains an optional includeMembers and its descriptors an optional typed members list (additive); the C# server answers with the cache's own catalog member rows, whose contentHash equals the records' schemaContentHash (the subscriber's cache key). Authorization: the catalog asks the subscribe authorizer per schema and omits denied types entirely (no rows, hash, id or count). An old client gets byte-identical old responses; MessagePack 3.1.7 honours no conditional omission, so two hand formatters write the new keys only when set, and a reflection test fails on any [Key] a formatter misses. Rust, TS and Python decode the C#-written vector; legacy encoders refuse includeMembers. The TS first-call docs test passes on CRLF checkouts.

Spec cultlib-gaps:cut_spec:cut-rs-subscribe-catalog-cs.r1; reports h1, h2; Soul s1, s2 (s2 holds, no leak). C# 861, TS 352, Rust and Python green.

🤖 Generated with Claude Code

Third of four cuts toward a Rust subscription client, implementing `cultlib-gaps:ruling:subscriber-member-rows-by-catalog-request`. `schema_catalog_request` gains an optional `includeMembers` and its descriptors an optional typed `members` list (additive); the C# server answers with the cache's own catalog member rows, whose contentHash equals the records' schemaContentHash (the subscriber's cache key). Authorization: the catalog asks the subscribe authorizer per schema and omits denied types entirely (no rows, hash, id or count). An old client gets byte-identical old responses; MessagePack 3.1.7 honours no conditional omission, so two hand formatters write the new keys only when set, and a reflection test fails on any [Key] a formatter misses. Rust, TS and Python decode the C#-written vector; legacy encoders refuse includeMembers. The TS first-call docs test passes on CRLF checkouts. Spec `cultlib-gaps:cut_spec:cut-rs-subscribe-catalog-cs.r1`; reports h1, h2; Soul s1, s2 (s2 holds, no leak). C# 861, TS 352, Rust and Python green. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
CultNet tests: read the written keys without a lambda over a ref struct
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 24m13s
34b0fa4c60
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eureka merged commit ccac93abf1 into main 2026-11-28 06:54:17 +00:00
eureka deleted branch hands/rs-subscribe-catalog-cs 2026-11-28 06:54:17 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!195
No description provided.