quorum
AGENTS.md2 starsChanged 5 months agoMITView on GitHub
Operational guidance for humans and coding agents working in this repo. - Registry: npmjs, pinned in .npmrc. Do not switch to registry.npmmirror.com or commit a lockfile that resolves from it — its advisory endpoint returns NOT_IMPLEMENTED, so npm audit silently can't run. - The zod override in package.json is an intentional security pin. zod is a peer dependency @cursor/sdk@1.2.0 declares as ^3.25.0 || ^4.0.0; without the pin npm installs the 3.x line, which carries an open advisory fixed only in…
- Reads credentials
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,774 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.
- quorumSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
After editing src/, rebuild and invoke with node dist/src/cli.js <command> (no npm link step).
- Very specific: line 57
Run artifacts are written under .quorum/ (gitignored).
- Very specific: line 62
Use --no-canvas-mirror on offline/CI runs so the runner doesn't write into the Cursor managed canvases directory under ~/.cursor.
≈ “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.
Files
Agent & contributor notes
Operational guidance for humans and coding agents working in this repo.
Dependencies / npm
- Registry: npmjs, pinned in
.npmrc. Do not switch toregistry.npmmirror.comor commit a lockfile that resolves from it — its advisory endpoint returnsNOT_IMPLEMENTED, sonpm auditsilently can't run. - The
zodoverride inpackage.jsonis an intentional security pin.zodis a peer dependency@cursor/sdk@1.2.0declares as^3.25.0 || ^4.0.0; without the pin npm installs the 3.x line, which carries an open advisory fixed only in 4.6.6. Do not remove or loosen it, and do not regenerate the lockfile against another registry. The formerundici,tarand@tootallnate/oncepins went away when the SDK droppedconnect-nodeandsqlite3. Rationale, verification, and the removal condition live indocs/dependencies.md(tracked in #5). - Auditing:
npm audit --audit-level=moderate(npmjs registry required).
Build, test & run
Single Node.js/TypeScript CLI — no server, no watch mode.
- Commands:
npm run build(tsc),npm test(builds, thennode --test dist/test/*.test.js, then the python suite underscripts/testswithpython3 -m unittest discover -s scripts/tests -v),npm run typecheck.build/testcleandist/first (prebuild), so stale compiled output from a branch switch can't leak into a run. - Skill scripts (
scripts/*.py): they must import on Python 3.9, so putfrom __future__ import annotationsin any module that uses PEP 604 unions (X | None).scripts/quorum_ledger.pyis the only writer of the PR comment: every other path (the CLI'ssynthesize, the skill, an agent following the embedded protocol) posts through it. - After editing
src/, rebuild and invoke withnode dist/src/cli.js <command>(nonpm linkstep). - Offline / no-credentials runs:
plan-pr <PR-URL>is plan-only by design — it builds the DAG → state → report → Canvas without calling any cloud backend. It still reads the PR's findings from GitHub unless you pass them locally with--scored <clusters.scored.json>, which makes the run fully offline:node dist/src/cli.js plan-pr https://github.com/OWNER/REPO/pull/N --scored clusters.scored.json. On the lower-levelexplore/triage-prcommands the same cloud-skip is the--plan-onlyflag. - Live commands —
run-pr,post-pr,run-dag, andtriage-prwithout--plan-only— call the exploration backend and/or GitHub. They need the selected backend's key —CURSOR_API_KEY(default) orANTHROPIC_API_KEY(with--provider anthropic/QUORUM_PROVIDER=anthropic) — plus an authenticatedghCLI. The Anthropic backend also fetches the PR diff for code context, soGITHUB_TOKEN/ghauth improves it but is non-fatal if missing. Without credentials the runner still completes, recording per-taskERROR/SKIPPEDinstead of crashing. - Persisting API keys —
quorum authsavesCURSOR_API_KEY/ANTHROPIC_API_KEY/QUORUM_PROVIDERto~/.config/quorum/credentials.json(0o600) so you don'texportthem every shell. Key resolution order:--api-keyflag > process env > config file. Override the file path withQUORUM_CONFIG. - Repackaging the skill:
quorum.skillis the committed, installable zip ofSKILL.md,scripts/andreferences/. The README's install steps unzip it, so a stale zip ships stale scripts. After changing any of those files: commit the change, runnpm run build:skill(it packages fromHEADviagit archive, so uncommitted edits are left out), and commit the refreshed zip..gitattributespins the packaged files to LF so Windowscore.autocrlfcan't inject CRLF (exec bits come from the index), and marksscripts/tests/**and__pycache__export-ignoreso the zip carries no tests. The npm tarball leaves tests out too: the negated!scripts/tests/and!scripts/**/__pycache__/entries inpackage.jsonfilesdo the work (a root.npmignorealone does not override thefileswhitelist), and.npmignorerepeats them. Check withnpm pack --dry-run. - Run artifacts are written under
.quorum/(gitignored).
Cursor Cloud
- The cloud-agent environment runs
npm installon startup (configured in Cursor, not in the repo). - Use
--no-canvas-mirroron offline/CI runs so the runner doesn't write into the Cursor managed canvases directory under~/.cursor.
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.

