agentleFS
wowyuarmwowyuarm/dsh-agent-team/.scratch/AGENTS.md

dsh-agent-team

AGENTS.md89 starsChanged 9 days agoMITView on GitHub

This subtree holds cross-session work items: design snapshots, research, implementation tickets, prototypes, and acceptance evidence. It is not an implementation or API authority — current behavior is defined by packages/ source and tests, and maintenance rules by ../docs/AGENTS.md. This file only governs how to work here. Each active/<work>/ is one directory with a short README.md as its single continuation entry, covering five items: status, last-checked date, current frontier (who is doing what and what is blocked), completion conditions, and the…

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. Contexera/dsh-agent-team★ 89100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • 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 31,843 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 repository12 other files it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Wide-refactor exception: when one mechanical change's blast radius covers the whole repository, do not force it into a tracer bullet — …

    line 38
  2. Very specific:

    Local inventory: when adding or removing a local/ entry, update local/README.md — one row per entry naming its source work item and why it …

    line 45
  3. Very specific:

    Archive enters history on close: when a work item closes, move it into archive/YYYY-MM/ and amend that move into the commit(s) that deliver …

    line 50

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

.scratch Work Rules

This subtree holds cross-session work items: design snapshots, research, implementation tickets, prototypes, and acceptance evidence. It is not an implementation or API authority — current behavior is defined by packages/ source and tests, and maintenance rules by ../docs/AGENTS.md. This file only governs how to work here.

Work-item structure

Each active/<work>/ is one directory with a short README.md as its single continuation entry, covering five items: status, last-checked date, current frontier (who is doing what and what is blocked), completion conditions, and the formal-doc exit.

active/<work>/
├── README.md      # continuation entry (the five items above)
├── spec.md        # confirmed decision snapshot — written once discussion converges
├── issues/        # tracer-bullet implementation tickets, one file per ticket
│   ├── 01-<slug>.md
│   └── 02-<slug>.md
├── materials/     # research and external material (keep only what is worth re-reading)
└── validation/    # human-confirmed acceptance evidence (see the development doc)

Ticket discipline

Each issues/NN-<slug>.md uses a fixed skeleton, numbered from 01 in dependency order (blockers first):

# NN — title

**What to build:** the end-to-end behavior this ticket demonstrably delivers once done (user perspective, not a layered task list)
**Blocked by:** the tickets blocking it, or "None — can start immediately"
**Status:** pending | ready | in-progress | complete

- [ ] acceptance criterion 1
- [ ] acceptance criterion 2
  • Vertical slices: each ticket cuts one narrow, complete path through every layer (schema → API → UI → tests), independently verifiable when done; no horizontal division of labor by layer.
  • Self-contained tickets: each ticket can start in a new context without reading the whole work-item history. Avoid concrete file paths and code snippets (they go stale); exception: decision-dense fragments from prototypes (state machines, type shapes) may be inlined with their source noted.
  • Frontier workflow: tickets whose blockers are all done form the frontier and are ready to start; a serial chain runs top to bottom. Tickets that are written but still carry unfinished blockers stay pending, so ready always means startable now.
  • Wide-refactor exception: when one mechanical change's blast radius covers the whole repository, do not force it into a tracer bullet — order it as expand–contract: expand first (old and new coexist), migrate in batches, then contract (delete the old form).

Lifecycle

  • Closing a work item: close or delete unfinished tickets → move durable conclusions into the ../docs/ maintained documents → delete process material without provenance value → move into archive/YYYY-MM/.
  • Archive is history: archived states and terminology only represent the working context of their time and never override current implementation; do not rewrite archives to match new code.
  • Transient artifacts: logs, debug screenshots, and downloads go in local/ or artifacts/ (gitignored), never into active or archive.
  • Local inventory: when adding or removing a local/ entry, update local/README.md — one row per entry naming its source work item and why it stays. That index is gitignored with the directory it describes.

Version control

  • Active does not enter version history: while a work item is open, its active/<work>/ directory is gitignored working material. Force-add it (git add -f) only when a reviewer must see it.
  • Archive enters history on close: when a work item closes, move it into archive/YYYY-MM/ and amend that move into the commit(s) that deliver the work, so the archive records what actually shipped instead of sitting in a scratch-only commit at the tip.

Directory index

See README.md.

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.