Commit Graph
45 Commits
Author SHA1 Message Date
Riz Ashraf 3765e6b05d chore: fix clippy warnings and run rustfmt 2026-10-09 00:39:50 +01:00
Riz Ashraf fecd8bf33f fix(tests): replace serde_json::from_str with serde_yaml::from_str for tool output assertions 2026-10-09 00:30:05 +01:00
Riz Ashraf cb0c55775a feat(mcp): switch to YAML serialization for tool outputs
- Replaced serde_json with serde_yaml in all handler endpoints.

- This drastically reduces token consumption for large list/graph responses by removing JSON braces and quotes.
2026-10-08 23:46:32 +01:00
Riz Ashraf 410b0c42ca feat(ollama): enforce JSON logits & add nvim_buffer edit action
- Added format parameter to Ollama generate for JSON logit enforcement.

- Implemented safe edit action in nvim_buffer MCP tool to replace raw Lua.
2026-10-08 23:41:57 +01:00
Riz Ashraf 9d9e959744 chore: fix formatting and clippy lints 2026-10-08 23:01:38 +01:00
Riz Ashraf 35c802c1b8 perf: optimize store batch serialization, zero-clone semantic search, and lock contention 2026-10-07 22:14:53 +01:00
Riz Ashraf 8f924b793a feat(reconciliation): implement deterministic state reconciliation engine and post-commit hook
- Implement ReconciliationEngine in server/src/handlers/reconciliation.rs
- Auto-transition ADRs to implemented, resolve tech debts, and cascade task unblocking
- Ingest git commit events via POST /api/git/commit and scripts/git-reconcile.py post-commit hook
- Add universal pagination, search filtering, and keyboard navigation to dashboard
- Implement non-destructive task TTL expiry sweeper and gate verification
- Implements: ADR-0102, ADR-0103
2026-10-07 19:00:44 +01:00
Riz Ashraf ec977c24dd feat(nvim,telemetry): implement ADR-0102 circuit breaker and ADR-0103 knowledge graph projection 2026-10-07 17:40:30 +01:00
Riz Ashraf 3d77e60a02 feat(embedding,notes): implement ADR-0056 Blake3 stable hashing and ADR-0057 priority-aware retention 2026-10-07 17:04:52 +01:00
Riz Ashraf f546579596 feat(dashboard,adrs): enrich dashboard tabs with domain model parity and resolve consequence schema handling 2026-10-07 14:38:02 +01:00
Riz Ashraf 73c3d41c87 fix(dashboard,server): restore code change ledger UI and enrich model schema parity and pagination 2026-10-07 13:14:33 +01:00
Riz Ashraf 3b146f91c2 refactor: consolidate hypotheses, agent_signals, and process_logs into action-based smart tools 2026-10-07 12:00:20 +01:00
Riz Ashraf 79209da711 refactor: eradicate deprecated tools (sticky_notes, pinned_files, context_workspaces, pr_checklist, preferences) and dead code 2026-10-07 11:12:42 +01:00
Riz Ashraf d80915635f refactor: resolve critical concurrency, data loss, schema, and search audit passes 2026-10-07 07:09:28 +01:00
Riz Ashraf e4a0fe72df feat(embedding,vision): candle embeddings with offline fallback, on-demand clipboard vision capture, and concurrency audit 2026-10-07 06:36:09 +01:00
Riz Ashraf 5bd8b1587a refactor: apply 5-pass audit optimizations across mcp-memory codebase 2026-10-06 06:05:38 +01:00
Riz Ashraf 924b6d09fa refactor: address 5-pass audit findings for antipatterns, bottlenecks, memory efficiency, and LLM handlers 2026-10-05 21:44:10 +01:00
Riz Ashraf 19f9c7ace7 feat(dashboard): extract inline script to standalone dashboard.ts/js, add UI build/check recipes, and add route unit tests 2026-10-05 12:48:36 +01:00
Riz Ashraf 4b307b55b9 docs: update human and LLM docs and enhance tool/list schemas with actionable next steps 2026-10-05 11:22:55 +01:00
Riz Ashraf 961abb01e7 refactor: drop Manage prefix from consolidated smart MCP tools 2026-10-05 11:11:41 +01:00
Riz Ashraf 533adfd41b refactor: consolidate nvim crates, extract server library, and update workspace dependencies 2026-10-04 01:42:59 +01:00
Riz Ashraf a083719cf1 feat(server): refactor handlers, router, state management, and memory tools 2026-10-02 07:27:37 +01:00
Riz Ashraf 462f65f66d refactor: Implement unified search abstraction, MemoryState refactoring, error handling, and unit test expansion 2026-10-01 08:37:52 +01:00
Riz Ashraf a34554b7ff Refactor: Dismantle MemoryState into semantic domain sub-structs 2026-09-30 21:13:03 +01:00
Riz Ashraf 0e866f2465 Refactor: Migrate unwrap calls to AppError in MCP handlers 2026-09-30 21:02:50 +01:00
Riz Ashraf 4e1a633dbd Refactor: Fix clippy warnings and introduce AppError 2026-09-30 20:43:28 +01:00
Riz Ashraf 98a1716ac8 chore: fix clippy warnings, add embedding/omni_patch, update telemetry, and ignore temp files 2026-09-29 06:42:29 +01:00
Riz Ashraf 706e9ad172 style(clippy): auto-fix code style issues and unnecessary map_or allocations detected by cargo clippy 2026-09-27 22:38:08 +01:00
Riz Ashraf febd48c65d fix(mcp): prevent internal handler serialization errors from being silently discarded or defaulting to empty strings 2026-09-27 22:30:32 +01:00
Riz Ashraf 8f32a09399 fix(mcp): propagate internal serialization errors instead of silently swallowing them to prevent LLM hallucination 2026-09-27 22:19:43 +01:00
Riz Ashraf 54aead2151 Add proper lifecycle and superseding support for Architectural Decision Records 2026-09-27 10:01:46 +01:00
Riz Ashraf 70edfa4389 Add delete_decision tool for removing redundant ADRs 2026-09-27 09:57:04 +01:00
Riz Ashraf 4139d8fcc7 Add unit test for malformed Lucene query in OmniSearch 2026-09-27 09:46:08 +01:00
Riz Ashraf 01d3c22c57 Fix error swallowing by propagating JSON serialization errors to LLM 2026-09-27 09:44:04 +01:00
Riz Ashraf 48a1973ea6 Improve OmniSearch error handling to return Lucene syntax errors to LLM 2026-09-27 09:33:58 +01:00
Riz Ashraf 1ea635cdcc Enhance OmniSearch for LLMs with limits and include_body flags 2026-09-27 09:31:58 +01:00
Riz Ashraf 4bae4e9c08 Test coverage and headless nvim bug fixes 2026-09-27 08:10:09 +01:00
Riz Ashraf b1fc381107 fix(test): update test payloads to use snake_case after camelCase removal 2026-09-26 18:05:37 +01:00
Riz Ashraf a24ef598a2 feat(handlers): enrich semantic error messages with prescriptive tool hints to prevent LLM hallucination traps 2026-09-26 08:47:52 +01:00
Riz Ashraf 0ba0ed5b3d refactor: remove redundant multi-line search index unwrap clones across all handlers via new get_search_index accessor 2026-09-26 08:39:42 +01:00
Riz Ashraf f81723a539 fix(mcp): return explicit JSON-RPC errors instead of misleading Ok strings for missing entities and silent graph modification drops 2026-09-26 08:24:56 +01:00
Riz Ashraf 37003be620 refactor: apply rust best practices and fix memory optimizations
- Optimized memory allocation in router.rs by offloading JSON serialization to spawn_blocking and using references.
- Prevented full graph duplication on startup in state.rs index rebuild.
- Eliminated massive String allocations in QueryGraphPathHandler BFS loops.
- Avoided temporary Strings in VisualizeGraphHandler via inline writing.
- Fixed O(N) full-graph deduplication in MergeEntitiesHandler to scale efficiently.
2026-09-22 22:01:38 +01:00
Riz Ashraf 251757f8fc feat(mcp): implement Prompts capability, Resources, and clean up daemon architecture 2026-09-22 21:41:17 +01:00
Riz Ashraf 27aba454e2 perf(server): fix broadcast loops, avoid locking db on index, eliminate O(N*M) search, and fix db loss 2026-09-22 06:33:32 +01:00
Riz Ashraf f76d8ccce8 perf: fix memory leaks, optimize tracing logs, fix networking eof fragmentation bug in nvim-core and stub, and deduplicate json-rpc handlers 2026-09-22 04:31:50 +01:00