CultLib/packages
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 2ba404cc0b Carry media payloads as bin
The three media payload fields take the derive's `bytes` attribute, so they
serialize as MessagePack `bin` instead of an array of integers. An 848-byte
payload goes from 1234 bytes on the wire to 851 — 1.45x off every media byte,
on the one link measured to be starved.

This is a correction to the previous commit's reasoning, not a new capability.
That commit claimed the derive could not emit bin and left a test ignored
against a hint that needed designing. The hint has existed all along:
cultcache-rs-derive parses `bytes` at lib.rs:92, serializes through
serde_bytes::Bytes at :135, and decodes through ByteBuf at :154 and :170. What
is inert on a DatabaseEntry struct is `#[serde(with = "serde_bytes")]`, because
the derive reads only its own attribute namespace — which is a different and
much smaller claim than the one that was made.

The ignored test is now un-ignored and passing, and the tolerant assertion it
was propping up is exact again.

Four fields elsewhere are missing `bytes` and are deliberately untouched here:
IdunnDeploymentBrakeRecord.signature, IdunnDaemonHealthTrustBindingRecord
.signer_public_key, GameCultServiceTrustAnchorRecord.signer_public_key, and
IdunnAuthenticatedProviderHealthProjectionRecord.signature. Those carry stored
state and signing history — six trust anchors live in the deployment projection
on yggdrasil, and the brake store is byte-exact checked — so they need
sequencing with a re-sign rather than a flag flip. Owned by the Swarm Migration
work.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-10 00:31:11 +02:00
..
cultcache-py Publish the non-Rust packages and make the licensing uniform 2026-09-04 04:41:44 +02:00
cultcache-rs Publish the non-Rust packages and make the licensing uniform 2026-09-04 04:41:44 +02:00
cultcache-ts Promote the swarm document catalog into cultcache-ts 2026-09-06 19:40:37 +02: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 Finish the sequence-domain split in Python and Kotlin 2026-09-04 00:40:05 +02:00
cultmesh-rs Reconcile cultmesh-rs: adopt Odin's lineage, keep CultLib's additions 2026-09-05 17:26:44 +02:00
cultmesh-ts Publish the non-Rust packages and make the licensing uniform 2026-09-04 04:41:44 +02:00
cultnet-rs Carry media payloads as bin 2026-09-10 00:31:11 +02:00
cultnet-ts Port gamecult.runtime_presence_health.v2 to cultnet-ts 2026-09-07 21:42:54 +02:00