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.

Install it, pinned
mdr add vinhnx/vtcode/crates/codegen/vtcode-safety/AGENTS.md@git:20261105.bf74c4f

Pins 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

The exact contents, by fingerprint
mdr add vinhnx/vtcode/crates/codegen/vtcode-safety/AGENTS.md@sha256:a6cf584f41c8c5eb

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_k3yj3s4heqajw7dr.svg)](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.

versioncommittedcommitsizeaudit
git:20261105.bf74c4f latest2026-11-05 bf74c4f 3,052 BA view · diff
git:20261022.6c1f9252026-10-22 6c1f925 6,612 BA view · diff
git:20261021.76c273c2026-10-21 76c273c 6,037 BA view · diff
git:20261021.145ef2b2026-10-21 145ef2b 5,951 BA view · diff
git:20261020.289c98f2026-10-20 289c98f 5,694 BA view · diff
git:20261017.f7b4e2b2026-10-17 f7b4e2b 5,433 BA view · diff
git:20261012.a45f16e2026-10-12 a45f16e 5,137 BA view · diff
git:20261011.0b17b242026-10-11 0b17b24 4,994 BA view · diff
git:20261002.dca67ae2026-10-02 dca67ae 4,560 BA view · diff
git:20261001.f4761a32026-10-01 f4761a3 4,454 BA view · diff
git:20260927.276992c2026-09-27 276992c 4,144 BA view · diff
git:20260927.cf82d6d2026-09-27 cf82d6d 4,008 BA view · diff
git:20260927.e2b7fda2026-09-27 e2b7fda 3,788 BA view · diff
git:20260921.da8d7dc2026-09-21 da8d7dc 3,577 BA view · diff
git:20260912.3714c4e2026-09-12 3714c4e 3,365 BA view · diff
git:20260909.6004fb52026-09-09 6004fb5 2,980 BA view · diff
git:20260906.7d77ce02026-09-06 7d77ce0 2,760 BA view · diff
git:20260828.1fb9b362026-08-28 1fb9b36 2,757 BA view · diff
git:20260828.0f6d7f82026-08-28 0f6d7f8 2,844 BA view · diff
git:20260825.0160a012026-08-25 0160a01 2,764 BA view · diff
git:20260818.c1aec0d2026-08-18 c1aec0d 2,591 BA view · diff
git:20260815.91925962026-08-15 9192596 2,532 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 (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

GitHub

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.

More from vinhnx/vtcode

AGENTS.md@.agents/skills/rust-skills AGENTS.md file
vinhnx/vtcode · .agents/skills/rust-skills/AGENTS.md · 194 Rust coding rules across 14 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership…
v1.1.0 · audit A · 898 stars
rust-skills SKILL.md skill
vinhnx/vtcode · .agents/skills/rust-skills/SKILL.md · 194 Rust coding rules across 14 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership…
v1.1.0 · audit A · 898 stars
AGENTS.md AGENTS.md file
vinhnx/vtcode · AGENTS.md
git:20261105.6caf02b · audit A · 898 stars
AGENTS.md@apps/webmcp AGENTS.md file
vinhnx/vtcode · apps/webmcp/AGENTS.md
git:20261017.ecc4cf9 · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-a2a AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-a2a/AGENTS.md
git:20261104.81eb6dd · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-acp AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-acp/AGENTS.md
git:20261105.bf74c4f · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-auth AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-auth/AGENTS.md
git:20261105.bf74c4f · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-bash-runner AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-bash-runner/AGENTS.md
git:20261105.bf74c4f · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-config AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-config/AGENTS.md
git:20261107.80ade67 · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-core AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-core/AGENTS.md
git:20261107.0558d26 · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-desktop AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-desktop/AGENTS.md
git:20261107.b584291 · audit A · 898 stars
AGENTS.md@crates/codegen/vtcode-eval AGENTS.md file
vinhnx/vtcode · crates/codegen/vtcode-eval/AGENTS.md
git:20261105.bf74c4f · audit A · 898 stars

Every file in vinhnx/vtcode

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