AGENTS.md@crates/codegen/vtcode-safetyA
AGENTS.md@crates/codegen/vtcode-safety from vinhnx/vtcode is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add vinhnx/vtcode/crates/codegen/vtcode-safety/AGENTS.md@git:20261105.bf74c4fPins git:20261105.bf74c4f in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- vinhnx/vtcode
- Path
crates/codegen/vtcode-safety/AGENTS.md- Versions recorded
- 22
- Latest version
- git:20261105.bf74c4f, committed Nov 5, 2026
- First version recorded
- Aug 15, 2026
- Size
- 3,052 bytes
- Repository stars
- 898
- License
- Apache-2.0
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
<!-- markdownlint-disable MD013 --> # vtcode-safety [Root AGENTS.md](../../../AGENTS.md) | Command safety detection, execution policies, and sandboxing (Layer 1, depends on vtcode-commons). ## Modules - `command_safety/`: dangerous-command detection, `shell_parser/` (bash AST, dynamic-syntax detection), `rm_approval.rs` (mounted-target `rm` approval), Windows cmdlet/COM/registry DBs. - `exec_policy/`: policy manager, approval workflows, `parser.rs`, `command_validation/` (workspace containment via commons). - `sandboxing/`: `SandboxPolicy`, `permissions.rs`, exec environments, Linux `linux.rs` + `linux_seccomp.rs`. - `audit_log.rs` durable tool-invocation audit sink | `mcp_sandbox.rs` per-MCP-server derived sandbox. ## Rules - `SandboxPermissions::resolve_request` is the canonical mode/additional/justification validation boundary and `derive_mcp_sandbox_policy` the canonical MCP narrowing boundary, so callers must not duplicate either rule. - Keep the vtcode-core re-export facades (`command_safety/mod.rs`, `exec_policy/mod.rs`, `sandboxing/mod.rs`) in sync with this crate. …
Read the whole file at its exact version.
How to install
mdr add vinhnx/vtcode/crates/codegen/vtcode-safety/AGENTS.md@sha256:a6cf584f41c8c5ebThe line at the top of this page pins the label git:20261105.bf74c4f, 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_k3yj3s4heqajw7dr)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 22 versions of this file, between Aug 15, 2026 and Nov 5, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261105.bf74c4f latest | 2026-11-05 | bf74c4f | 3,052 B | A | view · diff |
| git:20261022.6c1f925 | 2026-10-22 | 6c1f925 | 6,612 B | A | view · diff |
| git:20261021.76c273c | 2026-10-21 | 76c273c | 6,037 B | A | view · diff |
| git:20261021.145ef2b | 2026-10-21 | 145ef2b | 5,951 B | A | view · diff |
| git:20261020.289c98f | 2026-10-20 | 289c98f | 5,694 B | A | view · diff |
| git:20261017.f7b4e2b | 2026-10-17 | f7b4e2b | 5,433 B | A | view · diff |
| git:20261012.a45f16e | 2026-10-12 | a45f16e | 5,137 B | A | view · diff |
| git:20261011.0b17b24 | 2026-10-11 | 0b17b24 | 4,994 B | A | view · diff |
| git:20261002.dca67ae | 2026-10-02 | dca67ae | 4,560 B | A | view · diff |
| git:20261001.f4761a3 | 2026-10-01 | f4761a3 | 4,454 B | A | view · diff |
| git:20260927.276992c | 2026-09-27 | 276992c | 4,144 B | A | view · diff |
| git:20260927.cf82d6d | 2026-09-27 | cf82d6d | 4,008 B | A | view · diff |
| git:20260927.e2b7fda | 2026-09-27 | e2b7fda | 3,788 B | A | view · diff |
| git:20260921.da8d7dc | 2026-09-21 | da8d7dc | 3,577 B | A | view · diff |
| git:20260912.3714c4e | 2026-09-12 | 3714c4e | 3,365 B | A | view · diff |
| git:20260909.6004fb5 | 2026-09-09 | 6004fb5 | 2,980 B | A | view · diff |
| git:20260906.7d77ce0 | 2026-09-06 | 7d77ce0 | 2,760 B | A | view · diff |
| git:20260828.1fb9b36 | 2026-08-28 | 1fb9b36 | 2,757 B | A | view · diff |
| git:20260828.0f6d7f8 | 2026-08-28 | 0f6d7f8 | 2,844 B | A | view · diff |
| git:20260825.0160a01 | 2026-08-25 | 0160a01 | 2,764 B | A | view · diff |
| git:20260818.c1aec0d | 2026-08-18 | c1aec0d | 2,591 B | A | view · diff |
| git:20260815.9192596 | 2026-08-15 | 9192596 | 2,532 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (3052 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
vinhnx/vtcode · 898 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_k3yj3s4heqajw7dr GET https://markdownregistry.com/api/v1/resolve?ref=vinhnx/vtcode/crates/codegen/vtcode-safety/AGENTS.md GET https://markdownregistry.com/api/v1/blob/a6cf584f41c8c5ebef1c229aef59e7b1bdbb31f8f03ae41bdf11b091b43ab5c0
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.