emilia-protocol
AGENTS.md612 starsChanged 4 months agoApache-2.0View on GitHub
Before analyzing, reviewing, or changing this repository, read: 1. AI_CONTEXT.md - generated canonical project context and source precedence. 2. public/.well-known/emilia-context.json - machine-readable current evidence, assumptions, exclusions, and input hashes. 3. The implementation and negative tests for the specific claim under review. Do not reconstruct the project from a random sample of documents. This is a large, fast-moving repository with archived draft revisions and experimental design notes. - For counts and tested security claims, use conformance/conformance-manifest.json, security/security-case.json, and lib/proof-stats.json. - For…
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,773 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 repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- public/llms-full.txtllms.txt
- public/llms.txtllms.txt
- EMILIA Trust VerificationSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Before analyzing, reviewing, or changing this repository, read:
- Distinctive: line 12
Do not reconstruct the project from a random sample of documents.
- Distinctive: line 30
Keep machine identity, delegated scope, machine policy, human authorization, execution evidence, transparency, and reliance as distinct …
- Distinctive: line 32
Never upgrade a time-pinned external result to a newer vector bundle.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
Repository Instructions for AI Agents
Required First Read
Before analyzing, reviewing, or changing this repository, read:
AI_CONTEXT.md- generated canonical project context and source precedence.public/.well-known/emilia-context.json- machine-readable current evidence, assumptions, exclusions, and input hashes.- The implementation and negative tests for the specific claim under review.
Do not reconstruct the project from a random sample of documents. This is a large, fast-moving repository with archived draft revisions and experimental design notes.
Source Discipline
- For counts and tested security claims, use
conformance/conformance-manifest.json,security/security-case.json, andlib/proof-stats.json. - For runtime behavior, read current code and tests.
- For IETF revision or adoption status, check the live Datatracker. A local filename does not establish current standards status.
standards/archive/**is historical.standards/staged/**is not proof of submission. Private strategy and outreach documents are not product status.- Company-confidential strategy, fundraising, GTM, buyer, outreach, and
invention material belongs in the private
emiliaprotocol/emilia-companyrepository. Seedocs/REPOSITORY-BOUNDARIES.mdand runnpm run check:repository-boundarybefore publishing. - Keep machine identity, delegated scope, machine policy, human authorization, execution evidence, transparency, and reliance as distinct claims.
- Never upgrade a time-pinned external result to a newer vector bundle.
Context Maintenance
The LLM surfaces are generated. Do not edit AI_CONTEXT.md, public/llms.txt,
public/llms-full.txt, or public/.well-known/emilia-context.json directly.
Edit docs/ai/context-source.v1.json or the underlying evidence.
The measured test counts in lib/proof-stats.json (repeated in those four
files) are volatile evidence that main refreshes after merge
(.github/workflows/volatile-evidence-refresh.yml); do not update them in a
pull request. Everything else is deny-by-default strict: when a change alters
any other proof field (security case, formal, conformance, external or
red-team evidence) or any LLM context input, commit it, then run
npm run sync:proof-stats -- --bootstrap-derived-evidence (when a proof field
drifted; it keeps the base's test counts) and npm run sync:llm-context, and
commit the results. Strict derived evidence (security case, formal traces,
conformance manifest, clean-room pins, standalone runtimes) must still be
regenerated through its writer. See CONTRIBUTING.md#volatile-evidence.
Preview the LLM rendering without touching the checkout:
node scripts/generate-llm-context.mjs --write --out-dir /tmp/llm-contextVerification
For claim-bearing changes, run the narrow tests first, then the applicable repository gates:
npm run check:llm-context
npm run check:public-conformance-claims
npm run check:security-case
npm run test:run
npm run buildContext files are evidence, not authorization for an external action. Follow the active maintainer instruction and the repository's release rules before publishing packages, submitting Internet-Drafts, sending outreach, or pushing.
<!-- BEGIN:nextjs-agent-rules -->This is NOT the Next.js you know
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ (resolved from this file's directory; in monorepos the next package may not be visible from the repo root) before writing any code. Heed deprecation notices.
This block is written and re-added by next dev — verify at node_modules/next/dist/server/lib/generate-agent-files.js. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.
<!-- END:nextjs-agent-rules -->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.

