agentleFS
nooganooga/let-go/AGENTS.md

let-go

AGENTS.md585 starsChanged 3 months agoMITView on GitHub

let-go is a Clojure dialect in Go: reader → bytecode compiler → stack VM, no JVM, plus an opt-in IR path and a Go AOT backend. The README covers the language and the embedding API. Contributor material lives under docs/: start at docs/README.md, then docs/contributor-workflow.md (commands, generated artifacts, CI gates) and docs/contribution-policy.md (design contracts, direction). Do not restate them here. Editing pkg/rt/core/**/*.lg or pkg/ir/ir_*.lg changes nothing until make generate runs, and the regenerated files commit together with the edit. make…

  • 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 35,117 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 repository4 other files it gives its agents.

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    No test files at the repo root.

    line 27

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

AGENTS.md — let-go

let-go is a Clojure dialect in Go: reader → bytecode compiler → stack VM, no JVM, plus an opt-in IR path and a Go AOT backend. The README covers the language and the embedding API. Contributor material lives under docs/: start at docs/README.md, then docs/contributor-workflow.md (commands, generated artifacts, CI gates) and docs/contribution-policy.md (design contracts, direction). Do not restate them here.

The rule people trip on

Editing pkg/rt/core/**/*.lg or pkg/ir/ir_*.lg changes nothing until make generate runs, and the regenerated files commit together with the edit. make check-generated proves freshness; make build does not. Details: docs/regenerating-generated-artifacts.md.

Working here

  • make build, make test, make lint, make generate; the full map is in docs/contributor-workflow.md. Install the CI-mirroring hooks once with prek install --install-hooks --hook-type pre-commit --hook-type pre-push.
  • make test supports variable-driven narrowing: RUN=<pattern>, LG_TEST=<pattern>, PKG=<pkg>, SHORT=false for e2e gates. See docs/specs/test-runner-narrowing.md.
  • Canonical binary is build/lg (promoted to bin/lg after make smoke). Never build ad-hoc binaries (e.g. go build -o letgo) or run loose binaries from the repo root; execute scripts and tests with build/lg (e.g. LG_SOURCE_PATHS=scripts build/lg ...).
  • go test with a profiling flag (-cpuprofile, -memprofile, ...) keeps <pkg>.test in the working directory; pass -o build/<pkg>.test so it never lands at the repo root.
  • No test files at the repo root; .lg tests under test/, Go tests beside their package.
  • Docs under docs/ carry frontmatter; run python3 scripts/docs_frontmatter_hook.py --check on the files you touch.
  • Natives register two ways (ns.Def in pkg/rt/lang.go, or //lg:native markers that make generate turns into registrars). Never both for one name.
  • The default compiler is pkg/compiler; *ir-compile* and -tags gogen_ir are the other two paths. A change to one needs a stated position on the other two.
  • Perf claims go through docs/perf/ratchet.md, never a same-machine single run.

Upstream etiquette (nooga/let-go)

  • Changes against a design contract in docs/contribution-policy.md need project-owner sign-off in the PR thread, not just green CI.
  • PR bodies say why before what, describe the net change, and say how it was verified. Titles become squash-commit subjects.
  • Architecture direction is recorded in issues and in the maintainers' review comments; read them before proposing a namespace, IR, or backend change.

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.