agentleFS
Dowon-Kim7949Dowon-Kim7949/llm-wiki-governance/AGENTS.md

llm-wiki-governance

AGENTS.md0 starsChanged 3 months 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…

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
  1. Distinctive:

    Read the project LLM-WIKI before making code or documentation changes.

    line 5
  2. Distinctive:

    Always read first (kept deliberately small):

    line 7
  3. Distinctive:

    Every wiki document carries YAML frontmatter.

    line 21
  4. Very specific:

    If code or docs change, update related wiki docs and append docs/llm-wiki/log.md in the same piece of work.

    line 28
  5. Distinctive:

    Do not record sensitive information in wiki docs, logs, reports, or prompts.

    line 30
  6. Distinctive:

    Read and write Markdown as UTF-8.

    line 31
  7. Distinctive:

    Never commit or push to main.

    line 42
  8. Distinctive:

    Do not bundle an unrequested refactor with the change you were asked to make.

    line 43
  9. Very specific:

    Prefer this repo's own skills — /llm-wiki-prepare, /llm-wiki-feature, /llm-wiki-fix, /llm-wiki-docs-sync.

    line 50
  10. Distinctive:

    Read the existing tests for the behavior you are about to change.

    line 53
  11. Very specific:

    After the edit, run node bin/llm-wiki.js review --approve-all --yes (or --approve <path>).

    line 66
  12. Very specific:

    Write a run manifest to .llm-wiki/runs/ and verify with check-run.

    line 92
  13. Distinctive:

    Never delete, skip, or weaken a test to make the suite pass.

    line 98
  14. Very specific:

    Use the Agent Result format in docs/ORCA_PARALLEL_DEV.md, and separate what you verified in the repository from what you assumed.

    line 103

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 status
  • docs/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 rules
  • docs/llm-wiki/ARCHITECTURE_CONVENTIONS.md — module layout and conventions
  • docs/llm-wiki/DOMAIN_FEATURES.md — user-facing features and evidence
  • Locate before reading: llm-wiki search-docs "<query>" or llm-wiki prepare --task "<task>" --compact, then read only the needed section with llm-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_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 repo — the rule shipped to adopters in templates/adapters/* still requires human review, and nothing outside docs/llm-wiki/ may seed verified.
  • If code or docs change, update related wiki docs and append docs/llm-wiki/log.md in 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.md first.
  • 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 that check-run verifies; 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 json shape and schemaVersion, exit codes.
  • The frozen programmatic commands map in src/index.js, and MCP tool names.
  • Node.js >=18.18.0 support and the zero-runtime-dependency rule.

Wiki discipline

  • Docs you create or edit go to status: needs_review at 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_by comes from llm-wiki.config.json's reviewer, 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-Kim explicitly, 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 seeding needs_review; tests/shipped-assets.test.js holds 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 edit src/task-prompts.js to resolve the conflict — that text is what every adopter's agent reads.
  • evidence.stale / impact drift is cleared by re-stamping reviewed_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.md in the same change.
  • Write a run manifest to .llm-wiki/runs/ and verify with check-run.

Verification before you report done

  • npm test, npm run lint, npm run verify, then node bin/llm-wiki.js validate --strict and node 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.