agentleFS
The-40-ThievesThe-40-Thieves/reliquary-tc/AGENTS.md

reliquary-tc

AGENTS.md15 starsChanged 22 days agoApache-2.0View on GitHub

Instructions for AI coding agents working in this repository. Issues live in Linear on the The 13th Letter team (THE- prefix), accessed via the Linear MCP server; pull requests live on GitHub and are a delivery surface, not a request surface. See docs/agents/issue-tracker.md. The five canonical triage roles, each label string equal to its name — needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. See docs/agents/triage-labels.md. Single-context — one CONTEXT.md and one docs/adr/ at the repo root, covering all four workspaces. See docs/agents/domain.md.

  • Pipes a download into a shell

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. The-40-Thieves/obsidian-tc★ 15100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • 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,040 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

6 rules. About 0 are common, 3 are distinctive, and 3 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Public repo: Put no private tracker ids or links (a THE- id followed by a number, a Linear URL) in commits, pull request text, code, …

    line 33
  2. Distinctive:

    Tests first: Write the new or changed test, run it and see it fail for the right reason, then fix.

    line 43
  3. Very specific:

    Local tests are the diff; the full suite is CI: Run the test files you touched plus bun run test:related in packages/server.

    line 53
  4. Distinctive:

    Three habits to avoid: Use a temporary commit instead of git stash (the stash is shared across worktrees).

    line 60
  5. Distinctive:

    Run these before proposing a change:

    line 83
  6. Very specific:

    Read .entire/agent-guide.md for this repository's workflow, source inspection, and verification guidance.

    line 96

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

Instructions for AI coding agents working in this repository.

Agent skills

Issue tracker

Issues live in Linear on the The 13th Letter team (THE- prefix), accessed via the Linear MCP server; pull requests live on GitHub and are a delivery surface, not a request surface. See docs/agents/issue-tracker.md.

Triage labels

The five canonical triage roles, each label string equal to its name — needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. See docs/agents/triage-labels.md.

Domain docs

Single-context — one CONTEXT.md and one docs/adr/ at the repo root, covering all four workspaces. See docs/agents/domain.md.

Every change: the working rules

These hold for every pull request. CLAUDE.md at the repo root has the full notes behind each rule (toolchain pins, generated files, migrations, adding a tool); read the section that matches your change before you start.

  • Check the ticket first. Tickets here go stale fast. Before implementing, confirm in the current source that the defect or gap still exists and that every cited file and line still matches. The procedure is .claude/skills/verify-ticket-premise/SKILL.md (plain markdown, any agent can follow it). If the premise no longer holds, stop and report that instead of coding.
  • Public repo. Put no private tracker ids or links (a THE- id followed by a number, a Linear URL) in commits, pull request text, code, comments or changes/ fragments. A GitHub issue number (Refs #123) is fine. bun run check:public-text covers only part of this: it refuses an id in tracked Markdown, the two manifests and the CLI's printed text, and it fails when the count of ids in code comments rises. It does not read commit messages, pull request text or changes/ fragments, so check those yourself before you push.
  • One pull request per task, on its own branch from origin/main. Sign off every commit (git commit -s); the DCO check rejects unsigned commits.
  • Add a release-note fragment: changes/<slug>.md, format in changes/README.md. Do not write the pull request number in it and do not edit CHANGELOG.md.
  • Tests first. Write the new or changed test, run it and see it fail for the right reason, then fix. Put that failing output in the pull request body.
  • bun run lint is only biome. CI's lint job runs about twenty more gates as separate steps. Read the list from .github/workflows/ci-server.yml (or follow .claude/skills/gates/SKILL.md) and run the ones your change can affect. Two that catch most changes: check:comment-style counts files with 120 or more comment lines, and biome refuses a file over 700 lines.
  • Generated files are regenerated, not edited. The list and each file's regenerate command are in .claude/generated-paths.txt. If a generated file looks wrong, fix its source and rerun that command.
  • Local tests are the diff; the full suite is CI. Run the test files you touched plus bun run test:related in packages/server. Do not run the whole suite locally.
  • Run each gate unpiped. A pipe through tail or head makes the exit code report the pipe, not the gate. Redirect the output to a log file and check the exit code separately.
  • Before pushing, merge origin/main into your branch and resolve conflicts by hand. If the ledger tool is on your PATH, run ledger replay as its own command after the merge, then push as a separate command; a cloud VM without it skips that step.
  • Three habits to avoid. Use a temporary commit instead of git stash (the stash is shared across worktrees). Stop a process by its id instead of by name pattern (a pattern hits other runs). If a push is rejected, merge again instead of force-pushing. If one of these seems unavoidable, stop and ask the user.
  • Report back with the pull request number, the head SHA, what was done and how each part was proven, test counts, the failing-first output, and anything done differently from the task brief.

Cloud agent environment setup

Cloud agent VMs (Google Jules, Codex cloud and similar) do not preinstall Bun. Install the pinned version first; the pin lives in mise.toml and packageManager in package.json, which must agree (currently 1.4.4):

export BUN_INSTALL="$HOME/.bun"   # some VMs can't write the installer's default location
curl -fsSL https://bun.sh/install | bash -s "bun-v1.4.4"
export PATH="$BUN_INSTALL/bin:$PATH"
bun --version   # must print 1.4.4
bun install --frozen-lockfile --ignore-scripts   # a plain install fails on the better-sqlite3 build script
bun run prepare   # --ignore-scripts skipped it: registers the regen merge driver and the DCO sign-off hook

Run these before proposing a change:

bun run lint        # biome only
bun run typecheck   # all four packages plus the bun-smoke project
cd packages/server && bunx vitest run test/<touched-area>.test.ts   # targeted tests, not the full suite

The Rust toolchain and the native addon are needed only when a change touches packages/native; the server falls back to JavaScript implementations without the addon. Build it with bun run build in that package. The Rust version is pinned in packages/native/rust-toolchain.toml.

<!-- entire-agent:begin -->

Read .entire/agent-guide.md for this repository's workflow, source inspection, and verification guidance. @.entire/agent-guide.md

<!-- entire-agent:end -->

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.