thlibo
AGENTS.md9 starsChanged 53 days agoMITView on GitHub
The canonical agent guidance for this repo lives in CLAUDE.md — architecture, invariants, processor model, inferd wire protocol, adapters, and the build/test/scan commands. This file exists so agents that look for AGENTS.md by convention (Codex, Cursor, GitHub Copilot, and others) find the pointer. thlibo itself ships hooks for all of them; read CLAUDE.md first. Fast facts (see CLAUDE.md for the authoritative version): - Build / test / scan: go build ./... · go test ./... · go vet ./... ·…
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
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Read .signpost/index.md before starting 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
AGENTS.md
The canonical agent guidance for this repo lives in
CLAUDE.md — architecture, invariants, processor model,
inferd wire protocol, adapters, and the build/test/scan commands.
This file exists so agents that look for AGENTS.md by convention
(Codex, Cursor, GitHub Copilot, and others) find the pointer. thlibo
itself ships hooks for all of them; read CLAUDE.md first.
Fast facts (see CLAUDE.md for the authoritative version):
- Build / test / scan:
go build ./...·go test ./...·go vet ./...·staticcheck ./...·gosec ./cmd/... ./internal/... ./processors/...— all four gate CI. - Cardinal rule: fail open. On any error path the middleware returns the original bytes; it must never break the AI client (ADR 0006).
- Authoritative sources when they disagree:
THREAT_MODEL.md(security),docs/adr/*.md(architecture), thenCLAUDE.md. mainis branch-protected: land changes via PR with green CI (test on linux/macOS/Windows + scanners + secret-scanning).
Repository map
Read .signpost/index.md before starting work. It is a compiled map of this repository's structure — modules, dependencies, entrypoints, and what couples to what — generated by signpost and committed. Start there rather than re-deriving the layout by reading files.
When a symptom crosses modules — the same rows written from two places, a change that surfaced somewhere else — start from the thing involved rather than the code you would grep first: a data store's page names every module that writes it and every module that reads it.
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.

