AGENTS.md@packages/api-routesA
AGENTS.md@packages/api-routes from canonry/canonry is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add canonry/canonry/packages/api-routes/AGENTS.md@git:20261015.9ce35e0Pins git:20261015.9ce35e0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- canonry/canonry
- Path
packages/api-routes/AGENTS.md- Versions recorded
- 47
- Latest version
- git:20261015.9ce35e0, committed Oct 15, 2026
- First version recorded
- Aug 17, 2026
- Size
- 138,624 bytes
- Repository stars
- 187
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# api-routes ## Purpose Shared Fastify route plugins used by both the local server (`packages/canonry`) and the cloud API (`apps/api`). This is the HTTP surface for the entire platform — ~180 operations across ~27 route files. ## Key Files | File | Role | |------|------| | `src/status.ts` | Stored integration status, scoped to visible projects; shares doctor failure readers and freshness constants without running doctor checks. | | `src/index.ts` | Plugin entry point, global error handler, `ApiRoutesOptions` interface | | `src/helpers.ts` | `resolveProject()`, `writeAuditLog()`, `incrementUsage()`, `notProbeRun()` Drizzle predicate (see "Probe runs") | | `src/auth.ts` | Auth plugin: API key and session validation, scope gates (see "Deployment posture and key authority") | | `src/keys.ts` | API key management routes: `/keys` list, self, mint, revoke | | `src/request-context.ts` / `src/runtime-logger.ts` / `src/operational-logs.ts` | Request-local actor context; shared redacting logger; `GET /operations/logs` reader | | `src/openapi.ts` | OpenAPI spec generation, the source of the generated SDK (see "Typed responses") | …
Read the whole file at its exact version.
How to install
mdr add canonry/canonry/packages/api-routes/AGENTS.md@sha256:7a62ddd703d3cd34The line at the top of this page pins the label git:20261015.9ce35e0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_av3fdribd5nrisg7)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 47 versions of this file, between Aug 17, 2026 and Oct 15, 2026, about one every day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261015.9ce35e0 latest | 2026-10-15 | 9ce35e0 | 138,624 B | A | view · diff |
| git:20261015.c8ecbd8 | 2026-10-15 | c8ecbd8 | 138,467 B | A | view · diff |
| git:20261012.89a7b4b | 2026-10-12 | 89a7b4b | 138,453 B | A | view · diff |
| git:20261012.e8bc9e5 | 2026-10-12 | e8bc9e5 | 136,914 B | A | view · diff |
| git:20261012.8df46cf | 2026-10-12 | 8df46cf | 128,770 B | A | view · diff |
| git:20261011.041436a | 2026-10-11 | 041436a | 127,877 B | A | view · diff |
| git:20261010.f221481 | 2026-10-10 | f221481 | 127,085 B | A | view · diff |
| git:20261009.e760bb2 | 2026-10-09 | e760bb2 | 126,394 B | A | view · diff |
| git:20261009.32caa11 | 2026-10-09 | 32caa11 | 125,680 B | A | view · diff |
| git:20261009.3bf6bc3 | 2026-10-09 | 3bf6bc3 | 124,356 B | A | view · diff |
| git:20261009.292663b | 2026-10-09 | 292663b | 121,298 B | A | view · diff |
| git:20261005.e5dda18 | 2026-10-05 | e5dda18 | 86,008 B | A | view · diff |
| git:20261005.0066267 | 2026-10-05 | 0066267 | 85,665 B | A | view · diff |
| git:20261005.6a2c5dd | 2026-10-05 | 6a2c5dd | 85,829 B | A | view · diff |
| git:20261002.3a39895 | 2026-10-02 | 3a39895 | 86,561 B | A | view · diff |
| git:20260929.728d007 | 2026-09-29 | 728d007 | 86,040 B | A | view · diff |
| git:20260929.d88a56a | 2026-09-29 | d88a56a | 84,737 B | A | view · diff |
| git:20260928.927559d | 2026-09-28 | 927559d | 84,513 B | A | view · diff |
| git:20260928.54ba11c | 2026-09-28 | 54ba11c | 81,443 B | A | view · diff |
| git:20260928.a39f687 | 2026-09-28 | a39f687 | 80,014 B | A | view · diff |
| git:20260928.6369ada | 2026-09-28 | 6369ada | 79,527 B | A | view · diff |
| git:20260928.1b3b218 | 2026-09-28 | 1b3b218 | 77,077 B | A | view · diff |
| git:20260923.508d40e | 2026-09-23 | 508d40e | 74,598 B | A | view · diff |
| git:20260923.4943c30 | 2026-09-23 | 4943c30 | 74,165 B | A | view · diff |
| git:20260922.d237087 | 2026-09-22 | d237087 | 73,554 B | A | view · diff |
| git:20260921.1697bee | 2026-09-21 | 1697bee | 72,961 B | A | view · diff |
| git:20260921.f2d9ae1 | 2026-09-21 | f2d9ae1 | 72,129 B | A | view · diff |
| git:20260919.46b60a6 | 2026-09-19 | 46b60a6 | 71,087 B | A | view · diff |
| git:20260916.caba5d3 | 2026-09-16 | caba5d3 | 60,489 B | A | view · diff |
| git:20260912.9cc37ab | 2026-09-12 | 9cc37ab | 60,454 B | A | view · diff |
| git:20260910.f243a53 | 2026-09-10 | f243a53 | 59,642 B | A | view · diff |
| git:20260910.f210e30 | 2026-09-10 | f210e30 | 59,104 B | A | view · diff |
| git:20260910.2bcbc86 | 2026-09-10 | 2bcbc86 | 58,779 B | A | view · diff |
| git:20260910.291818f | 2026-09-10 | 291818f | 57,456 B | A | view · diff |
| git:20260909.c42eb1e | 2026-09-09 | c42eb1e | 56,851 B | A | view · diff |
| git:20260909.672d4df | 2026-09-09 | 672d4df | 56,609 B | A | view · diff |
| git:20260908.d4c10fe | 2026-09-08 | d4c10fe | 56,026 B | A | view · diff |
| git:20260908.9b9d76f | 2026-09-08 | 9b9d76f | 55,755 B | A | view · diff |
| git:20260908.5376608 | 2026-09-08 | 5376608 | 55,285 B | A | view · diff |
| git:20260908.f9ba202 | 2026-09-08 | f9ba202 | 54,870 B | A | view · diff |
| git:20260908.a797639 | 2026-09-08 | a797639 | 53,808 B | A | view · diff |
| git:20260906.b5c915a | 2026-09-06 | b5c915a | 53,211 B | A | view · diff |
| git:20260902.559f4f3 | 2026-09-02 | 559f4f3 | 51,402 B | A | view · diff |
| git:20260820.9308d51 | 2026-08-20 | 9308d51 | 49,572 B | A | view · diff |
| git:20260820.8b2295d | 2026-08-20 | 8b2295d | 48,688 B | A | view · diff |
| git:20260817.34bb80b | 2026-08-17 | 34bb80b | 48,030 B | A | view · diff |
| git:20260817.5b6606c | 2026-08-17 | 5b6606c | 47,756 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (138624 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
canonry/canonry · 187 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_av3fdribd5nrisg7 GET https://markdownregistry.com/api/v1/resolve?ref=canonry/canonry/packages/api-routes/AGENTS.md GET https://markdownregistry.com/api/v1/blob/7a62ddd703d3cd34faf308d88226b5ac5d065bdd27ab1cfaf95e6201458e3224
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.