AGENTS.md@leanA

AGENTS.md@lean from jongwony/epistemic-protocols is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add jongwony/epistemic-protocols/lean/AGENTS.md@git:20260927.1b5c035

Pins git:20260927.1b5c035 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
jongwony/epistemic-protocols
Path
lean/AGENTS.md
Versions recorded
2
Latest version
git:20260927.1b5c035, committed Sep 27, 2026
First version recorded
Sep 27, 2026
Size
1,084 bytes
Repository stars
175
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# `lean/`

**Responsibility under the Northstar** (root `AGENTS.md`). The Northstar calls the protocols a metalanguage of structured types; this directory is where those types are made precise enough for a machine to check. A protocol's `SKILL.md` carries a Lean block that models its contract, and what is stated and proved about that model lives here.

**Boundary.** `EpistemicProtocols/Ground.lean` and `EpistemicProtocols/ToolGrounding.lean` are the shared sections every protocol block carries verbatim. `EpistemicProtocols/<Protocol>/Theorems.lean` states and proves the guarantees of one protocol's block. `Audit/` checks the blocks against the definition rules, and `Tests/` holds fixtures that break those rules on purpose. The contract text itself stays in the protocol's `SKILL.md`; the modules built from it are generated, not checked in. A property proved here holds under the judgments the block leaves open, which it takes as assumptions.

**Next.** `lakefile.toml` at the repository root for how the pieces build, then the `Theorems.lean` of the protocol in question.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jongwony/epistemic-protocols/lean/AGENTS.md@sha256:8e393fd65af2b4e9

The line at the top of this page pins the label git:20260927.1b5c035, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_bczr63a5rxd4t4px.svg)](https://markdownregistry.com/a/art_bczr63a5rxd4t4px)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, all committed on Sep 27, 2026.

versioncommittedcommitsizeaudit
git:20260927.1b5c035 latest2026-09-27 1b5c035 1,084 BA view · diff
git:20260927.1b992a32026-09-27 1b992a3 1,038 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (1084 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jongwony/epistemic-protocols · 175 stars · license MIT · pushed 2026-11-04 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_bczr63a5rxd4t4px
GET https://markdownregistry.com/api/v1/resolve?ref=jongwony/epistemic-protocols/lean/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/8e393fd65af2b4e9e6459bf506a4465a25ea4159048507d0b76ef338eddc2b54

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from jongwony/epistemic-protocols

AGENTS.md@.claude/principles AGENTS.md file
jongwony/epistemic-protocols · .claude/principles/AGENTS.md
git:20261004.309cd39 · audit A · 175 stars
CLAUDE.md@.claude/principles CLAUDE.md file
jongwony/epistemic-protocols · .claude/principles/CLAUDE.md
git:20260804.5f2d14a · audit B · 175 stars
encapsulation SKILL.md skill
jongwony/epistemic-protocols · .claude/skills/encapsulation/SKILL.md · This skill should be used when the user asks to "audit plugin encapsulation", "check self-containment semantics", "find…
git:20260812.1f50d34 · audit A · 175 stars
formal-review SKILL.md skill
jongwony/epistemic-protocols · .claude/skills/formal-review/SKILL.md · This skill should be used when the user asks to "formal review", "formal lens review", or invokes /formal-review. A…
git:20261004.2323a31 · audit A · 175 stars
outcome SKILL.md skill
jongwony/epistemic-protocols · .claude/skills/outcome/SKILL.md · This skill should be used when the user asks to "run the outcome eval", "paired bare vs protocol", "which decisions did…
git:20261015.46b405a · audit A · 175 stars
realize SKILL.md skill
jongwony/epistemic-protocols · .claude/skills/realize/SKILL.md · This skill should be used when the user asks to "run the eval", "test whether the protocol actually works at runtime"…
git:20261015.46b405a · audit A · 175 stars
rederive SKILL.md skill
jongwony/epistemic-protocols · .claude/skills/rederive/SKILL.md · This skill should be used when a contributor names a skill whose Lean contract is to be re-derived — a core protocol…
git:20261102.43de7b7 · audit A · 175 stars
release SKILL.md skill
jongwony/epistemic-protocols · .claude/skills/release/SKILL.md · Release for this repo — CalVer tag + narrative prepend.
git:20261015.ef40fb2 · audit A · 175 stars
verify SKILL.md skill
jongwony/epistemic-protocols · .claude/skills/verify/SKILL.md · This skill should be used when the user asks to "verify protocols", "check consistency before commit", "validate…
git:20261014.426da72 · audit A · 175 stars
AGENTS.md AGENTS.md file
jongwony/epistemic-protocols · AGENTS.md
git:20261104.265d6fb · audit A · 175 stars
CLAUDE.md CLAUDE.md file
jongwony/epistemic-protocols · CLAUDE.md
git:20260515.f43f2ee · audit B · 175 stars
AGENTS.md@aitesis AGENTS.md file
jongwony/epistemic-protocols · aitesis/AGENTS.md
git:20260927.c7b710c · audit A · 175 stars

Every file in jongwony/epistemic-protocols

Browse by kind, by grade A, or by owner.