Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
7ff9095
Add unit tests for various components and utilities
Feb 24, 2026
364b690
fix(arch-engine,stdio): N3 + N7 — stdio tool gap and arch_validate wo…
Feb 24, 2026
d5c2c1f
fix(builder,community,bm25): SX3 .js import resolution, SX5 community…
Feb 24, 2026
bc0b1fa
fix(health): SX8 drift false-positive — compare cachedNodes to indexa…
Feb 24, 2026
e452e4c
fix(test-tools): SX4 — use process.execPath + local vitest bin to avo…
Feb 24, 2026
995e0c2
fix(server): align tool schema and index registration
Feb 24, 2026
df5666d
fix(stdio): replace all console.log with console.error in runtime files
Feb 24, 2026
ea1d181
feat(audit): add comprehensive audit scripts for lxRAG-MCP
Feb 24, 2026
5b2c203
fix: outdated packages, fix minor bugs
Feb 25, 2026
14e4768
feat(coordination): introduce coordination engine with Cypher queries…
Feb 25, 2026
7d4f0ae
Merge pull request #1 from lexCoder2/test/refactor
lexCoder2 Feb 25, 2026
b54c06e
test: reorganize test files into __tests__ directories
Feb 25, 2026
8c51df8
refactor(tools): split registry into focused handler modules
Feb 25, 2026
13e375a
docs(code): standardize module headers across engines and graph
Feb 25, 2026
9b422c6
docs: add comment standard and consolidated project summaries
Feb 25, 2026
a44064f
Remove outdated lxRAG tool issues documentation, add new templates fo…
Feb 25, 2026
078bc4a
Merge pull request #2 from lexCoder2/test/refactor
lexCoder2 Feb 25, 2026
b7062cb
chore(tooling): add project configuration files
Feb 28, 2026
2279ab3
feat(logger): add structured JSON logger writing to stderr
Feb 28, 2026
e9652d4
feat(contract): add Zod-based tool schema validator
Feb 28, 2026
1941dd3
chore: remove dead code test harness files
Feb 28, 2026
e17c8e3
refactor: type hardening in server bootstrap and shared types
Feb 28, 2026
fd4ecc9
refactor(graph): type hardening across graph layer
Feb 28, 2026
0298c1c
refactor(engines): type hardening across engine layer
Feb 28, 2026
fda7f96
refactor(parsers/response/vector): type hardening in supporting layers
Feb 28, 2026
a9e6982
refactor(tools): type hardening across tool handler layer
Feb 28, 2026
00c241d
refactor(cli): type hardening in CLI commands
Feb 28, 2026
4587ed7
test(engines): add and expand engine unit tests
Feb 28, 2026
acdac5f
test(graph/parsers): add PPR and regex-language-parser tests
Feb 28, 2026
783070a
test(tools): add integration tests and update unit test suites
Feb 28, 2026
c05daa4
docs+scripts: add roadmap, audit report, integration test script
Feb 28, 2026
119d9d8
chore(coverage): update coverage reports and file-hash cache
Feb 28, 2026
fd60b9a
feat(graph): add workspace fingerprint for stale-graph detection
Feb 28, 2026
d0844ee
rebrand: lxRAG → lxDIG (Dynamic Intelligence Graph)
Feb 28, 2026
4a568f9
style: remove dash from brand name — lxDIG-MCP → lxDIG MCP in prose
Feb 28, 2026
f1171ee
Merge pull request #3 from lexCoder2/test/refactor
lexCoder2 Feb 28, 2026
fd10411
Test/refactor (#4)
lexCoder2 Feb 28, 2026
161a7ea
Test/refactor (#5)
lexCoder2 Feb 28, 2026
0309a54
refactor: streamline tsconfig.json creation in Dockerfile
Feb 28, 2026
565c1fe
feat: Introduce new tools for element resolution, embedding managemen…
Mar 1, 2026
31d3bac
fix: unused var error
Mar 1, 2026
6f7b14f
Add initial schema definition for lxDIG Graph v2
Mar 1, 2026
0c615e8
refactor: restructure GraphBuilder to return separate nodes and edges…
Mar 1, 2026
e0638ed
refactor: update copilot instructions and add detailed agent guide ge…
Mar 1, 2026
46184e4
feat: enhance embedding management and Qdrant synchronization
Mar 1, 2026
0f75eb7
chore: remove coverage from git history
Mar 1, 2026
edfe2c0
refactor: documentation for MCP integration and tool usage
Mar 2, 2026
4b40b04
refactor: normalize changedFiles handling in ToolHandlers and improve…
Mar 2, 2026
32d850e
Merge branch 'main' of github.com:lexCoder2/lxDIG-MCP into main
Mar 2, 2026
9a94009
Merge branch 'main' into remove-coverage
Mar 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 16 additions & 8 deletions docs/CLAUDE_INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## The Problem

Copilot instructions get **ignored in longer conversations** (15+ messages) and Claude falls back to:

- Reading files directly
- Using grep patterns
- Manual code analysis
Expand All @@ -17,6 +18,7 @@ Copilot instructions get **ignored in longer conversations** (15+ messages) and
## The Solution: System Prompt Engineering

Make the system prompt **enforce MCP at protocol level**:

- File reads become impossible (system block)
- Grep becomes forbidden (protocol-level)
- MCP becomes mandatory (only option)
Expand All @@ -36,7 +38,7 @@ Edit `~/.claude_desktop_config.json`:
"mcpServers": {
"lxdig": {
"command": "node",
"args": ["/home/alex_rod/code-graph-server/dist/server.js"],
"args": ["/home/alex_rod/projects/lxDIG-MCP/dist/server.js"],
"env": {
"MCP_TRANSPORT": "stdio",
"MEMGRAPH_HOST": "localhost",
Expand All @@ -53,19 +55,21 @@ Edit `~/.claude_desktop_config.json`:
### Step 2: Update VS Code Settings

Create `.vscode/mcp.json`:

```json
{
"servers": {
"lxdig": {
"type": "stdio",
"command": "node",
"args": ["/home/alex_rod/code-graph-server/dist/server.js"]
"args": ["/home/alex_rod/projects/lxDIG-MCP/dist/server.js"]
}
}
}
```

Create `.vscode/settings.json`:

```json
{
"claude.alwaysUseMCP": true,
Expand All @@ -82,6 +86,7 @@ Close and reopen Claude completely.
Ask Claude: "How does src/main.ts work?"

**Expected**:

- Claude calls `graph_set_workspace`
- Claude calls `code_explain('main')`
- NO file reads
Expand All @@ -90,12 +95,12 @@ Ask Claude: "How does src/main.ts work?"

## Why This Works

| Before | After |
|--------|-------|
| Instructions fade in long chats | System prompt is protocol-level |
| Claude reads files anyway | File reads are system-blocked |
| Uses grep by default | Grep is forbidden |
| Context gets out of sync | Health checks re-anchor every 5 messages |
| Before | After |
| ------------------------------- | ---------------------------------------- |
| Instructions fade in long chats | System prompt is protocol-level |
| Claude reads files anyway | File reads are system-blocked |
| Uses grep by default | Grep is forbidden |
| Context gets out of sync | Health checks re-anchor every 5 messages |

---

Expand Down Expand Up @@ -146,16 +151,19 @@ System Prompt:
## Troubleshooting

### Claude still reads files

- Check system prompt in Claude Desktop config
- Verify "NEVER read files" is present
- Restart Claude completely

### Long conversations break

- Ensure `graph_health()` re-anchoring is in system prompt
- Test with 50+ message conversation
- If fails at message N, check if `graph_health()` was called at N-5

### MCP tools not available

- Verify MCP server running: `curl http://localhost:9000/health`
- Check Docker: `docker-compose ps`
- Restart Claude
Expand Down
231 changes: 0 additions & 231 deletions docs/GRAPH_STATE_QUICK_REF.txt

This file was deleted.

Loading
Loading