v13.12.0

tokio-rs/axumv13.12.0Jul 22, 2026by thedotmack

AI Summary

This release implements a complete two-lane cloud sync architecture for the claude-mem database, allowing synchronization with the cmem.ai sync hub via a Cloudflare Worker. The feature is opt-in by default to ensure data privacy, and includes a full suite of monitoring and guardrails.

Key Highlights

  • Per-user Durable Object sync hub serving isolated HTTP push/pull lanes per user.
  • Client apply path + schema migration v41 for deterministic remote change application.
  • Hub push/pull transport + mutation outbox for durable local mutations.
  • Advisory WebSocket speed layer for near-real-time sync nudges.
  • Hardened verifier authentication on the sync hub.

New Features

  • Two-lane cloud sync architecture
  • Cloudflare Worker sync hub
  • Mutation outbox for offline survival
  • Sync-matrix E2E test suite

Full Release Notes

## Two-Lane Cloud Sync (cmem.ai Pro)

This release ships the complete two-lane sync architecture between your local claude-mem database and the cmem.ai sync hub (PR #3333):

- **Per-user Durable Object sync hub** — a Cloudflare Worker (`workers/sync-hub`) serving isolated HTTP push/pull lanes per user (Phase 1)
- **Client apply path + schema migration v41** — deterministic application of remote changes into the local SQLite store (Phase 2)
- **Hub push/pull transport + mutation outbox** — local mutations queue durably and survive offline periods and retries (Phase 3)
- **Advisory WebSocket speed layer** — near-real-time sync nudges; correctness never depends on the socket staying up (Phase 4)
- **Guardrails + monitoring** — kill switch, watchdog, canary, and a full sync-matrix E2E suite (Phase 5)
- **Canonical v2 projection pipeline** and SyncHub-only client cutover
- Hardened verifier authentication on the sync hub

**Sync is OFF by default.** `CLAUDE_MEM_CLOUD_SYNC_HUB_URL` defaults to empty — nothing leaves your machine unless you configure a hub URL (see the `cloud-sync` skill or https://docs.claude-mem.ai/cloud-sync).

### Fixes

- Restored process-global `mock.module` cleanup that broke CI under Linux readdir ordering