unigent
AGENTS.md104 starsChanged 5 months agoMITView on GitHub
When a code change is completed, always run full workspace tests, not just unit tests, not just package tests. Live E2E skips only when a backend is unavailable. A red authenticated run is a regression. The two public packages in scripts/release-packages.mjs (unigent-sdk and unigent-cli) use one lockstep version. Private workspace packages carry the same version but are bundled rather than published. Before pushing a vX.Y.Z tag, update every package manifest, version literal, lockfile, and CHANGELOG.md; run the deterministic validation above,…
- Installs packages
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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Read CONSTITUTION.md before starting any codebase changes or evaluations.
- Distinctive: line 16
When a code change is completed, always run full workspace tests, not just unit tests, not just package tests.
≈ “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.
Files
Setup — do this FIRST in any fresh checkout or worktree
A new git worktree has no node_modules. Before editing, building, or committing, bootstrap it:
corepack pnpm install --frozen-lockfileCore vs. adapter
Unigent core MUST house all reusable language/runtime logic. Private harness adapters and the unigent-cli frontend contain only the minimum translation and presentation glue. Public SDK consumers import the bundled facade from unigent-sdk.
Constitution
Read CONSTITUTION.md before starting any codebase changes or evaluations.
Validation
When a code change is completed, always run full workspace tests, not just unit tests, not just package tests.
corepack pnpm run typecheck # types only, no tests
corepack pnpm test # deterministic suite (unit + fake). Excludes e2e.
corepack pnpm run test:tui # deterministic terminal rendering and 5,000-run stress suite
corepack pnpm run test:e2e # real Pi, Claude CLI, and Codex CLI calls; requires local model authentication
corepack pnpm run build
corepack pnpm run check # FAST static tier (typecheck, format, lint, lint:types, ast) — what pre-commit runs
corepack pnpm run check:full # FULL DoD gate (adds arch, spell, deps, dead, dup, build, api-surface, coverage) — what pre-push runsLive E2E skips only when a backend is unavailable. A red authenticated run is a regression.
Releases
The two public packages in scripts/release-packages.mjs (unigent-sdk and unigent-cli) use one lockstep version. Private workspace packages carry the same version but are bundled rather than published. Before pushing
a vX.Y.Z tag, update every package manifest, version literal, lockfile, and CHANGELOG.md; run the
deterministic validation above, excluding live E2E unless the user explicitly requests it; then
commit and push the matching tag. .github/workflows/release.yml is the normal publish entrypoint:
it publishes to latest through npm trusted publishing and verifies fresh-cache
SDK and global CLI installs. Monitor the workflow and confirm both packages' latest tags before
reporting success. Do not manually publish or change dist-tags during a normal release. A package's
first-ever release is the only exception: publish it interactively once, configure trusted
publishing for that new npm package, then push the tag so the workflow verifies the artifacts.
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
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.

