AGENTS.md@packages/api-routes/src/doctorA

AGENTS.md@packages/api-routes/src/doctor from canonry/canonry is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add canonry/canonry/packages/api-routes/src/doctor/AGENTS.md@git:20261026.bc41644

Pins git:20261026.bc41644 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/src/doctor/AGENTS.md
Versions recorded
16
Latest version
git:20261026.bc41644, committed Oct 26, 2026
First version recorded
Sep 19, 2026
Size
35,777 bytes
Repository stars
199
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

# doctor

`canonry doctor` runs an extensible set of health checks across global config and project-scoped integrations. Each check has a stable dotted ID (`google.auth.connection`, `ga.auth.connection`, `config.providers`, …) so an agent or skill can filter via `--check <id>` / `?check=<id>` and react to specific failures programmatically.

- **CLI:** `canonry doctor [--project <name>] [--check <id>...] [--format json]`
- **API:** `GET /api/v1/doctor` (global), `GET /api/v1/projects/:name/doctor` (project-scoped). Both accept `?check=<comma-separated ids or wildcards>`.
- **MCP:** `canonry_doctor` (core tier) — passes `project` + `checks[]` straight through.

Each check returns `status: ok | warn | fail | skipped`, a stable machine-readable `code`, a `summary`, optional `remediation`, and structured `details`. v1 ships:

| Category | ID | Scope | Purpose |
|----------|----|-------|---------|
| database | `db.file.present` | global | Configured SQLite database file still exists on disk (catches `rm ~/.canonry/data.db` against a running daemon — SQLite holds the inode open across `unlink`) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add canonry/canonry/packages/api-routes/src/doctor/AGENTS.md@sha256:67074c9394ca7a49

The line at the top of this page pins the label git:20261026.bc41644, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_hcuxt63tkglcirqi.svg)](https://markdownregistry.com/a/art_hcuxt63tkglcirqi)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 16 versions of this file, between Sep 19, 2026 and Oct 26, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261026.bc41644 latest2026-10-26 bc41644 35,777 BA view · diff
git:20261025.c84ec8d2026-10-25 c84ec8d 34,283 BA view · diff
git:20261022.e27d5bf2026-10-22 e27d5bf 33,747 BA view · diff
git:20261015.c8ecbd82026-10-15 c8ecbd8 33,530 BA view · diff
git:20261013.1c908112026-10-13 1c90811 33,528 BA view · diff
git:20261012.e8bc9e52026-10-12 e8bc9e5 29,638 BA view · diff
git:20261011.041436a2026-10-11 041436a 28,672 BA view · diff
git:20261009.3bf6bc32026-10-09 3bf6bc3 21,606 BA view · diff
git:20261008.27c13aa2026-10-08 27c13aa 21,506 BA view · diff
git:20261005.00662672026-10-05 0066267 17,951 BA view · diff
git:20261001.408113d2026-10-01 408113d 17,970 BA view · diff
git:20260928.a39f6872026-09-28 a39f687 17,982 BA view · diff
git:20260928.45d434d2026-09-28 45d434d 17,471 BA view · diff
git:20260928.120bbd82026-09-28 120bbd8 15,776 BA view · diff
git:20260921.1697bee2026-09-21 1697bee 11,473 BA view · diff
git:20260919.46b60a62026-09-19 46b60a6 11,243 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (35777 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

GitHub

canonry/canonry · 199 stars · license MIT · pushed 2026-11-08 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_hcuxt63tkglcirqi
GET https://markdownregistry.com/api/v1/resolve?ref=canonry/canonry/packages/api-routes/src/doctor/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/67074c9394ca7a491d79bd56f36c54855b69452e5a57e20a448f1c0e63ca3619

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.

More from canonry/canonry

test-audit SKILL.md skill
canonry/canonry · .agents/skills/test-audit/SKILL.md · Invoke whenever writing, changing, reviewing, running, or sweeping Canonry tests. Authoring gate for new tests plus…
git:20261015.3a14a05 · audit A · 199 stars
AGENTS.md AGENTS.md file
canonry/canonry · AGENTS.md
git:20261101.8b16fda · audit A · 199 stars
DESIGN.md DESIGN.md file
canonry/canonry · DESIGN.md
git:20261102.cd516b0 · audit A · 199 stars
AGENTS.md@apps/api AGENTS.md file
canonry/canonry · apps/api/AGENTS.md
git:20261007.254a7fb · audit A · 199 stars
AGENTS.md@apps/mcp-gateway AGENTS.md file
canonry/canonry · apps/mcp-gateway/AGENTS.md
git:20261101.29f3cd5 · audit A · 199 stars
AGENTS.md@apps/web AGENTS.md file
canonry/canonry · apps/web/AGENTS.md
git:20261107.f5d4612 · audit A · 199 stars
AGENTS.md@apps/worker AGENTS.md file
canonry/canonry · apps/worker/AGENTS.md
git:20261015.c8ecbd8 · audit A · 199 stars
AGENTS.md@packages/api-client-generated AGENTS.md file
canonry/canonry · packages/api-client-generated/AGENTS.md
git:20261020.3ca6ab5 · audit A · 199 stars
AGENTS.md@packages/api-routes AGENTS.md file
canonry/canonry · packages/api-routes/AGENTS.md
git:20261108.bd245fd · audit A · 199 stars
AGENTS.md@packages/api-routes/src/discovery AGENTS.md file
canonry/canonry · packages/api-routes/src/discovery/AGENTS.md
git:20261007.254a7fb · audit A · 199 stars
AGENTS.md@packages/canonry AGENTS.md file
canonry/canonry · packages/canonry/AGENTS.md
git:20261108.bd245fd · audit B · 199 stars
AGENTS.md@packages/canonry/assets/agent-workspace AGENTS.md file
canonry/canonry · packages/canonry/assets/agent-workspace/AGENTS.md
git:20261108.bd245fd · audit A · 199 stars

Every file in canonry/canonry

Browse by kind, by grade A, or by owner.