devbox/internal
shoemoney 6d0453d8e3 feat(M6): versioning — log, restore, hub gc 🕰️
- devbox log <share>: hub GET /v1/log (meta.SnapshotLog newest-first), client.Log
- devbox restore <share> <snapshot> [path]: snapshot id == manifest blob hash, so
  syncer.Restore fetches the old manifest, rewrites the file(s) (+deletes extras for
  a whole-tree restore), and pushes -> itself a new reversible snapshot
- devbox-hub gc [--keep N]: prune snapshots beyond the newest N (never the head),
  decrement chunk refcounts, sweep refcount<=0 chunks + manifest blobs from the store
- meta: SnapshotLog, ShareNames, DeletableSnapshots (rowid tiebreaker), DeleteSnapshot
  (tx + refcount--), UnreferencedChunks, DeleteChunkRow
- tests: log order/limit, deletable keeps head+newest, refcount decrement, whole-tree
  + single-path restore, gc end-to-end (old unique chunks freed, head intact)
2026-06-23 01:01:54 -05:00
..
chunk feat(M3): live two-way sync — SSE fan-out + daemon + mount 🔄 2026-06-23 00:12:39 -05:00
config feat(M4) + harden: bandwidth cap + M3 review fixes 🔒🛡️ 2026-06-23 00:29:50 -05:00
daemon feat(M5): lifecycle hooks 🪝 2026-06-23 00:48:16 -05:00
hooks feat(M5): lifecycle hooks 🪝 2026-06-23 00:48:16 -05:00
hub feat(M6): versioning — log, restore, hub gc 🕰️ 2026-06-23 01:01:54 -05:00
identity feat(M2): wire protocol foundation 🔌 2026-06-22 23:30:01 -05:00
ignore feat(M1): ignore + chunk + secret + manifest 👀 2026-06-22 23:10:21 -05:00
manifest feat(M4) + harden: bandwidth cap + M3 review fixes 🔒🛡️ 2026-06-23 00:29:50 -05:00
secret fix: foundation hardening from review pass 🛡️ 2026-06-22 23:24:55 -05:00
syncer feat(M6): versioning — log, restore, hub gc 🕰️ 2026-06-23 01:01:54 -05:00
transport feat(M6): versioning — log, restore, hub gc 🕰️ 2026-06-23 01:01:54 -05:00
watch fix: foundation hardening from review pass 🛡️ 2026-06-22 23:24:55 -05:00