mnemon
AGENTS.md751 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 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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
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
- Very specific: line 6
Run make test for the deterministic CI suite.
- Very specific: line 8
Run make test-integration explicitly for CLI E2E plus Agency timing, race, process, and Docker boundaries.
- Very specific: line 10
Run make test-live only when explicitly validating the paid Pi/DeepSeek scenarios.
- Very specific: line 12
Treat cmd/memory and cmd/agency as command namespaces within the single mnemon executable.
- Very specific: line 16
Keep mnemond boundary suites under test/mnemond and their data-only fixtures under testdata/mnemond.
- Very specific: line 18
Treat .claude/, .codex/, .openclaw/, and similar host directories as local projection surfaces, not canonical project state.
- Distinctive: line 23
Read and follow the Go engineering standard before changing Go architecture, concurrency, durable state, or shared infrastructure.
- Very specific: line 26
Use patterns, channels, generics, callbacks, and registries only when they reduce sources of truth, state combinations, or modification …
- Distinctive: line 29
Keep authority, digest, fence, bounds, CAS cardinality, and fail-closed checks explicit.
- Distinctive: line 37
Prefer small, logical commits.
- Distinctive: line 39
Keep tightly coupled changes together when splitting would leave either commit misleading or incomplete.
- Distinctive: line 41
Use the project style already present in history: a concise Conventional Commit title plus one or two focused body paragraphs, with bullets …
- Distinctive: line 42
Commit title plus one or two focused body paragraphs, with bullets only when they improve scanning.
- Distinctive: line 54
Do not include agent attribution or co-author lines unless explicitly asked.
≈ “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
Mnemon Agent Guidelines
Development
- Build the single product executable with
go build -o mnemon .. - Run
make testfor the deterministic CI suite. It excludes real daemon readiness, CLI E2E, wall-clock scenarios, Docker, and provider calls. - Run
make test-integrationexplicitly for CLI E2E plus Agency timing, race, process, and Docker boundaries; it is not a regular CI gate. - Run
make test-liveonly when explicitly validating the paid Pi/DeepSeek scenarios. - Treat
cmd/memoryandcmd/agencyas command namespaces within the singlemnemonexecutable. Keep existing Memory commands at the root; expose Agency throughmnemon agency ....mnemondremains the local daemon/protocol role, not a second executable. - Keep mnemond boundary suites under
test/mnemondand their data-only fixtures undertestdata/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
ifstatements 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:
featfor new developer-facing or Agency capabilities.fixfor correctness repairs.testfor tests, eval scenarios, or fixtures that do not add a new reusable capability.docsfor documentation-only changes.refactorfor structure changes without intended behavior changes.chorefor 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.
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.

