4 Commits
Author SHA1 Message Date
dasemu cd03301abf Merge branch 'refs/heads/claude/sync-server-edc467' into feat/integration
# Conflicts:
#	docs/sync.md
2026-10-21 14:44:03 +02:00
dasemuandClaude Sonnet 5.5 9ce35f90ff fix(sync): robust blob handling, op validation and quarantine
- upload_blob resumes until the server confirms the blob (202/409 are not success)
- missing local blob skips its PutAsset instead of blocking all later ops
- failed blob downloads are counted and retried, not fatal to the cycle
- server validates pushed ops (hash, hlc, clock skew) and returns per-op rejections
- pulled ops that can never apply are quarantined; storage errors stay fatal
- SYNAPSE_MAX_CLOCK_SKEW_MINUTES; document Arc<Mutex<Graph>> handle for the FFI

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 14:38:58 +02:00
dasemuandClaude Opus 5.5 268e152efc fix(ffi): atomic compound outline edits, validated anchors, shared graph
- indent, outdent and merge run in one Graph::transaction, so a failure
  part-way no longer duplicates merged text or strands siblings.
- Placements check that the anchor block exists and is on the target page.
- SynapseGraph holds Arc<Mutex<Graph>> and exposes shared() (not bridged)
  for the sync client.
- docs: rustup's cargo must come first in PATH; sync wording.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 14:38:36 +02:00
dasemuandClaude Sonnet 5.5 4aa3c01a7f feat(sync): op-log sync protocol, client and axum server
Adds synapse-sync (protocol types, Remote transport and read API, SyncClient with
background loop, SSE realtime, resumable blobs) and synapse-server (multi-graph,
bearer auth, blob streaming, read API, authenticated update endpoint), with e2e
tests, docs/sync.md, docs/server.md, systemd unit and update script.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 04:25:00 +02:00