agentleFS
LangspanLangspan/LangSpan.dev/AGENTS.md

LangSpan.dev

AGENTS.md1 starsChanged 4 days agoApache-2.0View on GitHub

LangSpan helps teams keep building together as their agents write more code. It gives people and their coding agents a shared view of work in progress. The hypothesis: relevant information delivered before the next affected decision reduces avoidable rework and manual relay, while preserving useful parallel work and human review. The mission owns the direction and the evidence needed to establish that benefit. The product name is LangSpan and the CLI is langspan. Every capability still to build is a…

  • 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 33,398 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 repository3 other files it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Read and follow docs/engineering.md and docs/engineering-standard.md: commands, workflow, design principles and the check behind each, …

    line 9
  2. Distinctive:

    Write docs, comments, CLI messages, commits and pull request text to docs/writing-style.md.

    line 10
  3. Very specific:

    Every capability still to build is a GitHub issue labeled roadmap (the list).

    line 14
  4. Distinctive:

    All participants in one local coordination domain use the same daemon and state directory.

    line 22
  5. Distinctive:

    Simplicity first: Write the least code that solves the problem, with nothing speculative: no abstraction for single-use code and no …

    line 50
  6. Very specific:

    No session links in public text: Don't put a link to an agent session (a Claude-Session: trailer or any claude.ai/code/session URL) in …

    line 56

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

LangSpan project context

LangSpan helps teams keep building together as their agents write more code. It gives people and their coding agents a shared view of work in progress. The hypothesis: relevant information delivered before the next affected decision reduces avoidable rework and manual relay, while preserving useful parallel work and human review. The mission owns the direction and the evidence needed to establish that benefit.

The product name is LangSpan and the CLI is langspan.

Before any change

  • Read and follow docs/engineering.md and docs/engineering-standard.md: commands, workflow, design principles and the check behind each, security, testing and Git rules for every agent and person here.
  • Write docs, comments, CLI messages, commits and pull request text to docs/writing-style.md. Keep public claims within docs/positioning.md.

What to work on

Every capability still to build is a GitHub issue labeled roadmap (the list); the issue is the full specification and names the ADR that decides it. docs/roadmap.md indexes them by area.

  • Pick an issue whose ADR says it is planned, or whose condition for revisiting has been met. Read the issue and that ADR.
  • Propose any change of decision as an ADR change in the same pull request, and update the issue.
  • A pull request that finishes a capability says "Fixes #N"; the index is generated, not edited.

Constraints the code doesn't show

  • All participants in one local coordination domain use the same daemon and state directory.
  • Admission is cooperative, not filesystem fencing. Writes outside the hooks can bypass it.
  • Tool-input digests protect retry identity; they don't validate the source version an agent previously read.
  • Git observations identify file-content and branch-head changes without claiming an author or a complete logical change record.
  • Liveness never extends or releases a lease.
  • Distinct worktrees remain distinct physical admission domains.
  • Awareness must include uncommitted and unpushed local work; this doesn't prescribe a shared transport.

Evidence

  • Retain actual native-host evidence. Parser fixtures and manually issued CLI calls establish narrower results.
  • A delivered message or a successful status query shows receipt, not an observable change in approach. The mission defines the measures.

Where things are

  • docs/architecture.md: components, protocol and schema versions, decisions by milestone, and the first useful result.
  • docs/IMPLEMENTATION_STATUS.md: what is built, retained evidence and pending acceptance.
  • docs/usage.md: setup, hooks, CLI, MCP and configuration.
  • docs/development-process.md: backlog labels, work-in-progress limits, Definition of Done, review, integration, releases and metrics.
  • docs/adr/: architecture decisions, starting with ADR 0001.
  • docs/security/threat-model.md: trust boundaries and threats.
  • benchmarks/coordination/README.md: the coordination benchmark harness.
  • README.md: the product overview for people deciding whether to try it.

How to work

Think before coding. State your assumptions. If you're uncertain, ask. If a request has more than one reading, say which ones and don't pick silently. If a simpler approach exists, say so, and push back when it's warranted.

Simplicity first. Write the least code that solves the problem, with nothing speculative: no abstraction for single-use code and no configurability nobody asked for. If 200 lines could be 50, rewrite it.

Surgical changes. Don't improve adjacent code or formatting, and don't refactor what isn't broken. Every changed line traces to the task. (A task that is itself a refactor, such as an extraction in the engineering remediation, is the change; keep it to moves.)

Goal-driven execution. Define what success looks like and loop until it's verified. For a multi-step task, state a short plan with a check for each step.

No session links in public text. Don't put a link to an agent session (a Claude-Session: trailer or any claude.ai/code/session URL) in commits, pull requests, issues or comments. A Co-Authored-By: trailer and a "Generated with Claude Code" line are fine.

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.