Enabled by SYNAPSE_MCP_TOKEN (own bearer tokens, constant-time check),
write tools with SYNAPSE_MCP_ALLOW_WRITE=1, Host allowlist via
SYNAPSE_MCP_ALLOWED_HOSTS. Stateless JSON responses; tools run on the shared
graph handle and wake SSE subscribers after writes. Never creates graphs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
loadTypeIcons logs failures, only notifies on change and bumps iconsVersion;
every generation bump reloads it. The tree re-resolves label icons when
iconsVersion changes, without re-running the layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Members of a hub are indexed under the hub's title in page_tags, tag_catalog and the
graph tag nodes, merged with a same-name type or tag. Hub rename, delete and
membership changes re-index the derived index (no ops). Schema v7 rebuilds it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tags are sorted and deduplicated by title_key in the migration and in
write_page_row (remote ops included). The migration runs in one transaction,
rebuilds page_tags once and repairs malformed tags/types values.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tags no longer have pages. A page has at most one type, which implies a
tag of the same name. Tags are stored sorted. Adds rename_tag and
remove_tag. Schema v6 turns tag pages into notes and trims types to the
first one. History exports synapse-type:: and reads the old forms.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Describe Synapse's own Markdown dialect, export format and editor behaviour
as Synapse's, rename Logseq-named history test identifiers, and set the
app label/window titles to Synapse. The importer keeps its Logseq naming.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings screen (themes incl. Sweet, rebindable shortcuts), rich text escapes,
page sidebar with the local graph, sortable All pages, tree view changes and the
Type/Tags rows in the page header. Docs updated.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- synapse-ffi: graph_data() returns the whole page-level graph (links, tags,
property refs, block refs/embeds per page, unlinked mentions, decayed
synapses) as parallel arrays with degree, backlinks, Louvain clusters and
primary tags; cached by op seq, synapse state and hour.
- synapse-ffi: ForceLayout, a Barnes-Hut force layout stepped from Dart on a
Rust worker thread (pin/unpin for dragging, reheat).
- app: Graph view with a mode selector (Network, Local, Synapses, Clusters,
Namespaces, Timeline), filters (title, tag, date range, min links,
orphans, journals, mentions), pan/zoom, node drag, hover highlighting,
activation pulse, cluster hulls, radial namespace/tag tree, and a local
graph panel on every page. Edges render as one vertex mesh, nodes in
colour/size batches, culled to the viewport.
- Tests: Rust extraction/mentions/cache/clusters/layout; widget tests for
mode switching, filters and layout restarts; a real-app integration
smoke test with frame timings.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
- 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>
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>
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>