RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/AGENTS.md/justrach/codedb

AGENTS.md

AGENTS.md
AGENTS.mdroot

Quality

58/100

Scores the file, not the repository.

Length

297 words

5 headings · 1 code blocks

Repository

1.4k

— · pushed 1 days ago

Last changed

3 days ago

First indexed 3 days ago.
justrach/codedb/AGENTS.mdRawGitHub
1# codedb Agent Guidelines
2 
3## What codedb is (and isn't)
4 
5codedb is a **code-intelligence and context tool, not an editor.** It exists to
6help agents *find and understand* code — structural search, symbol/caller
7lookup, dependency graph, outlines, and task-shaped context — so they can edit
8with their own native tools. codedb has **no edit capability**: the old
9`codedb_edit` fallback (and the HTTP `POST /edit` endpoint, the post-edit
10linter, and `codedb_diagnostics`) was removed because MCP edit calls bypass the
11client's own undo/rewind tracking. Keep that framing consistent across tool
12descriptions, the MCP `initialize` instructions, the README, and these docs.
13 
14## Review guidelines
15 
16- Flag any security issues: injection, file traversal, untrusted input, secret exposure
17- Verify that sensitive files (.env, .pem, .key, credentials) are excluded from indexing AND search
18- Check that telemetry behavior matches documentation claims
19- Flag any regression in benchmark-critical paths (threshold: 10%)
20- Treat P1 issues as merge-blocking
21- 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 verification
23 
24## Pre-merge verification
25 
26Run these before merging any MCP-related change:
27 
28```bash
29zig build test # unit tests
30python3 scripts/e2e_mcp_test.py \
31 --binary zig-out/bin/codedb \
32 --project /path/to/codedb # E2E MCP scenarios
33```
34 
35`e2e_mcp_test.py` covers three scenarios:
361. **issue-346 regression** — spawn from cwd=`/`, roots handshake, tools return real data
372. **Normal mode** — explicit positional root (`codedb <path> mcp`), immediate scan
383. **No-roots client** — spawn from `/` with no roots capability, stays alive gracefully
39 
40## Security-sensitive areas
41 
42- `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 filtering
46- `install/install.sh` — binary download and config modification
47 

Commands it names

  • zig build test
  • python3 scripts/e2e_mcp_test.py \

Sections

  • codedb Agent Guidelines
  • What codedb is (and isn't)
  • Review guidelines
  • Pre-merge verification
  • Security-sensitive areas

What it covers

git-prsecurityagent-behaviour

Stack — with the evidence

zig

(1.00)

github-actions

(0.60)

Format

AGENTS.md

A plain-markdown README for coding agents, deliberately unopinionated: no frontmatter, no globs, no vendor keys. That minimalism is why it became the one file a dozen different agents will read, and why it carries the least per-file targeting power of any format here.

What the corpus says about it

Repository

Owner
justrach
Language
—
License
—
Archived
no

All configs in this repo

Also in justrach/codedb

Diff this repo’s formats

One 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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
justrach/codedb.github/copilot-instructions.md · 1.4kCopilot instructionsziggithub-actionsteststyledo-notagent-behaviour74/1003 days ago
justrach/codedbCLAUDE.md · 1.4kCLAUDE.mdziggithub-actionsteststyledo-notagent-behaviour74/1003 days ago
Diff against .github/copilot-instructions.md Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
trick77/agents-md-syncAGENTS.md · 2AGENTS.mdtypescriptnode+4setupbuildteststyle+5100/1003 days ago
SkeneTechnologies/skene-cookbookAGENTS.md · 51AGENTS.mdpythoneslint+4setupbuildtestlint-format+7100/1002 days ago
duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70AGENTS.mdtypescriptjavascript+5buildteststylearch+3100/1003 days ago
wpscanteam/wpscanAGENTS.md · 9.7kAGENTS.mdrubyvue+3setupbuildteststyle+6100/1002 days ago
OnlyTerp/prompt-cache-skillsAGENTS.md · 112AGENTS.mdpythongithub-actionssetupbuildtestlint-format+5100/1003 days ago
mui/material-uiAGENTS.md · 99kAGENTS.mdtypescriptjavascript+13setupbuildtestlint-format+9100/1003 days ago
n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199kAGENTS.mdtypescriptlangchain+16buildteststylearch+3100/1003 days ago
aaif-goose/gooseAGENTS.md · 52kAGENTS.mdrusttypescript+2setupbuildtestlint-format+6100/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack