cultnet-rs: typed database_change_raw and unsubscribe; a commit assembler at parity with C# #193

Merged
eureka merged 6 commits from hands/rs-subscribe-wire into main 2026-11-28 03:59:48 +00:00
Owner

First of four cuts toward a Rust subscription client (Thing 2.0's thing-mesh needs one). cultnet-rs gains typed database_change_raw.v0 and database_unsubscribe.v0, and a commit assembler with no transport, clock or threads: it assembles commitId/commitCount parts, applies the stated buffer bound (64 pending commits, 1,000,000 changes; variants:ruling:reconcile-commit-stated-bound) and faults as the C# client does. It decodes the C#-written session vector byte for byte. The contract now states that a change for an ended or unknown subscription is dropped and that commitCount is at least two (cultlib-gaps:ruling:change-for-ended-subscription-dropped); aligning C# is cultlib-gaps:follow_up:cs-subscription-client-alignment.

Spec cultlib-gaps:cut_spec:cut-rs-subscribe-wire.r1; reports h1, h2; Soul s1 holds (4 Lows: one fixed in h2, three deferred to the C# alignment). 24 subscription tests; 23/24 mutants, one equivalent.

🤖 Generated with Claude Code

First of four cuts toward a Rust subscription client (Thing 2.0's thing-mesh needs one). cultnet-rs gains typed `database_change_raw.v0` and `database_unsubscribe.v0`, and a commit assembler with no transport, clock or threads: it assembles commitId/commitCount parts, applies the stated buffer bound (64 pending commits, 1,000,000 changes; `variants:ruling:reconcile-commit-stated-bound`) and faults as the C# client does. It decodes the C#-written session vector byte for byte. The contract now states that a change for an ended or unknown subscription is dropped and that commitCount is at least two (`cultlib-gaps:ruling:change-for-ended-subscription-dropped`); aligning C# is `cultlib-gaps:follow_up:cs-subscription-client-alignment`. Spec `cultlib-gaps:cut_spec:cut-rs-subscribe-wire.r1`; reports h1, h2; Soul s1 holds (4 Lows: one fixed in h2, three deferred to the C# alignment). 24 subscription tests; 23/24 mutants, one equivalent. 🤖 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>
CultNet contract: a decoder refuses commitCount below two; a change for an ended subscription is dropped. cultnet-rs: pin that a one-change announcement ignores a full buffer
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 33m55s
c5d8f8047c
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eureka merged commit 31e8dbdd50 into main 2026-11-28 03:59:48 +00:00
eureka deleted branch hands/rs-subscribe-wire 2026-11-28 03:59:49 +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!193
No description provided.