agentleFS
agentic-mcpsagentic-mcps/go/AGENTS.md

go

AGENTS.md2 starsChanged 2 months agoApache-2.0View on GitHub

Read docs/v0.2.0-release-scope.md before changing v0.2 behavior. It is the target release authority and overrides broader roadmap documents. The tagged v0.1.0 release scope remains the compatibility baseline. Read docs/contracts.md when changing protocol types, execution boundaries, findings, tracing, or analyzer wiring. Read docs/v1.0.0-roadmap.md before changing the v0.3+ sidecar, intelligence, snapshot, contract, refactor, or distribution work. The roadmap adds staged scope without weakening v0.2 compatibility. Read docs/v0.8.0-evaluation-scope.md before changing the historical task corpus, scorer, replay format, or model evaluation claims. Read docs/v0.9.0-release-scope.md before…

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

  • In this repository5 other files it gives its agents.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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. Very specific:

    Read docs/v1.0.0-roadmap.md before changing the v0.3+ sidecar, intelligence, snapshot, contract, refactor, or distribution work.

    line 11
  2. Distinctive:

    All filesystem access stays within the configured, symlink-resolved workspace.

    line 56
  3. Very specific:

    Before handoff, run go test ./..., go test -race ./..., go vet ./..., go build ./..., and git diff --check when the environment supports …

    line 73
  4. Distinctive:

    Use short Conventional Commit subjects.

    line 76
  5. Distinctive:

    Create no tag, release, or remote push without explicit maintainer approval.

    line 77

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

Agentic-go contributor contract

Start here

Read docs/v0.2.0-release-scope.md before changing v0.2 behavior. It is the target release authority and overrides broader roadmap documents. The tagged v0.1.0 release scope remains the compatibility baseline. Read docs/contracts.md when changing protocol types, execution boundaries, findings, tracing, or analyzer wiring. Read docs/v1.0.0-roadmap.md before changing the v0.3+ sidecar, intelligence, snapshot, contract, refactor, or distribution work. The roadmap adds staged scope without weakening v0.2 compatibility. Read docs/v0.8.0-evaluation-scope.md before changing the historical task corpus, scorer, replay format, or model evaluation claims. Read docs/v0.9.0-release-scope.md before changing frozen schemas, MCP interfaces, cached-state upgrades, or v1 release evidence.

For a rule change, also read the matching domain specification: docs/phase-4a-concurrency.md or docs/phase-4a-errors.md. For release work, read docs/phase-6-release-polish.md.

Invariants

  • Tagged v0.1.0 is seven tools, four resources, four prompts, and the agentic-go-vet binary. v0.2 adds go_verify_change. The frozen v1 development surface is 14 tools, seven fixed resources, one artifact resource template, and six prompts. internal/tools.RegisterAll is the live inventory. Change Contracts are private same-machine user-cache state with exact snapshot lineage and stale rejection. Goal and decision prose is never semantically enforced.
  • Guarded refactor preview is non-mutating and content-addressed. Apply requires the exact snapshot and every exact preimage, changes only existing contained non-generated files, and journals before writing. Recovery fails closed when a target diverges. Refactoring never mutates Git state or history.
  • The v0.2 verification report is the durable product boundary shared by the CLI, GitHub Action, and MCP adapter. It reports conservative impact, executed evidence, findings, risk facts, and explicit uncertainty; it never claims to prove that omitted code is safe.
  • v0.3 release bundles pair agentic-go with the exact agentic-go-gopls companion. Managed sessions negotiate capabilities, disable telemetry, use bounded stdio LSP, and replay only an explicitly idempotent read after terminal failure.
  • v0.4 intelligence is bound to immutable Snapshot Refs. Public locations use one-based UTF-8 byte columns; LSP UTF-16 positions stay inside the gopls adapter and opaque Symbol Refs. Stale refs fail instead of being re-resolved.
  • agentic.context/v1 Context Packs are compact, deterministic, and source-grounded. Complete overflow detail stays in private content-addressed artifacts addressed by opaque cursors. MCP and LSP types do not enter internal/intelligence domain contracts.
  • The server is stdio-only and helps an external coding agent make decisions. It does not embed an LLM or become an agent framework.
  • All filesystem access stays within the configured, symlink-resolved workspace. Subprocess and analyzer work share cancellation, deadlines, concurrency limits, and bounded output. Describe these controls as containment, never as sandboxing.
  • Execution and verification tools may compile and run trusted target-repository code. Audit tools remain read-only and closed-world.
  • A rule ships only with a positive fixture, a meaningful near miss, a stated limitation, and integration coverage through the production audit path. External validation is a release gate, not a claim to infer from fixtures.
  • Protocol errors fail loudly. Clean results use non-nil empty collections.

Work loop

  1. Locate the smallest relevant implementation and its governing contract.
  2. State the behavior and failure modes the change must preserve.
  3. Make one coherent change without widening the public surface.
  4. Inspect the diff and run the smallest relevant verification first.
  5. Before handoff, run go test ./..., go test -race ./..., go vet ./..., go build ./..., and git diff --check when the environment supports them.

Use short Conventional Commit subjects. Preserve the configured Git author. Create no tag, release, or remote push without explicit maintainer approval.

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.