Commit Graph
100 Commits
Author SHA1 Message Date
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
Riz Ashraf 185c3c999e fix(mcp): Add missing Cargo.lock, lua bindings, and workspace fixes for tools 2026-09-30 08:47:57 +01:00
Riz Ashraf c1b9767199 docs(mcp): Add V2 enhancements to PROMPTING_GUIDE.md and update README.md 2026-09-30 08:46:28 +01:00
Riz Ashraf 1adc625fcf feat(ast): Add tree-sitter bindings for Java, C, C++, and Go 2026-09-30 08:43:22 +01:00
Riz Ashraf 9787af0f27 feat(mcp): Add replace_ast_node, semantic_code_search, read_directory_architecture, nvim_send_to_terminal 2026-09-30 08:37:26 +01:00
Riz Ashraf d4635ab6dc docs(mcp): Add PROMPTING_GUIDE.md for effective LLM discourse 2026-09-30 05:30:29 +01:00
Riz Ashraf 0e9748f797 feat(mcp): Add 5 developer enhancements (git, logs, clipboard watcher, ast skeleton, nvim ghost text) 2026-09-30 05:29:50 +01:00
Riz Ashraf ccc268d807 test(deploy): implement strict HTTP deployment verification script 2026-09-29 19:18:47 +01:00
Riz Ashraf 6024579a19 fix(justfile): add sleep after shutdown to prevent socket binding race condition on restart 2026-09-29 19:00:58 +01:00
Riz Ashraf 6b25592c1b ui: make Tech Debt and Resolved Errors visually distinct with styled badges 2026-09-29 18:50:11 +01:00
Riz Ashraf 4c8e2f6414 docs: remove zigbuild references and update just commands, fix: remove Content-Length formatting causing parse errors 2026-09-29 18:24:43 +01:00
Riz Ashraf f59602a3e2 feat: Add OS and CWD details to Terminal History UI 2026-09-29 09:03:25 +01:00
Riz Ashraf 4e23043f5d feat: Implement lightweight UDP interactive UI for Neovim
- Rewrote gemini-ui.lua to send native Neovim prompt selections, Ghost Text diff accept/reject actions, and smart context highlighting directly to the backend via zero-latency UDP port 3002, entirely replacing the old xecute_agent terminal subprocesses.
- Added prompt_user and preview_diff extmark lua functions for non-destructive diff review.
- Updated the Rust backend mcp-memory-server UDP listener to ingest the new gent_ask and interactive schema payloads and route them to the EventBus.
- Updated README.md and instructions.md with UDP documentation.
2026-09-29 08:59:23 +01:00
Riz Ashraf b3c64c1ad8 feat: Add cwd and os to TerminalHistory for precise agent binding 2026-09-29 08:34:36 +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 495304f3fa fix(ui): correctly insert new websocket activity feed items at the top and include day/month in timestamps 2026-09-27 23:04:36 +01:00
Riz Ashraf ecfb0ebcd5 feat(ui): reverse live activity feed to render chronological newest at the top 2026-09-27 22:55:18 +01:00
Riz Ashraf 91055b1eda fix(ui): remove malformed javascript block causing graph and tabs to fail to render 2026-09-27 22:48:40 +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 f8925050db test: add unit tests for MCP Resources and Prompts handling 2026-09-27 22:16:46 +01:00
Riz Ashraf 0772c7fca3 fix(ui): inject correct JS loaders for pinned files and milestones lists in NRT 2026-09-27 22:12:25 +01:00
Riz Ashraf c990f5cd3a feat(ui): add Pinned Files tab and Milestone tracking to the dashboard 2026-09-27 22:10:41 +01:00
Riz Ashraf 52c4c7c479 fix(nvim-core): implement empty resource and prompt list stubs for strict MCP client compatibility 2026-09-27 21:59:55 +01:00
Riz Ashraf 36e35d4fbd docs: define strict cognitive boundaries for LLMs between MCP Tools, Resources, and Prompts 2026-09-27 21:55:33 +01:00
Riz Ashraf d2b4f69f97 feat(mcp): expand resources with pinned_files/milestones and handoff_routine prompt 2026-09-27 21:52:35 +01:00
Riz Ashraf f970e1219d docs: Add architecture design for MCP resources and prompts trait refactor 2026-09-27 21:49:41 +01:00
Riz Ashraf 45577a99c4 refactor: implement McpResource and McpPrompt traits to handle MCP endpoints generically 2026-09-27 21:47:52 +01:00
Riz Ashraf 41461a41ef docs: Add AI integration strategy and subagent rationale 2026-09-27 21:29:15 +01:00
Riz Ashraf 2bc27880fd Update system instructions to explicitly teach the LLM about Tasks, Handoffs, Preferences, and Sticky Notes 2026-09-27 10:15:15 +01:00
Riz Ashraf 23413f103f Update instructions to teach agents how to use snippets and PR checklists 2026-09-27 10:13:45 +01:00
Riz Ashraf bb535b62b0 Add delete_context_workspace tool 2026-09-27 10:10:30 +01:00
Riz Ashraf 0699b603c1 Update instructions to teach agents how and when to use context workspaces 2026-09-27 10:06:44 +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 08e0cc390a Fix UI fields rendered for Tech Debt in dashboard 2026-09-27 09:53:53 +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 b7d1ae78db Auto-refresh tab content on switch 2026-09-27 09:19:01 +01:00
Riz Ashraf 4bae4e9c08 Test coverage and headless nvim bug fixes 2026-09-27 08:10:09 +01:00
Riz Ashraf bffc8896f1 Strictly verify UI attachment during fallback pipe discovery 2026-09-26 21:14:10 +01:00
Riz Ashraf 8a67249ddb Fix OS socket routing in telemetry 2026-09-26 21:02:11 +01:00
Riz Ashraf 80b1969b15 Add nvim_get_server_info diagnostic tool 2026-09-26 20:32:12 +01:00
Riz Ashraf d60d6ca70b Implement nvim tool mitigations 2026-09-26 20:22:59 +01:00
Riz Ashraf 24aacdfae1 feat(nvim): add dedicated mcp tools for file reading and regex searching 2026-09-26 18:23:06 +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 e8d7ded32a fix(ui): update frontend dashboard to strictly consume snake_case fields following camelCase removal 2026-09-26 09:06:39 +01:00
Riz Ashraf 05e3e53217 fix(mcp): extract and elevate struct docstrings into root tool schema descriptions to restore semantic LLM visibility 2026-09-26 09:00:00 +01:00
Riz Ashraf e84c101515 fix(mcp): completely eradicate camelCase backward compatibility by removing all serde aliases 2026-09-26 08:56:07 +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 cbef7e5291 test(mcp): add explicit unit tests to strictly verify tool execution success vs error JSON-RPC responses 2026-09-26 08:43:03 +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 d96b4cf822 fix(mcp): convert silently swallowed OK string errors into explicit JSON-RPC errors for task transitions and bulk entity operations 2026-09-26 08:32:04 +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 cc190816fe perf: remove redundant MemoryState::deduplicate and resolve lock contention during index rebuild 2026-09-26 08:15:58 +01:00
Riz Ashraf be85b58be4 fix: agent usability improvements - unified schema casing, fixed silent handler failures, and made namespaces strictly optional 2026-09-26 08:07:28 +01:00
Riz Ashraf 5dd413c397 chore: migrate global agent rules into repository and update deployment scripts 2026-09-26 02:21:42 +01:00
Riz Ashraf 917a9058f9 fix(stub): downgrade websocket disconnect logs to warn/info 2026-09-26 02:06:04 +01:00
Riz Ashraf efcab4a7b4 feat(events): add generic Event Bus and /events/wait endpoint for agent wakeups 2026-09-26 02:05:18 +01:00
Riz Ashraf b8d58b2e64 feat(nvim): add BufWritePost to telemetry triggers for cross-session agent wakeups 2026-09-26 02:01:42 +01:00
Riz Ashraf 5bb83a849b build: track git HEAD and index in build script to accurately detect dirty state 2026-09-26 01:07:57 +01:00
Riz Ashraf 4ecda68c1e Fix UI auto-scroll, make namespace optional, alias filePath, and downgrade ws logs 2026-09-25 21:38:21 +01:00
Riz Ashraf 175882dd1b docs: enforce visual engagement rule for pair programming tasks over headless execution 2026-09-23 08:35:17 +01:00
Riz Ashraf 02af8f18f1 docs: explicitly forbid grepping rust source for mcp schemas and instruct usage of local json cache 2026-09-23 08:14:09 +01:00
Riz Ashraf 14db90acbf fix(nvim): remove unused mut variables 2026-09-23 05:00:35 +01:00
Riz Ashraf e5d4002b38 docs: update instructions to enforce usage of auto-spawning headless neovim instance 2026-09-23 04:55:11 +01:00
Riz Ashraf 914cecbaf2 feat(nvim): implement auto-spawning headless instance and interactive preemption 2026-09-23 04:53:09 +01:00
Riz Ashraf 7d783d2f37 docs: update tool prefixes in root instructions.md 2026-09-23 04:32:28 +01:00
Riz Ashraf da98391ef9 docs(nvim): update instructions.md with correct tool names and new window tools 2026-09-23 04:30:38 +01:00
Riz Ashraf 4cae55bab3 refactor(justfile): decouple build and deploy steps 2026-09-23 04:22:02 +01:00
Riz Ashraf e0eeb4b0a6 chore(justfile): add 'all' recipe that builds and deploys everything 2026-09-23 04:18:51 +01:00
Riz Ashraf be9ad8127a chore(server): correct startup log message 2026-09-23 04:14:53 +01:00
Riz Ashraf 7729b4ae5a fix(nvim): resolve idle zombie connection lock and adjust RPC timeout
- Remove the arbitrary 60-second read timeout on the Neovim socket that caused the read task to exit during idle periods, permanently locking the connection state.
- Automatically clear the connection state variable when the read loop breaks (e.g. true EOF), allowing get_nvim_connection() to correctly auto-reconnect on the next call.
- Increase the Neovim RPC call timeout from 10s to 30s to accommodate heavier operations (e.g., massive Lua regex substitutions) without falsely dropping the connection.
2026-09-23 04:09:09 +01:00
Riz Ashraf ab1d209c1d feat(nvim): complete window management symmetry
- Add
vim_close_window to unsplit active layout without destroying underlying buffer.
- Add
vim_list_windows to discover active splits.
- Add
vim_get_active_window and
vim_set_active_window to programmatically navigate windows.
2026-09-23 04:05:39 +01:00
Riz Ashraf 6a89f50cf2 feat(nvim-core): implement nvim_set_extmark for rich virtual text UI feedback
- Added nvim_set_extmark tool schema and handler
- Implemented lua bridge using vim.api.nvim_buf_set_extmark to dynamically overlay ghost text and highlight groups onto active buffers
2026-09-22 22:34:06 +01:00
Riz Ashraf ea735003e2 feat(nvim-core): implement bidirectional event streaming and real-time shadow buffer
- Created global thread-safe NvimState to shadow Neovim context.
- Injected Lua autocmds (CursorMoved, TextChanged) on connection to stream events back to MCP.
- Upgraded msgpack RPC loop to intercept and parse 'mcp_event' notifications alongside standard responses.
- Optimized nvim_get_cursor to pull instantly from the local shadow buffer, bypassing RPC round-trips.
2026-09-22 22:32:37 +01:00
Riz Ashraf 61b03bc6e3 perf(nvim-core): implement zero-copy BytesMut stream buffer and DashMap for lock contention 2026-09-22 22:26:00 +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 9b9b403ef2 fix(build): cleanly terminate all mcp binaries on deploy and supply bearer token to shutdown 2026-09-22 06:58:38 +01:00
Riz Ashraf d8285a41c7 feat(server): embed LLM handshake instructions in MCP initialization 2026-09-22 06:51:08 +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 1e39122e05 fix: remove potential panic on initialize result serialization in nvim-core 2026-09-22 06:16:06 +01:00
Riz Ashraf b2f15de58c style: fix clippy collapsible_if warnings in nvim-core 2026-09-22 06:07:50 +01:00
Riz Ashraf 148025c5a7 fix: replace pending_requests Mutex unwrap with unwrap_or_else to prevent poison panics 2026-09-22 06:00:54 +01:00
Riz Ashraf dd4a71d44d build: upgrade all workspace crates to rust edition 2024 2026-09-22 05:58:30 +01:00
Riz Ashraf b8070de38c refactor: deduplicate lua execution match blocks in nvim-core using handle_lua_result macro 2026-09-22 05:57:50 +01:00
Riz Ashraf 02f40604e1 perf: fix slice boundary panics, eliminate string allocation in stdio reader, fix lua table nesting bug, and optimize nvim socket chunk size 2026-09-22 05:51:15 +01:00
Riz Ashraf e215720416 chore: remove unused dependencies discovered by cargo-machete 2026-09-22 05:44:09 +01:00
Riz Ashraf 961a5a9e1b chore: strip unused rustls configurations to drastically speed up compilation 2026-09-22 05:40:11 +01:00
Riz Ashraf 0db94da646 Merge branch 'master' of ssh://gitea.rizaz.com:222/riz/mcp-memory 2026-09-22 05:08:54 +01:00
Riz Ashraf c8f8ff8997 chore: update major dependencies and fix API breakages 2026-09-22 05:08:42 +01:00