agentleFS
roli-lpciroli-lpci/hermes-gate/AGENTS.md

hermes-gate

AGENTS.md3 starsChanged 3 months agoApache-2.0View on GitHub

Priority order: preserve receipt integrity and safety boundaries; preserve public API behavior; then minimize the diff. Treat each user request as an independent task and carry prior task state forward only when the user explicitly asks. HermesGate: a bounded, receipt-based completion rail for coding sessions. It runs a repository's own declared commands, records exactly which content and tool versions were checked, and reuses a PASS only while those bytes still match. It has no daemon and no runtime dependencies beyond…

  • Installs packages
  • 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,266 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 repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 1 is common, 5 are distinctive, and 0 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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
  1. Distinctive:

    Keep command execution argv-based.

    line 39
  2. Distinctive:

    Keep generated runtime state under the repository Git directory or the user cache.

    line 40
  3. Distinctive:

    Never auto-install PyGate, Quick Gate, reviewers, or project tools.

    line 41
  4. Distinctive:

    Keep runtime dependencies at zero unless a change cannot be implemented safely with the standard library.

    line 43
  5. Distinctive:

    Document what a receipt proves and what it does not prove.

    line 45
  6. Common:

    no absolute local paths or credentials were introduced

    line 52

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

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — hermes-gate

<!-- Instruction contract v1.0 — 2026-09-09 -->

Priority order: preserve receipt integrity and safety boundaries; preserve public API behavior; then minimize the diff. Treat each user request as an independent task and carry prior task state forward only when the user explicitly asks.

What this repo is

HermesGate: a bounded, receipt-based completion rail for coding sessions. It runs a repository's own declared commands, records exactly which content and tool versions were checked, and reuses a PASS only while those bytes still match. It has no daemon and no runtime dependencies beyond Python 3.11+ and Git.

Key paths

  • src/hermes_gate/ — package source (CLI, engine, adapters, receipts, doctor)
  • tests/ — pytest suite
  • schemas/ — gate-result-v1.schema.json and receipt.schema.json (canonical bytes; do not reformat)
  • .hermes/ — this repo's own dogfooded gate config (gate.toml)

Minimal commands

python -m pip install -e '.[test]'
ruff check .
pytest
python -m build

Do not use it for

  • repairing code, invoking a model, or authorizing a push, pull request, or release
  • proving correctness beyond "these exact bytes passed these exact declared commands"

Constraints

  • Keep command execution argv-based; do not introduce implicit shells.
  • Keep generated runtime state under the repository Git directory or the user cache.
  • Never auto-install PyGate, Quick Gate, reviewers, or project tools.
  • Preserve the canonical bytes of schemas/gate-result-v1.schema.json.
  • Keep runtime dependencies at zero unless a change cannot be implemented safely with the standard library.
  • Document what a receipt proves and what it does not prove.

Definition of done

  • ruff check . and pytest pass
  • a wheel builds (python -m build) and installs cleanly in an isolated environment
  • new behavior has a covering test
  • no absolute local paths or credentials were introduced

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.