Uses of Package
ai.badmonkey.agentspaces.common.codec

Package
Description
The aspace:cap/aggregate capability: push-sum gossip aggregation for quorum sensing (spec §8).
 
 
The aspace:cap/ordered-log capability: a Raft group over capability pipes, backing the ORDERED strategy (spec §8).
The Layer 4 capability runtime: sign/publish/refresh CapabilityAdvertisements, discover providers, and multiplex direct capability frames (spec §8).
 
Encodings: Base58/multibase for identifiers and the canonical CBOR codec (RFC 8949) for all wire payloads.
Layer 2 (spec §6): the signature-verifying, TTL-evicting advertisement cache and local-first discovery with hop-budgeted remote queries.
Layer 0 (spec §4): peer identity with keystore persistence, PeerID derivation from the Ed25519 public key, and advertisement signing.
Content-addressed block storage and exchange over BLOCK_WANT/BLOCK frames (spec §7.1, §9).
The two-channel gossip bus: rumor push with hop decay, anti-entropy over reconcilable states (spec §5.3).
Leased group membership with SWIM-style probing (spec §5.2).
The signed CBOR wire protocol (spec §9): envelopes, kind-specific bodies, and the frame codec with mandatory verification.