agentleFS
rafmacalabarafmacalaba/armada/AGENTS.md

armada

AGENTS.md100 starsChanged 4 months agoMITView on GitHub

These rules apply to every agent working on this project. Generated by armada. Build exactly as specified in armada/REQUIREMENTS.md. That document is the contract: its phases, success criteria and final criteria decide when work is done. When in doubt, armada/REQUIREMENTS.md wins. Role boundaries are enforced by permissions and are absolute. Do not work around them with shell commands: if the edit tool would deny a file, do not modify that file any other way. All defects live in armada/ledgers/{feature}/DEFECTS.md, one…

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

The file

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

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No emojis in code, comments, print statements or logging.

    line 32
  2. Distinctive:

    Keep it simple: small modules, clear names, no defensive programming, no overengineering.

    line 33
  3. Distinctive:

    Prefer popular, well-supported libraries over custom code.

    line 34
  4. Very specific:

    Shipnames title format: When invoking task, set description to the work-only title.

    line 35
  5. Distinctive:

    Ask user risk override only for ambiguity, high consequence, contract conflict, or downgrade.

    line 42
  6. Very specific:

    All defects live in armada/ledgers/{feature}/DEFECTS.md, one entry per defect, newest first.

    line 47
  7. Distinctive:

    Every status change appends a History line.

    line 80
  8. Very specific:

    All adversary findings live in armada/ledgers/{feature}/ADVERSARIAL_REVIEW.md.

    line 85
  9. Very specific:

    All security findings live in armada/ledgers/{feature}/SECURITY_FINDINGS.md.

    line 108
  10. Distinctive:

    Every status change appends a History line.

    line 137

≈ “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
<!-- armada:start --><!-- Generated by armada. Do not edit this section manually. -->

armada — Build Rules

These rules apply to every agent working on this project. Generated by armada.

The job

Build exactly as specified in armada/REQUIREMENTS.md. That document is the contract: its phases, success criteria and final criteria decide when work is done. When in doubt, armada/REQUIREMENTS.md wins.

The team

  • orchestrator — Delivery lead / scheduler. Model opencode-go/minimax-m3.
  • backend-dev — Backend implementation. Model opencode-go/deepseek-v4-pro.
  • frontend-dev — Frontend implementation. Model opencode-go/minimax-m3.
  • qa — Quality assurance. Model opencode/mimo-v2.5-free.
  • adversary — Adversarial reviewer. Model opencode-go/deepseek-v4-pro.
  • security — Security auditor. Model opencode/big-pickle.
  • docs — Technical writer. Model opencode/deepseek-v4-flash-free.
  • architect — Architecture / code review. Model opencode/big-pickle.

Role boundaries are enforced by permissions and are absolute. Do not work around them with shell commands: if the edit tool would deny a file, do not modify that file any other way.

Repository conventions

  • End-to-end tests live under armada/e2e/{feature}/. Only qa writes there.
  • Screenshots live under armada/screenshots/{feature}/.
  • No emojis in code, comments, print statements or logging.
  • Keep it simple: small modules, clear names, no defensive programming, no overengineering.
  • Prefer popular, well-supported libraries over custom code.
  • Shipnames title format: When invoking task, set description to the work-only title. Do not manually prefix <Ship> or [role]; the shipnames plugin auto-prefixes them.
  • Evidence-based receipts: Subagent tasks require pasted evidence in the receipt Evidence block. No claim of done is accepted without evidence.

Adaptive delivery

  • Commodore infers risk; QA always active; evidence depth follows risk. Other roles stay standby.
  • Ask user risk override only for ambiguity, high consequence, contract conflict, or downgrade.
  • Dependency-ready phases and separate voyages run parallel; serialize shared writers. Group findings before fixes; only BLOCKING stops work. Use compact receipts.

armada/ledgers/{feature}/DEFECTS.md — the defect ledger

All defects live in armada/ledgers/{feature}/DEFECTS.md, one entry per defect, newest first. Writers: qa (create, close, reopen) and orchestrator (record developer responses, reject). Nobody else edits it, ever.

Format, exactly:

## DEF-001: Short title

- Status: OPEN
- Severity: HIGH | MEDIUM | LOW
- Found by: qa | adversary (ADV-003)
- Phase: 3

Steps to reproduce:
1. Numbered, specific, starting from app launch.

Expected: What should happen.
Actual: What happens instead.
Screenshot: armada/screenshots/{feature}/def-001.png (optional)

History:
- qa: opened

Statuses and who may set them:

StatusMeaningSet by
OPENFiled, or reopened after a failed retest or a bounced disputeqa
FIX-READYA developer reports a fix is inorchestrator, relaying the developer
DISPUTEDA developer reports CANNOT REPRODUCE or WORKING AS INTENDEDorchestrator, relaying verbatim
CLOSEDqa retested and confirmed the fix, or accepted the disputeqa only
REJECTEDWill not fix, with a written reasonorchestrator only

Every status change appends a History line. A defect is never done because a developer says so — it is done when qa closes it.

armada/ledgers/{feature}/ADVERSARIAL_REVIEW.md — the adversary's findings

All adversary findings live in armada/ledgers/{feature}/ADVERSARIAL_REVIEW.md. Writers: adversary (create entries) and orchestrator (fill Disposition). Nobody else.

Format, exactly:

## ADV-001: Short title

- Session: phase-3 gate | final
- Suggested severity: HIGH | MEDIUM | LOW

What I did: ...
Expected: ...
Actual: ...
Screenshot: armada/screenshots/{feature}/adv-001.png (optional)

Disposition: PENDING

The orchestrator replaces PENDING with either ACCEPTED -> DEF-NNN or REJECTED - reason. Accepted findings are reproduced and filed in armada/ledgers/{feature}/DEFECTS.md by qa. No entry may remain PENDING when the final phase completes.

armada/ledgers/{feature}/SECURITY_FINDINGS.md — security findings

All security findings live in armada/ledgers/{feature}/SECURITY_FINDINGS.md. Writer: security (create findings). Statuses: OPEN, ACCEPTED, REJECTED, MITIGATED. Orchestrator sets Disposition. Nobody else edits.

Format, exactly:

## SEC-###: Title

- Status: OPEN
- Severity: HIGH | MEDIUM | LOW
- Found by: security
- Phase: N

What I found: ...
Expected: ...
Actual: ...
Screenshot: armada/screenshots/{feature}/sec-###.png (optional)

History:
- security: opened

Statuses and who may set them:

StatusMeaningSet by
OPENNew finding, pending reviewsecurity
ACCEPTEDFinding confirmed, fix plannedorchestrator
REJECTEDNot a vulnerability / not in scopeorchestrator
MITIGATEDFix applied and verifiedorchestrator

Every status change appends a History line. A finding is never done because security says so — it is done when the orchestrator closes it.

Phase gates

A phase in armada/REQUIREMENTS.md passes only when its success criteria are demonstrated by evidence — a passing test run, a screenshot, or both. A phase starts as soon as the phases it depends on have passed; independent phases run in parallel as background subagents.

<!-- armada:end -->

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.