AGENTS.md@gateway/src/riskA
AGENTS.md@gateway/src/risk from vellum-ai/vellum-assistant is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add vellum-ai/vellum-assistant/gateway/src/risk/AGENTS.md@git:20260818.52cd899Pins git:20260818.52cd899 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- vellum-ai/vellum-assistant
- Path
gateway/src/risk/AGENTS.md- Versions recorded
- 4
- Latest version
- git:20260818.52cd899, committed Aug 18, 2026
- First version recorded
- Aug 18, 2026
- Size
- 2,309 bytes
- Repository stars
- 1,483
- 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
# Risk: Agent Instructions The gateway is the **only** place a tool invocation's risk is classified and the only place trust rules are stored, matched, and applied. `gateway/src/ipc/risk-classification-handlers.ts` (`classify_risk`) is the sole entry point; the assistant calls it exactly once per tool invocation and never classifies locally. See `command-registry/AGENTS.md` for the registry rules. - **Trust rules live here** (`gateway/src/db/trust-rule-store.ts`, cached by `trust-rule-cache.ts`, seeded at startup by `db/seed-trust-rules.ts` and otherwise mutated only through the gateway HTTP routes, which refresh the cache in-process). A rule reaches the assistant only as the classified level plus `matchType: "user_rule"`; the assistant never sees, stores, or matches rules. - **A tool's risk is decided here or not at all.** Tools without a dedicated classifier fall through to the `registryDefaultRisk` the assistant sends (the tool's `defaultRiskLevel`); today that fallback consults no trust rule and emits no allowlist options, so a user rule cannot cover such a tool. Fix that here when it matters, not with a classifier in the assistant. …
Read the whole file at its exact version.
How to install
mdr add vellum-ai/vellum-assistant/gateway/src/risk/AGENTS.md@sha256:0ae639d4a5f1f3faThe line at the top of this page pins the label git:20260818.52cd899, 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_jyzmxh4ue6g7ebph)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, all committed on Aug 18, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260818.52cd899 latest | 2026-08-18 | 52cd899 | 2,309 B | A | view · diff |
| git:20260818.7026d0e | 2026-08-18 | 7026d0e | 2,271 B | A | view · diff |
| git:20260818.65dc2a0 | 2026-08-18 | 65dc2a0 | 1,988 B | A | view · diff |
| git:20260818.7cfc7e3 | 2026-08-18 | 7cfc7e3 | 1,848 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2309 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
vellum-ai/vellum-assistant · 1,483 stars · license MIT · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jyzmxh4ue6g7ebph GET https://markdownregistry.com/api/v1/resolve?ref=vellum-ai/vellum-assistant/gateway/src/risk/AGENTS.md GET https://markdownregistry.com/api/v1/blob/0ae639d4a5f1f3fae9df821bea30fb100b0ef63e5f481d7880fc4908c73f7b12
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.