agentleFS
MasihMoafiMasihMoafi/Elpis/AGENTS.md

Elpis

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

Behavior that can silently do nothing needs an eval before it is changed. Every behavioral eval needs a positive case and a negative case, and the eval must be shown capable of failing before it is trusted. Prefer behavioral evidence over plumbing-only tests: plant something only the feature could know or produce, run the real path, assert that it arrives, then disable or break the feature and assert that it does not. The old promotion pipeline was removed in 0c105e3…

  • 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,691 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.

The file

Show its rules and text

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

24 rules. About 0 are common, 16 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈16

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read docs/GUIDE.md; it is the product, architecture, and requirements source of truth.

    line 5
  2. Very specific:

    Read docs/USER_REQUESTS.md.

    line 6
  3. Very specific:

    Read TASKS.md; work only on its Current Action unless Masih changes priority.

    line 7
  4. Very specific:

    Read docs/context.md and docs/sessions.md before touching context, session, or pruning behavior.

    line 8
  5. Very specific:

    Read docs/SHIPPING_RULES.md before a release or any change that reads the filesystem, environment, or network.

    line 9
  6. Very specific:

    Read docs/LOCAL_BUILD_RULES.md before running cargo on Masih's workstation.

    line 10
  7. Distinctive:

    Verify repository state before editing and preserve unrelated user changes.

    line 11
  8. Distinctive:

    Keep the active goal, changed files, verification, blocker, and next action visible.

    line 17
  9. Distinctive:

    After edits, retain the diff and verification result.

    line 19
  10. Distinctive:

    Do not add slash commands unless Masih explicitly selects them.

    line 20
  11. Distinctive:

    Do not delegate to Jules. The coordinator selects and manages workers and worktrees.

    line 23
  12. Very specific:

    Before creating or editing any HTML or JSX, read and use .agents/skills/daisyui/SKILL.md and every reference it requires for the selected …

    line 27
  13. Distinctive:

    Use daisyUI components and semantic theme colors first, Tailwind utilities second, and custom CSS only when neither can express the …

    line 28
  14. Distinctive:

    Keep text readable against its actual background in both light and dark themes: no dark-on-dark or light-on-light text.

    line 33
  15. Distinctive:

    Before important or difficult implementation work, turn the request into an explicit acceptance harness and confirm it with Masih.

    line 38
  16. Distinctive:

    Prefer behavioral evidence over plumbing-only tests: plant something only the feature could know or produce, run the real path, assert that …

    line 49
  17. Distinctive:

    Do not change other workspaces' memory defaults without explicit approval.

    line 59
  18. Very specific:

    Use one coordinator and one worktree per implementation task.

    line 65
  19. Distinctive:

    Do not run two agents against the same files or an unresolved shared interface.

    line 67
  20. Distinctive:

    Start from the shared committed control baseline.

    line 83
  21. Distinctive:

    Create one branch and worktree for that task.

    line 85
  22. Distinctive:

    Remove a worktree only after its branch is integrated or intentionally abandoned.

    line 91
  23. Distinctive:

    Every delegated prompt must contain:

    line 95
  24. Distinctive:

    If any field is missing or contradictory, challenge the requirement before coding.

    line 109

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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

Elpis Agent Map

Start

  • Read docs/GUIDE.md; it is the product, architecture, and requirements source of truth.
  • Read docs/USER_REQUESTS.md; it records Masih's requested outcomes and is separate from agent-created execution work.
  • Read TASKS.md; work only on its Current Action unless Masih changes priority.
  • Read docs/context.md and docs/sessions.md before touching context, session, or pruning behavior.
  • Read docs/SHIPPING_RULES.md before a release or any change that reads the filesystem, environment, or network.
  • Read docs/LOCAL_BUILD_RULES.md before running cargo on Masih's workstation.
  • Verify repository state before editing and preserve unrelated user changes.
  • Challenge unclear or solution-first requirements with $challenge-requirements before planning implementation.

