Commit Graph
25 Commits
Author SHA1 Message Date
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 3266ddda3a chore(hooks): run stop checks with the rustup toolchain
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 14:14:44 +02:00
dasemuandClaude Opus 5.5 30d58a0166 feat(core): nestable transactions, put_page and journals_before
Importer runs its write phase in one transaction (replaces the
synchronous=OFF workaround); the FFI journals feed uses journals_before
instead of walking back one day per query.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 14:04:26 +02:00
dasemu 537d70bb55 Merge branch 'refs/heads/claude/sync-server-edc467' into feat/integration
# Conflicts:
#	CLAUDE.md
#	Cargo.lock
2026-10-21 14:02:01 +02:00
dasemu 6a794000d1 docs: index all crate docs 2026-10-21 14:01:48 +02:00
dasemu 5f719f5541 Merge branch 'refs/heads/claude/app-13aee9' into feat/integration
# Conflicts:
#	Cargo.lock
2026-10-21 14:00:08 +02:00
dasemu 9649a76b3c Merge branch 'refs/heads/claude/caldav-1d8050' into feat/integration
# Conflicts:
#	Cargo.lock
2026-10-21 14:00:03 +02:00
dasemu 56d3edf0ce Merge branch 'refs/heads/claude/history-785c80' into feat/integration
# Conflicts:
#	Cargo.lock
2026-10-21 14:00:02 +02:00
dasemu c315d184ea Merge branch 'refs/heads/claude/ai-c15c7e' into feat/integration
# Conflicts:
#	Cargo.lock
2026-10-21 13:59:58 +02:00
dasemu b02ec34371 Merge branch 'refs/heads/claude/search-f73aec' into feat/integration
# Conflicts:
#	Cargo.lock
2026-10-21 13:59:55 +02:00
dasemu f02798d5fb Merge branch 'refs/heads/claude/import-96e10a' into feat/integration 2026-10-21 13:59:46 +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
dasemuandClaude Opus 5.5 5e25db3e24 fix(app): read views after queued writes, reload on write failure
- Page and journal views read through the write queue after the previous
  view's pending saves, so they never load stale text.
- A failed write reloads the current view and shows a message instead of
  leaving blocks on temporary ids; inserts also trigger reconciliation.
- Completion replaces the query range, not up to the caret, and closes
  when the caret moves away.
- Renaming a page reloads it so rewritten links are not overwritten.
- Dropping below an expanded parent lands as its first child, where the
  indicator is drawn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 04:08:36 +02:00
dasemuandClaude Opus 5.5 fce7526fcf docs: app build/run guide, analyze via dart on non-ASCII paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:59:42 +02:00
dasemuandClaude Opus 5.5 df42d4010f feat(app): Flutter outliner with journals, page view and timeline
Logseq-like outliner (render/edit Markdown per block, Enter/Tab/Shift-Tab,
backspace merge, arrow navigation, drag to reorder, collapse, [[ # ((
autocomplete, TODO/DONE), journals feed with prev/next links, page view with
linked references and related panel, virtualised CustomPainter timeline,
Ctrl+K quick switcher, sidebar with recents, light/dark theme with bundled
Inter, Noto Serif and Source Code Pro. Edits are optimistic and serialised
to the core through one write queue. Cargokit builds synapse-ffi; its build
tool is patched to use the library name (synapse_ffi) of hyphenated crates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:59:42 +02:00
dasemuandClaude Opus 5.5 c3d6636606 chore(ffi): add demo graph seed example
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:59:42 +02:00
dasemuandClaude Opus 5.5 8c11d049fb fix(ffi): keep merged children in place and rename PageView to PageData
Merging a first child into its parent now gives its children the merged
block's slot instead of appending them after the parent's other children.
PageView clashed with Flutter's PageView widget in Dart.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:52:59 +02:00
dasemuandClaude Sonnet 5.5 6697924bf5 feat(ai): provider-agnostic AI crate (Anthropic, OpenAI, Gemini, compatible)
Streaming chat, embeddings (Embedder impl), key stores, retries/cancellation,
and graph features: ask_graph, summarize_journal, suggest_links_and_tags,
extract_tasks, consolidate_week.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 03:41:21 +02:00
dasemuandClaude Sonnet 5.5 e1e64ca2de feat(search): full-text, vector, hybrid search and auto-link suggestions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 03:39:20 +02:00
dasemuandClaude Sonnet 5.5 a2a6cd8cfb feat(import): Logseq graph importer
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 03:38:22 +02:00
dasemuandClaude Sonnet 5.5 b5e0d0f325 feat(caldav): CalDAV client, VEVENT/VTODO mapping and two-way sync
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 03:37:48 +02:00
dasemuandClaude Sonnet 5.5 3ab03777ea feat(history): git-based snapshots, page history and restore
Deterministic Logseq-compatible Markdown export committed to a bare gix
repository, incremental snapshots driven by the op log, snapshot policy,
page history/diff, restore through the Graph API and pure-Rust HTTP push.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 03:36:59 +02:00
dasemuandClaude Opus 5.5 305428eaea feat(ffi): flutter_rust_bridge API over synapse-core
Opaque SynapseGraph handle (graph behind a mutex) with coarse-grained calls:
journals feed, page views, outline editing (insert, update, move, indent,
outdent, merge, delete), backlinks, aliases, rename, timeline, related,
record_visit, assets and a title/block search stopgap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:36:32 +02:00
dasemuandClaude Opus 5.5 fbcfcf678f feat(core): workspace and synapse-core foundation
Domain model, SQLite graph store, link parser, journals chained in time,
page origin/activity anchors, weighted synapses with spreading activation,
content-addressed blob store and HLC op log with LWW remote apply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:24:22 +02:00
dasemuandClaude Opus 5.5 7f5c7738e5 chore: bootstrap Claude setup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 03:16:48 +02:00