agentleFS
mnemon-devmnemon-dev/mnemon/AGENTS.md

mnemon

AGENTS.md610 starsChanged 9 months agoApache-2.0View on GitHub

- Build the single product executable with go build -o mnemon .. - Run make test for the deterministic CI suite. It excludes real daemon readiness, CLI E2E, wall-clock scenarios, Docker, and provider calls. - Run make test-integration explicitly for CLI E2E plus Agency timing, race, process, and Docker boundaries; it is not a regular CI gate. - Run make test-live only when explicitly validating the paid Pi/DeepSeek scenarios. - Treat cmd/memory and cmd/agency as command namespaces within the single…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 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 repositoryOne other file it gives its agents.

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, 7 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run make test for the deterministic CI suite.

    line 6
  2. Very specific:

    Run make test-integration explicitly for CLI E2E plus Agency timing, race, process, and Docker boundaries.

    line 8
  3. Very specific:

    Run make test-live only when explicitly validating the paid Pi/DeepSeek scenarios.

    line 10
  4. Very specific:

    Treat cmd/memory and cmd/agency as command namespaces within the single mnemon executable.

    line 12
  5. Very specific:

    Keep mnemond boundary suites under test/mnemond and their data-only fixtures under testdata/mnemond.

    line 16
  6. Very specific:

    Treat .claude/, .codex/, .openclaw/, and similar host directories as local projection surfaces, not canonical project state.

    line 18
  7. Distinctive:

    Read and follow the Go engineering standard before changing Go architecture, concurrency, durable state, or shared infrastructure.

    line 23
  8. Very specific:

    Use patterns, channels, generics, callbacks, and registries only when they reduce sources of truth, state combinations, or modification …

    line 26
  9. Distinctive:

    Keep authority, digest, fence, bounds, CAS cardinality, and fail-closed checks explicit.

    line 29
  10. Distinctive:

    Prefer small, logical commits.

    line 37
  11. Distinctive:

    Keep tightly coupled changes together when splitting would leave either commit misleading or incomplete.

    line 39
  12. Distinctive:

    Use the project style already present in history: a concise Conventional Commit title plus one or two focused body paragraphs, with bullets …

    line 41
  13. Distinctive:

    Commit title plus one or two focused body paragraphs, with bullets only when they improve scanning.

    line 42
  14. Distinctive:

    Do not include agent attribution or co-author lines unless explicitly asked.

    line 54

≈ “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

Mnemon Agent Guidelines

Development

  • Build the single product executable with go build -o mnemon ..
  • Run make test for the deterministic CI suite. It excludes real daemon readiness, CLI E2E, wall-clock scenarios, Docker, and provider calls.
  • Run make test-integration explicitly for CLI E2E plus Agency timing, race, process, and Docker boundaries; it is not a regular CI gate.
  • Run make test-live only when explicitly validating the paid Pi/DeepSeek scenarios.
  • Treat cmd/memory and cmd/agency as command namespaces within the single mnemon executable. Keep existing Memory commands at the root; expose Agency through mnemon agency .... mnemond remains the local daemon/protocol role, not a second executable.
  • Keep mnemond boundary suites under test/mnemond and their data-only fixtures under testdata/mnemond.
  • Treat .claude/, .codex/, .openclaw/, and similar host directories as local projection surfaces, not canonical project state.

Go Engineering

  • Read and follow the Go engineering standard before changing Go architecture, concurrency, durable state, or shared infrastructure.
  • Use patterns, channels, generics, callbacks, and registries only when they reduce sources of truth, state combinations, or modification points. They are not usage quotas, and reducing if statements or total lines is not a goal.
  • Keep authority, digest, fence, bounds, CAS cardinality, and fail-closed checks explicit. Every goroutine must have an owner, cancellation, bounded work, and a wait path.
  • Preserve independent replay, crash, authorization, and race oracles while compressing fixtures and shared setup.

Commit Discipline

  • Prefer small, logical commits. Split unrelated work instead of committing a broad mixed diff.
  • Keep tightly coupled changes together when splitting would leave either commit misleading or incomplete.
  • Use the project style already present in history: a concise Conventional Commit title plus one or two focused body paragraphs, with bullets only when they improve scanning.
  • Choose the commit type by the primary project effect:
    • feat for new developer-facing or Agency capabilities.
    • fix for correctness repairs.
    • test for tests, eval scenarios, or fixtures that do not add a new reusable capability.
    • docs for documentation-only changes.
    • refactor for structure changes without intended behavior changes.
    • chore for repository hygiene and maintenance.
  • Mention validation in the body when tests, evals, or manual checks are part of the work.
  • Do not include agent attribution or co-author lines unless explicitly asked.

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.