Context Discipline

  • Load only the guide sections and source files needed for the current task.
  • Keep the active goal, changed files, verification, blocker, and next action visible.
  • Summarize terminal output; do not carry raw logs once their result is known.
  • After edits, retain the diff and verification result; reread file bodies on demand.
  • Do not add slash commands unless Masih explicitly selects them.
  • Worker agents must not edit GUIDE.md or TASKS.md; the coordinator owns those files.
  • Workers must not close, narrow, or rewrite docs/USER_REQUESTS.md; only Masih's explicit acceptance changes that ledger.
  • Do not delegate to Jules. The coordinator selects and manages workers and worktrees.

Web UI

  • Before creating or editing any HTML or JSX, read and use .agents/skills/daisyui/SKILL.md and every reference it requires for the selected components, colors, configuration, or installation.
  • Use daisyUI components and semantic theme colors first, Tailwind utilities second, and custom CSS only when neither can express the required design.
  • This rule applies to every HTML or JSX edit in this project unless Masih explicitly overrides it.

Contrast

  • Keep text readable against its actual background in both light and dark themes: no dark-on-dark or light-on-light text. Check secondary labels and animated highlights as well as primary text, including the TUI footer and ledgers.

Definition of Done

  • Masih is the sole arbiter of truth. CI, compilation, tests, and agent claims are evidence, not functional acceptance.
  • Before important or difficult implementation work, turn the request into an explicit acceptance harness and confirm it with Masih.
  • Implement, run the required automated checks, build/install when applicable, and hand Masih a plain user test checklist.
  • A task becomes verified only after Masih accepts the user-visible behavior and the evidence is recorded in TASKS.md.
  • Behavior must be implemented, not merely documented.
  • Rust changes pass the applicable Rust checks. This repository contains no Python.
  • Known gaps and skipped checks are stated plainly.

Evals First

Behavior that can silently do nothing needs an eval before it is changed. Every behavioral eval needs a positive case and a negative case, and the eval must be shown capable of failing before it is trusted.

Prefer behavioral evidence over plumbing-only tests: plant something only the feature could know or produce, run the real path, assert that it arrives, then disable or break the feature and assert that it does not.

Durable Memory Status

The old promotion pipeline was removed in 0c105e3 after it failed to demonstrate durable promotion. The later Luna saver is also superseded by Masih's September 22 approval: the responding root agent explicitly saves through a guarded local tool, without auxiliary consolidation after responses or before compaction. This candidate is under verification; Ledger admission independently controls loading. See docs/context.md.

Do not change other workspaces' memory defaults without explicit approval. Keep claims scoped to the observed save, correction, recall and failure-mode evidence; general coding-quality benefit remains unproven.

Agent Dispatch

Use one coordinator and one worktree per implementation task. The coordinator owns GUIDE.md, TASKS.md, architecture decisions, task ordering, integration, and final acceptance. Workers implement bounded tasks; they do not redefine the product.

Do not run two agents against the same files or an unresolved shared interface. More agents increase speed only when tasks are genuinely independent.

For deterministic multi-agent work graphs, follow docs/WORK_GRAPHS.md.

Difficulty Routing

DifficultyCharacteristicsPreferred worker
EasyOne localized behavior, known solution, low-risk change, narrow testFast low-cost worker
MediumSeveral files, bounded design choice, adaptation of an existing patternBalanced worker
HardArchitecture, runtime ownership, security, permissions, context/memory semantics, migration, cross-cutting interfacesMain high-reasoning model

Escalate when investigation reveals a broader interface or product decision. Do not let a worker quietly expand scope.

Worktree Workflow

  1. Start from the shared committed control baseline.
  2. Select the Current Action from TASKS.md after verifying dependencies.
  3. Create one branch and worktree for that task.
  4. Give the worker exact scope, non-goals, dependencies, acceptance criteria, and required checks.
  5. Require changed files, checks run, evidence, risks, and commit hash.
  6. Review and integrate one branch at a time; rerun the acceptance check after integration.
  7. The coordinator alone updates feature status to verified after Masih accepts it.

Remove a worktree only after its branch is integrated or intentionally abandoned.

Worker Prompt Contract

Every delegated prompt must contain:

Task ID:
Desired user-visible behavior:
Why it is needed:
Allowed files:
Forbidden scope:
Dependencies already verified:
Acceptance test:
Required checks:
Return: summary, changed files, verification, risks, commit hash.

If any field is missing or contradictory, challenge the requirement before coding.

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.