AGENTS.md
AGENTS.mdAGENTS.mdroot
Quality
58/100
Scores the file, not the repository.Length
297 words
5 headings · 1 code blocksRepository
1.4k
— · pushed 1 days agoLast changed
3 days ago
First indexed 3 days ago.1# codedb Agent Guidelines23## What codedb is (and isn't)45codedb is a **code-intelligence and context tool, not an editor.** It exists to6help agents *find and understand* code — structural search, symbol/caller7lookup, dependency graph, outlines, and task-shaped context — so they can edit8with their own native tools. codedb has **no edit capability**: the old9`codedb_edit` fallback (and the HTTP `POST /edit` endpoint, the post-edit10linter, and `codedb_diagnostics`) was removed because MCP edit calls bypass the11client's own undo/rewind tracking. Keep that framing consistent across tool12descriptions, the MCP `initialize` instructions, the README, and these docs.1314## Review guidelines1516- Flag any security issues: injection, file traversal, untrusted input, secret exposure17- Verify that sensitive files (.env, .pem, .key, credentials) are excluded from indexing AND search18- Check that telemetry behavior matches documentation claims19- Flag any regression in benchmark-critical paths (threshold: 10%)20- Treat P1 issues as merge-blocking21- Verify new language parsers handle malformed input gracefully (braces in strings, unterminated comments)22- Check that installer scripts don't execute untrusted code or skip verification2324## Pre-merge verification2526Run these before merging any MCP-related change:2728```bash29zig build test # unit tests30python3 scripts/e2e_mcp_test.py \31 --binary zig-out/bin/codedb \32 --project /path/to/codedb # E2E MCP scenarios33```3435`e2e_mcp_test.py` covers three scenarios:361. **issue-346 regression** — spawn from cwd=`/`, roots handshake, tools return real data372. **Normal mode** — explicit positional root (`codedb <path> mcp`), immediate scan383. **No-roots client** — spawn from `/` with no roots capability, stays alive gracefully3940## Security-sensitive areas4142- `src/watcher.zig` — file indexing skip lists (secrets must be excluded)43- `src/mcp.zig` — file read/search (path traversal, scope boundaries)44- `src/telemetry.zig` — data collection and transmission (must match docs)45- `src/snapshot.zig` — sensitive file filtering46- `install/install.sh` — binary download and config modification47
Also in justrach/codedb
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| justrach/codedb.github/copilot-instructions.md · 1.4k | Copilot instructions | teststyledo-notagent-behaviour | 74/100 | 3 days ago | |
| justrach/codedbCLAUDE.md · 1.4k | CLAUDE.md | teststyledo-notagent-behaviour | 74/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| OnlyTerp/prompt-cache-skillsAGENTS.md · 112 | AGENTS.md | setupbuildtestlint-format+5 | 100/100 | 3 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago |
