CultLib/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 9f822b7578 Expose exact RUDP acknowledgement receipts
Ported from GameCult/cultnet-rs 9dcb88d into CultLib, where the wire contract
belongs. Ghostlight's committed idunn_health.rs imports
CultNetRudpReliableSendStatus to hold an Idunn process write lease current,
and the symbol existed only in the standalone lineage, so nothing could
consume this contract from its canonical home.

Three reconciliations were needed because both lineages reworked RUDP
independently since the 014f998 copy-in:

- reset_peer_state: kept this lineage's version, which also resets the
  sequence and fragment counters and clears queued_reliable, and folded in
  only the imported change that matters -- rotating session_scope so a peer
  reset invalidates outstanding receipts. The imported body also cleared
  highest_delivered_sequenced_by_channel, a field the sequence-domain work
  renamed away here.
- channel_send_options is a free function in this lineage, not a method.
- The imported guard rejected reliable channels with an expiry. This lineage
  has no reliable-expiry concept at all -- the only mentions of expiry in the
  file arrived with this patch -- so every reliable channel is already
  non-expiring and the guard reduces to the reliability check. A comment
  marks where to restore the expiry half if expiry is ever added.

94 tests pass. The one rudp_server_hub failure is pre-existing and reproduces
on clean origin/main.

The other two standalone RUDP commits are deliberately not ported. Bounding
session memory and rejecting hostile sequence rollover rebuild the receive
path -- stale-sequence rejection, per-channel tracking caps, reassembly and
ordered-buffer byte accounting -- in the same code this lineage reworked with
sequence domains and ACK horizons. Merging them changes wire-observable drop
and reassembly behavior, which needs the cross-runtime interop harness to
validate, not a local build.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-03 23:14:30 +02:00
..
cultcache-py Acknowledge retransmits across RUDP horizons 2026-08-23 19:15:22 +02:00
cultcache-rs Return the Rust CultCache engine to CultLib 2026-09-03 22:56:59 +02:00
cultcache-ts Make TypeScript packages release-packable 2026-07-13 23:47:38 +01:00
cultmath Clarify CultMath and CultGeometry ownership 2026-08-26 17:47:06 +02:00
cultmesh-browser Harden CultMesh route fallback and secure onboarding 2026-08-18 19:41:03 +02:00
cultmesh-kotlin Acknowledge retransmits across RUDP horizons 2026-08-23 19:15:22 +02:00
cultmesh-rs Give the Rust CultMesh runtime a home 2026-09-03 23:09:45 +02:00
cultmesh-ts Recover authority-bound CultMesh and atomic generations 2026-08-26 19:01:24 +02:00
cultnet-rs Expose exact RUDP acknowledgement receipts 2026-09-03 23:14:30 +02:00
cultnet-ts Recover authority-bound CultMesh and atomic generations 2026-08-26 19:01:24 +02:00