Expand description
Synchronization records and the dedup algorithm (§9.2).
Two projections of a memo:
ManifestRecord: lightweight (no body) — the agent diffs against its localid → hashcache to decide what changed.FullRecord: the complete memo body, requested only for ids the diff flagged as “needs fetch”.
diff_manifest implements the agent-side dedup so callers (and tests) can
reason about it without the CLI.
Structs§
- Full
Record - Full memo payload, returned for ids flagged by the diff.
- Manifest
Diff - Result of diffing a manifest against a local cache (§9.2, steps 3–4).
- Manifest
Record - Lightweight manifest entry: identity + content hash + timestamp + tombstone.
Functions§
- diff_
manifest knownmapsid (hyphenated) → hash ("b3:…"), exactly what an agent caches.