AGENTS.md@crates/containmentB

AGENTS.md@crates/containment from strands-agents/box is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add strands-agents/box/crates/containment/AGENTS.md@git:20261113.f40db21

Pins git:20261113.f40db21 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
AGENTS.md file
Repository
strands-agents/box
Path
crates/containment/AGENTS.md
Versions recorded
5
Latest version
git:20261113.f40db21, committed Nov 13, 2026
First version recorded
Nov 9, 2026
Size
111,278 bytes
Repository stars
548
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

Follow [repository guidance](../../AGENTS.md).

**Interface-frozen.** The `pub use` façade and the SBPL minimums need the user's approval before they
change, and a *narrowing* counts. A defect fix behind the current shape needs none.

The code and its tests own behaviour, and [the design decisions](../../docs/design/decisions.md)
own why.

**This file holds what the code cannot say: measurements, escapes that were reproduced, and the
footguns that cost a day.** Where it and a document disagree, the code is the fact. Anything derivable
by reading `src/` belongs in `src/` — the README describes the shape.

## The shape, in one pass

`model.rs` the vocabulary · `config.rs` the request · `floors.rs` the deny-only floors ·
`facade.rs` the pipeline · `backend/*` the mechanisms. One decision per module.

- **One verb**, `Containment::apply(&config, egress_handoff, confirm_fd, native_filesystem_handoff)`. Add no tier report, status flag,
  post-apply report, lifecycle handle, configure phase, or second entry point. Treat every error as
  incomplete containment: terminate, and never run the workload.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add strands-agents/box/crates/containment/AGENTS.md@sha256:9e24f3374e9cee1d

The line at the top of this page pins the label git:20261113.f40db21, 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_h5ame7smqon7z2us.svg)](https://markdownregistry.com/a/art_h5ame7smqon7z2us)

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

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in strands-agents/box/crates/containment/AGENTS.md since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of AGENTS.md from somewhere else? Ask it: where did my AGENTS.md come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 5 versions of this file, between Nov 9, 2026 and Nov 13, 2026, about one every day.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20261113.f40db21 latest2026-11-13 f40db21 111,278 BB view · diff
git:20261113.004e29d2026-11-13 004e29d 109,113 BB view · diff
git:20261113.09b58272026-11-13 09b5827 108,381 BB view · diff
git:20261111.a41332d2026-11-11 a41332d 107,603 BB view · diff
git:20261109.fbe415c2026-11-09 fbe415c 99,517 BB view
Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No instruction to read or print local credentials (matched: read root on the operator's `~/.aws)
  • pass: Size between 200 bytes and 200 KB (111278 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 base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for AGENTS.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

strands-agents/box · 548 stars · license Apache-2.0 · pushed 2026-11-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_h5ame7smqon7z2us
GET https://markdownregistry.com/api/v1/resolve?ref=strands-agents/box/crates/containment/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/9e24f3374e9cee1d1ef37f71b636dc36750a24055146d2fa0f3fa730f3236f35

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 strands-agents/box

authoring-box-policy SKILL.md skill
strands-agents/box · .agents/skills/authoring-box-policy/SKILL.md · Author or edit a Strands Box policy (`policy.dw`) — turn an operator's natural-language allow/deny intent into a…
git:20261102.bcf4273 · audit A · 548 stars
debug-os-failure-on-github SKILL.md skill
strands-agents/box · .agents/skills/debug-os-failure-on-github/SKILL.md · Debug a CI failure on an OS you are not on (you are on Linux, it fails on macos-latest, or the reverse) without opening…
git:20261007.158dade · audit A · 548 stars
docs-audit SKILL.md skill
strands-agents/box · .agents/skills/docs-audit/SKILL.md · Assess an existing Box documentation page (docs/user/, docs/design/, or a crate README.md) for accuracy against the…
git:20261007.158dade · audit A · 548 stars
docs-planner SKILL.md skill
strands-agents/box · .agents/skills/docs-planner/SKILL.md · Find the gaps in the Box documentation and produce a prioritized backlog for docs/user/ and docs/design/. Use when…
git:20261007.158dade · audit A · 548 stars
docs-reviewer SKILL.md skill
strands-agents/box · .agents/skills/docs-reviewer/SKILL.md · Review Box drafts in docs/user/ or docs/design/, and wording-only rewrites in docs/dev/. Use after docs-writer, before…
git:20261106.6bd1b2f · audit A · 548 stars
docs-sync SKILL.md skill
strands-agents/box · .agents/skills/docs-sync/SKILL.md · Find each Box doc that a change makes wrong or incomplete, and report the page to update in the same commit. Read-only…
git:20261026.bc94b4e · audit A · 548 stars
docs-writer SKILL.md skill
strands-agents/box · .agents/skills/docs-writer/SKILL.md · Draft or rewrite a Box page in docs/user/, docs/design/, or a crate README. Also use for wording-only rewrites in…
git:20261106.6bd1b2f · audit A · 548 stars
explore SKILL.md skill
strands-agents/box · .agents/skills/explore/SKILL.md · Launch a deep, multi-faceted investigation of a topic using parallel sub-agents. Each agent tackles a different angle…
git:20261007.158dade · audit A · 548 stars
kd SKILL.md skill
strands-agents/box · .agents/skills/kd/SKILL.md · Deep-dive a SINGLE key decision. Frame the question, weigh the candidate options honestly, and land a defensible answer…
git:20261007.158dade · audit A · 548 stars
setting-up-a-box SKILL.md skill
strands-agents/box · .agents/skills/setting-up-a-box/SKILL.md · Walk an operator through running an agent in a Strands Box for the first time, by following the getting started guide…
git:20261007.158dade · audit A · 548 stars
spec SKILL.md skill
strands-agents/box · .agents/skills/spec/SKILL.md · Walk through spec-driven development, design then requirements, producing a local .spec.md and .requirements.md for one…
git:20261007.158dade · audit A · 548 stars
AGENTS.md AGENTS.md file
strands-agents/box · AGENTS.md
git:20261113.7728614 · audit A · 548 stars

Every file in strands-agents/box

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