Riz Ashraf
760ebfcd40
perf: auto-populate git context natively to avoid token waste
...
- Added get_git_context() to utils.rs using git2 to natively fetch branch, commit, and repo_name without CLI overhead.
- Wired native auto-population into LogCodeChangeHandler, LogErrorFixHandler, TechDebtHandler, TasksHandler, MilestonesHandler, AutoSessionCheckpointHandler, and HandoffMemosHandler.
- Eliminates the need for the LLM to waste repetitive background turns running git rev-parse HEAD and git branch --show-current via terminal shell commands just to feed the MCP logging tools.
2026-10-10 18:32:02 +01:00
Riz Ashraf
11f375017a
feat: add ignore_ssl_errors to FetchUrlTool
2026-10-10 18:00:38 +01:00
Riz Ashraf
5583132cdc
feat: add FetchUrlTool with proxy support and cross-OS path sanitization
...
- Implement native FetchUrlTool using reqwest for HTTP fetching, which respects HTTP_PROXY, HTTPS_PROXY, and NO_PROXY natively.
- Introduce sanitize_path in utils to bidirectionally handle Windows/WSL path mapping, applying it to various search/git handlers.
- Update .gitignore to exclude mcp_store.redb and tantivy_index.
2026-10-10 17:51:56 +01:00
Riz Ashraf
250b70d329
chore: strictly deny unused imports workspace-wide
...
- Added `unused_imports = "deny"` to workspace lints in Cargo.toml
- Opted-in all crates to inherit workspace lints
- Fixed resulting unused imports in `dump_schema.rs`
2026-10-10 14:30:49 +01:00
Riz Ashraf
9546ca4c04
test: update assertions to match markdown refactor of GetProjectHealthTool
2026-10-10 13:42:34 +01:00
Riz Ashraf
b5f1da3c0e
refactor: optimize LLM context window by returning curated Markdown instead of raw YAML dumps for query tools
2026-10-10 13:36:35 +01:00
Riz Ashraf
de060c4db4
fix: restore AppError::Internal for AST parser error, keeping BadRequest for JSON schema validation
2026-10-10 13:10:15 +01:00
Riz Ashraf
39528411f4
fix(graph): improve LLM tool UX for GetSubgraphTool and ReadGraphTool
2026-10-10 12:50:07 +01:00
Riz Ashraf
eed9a9165c
feat(graph): add ergonomic UpdateEntitiesTool for renaming and type changes
2026-10-10 12:27:29 +01:00
Riz Ashraf
cfcd42f41e
fix(graph): implement fuzzy substring matching for DeleteObservationsTool to improve LLM UX
2026-10-10 12:18:00 +01:00
Riz Ashraf
7c9e901c12
style: Apply cargo fix for unused variables
2026-10-10 11:12:03 +01:00
Riz Ashraf
9f00d8298f
fix(mcp): Add namespace fields to EntityInput and RelationInput DTOs to fix test regression
2026-10-10 11:08:25 +01:00
Riz Ashraf
e006ef1220
perf(mcp): Replace redundant LLM usages with deterministic logic
...
- Refactored memory_consolidation_worker to use purely deterministic string normalization ((N)$ regex stripping & lowercase) instead of passing graph entities to Ollama for duplication detection.
- Removed redundant Ollama architectural summarization from log_code_change tool since the agent already provides a descriptive summary.
- Removed redundant Ollama fix summarization from log_error_fix tool since the agent already provides a solution string.
2026-10-10 10:58:50 +01:00
Riz Ashraf
26eaf03b6f
fix: ensure tagged-enum schema injection meets tool expectations
2026-10-10 10:35:27 +01:00
Riz Ashraf
2cfaeda0cb
Refactor remaining tools to tagged enums
...
Refactored DecisionsTool, TechDebtTool, ManageCheckpointTool, HypothesesTool, AgentSignalsTool to use tagged enums for precise JSON schemas, and updated their handlers.
2026-10-10 10:23:58 +01:00
Riz Ashraf
8ff43487bc
fix: correct tests following strict removal of legacy json aliases
2026-10-10 08:24:42 +01:00
Riz Ashraf
a9ed5ae9c8
refactor: add missing schemars descriptions and correct mismatched docstrings
2026-10-10 04:33:18 +01:00
Riz Ashraf
48f49d5d02
chore: strictly remove legacy JSON field aliases from tool schemas
2026-10-10 04:20:31 +01:00
Riz Ashraf
2ae343d968
refactor: clean up redundant serde aliases in tools schema
2026-10-10 03:54:16 +01:00
Riz Ashraf
27416e4ee9
fix(nvim-core): implement missing json-rpc actions for buffer, workspace, ui, and intelligence tools
2026-10-10 03:06:14 +01:00
Reazul Ashraf
4bfb3b6359
chore: remove vertical split requirement for nvim markdown presentation
2026-10-10 02:28:10 +01:00
Riz Ashraf
36b86e5b92
chore: remove unused redb::ReadableTable import in db.rs
2026-10-09 09:43:02 +01:00
Riz Ashraf
0c2fc96ff8
chore: housekeeping
2026-10-09 09:33:54 +01:00
Riz Ashraf
4ea8f861cc
refactor(nvim-core): map requests directly to mega-tools and remove legacy routing
2026-10-09 06:43:05 +01:00
Riz Ashraf
7fed3a2e77
docs(nvim-core): prune obsolete tool names from configuration and docs
2026-10-09 06:16:29 +01:00
Riz Ashraf
bce9b82b66
feat(nvim-core): consolidate nvim tools into 5 mega-tools
2026-10-09 06:08:08 +01:00
Riz Ashraf
03f8786d24
chore: resolve clippy warnings for pre-push audit
2026-10-09 01:06:30 +01:00
Riz Ashraf
bd20482cea
fix(embedding): resolve large_enum_variant clippy error
2026-10-09 00:56:47 +01:00
Riz Ashraf
1ed75ca156
feat(nvim): add nvim_lsp, nvim_ast, buffer undo/redo
2026-10-09 00:51:05 +01:00
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
b4431a4dcd
feat(nvim): update nvim_buffer edit to handle multiple block edits
2026-10-09 00:18:01 +01:00
Riz Ashraf
d6acd885dd
fix(nvim): eliminate \r corruption in buffer mutations
...
- Pre-process and strip carriage returns natively in Rust before RPC serialization.
- Pass replacement strings to Neovim as native MsgPack arrays to bypass Lua vim.split overhead.
- Directly feed table arrays into vim.api.nvim_buf_set_lines for exact buffer matches.
2026-10-08 23:58:49 +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
003b3cb2bf
docs: strictly enforce agnostic Neovim rules and ban invisible shell edits
2026-10-08 23:29:44 +01:00
Riz Ashraf
5485b40d14
feat(nvim-core): make nvim_execute_lua read-only to enforce specialized tool usage
2026-10-08 23:19:47 +01:00
Riz Ashraf
9d9e959744
chore: fix formatting and clippy lints
2026-10-08 23:01:38 +01:00
Riz Ashraf
8952bd5399
feat(ollama): keep models in VRAM for 1h to prevent cold starts
2026-10-08 22:57:02 +01:00
Riz Ashraf
4005f566cf
Expand Ollama context windows (num_ctx) and output limits
2026-10-08 22:53:24 +01:00
Riz Ashraf
7eae2fa0aa
Update ocrs models to S3 endpoints and add download error logging
2026-10-08 22:38:38 +01:00
Riz Ashraf
5c5aead1a5
Replace Ollama/Windows OCR with ocrs, add clipboard image deduplication
2026-10-08 21:48:12 +01:00
Reazul Ashraf
548f0a06ea
Fix type inference for non-windows target
2026-10-08 13:43:43 +01:00
Riz Ashraf
8c6bf05269
feat: implement native UDP ping/pong health check pattern
2026-10-08 12:46:55 +01:00
Riz Ashraf
0da84c804c
chore: test UDP rendezvous
2026-10-08 11:36:42 +01:00
Riz Ashraf
8e3d356167
chore: test UDP rendezvous
2026-10-08 11:35:13 +01:00
Riz Ashraf
8bc8c97504
feat: use UDP rendezvous for git pre-push hook
...
Replaces the Python-based pre-push hook and long-polling HTTP logic with a native shell script using udp-send --wait to block on an ephemeral UDP port in the kernel. mcp-memory-server acts as the broker and replies to subscribers.
2026-10-08 11:33:13 +01:00
Riz Ashraf
f4dcf3acbf
feat: event-driven parity, Windows shell detection, dirty build timestamps, and gatekeeper integration
2026-10-08 10:52:19 +01:00
Riz Ashraf
64857f9d5e
fix(concurrency): serialize Win32 clipboard access and test env vars to prevent STATUS_HEAP_CORRUPTION
2026-10-07 22:30:36 +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
3b08f45618
docs: synchronize documentation, agent rules, instructions, tools/list, and resources/list
...
- Document all 53 MCP tools, 9 passive MCP resources, and 5 workflow prompts
- Document 100% ADR implementation status and automated post-commit reconciliation engine
- Update and deploy agent-rules (mcp_memory_workflow.md) to Windows and WSL
- Fix dashboard live ADR tab refresh and Cache-Control headers
- Synchronize instructions.md across root, server embedded, Windows, and WSL MCP configs
2026-10-07 21:34:43 +01:00
Riz Ashraf
37fc811752
build(justfile): add Scoop cargo bin path to deploy-server target list
2026-10-07 20:23:47 +01:00
Riz Ashraf
40cab6142b
feat(adr): implement ADR-0109, ADR-0110, and ADR-0111
...
- ADR-0109: Incremental Background AST Indexing & Differential Graph Updates via Tree-Sitter
- ADR-0110: Real-Time SSE Live Activity & Log Stream (/api/events/stream)
- ADR-0111: Automated Stale Symbol Pruning & Graph Tombstoning (sweep_graph_health auto_prune_stale_files)
2026-10-07 20:17:19 +01:00
Riz Ashraf
d792b50343
feat(milestones): add POST /api/milestones endpoint and resolve collapsible_if warnings (TD-fc685b13-d9c2-4a57-ac4d-5228a71a2ec0)
2026-10-07 19:32:11 +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
626403900f
refactor(cleanroom): scrub legacy backward-compatibility shims across telemetry and models
2026-10-05 13:34:14 +01:00
Riz Ashraf
b4a95b3e6a
test(api): expand live activity feed and telemetry integration unit tests
2026-10-05 13:29:01 +01:00
Riz Ashraf
da3700d1d5
fix(dashboard): enhance live activity formatting, add empty state placeholder, and add API unit tests
2026-10-05 13:05:08 +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
e45db33297
fix(nvim): wipe pristine un-named buffers on nvim_open_file and unlist scratch buffers in nvim_open_buffer
2026-10-05 10:55:57 +01:00
Riz Ashraf
6e0ccf8082
refactor(justfile): drop aliases/duplication, enforce single canonical commands, and add descriptions for all recipes
2026-10-05 10:48:43 +01:00
Riz Ashraf
bd8a892101
feat(deploy): ensure deploy-server executes graceful shutdown before replacing binaries and auto-restarts server
2026-10-05 10:46:38 +01:00
Riz Ashraf
2cd912858a
feat(deploy): sync binary release across .local/bin and .cargo/bin for CLI --version alignment
2026-10-05 10:30:08 +01:00
Riz Ashraf
55c2636db9
feat(cli): add just version recipe for double-lock cross-checking
2026-10-05 10:22:12 +01:00
Riz Ashraf
9f10984c18
fix(scripts): update justfile and verify_deployment script to check /health version
2026-10-05 09:59:30 +01:00
Riz Ashraf
cb39f94584
fix(server): return version details in health and shutdown endpoints
2026-10-05 09:58:50 +01:00
Riz Ashraf
4cb76725fe
feat(rules): track mcp_and_build_constraints.md in git
2026-10-05 09:58:13 +01:00
Riz Ashraf
91d5565141
fix: ensure authenticated graceful shutdown exits process and sort live activity feed by timestamp descending
2026-10-04 02:55:56 +01:00
Riz Ashraf
3efee96230
perf: debounce store writes and add retry loop on Redb transaction collisions
2026-10-04 02:17:37 +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
87ddb01063
feat(dashboard): fix Ctrl+K shortcut, debounce search queries, and add request cancellation
2026-10-02 07:27:31 +01:00
Riz Ashraf
83aa26634d
docs: update workflow constraints, rules, and project documentation
2026-10-02 07:27:26 +01:00
Riz Ashraf
74ca0948c9
fix(deploy): update deploy-server recipe with error suppression for locks
2026-10-02 07:27:21 +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
3add6c3d31
Refactor vector search to utilize Qdrant VectorDB
2026-09-30 14:37:41 +01:00
Riz Ashraf
61c0e88ad8
feat(server): add qdrant vector db integration
2026-09-30 14:05:49 +01:00
Riz Ashraf
def473c856
feat(mcp): update tool descriptions for LLM context optimization
2026-09-30 12:36:33 +01:00
Riz Ashraf
3a46124676
docs: Update guidelines and effective discourse for MCP tools
2026-09-30 12:33:01 +01:00
Riz Ashraf
292a6e95ab
Docs: Update Effective Discourse instructions for users and agents
2026-09-30 12:24:35 +01:00
Riz Ashraf
63f8ec6281
Implement Knowledge Graph Consolidation worker in server
2026-09-30 12:19:47 +01:00
Riz Ashraf
d2ab8c89b6
Merge file system hooks implementation
2026-09-30 10:06:09 +01:00
Riz Ashraf
5870f37fbd
feat: implement proactive daemon hooks for file saves
2026-09-30 09:54:06 +01:00
Riz Ashraf
181fc096a1
Implement global codebase vector indexing
2026-09-30 09:45:27 +01:00
Riz Ashraf
ec0472155f
perf(mcp): Batch semantic code search embeddings to resolve CPU bottleneck and fix linting warnings
2026-09-30 09:07:14 +01:00