Skip to content

Commit 0db5edc

Browse files
HumanBean17claude
andcommitted
rollback: revert June 6th commits except cocoindex PATH fix, skill rework, and deps cleanup
Restores tree to 2a3e4be (last pre-June-6) plus: - 4c7ae7b fix(pipeline): fall back to PATH lookup for cocoindex binary (#261) - 584db63 rework skill and agent to combine RAG graph navigation with file-system search (#269) - f512e87 remove requirements.txt, declare all deps in pyproject.toml (#271) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent ca005a9 commit 0db5edc

21 files changed

Lines changed: 3039 additions & 5080 deletions

AGENTS.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,6 @@ The repo has a strong "propose then implement" culture (`propose/`,
154154
Skip this for clearly-bounded fixes (one-file bugs, doc edits, test
155155
loosening). Use judgement.
156156

157-
When brainstorming produces a spec/design, write it as a proposal in
158-
`propose/active/<TOPIC>-PROPOSE.md` using the format established in
159-
`propose/completed/` (open a completed proposal there and match its
160-
section structure, headings, and level of detail — specific headings vary
161-
by proposal but always include: TL;DR, design principles, proposed
162-
surface/solution, risks and mitigations, decisions taken, tests, out of
163-
scope, migration plan). Do NOT use a brainstorming skill's default
164-
`docs/superpowers/specs/` location.
165-
166157
## Per-PR agent task contract
167158

168159
When you're given a per-PR task prompt from `plans/AGENT-PROMPTS-*.md`

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ If vector hits come back and graph expansion adds neighbor symbols, the install
8484

8585
## Wire into an MCP host
8686

87-
The server discovers your project automatically: it walks up from cwd looking for `.java-codebase-rag.yml` (or `.yaml`), like git finds `.git`. No env vars required if you have a YAML config in your project tree. For full precedence details, see [`docs/CONFIGURATION.md`](./docs/CONFIGURATION.md).
88-
8987
### Claude Code
9088

9189
With the package installed, the console script `java-codebase-rag-mcp` is on your `PATH`. Register it project-scoped:
@@ -94,7 +92,7 @@ With the package installed, the console script `java-codebase-rag-mcp` is on you
9492
claude mcp add --transport stdio java-codebase-rag -- java-codebase-rag-mcp
9593
```
9694

97-
No env vars needed — the server walks up from cwd to find `.java-codebase-rag.yml`. For a minimal `.mcp.json` template, see [`mcp.json.example`](./mcp.json.example). Official docs: [Claude Code settings](https://docs.anthropic.com/en/docs/claude-code/settings).
95+
Then set env vars (`JAVA_CODEBASE_RAG_INDEX_DIR`, `JAVA_CODEBASE_RAG_SOURCE_ROOT`, `SBERT_MODEL`, …) in `.mcp.json` or your shell profile. For a project-scoped `.mcp.json` template, see [`mcp.json.example`](./mcp.json.example). Official docs: [Claude Code settings](https://docs.anthropic.com/en/docs/claude-code/settings).
9896

9997
### Claude Desktop
10098

@@ -104,14 +102,16 @@ Edit `claude_desktop_config.json` (macOS: `~/Library/Application Support/Claude/
104102
{
105103
"mcpServers": {
106104
"java-codebase-rag": {
107-
"command": "java-codebase-rag-mcp"
105+
"command": "java-codebase-rag-mcp",
106+
"env": {
107+
"JAVA_CODEBASE_RAG_INDEX_DIR": "/ABSOLUTE/PATH/TO/.java-codebase-rag",
108+
"JAVA_CODEBASE_RAG_SOURCE_ROOT": "/ABSOLUTE/PATH/TO/your-java-project"
109+
}
108110
}
109111
}
110112
}
111113
```
112114

113-
The server discovers the project via walk-up from the cwd of the MCP host process. If your Java project is not the cwd, either set `JAVA_CODEBASE_RAG_SOURCE_ROOT` in the `env` block or add a `source_root` field to `.java-codebase-rag.yml` (see [`docs/CONFIGURATION.md`](./docs/CONFIGURATION.md)).
114-
115115
See [`mcp.json.example`](./mcp.json.example) for the same shape in `.mcp.json` (Claude Code project-scoped) form.
116116

117117
### Driving the MCP from an agent

0 commit comments

Comments
 (0)