Repository navigation
release: sync develop → main for v0.6.5 - #563
Merged
Merged
Conversation
#549: Add ensure_documents_fts() consistency check that creates the FTS5 virtual table and backfills existing documents if the v12 migration failed silently (best-effort execute). #550: Resolve slug to document ID before calling delete_document(), matching doc_get behavior. Previously delete_document(id) received the raw slug which never matched WHERE id = ?1.
) When multiple uteke remember commands run concurrently (e.g. xargs -P5), each process loads the usearch vector index, inserts its vector, and saves — but each save OVERWRITES the other process's inserts, causing data loss. The error 'rename temp to final key mapping: No such file or directory' appears. The existing RwLock<VectorIndex> only protects concurrent threads within a single process. Cross-process coordination requires file-based locking. - Add fs2 dependency for advisory file locking - VectorIndex acquires exclusive file lock on .usearch file during load_or_create(), held until drop - Concurrent CLI invocations block at lock acquisition instead of corrupting the index - 288 tests pass, clippy/fmt clean
fix: add cross-process file lock to prevent usearch race condition (#543)
Fresh databases skip all migrations (version stamped directly at CURRENT_SCHEMA_VERSION), so migrate_v1_to_v2() — which calls init_fts5() — never runs. Existing databases at the correct version also skip migrations. In both cases FTS5 may be missing even though memories exist, causing FTS5 recall to return empty results. Add post-migration check in ensure_schema_version() that detects missing memories_fts table, initializes FTS5, and rebuilds the index if memories already exist. init_fts5() is idempotent so safe to call every open. - Update test_fts5_exists to reflect new auto-init behavior
fix: ensure FTS5 initialized on every startup (#544)
…aph/edge (#542) Adds HTTP endpoints for knowledge graph mutations so clients can be fully HTTP-only without direct uteke-core access. New endpoints: - POST /graph/edge: Add edge between two existing memories - Validates both source/target memories exist (404 if not) - Rejects self-loops (400 if source == target) - Optional edge_type (default: 'related') and weight (default: 1.0) - DELETE /graph/edge?source=...&target=...: Remove edge by source+target - Returns 404 if edge doesn't exist - Both endpoints return 403 for read-only tokens New MCP tools: - uteke_graph_add_edge: Add edge via JSON-RPC - uteke_graph_remove_edge: Remove edge via JSON-RPC Core changes: - GraphStore::remove_edge() method (returns bool for existence check) - GraphEdgeRequest type in server types - Handler tests for remove_edge
…n-endpoints feat: HTTP graph mutation endpoints — POST /graph/edge and DELETE /graph/edge
…, #546) #545: list_rooms used unnecessary JOIN room_memories to filter by namespace. The namespace column lives directly on the rooms table — a simple WHERE clause suffices. The JOIN could return wrong results when rooms have no memories linked yet. #546: room_recall_query capped fetch_limit with id_set.len(), causing empty results for rooms with fewer linked memory IDs than the expected fetch batch. Also capped to min(fetch_limit, id_set.len()) which meant rooms with 0-1 memories always got 0 results from vector search.
…types (#547) room_document() only mapped 5 memory types to sections (decision, fact, procedure, preference, context). But MemoryType::infer_from_content produces 9 types — note, insight, reference, and event memories vanished silently from documents, causing sections: [] for rooms whose memories defaulted to the 'note' type. Fix: - Add dedicated sections for insight, reference, and event types - Add catch-all 'Notes & General' section for any unassigned memories (covers 'note' type and any future types)
…empty-sections fix: room document missing sections for note/insight/reference/event types (#547)
chore: v0.6.5 pre-release — CHANGELOG, README, MCP fix
… sidebar, version bump - Document GET /recent endpoint in HTTP API table (#528) - Add GET /graph, POST /graph/edge, DELETE /graph/edge to HTTP table - Expand Graph API section with mutation examples (#542) - Add Document Commands + Graph API to VitePress sidebar - Bump version 0.6.4 → 0.6.5 (Cargo.toml, README, README.id, AGENT.md, cli-reference)
docs: v0.6.5 remaining fixes — /recent, graph mutation, sidebar, version bump
…n ref - Add ### Docs section in [Unreleased] documenting PR #561 doc fixes - Update docker.md example version tag v0.6.3 → v0.6.5
docs: CHANGELOG Docs section + docker.md version ref for v0.6.5
🔍 Cora AI Code ReviewReview powered by cora-cli · BYOK · MIT |
ajianaz
added a commit
that referenced
this pull request
Aug 13, 2026
release: sync develop → main for v0.6.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release v0.6.5 — develop → main
Sync all changes from develop to main for v0.6.5 release.
After merge: tag
v0.6.5on main to trigger release workflow (Docker + GitHub Release).Changes included (v0.6.4 → v0.6.5)
See CHANGELOG
[Unreleased]section for full details.Summary: