Skip to main content

Module session

Module session 

Source
Expand description

Sync session management for agent-to-agent state exchange.

§Responsibility

Encapsulate the full shared CRDT state for a sync session, including vector clocks, counters, sets, registers, and maps. Provide a single merge entry point that delegates to each CRDT’s merge operation.

§Guarantees

  • All merges are commutative, associative, and idempotent.
  • JSON round-trip is lossless.

Structs§

AgentState
The full CRDT-backed shared state for a sync session.
SessionId
Unique identifier for a sync session.