llm-wiki-governance
AGENTS.md0 starsChanged 34 days agoMITView on GitHub
Read the project LLM-WIKI before making code or documentation changes. Always read first (kept deliberately small): Load the rest on demand — do not preload the whole wiki: Required rules: - Every wiki document carries YAML frontmatter. - Set LLM-created or LLM-edited wiki docs to needs_review at edit time. - This repository then approves them itself (2026-08-03, maintainer's decision): run node bin/llm-wiki.js review --approve-all --yes. The "Wiki discipline" section below is the full contract. This relaxation is local to this…
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,266 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 repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llm-wiki-backfillSkill
- llm-wiki-bootstrapSkill
- llm-wiki-docs-syncSkill
- llm-wiki-featureSkill
- llm-wiki-fixSkill
- llm-wiki-onboardSkill
- llm-wiki-prepareSkill
- llm-wiki-backfillSkill
- llm-wiki-bootstrapSkill
- llm-wiki-docs-syncSkill
- llm-wiki-featureSkill
- llm-wiki-fixSkill
- llm-wiki-onboardSkill
- llm-wiki-prepareSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 5
Read the project LLM-WIKI before making code or documentation changes.
- Distinctive: line 7
Always read first (kept deliberately small):
- Distinctive: line 21
Every wiki document carries YAML frontmatter.
- Very specific: line 28
If code or docs change, update related wiki docs and append docs/llm-wiki/log.md in the same piece of work.
- Distinctive: line 30
Do not record sensitive information in wiki docs, logs, reports, or prompts.
- Distinctive: line 31
Read and write Markdown as UTF-8.
- Distinctive: line 42
Never commit or push to main.
- Distinctive: line 43
Do not bundle an unrequested refactor with the change you were asked to make.
- Very specific: line 50
Prefer this repo's own skills — /llm-wiki-prepare, /llm-wiki-feature, /llm-wiki-fix, /llm-wiki-docs-sync.
- Distinctive: line 53
Read the existing tests for the behavior you are about to change.
- Very specific: line 66
After the edit, run node bin/llm-wiki.js review --approve-all --yes (or --approve <path>).
- Very specific: line 92
Write a run manifest to .llm-wiki/runs/ and verify with check-run.
- Distinctive: line 98
Never delete, skip, or weaken a test to make the suite pass.
- Very specific: line 103
Use the Agent Result format in docs/ORCA_PARALLEL_DEV.md, and separate what you verified in the repository from what you assumed.
≈ “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
Project Agent Guide
Wiki <!-- wiki-block v2 -->
Read the project LLM-WIKI before making code or documentation changes.
Always read first (kept deliberately small):
docs/llm-wiki/index.md— entrypoint, read order, document statusdocs/llm-wiki/project-profile.md— what this project is and where its boundaries are
Load the rest on demand — do not preload the whole wiki:
docs/llm-wiki/README.md— wiki operating rulesdocs/llm-wiki/ARCHITECTURE_CONVENTIONS.md— module layout and conventionsdocs/llm-wiki/DOMAIN_FEATURES.md— user-facing features and evidence- Locate before reading:
llm-wiki search-docs "<query>"orllm-wiki prepare --task "<task>" --compact, then read only the needed section withllm-wiki get-doc <path> --section "<heading>" --strict-section, or open the file directly when the task depends on all of it.
Required rules:
- Every wiki document carries YAML frontmatter.
- Set LLM-created or LLM-edited wiki docs to
needs_reviewat edit time. - This repository then approves them itself (2026-08-03, maintainer's decision):
run
node bin/llm-wiki.js review --approve-all --yes. The "Wiki discipline" section below is the full contract. This relaxation is local to this repo — the rule shipped to adopters intemplates/adapters/*still requires human review, and nothing outsidedocs/llm-wiki/may seedverified. - If code or docs change, update related wiki docs and append
docs/llm-wiki/log.mdin the same piece of work. - Do not record sensitive information in wiki docs, logs, reports, or prompts.
- Read and write Markdown as UTF-8.
Orca Parallel Agent Rules
These apply to every agent session launched into an Orca-managed worktree. The
full workflow — role definitions, worktree naming, hand-off format, permission
policy — is in docs/ORCA_PARALLEL_DEV.md.
Scope and isolation
- One worktree, one goal. Stay inside the approved issue and plan.
- Never commit or push to
main; work on the worktree's own branch. - Do not bundle an unrequested refactor with the change you were asked to make.
Before you edit
- Read
docs/llm-wiki/index.mdfirst. - Scope the change from the wiki, not from guesswork:
node bin/llm-wiki.js prepare --task "<task>" --compact. - Prefer this repo's own skills —
/llm-wiki-prepare,/llm-wiki-feature,/llm-wiki-fix,/llm-wiki-docs-sync. They carry the run-manifest contract thatcheck-runverifies; an ad-hoc edit does not. - Read the existing tests for the behavior you are about to change.
Contracts that need explicit human approval to change
- CLI command/flag surface,
--format jsonshape andschemaVersion, exit codes. - The frozen programmatic
commandsmap insrc/index.js, and MCP tool names. - Node.js
>=18.18.0support and the zero-runtime-dependency rule.
Wiki discipline
- Docs you create or edit go to
status: needs_reviewat edit time. Never invent review metadata — the reviewer field must name whoever actually approved. - This repository approves its own docs (2026-08-03, maintainer's decision).
After the edit, run
node bin/llm-wiki.js review --approve-all --yes(or--approve <path>). Do not ask for permission and do not leave the backlog for a human; that is the point of the decision.reviewed_bycomes fromllm-wiki.config.json'sreviewer, which names the agent. So the stamp records that an agent approved it, not a human. A human signing their own review passes--reviewer Dowon-Kimexplicitly, which wins over the config.- Why this repo is different: it was built end-to-end by vibe coding and exists as
the product's dogfood, not as a codebase whose docs a human curates. The rule the
product ships to adopters is unchanged and lives in
templates/adapters/*. - The tool's own refusals stay, and they are the safety floor: documents with
blocking or structural findings, and unenriched scaffolds
(
review.not_enriched), are still refused. Do not work around a refusal — fix the document. - Never relax this outside
docs/llm-wiki/. Templates and shipped assets must keep seedingneeds_review;tests/shipped-assets.test.jsholds that line. - Precedence note: the generated skills (
/llm-wiki-feature,/llm-wiki-fix,/llm-wiki-docs-sync) carry the shipped prompt line "verified is human-approved only", which is the adopter default and stays. In this repository this section overrides it. Do not editsrc/task-prompts.jsto resolve the conflict — that text is what every adopter's agent reads.
evidence.stale/impactdrift is cleared by re-stampingreviewed_at, with no source cross-check (maintainer's decision, same day). Recorded consequence: these gates can no longer stay red in this repository, so they are not an observation instrument here — a measurement that needs one must use another repository.- Append to
docs/llm-wiki/log.mdin the same change. - Write a run manifest to
.llm-wiki/runs/and verify withcheck-run.
Verification before you report done
npm test,npm run lint,npm run verify, thennode bin/llm-wiki.js validate --strictandnode bin/llm-wiki.js audit.- Never delete, skip, or weaken a test to make the suite pass. A failing test is a result — report it as one.
Reporting
- Use the Agent Result format in
docs/ORCA_PARALLEL_DEV.md, and separate what you verified in the repository from what you assumed.
Development Notes
Project-specific notes go here.
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.

