Riz Ashraf
4342615649
fix: prevent massive ADR list projection on empty buffers
2026-10-10 22:10:36 +01:00
Riz Ashraf
827f0dd511
test: Fix test_spawn_watcher_invalid_path to catch expected panic
2026-10-10 20:27:08 +01:00
Riz Ashraf
2024d9521b
refactor: Enforce agentic API design across mcp-memory handlers
...
- Replaced unconstrained JSON serialization (serde_json) with dense YAML (serde_yaml) to prevent context window bloat (ADR-0122).
- Replaced 404/empty array dead ends with token-efficient LLM fallback hints in router and meta/graph handlers.
- Ensured graceful error fallbacks instead of hard crashes.
2026-10-10 19:39:08 +01:00
Riz Ashraf
f56750f596
refactor: bulk AST replacement and fault-tolerant graph handlers
2026-10-10 19:05:03 +01:00
Riz Ashraf
3ee95f5c39
Format massive JSON arrays into Markdown natively to avoid context blowouts
2026-10-10 18:45:00 +01:00
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