datahike

whilo 2026-02-16T07:16:19.171579Z

https://github.com/replikativ/yggdrasil — 0.2.14 🌲 Coordination layer: Registry, Workspace, GC & Hooks The coordination layer sits above individual adapters and below the orchestrating runtime. It provides: • Snapshot Registry — persistent sorted-set index over [hlc system-id branch snapshot-id], backed by konserve for durable lazy-loading • Workspace — multi-system coordination with HLC timestamps, ref management, coordinated-commit! and as-of-world temporal queries • Garbage Collection — mark-and-sweep with configurable grace period, delegates to per-adapter native GC, cross-system safety (a snapshot referenced by any system is never collected) • Hooks — extension point for adapter-specific commit notification (Datahike uses d/listen, others fall back to polling) Addressable & Committable protocols Two new supplementary protocols that decouple consumers from adapter record internals: • Addressable — unified working-path method for filesystem-backed adapters (git, btrfs, overlayfs, zfs, dolt, scriptum), replacing manual field access like (:repo-path sys) / (:worktrees-dir sys)Committable — unified commit! replacing per-adapter standalone functions; systems where every mutation is already a commit (datahike) simply don't implement it • Compliance tests and all 11 adapters updated, test fixtures now use p/commit!

👏 2