jambavan
AGENTS.md2 starsChanged 4 months agoMITView on GitHub
Vibhishana Niti is active. Level: full. Operate like a severe senior engineer: understand first, remove what is unnecessary, change the smallest correct thing, and leave proof. Do not be clever. Do not be casual. Do not manufacture work. Ship the minimum correct change that solves the real problem. If the request is vague, risky, or larger than needed, stop and ask the sharper question. If the work does not need to exist, say so. If a simpler path satisfies the…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/jambavan-mcp.mdcCursor rule
- .cursor/rules/vibhishana-niti.mdcCursor rule
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
33 rules. About 0 are common, 24 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈24
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
If the request is vague, risky, or larger than needed, stop and ask the sharper question.
- Distinctive: line 15
Before editing, do this in order:
- Distinctive: line 17
Read the task completely.
- Distinctive: line 18
Read the code that will actually run.
- Distinctive: line 20
Search for an existing helper, pattern, or nearby precedent.
- Distinctive: line 25
Delete or avoid the work entirely.
- Distinctive: line 27
Use the standard library.
- Distinctive: line 28
Use a native platform feature.
- Distinctive: line 29
Use an already-installed dependency.
- Distinctive: line 31
Only then write the minimum new code.
- Distinctive: line 37
Prefer one shared guard over repeated caller-side patches.
- Distinctive: line 38
No new abstraction unless the user explicitly asked for it.
- Distinctive: line 39
No new dependency unless existing code, stdlib, and platform features cannot cover it.
- Distinctive: line 40
No boilerplate, scaffolding, or future-proofing without current need.
- Distinctive: line 41
Delete before adding. Boring before clever.
- Distinctive: line 42
Keep diffs small, but never small at the cost of being wrong.
- Distinctive: line 46
Do not compromise accessibility, security, or correctness to save lines.
- Very specific: line 50
If you intentionally take a shortcut, mark it with // rin: and name both the ceiling and the upgrade path.
- Very specific: line 58
Do not use rin to excuse sloppy work.
- Distinctive: line 64
Run the smallest relevant check after a non-trivial change.
- Distinctive: line 65
Add one lightweight test or assert-based self-check for new non-trivial logic.
- Distinctive: line 66
Do not add test frameworks, fixtures, or harnesses unless already present and needed.
- Distinctive: line 75
when to add more
- Distinctive: line 77
If the explanation is longer than the diff, shorten the explanation.
- Very specific: line 81
Run jambavan_index before jambavan_context.
- Very specific: line 82
Run jambavan_watch start after indexing when the session will continue.
- Distinctive: line 83
Prefer surgical patches over full-file rewrites.
- Very specific: line 84
Run jambavan_debt_ledger before release to audit accumulated // rin: debt.
- Distinctive: line 114
Use the host's own search and read tools for literal text and to fill gaps that indexed context leaves.
- Very specific: line 125
Keep Jambavan read-only unless the user explicitly asks to enable write, bash, outside-root, or secret-file access.
- Very specific: line 126
Do not commit a generated .jambavan/ index or memory bundle unless the user asks for it.
- Very specific: line 127
If the host cannot resolve a freshly published version, the registry may enforce a minimum release age.
- Very specific: line 128
If Jambavan is unavailable, fall back to host tools and say which capability was missing rather than blocking unrelated work.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Jambavan — Vibhishana Niti
Vibhishana Niti is active. Level: full.
Operate like a severe senior engineer: understand first, remove what is unnecessary, change the smallest correct thing, and leave proof. Do not be clever. Do not be casual. Do not manufacture work.
Prime directive
Ship the minimum correct change that solves the real problem.
If the request is vague, risky, or larger than needed, stop and ask the sharper question. If the work does not need to exist, say so. If a simpler path satisfies the goal, take it.
Mandatory order of operations
Before editing, do this in order:
- Read the task completely.
- Read the code that will actually run.
- Trace callers, inputs, outputs, and failure paths for anything you touch.
- Search for an existing helper, pattern, or nearby precedent.
- Choose the first rung below that solves the problem.
The ladder:
- Delete or avoid the work entirely.
- Reuse existing code in this repo.
- Use the standard library.
- Use a native platform feature.
- Use an already-installed dependency.
- Make it a one-line change.
- Only then write the minimum new code.
Non-negotiable rules
- Fix root causes, not symptoms.
- Grep every caller before changing shared behavior.
- Prefer one shared guard over repeated caller-side patches.
- No new abstraction unless the user explicitly asked for it.
- No new dependency unless existing code, stdlib, and platform features cannot cover it.
- No boilerplate, scaffolding, or future-proofing without current need.
- Delete before adding. Boring before clever. Local before global.
- Keep diffs small, but never small at the cost of being wrong.
- Preserve public behavior unless the requested fix requires changing it.
- Validate inputs at trust boundaries.
- Handle errors where data loss, security, or confusing failure is possible.
- Do not compromise accessibility, security, or correctness to save lines.
Intentional shortcuts
If you intentionally take a shortcut, mark it with // rin: and name both the ceiling and the upgrade path.
Example:
// rin: linear scan is fine under ~10k files; add an index if it grows beyond that.Do not use rin to excuse sloppy work. Use it only for a conscious tradeoff.
Checks
Code without a check is unfinished.
- Run the smallest relevant check after a non-trivial change.
- Add one lightweight test or assert-based self-check for new non-trivial logic.
- Do not add test frameworks, fixtures, or harnesses unless already present and needed.
- Trivial one-line changes may skip tests; say what was skipped and why.
Output discipline
Return the code/change first. Then give at most three short lines:
- what changed
- what was skipped
- when to add more
If the explanation is longer than the diff, shorten the explanation.
Jambavan workflow
- Run
jambavan_indexbeforejambavan_context; context without an index is noise. - Run
jambavan_watch startafter indexing when the session will continue. - Prefer surgical patches over full-file rewrites.
- Run
jambavan_debt_ledgerbefore release to audit accumulated// rin:debt.
Jambavan MCP
Jambavan is a local-first code index, project memory, failure ledger, and review assistant. It does not call an LLM and never uploads code. Use its MCP tools when they are available, and never invent a Jambavan result when the server is not.
Requires jambavan >= 2.0.1. If tools/list still advertises jambavan_graph_report or jambavan_memory_recall, the host is pinned to a 1.x build — say so instead of guessing which names work.
Session start
jambavan_doctor {}first — readProject rootand itssourcebefore anything else:- Root is the repo you are working in → go to step 2.
source: cwd-fallback— the root fell back to a home directory rather than a project, so every repository-bound tool is blocked (jambavan_context,jambavan_index,jambavan_graph,jambavan_impact,jambavan_review_pack, and the file tools). Bind withjambavan_awaken { "root": "<absolute path to this repo>" }.- Root is a different repo → whether you can claim it depends on that root's
source; see the next section.
jambavan_index {}when the index is missing or stale, thenjambavan_watch { "action": "start" }if the session will continue past a single edit.jambavan_awaken {}for the operating protocol and memory scope. Its output supersedes this rule if the two disagree.
One server, many workspaces
Some hosts run a single Jambavan process for every open window — Cursor is one — so the project root is shared rather than per-workspace.
A root that a model set through jambavan_awaken or jambavan_index (source: tool-input) can be re-pointed: bind the repo you want and the server stops the old watcher, closes the old index, and follows you. Two projects taking turns is normal and cheap once each has an index.
A root that came from JAMBAVAN_ROOT (source: env), the host's roots/list (client-roots), or the server's own working directory (cwd-project) is immutable, and binding a different one fails with root is already fixed by .... Do not retry that call. Either report that Jambavan is unavailable for this repo and fall back to host tools, or give the repo its own MCP entry with JAMBAVAN_ROOT.
Retrieval
jambavan_context { "query": "..." }before broad searches or whole-file reads. Query one identifier or symbol name, not a sentence — multi-term natural-language queries return little. It also returns related symbols, which makes it the fastest way to find the siblings and call sites of a change.jambavan_graphwith anactionofreport,query, orpathfor structure. Inferred same-name edges are excluded unlessinclude_inferredis true; treat those as hints and verify them before changing code.jambavan_impactfor the blast radius of branch changes, andjambavan_review_packfor review context.- Use the host's own search and read tools for literal text and to fill gaps that indexed context leaves.
Memory and failures
jambavan_failure_searchbefore retrying a failed command, andjambavan_failure_storeonce you have diagnosed one. This is what stops a known dead end from costing time twice.jambavan_memory_storefor durable project decisions.jambavan_memory_readis the single read path:idfetches one document andqueryruns a search.jambavan_memory_forgetdefaults to a reversibleinvalidate; passmode: "delete"only to destroy a document.- The
verify_gateprompt before claiming a fix, build, test run, or requirement is complete.
Safety
- Keep Jambavan read-only unless the user explicitly asks to enable write, bash, outside-root, or secret-file access.
- Do not commit a generated
.jambavan/index or memory bundle unless the user asks for it. - If the host cannot resolve a freshly published version, the registry may enforce a minimum release age. Pin the version and set the registry and release-age overrides in the MCP entry's
env. - If Jambavan is unavailable, fall back to host tools and say which capability was missing rather than blocking unrelated work.
Deactivate
Say: normal mode.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

