AGENTS.md@pkg/sandboxA
AGENTS.md@pkg/sandbox from sap/astonish is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add sap/astonish/pkg/sandbox/AGENTS.md@git:20260916.95f45c4Pins git:20260916.95f45c4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- sap/astonish
- Path
pkg/sandbox/AGENTS.md- Versions recorded
- 6
- Latest version
- git:20260916.95f45c4, committed Sep 16, 2026
- First version recorded
- Jul 20, 2026
- Size
- 9,615 bytes
- Repository stars
- 26
- 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
# pkg/sandbox — AGENTS.md Backend abstraction for sandboxed execution. Every tool that runs a shell command, touches the filesystem, or opens a network connection **must** go through this layer. ## Scope - `Backend` interface + factory (`backend_factory.go`, `backend_contract.go`). - Backend implementations: `docker/` (local default), `k8s/`, `openshell/`, `mock/`. - Image build (`imagebuilder/`) — Kaniko-driven, content-addressed tags. - Template metadata (`tmplmeta/`). - Flow-level wiring (`flow.go`). - Session persistence (`session_store_local.go` and the platform stores upstream). ## Backend selection - Config `BackendKind` → factory in `backend_factory.go`. - Kinds: `BackendKindDocker` (default; empty and legacy `"incus"` alias to docker), `BackendKindK8s`, `BackendKindOpenShell`, `BackendKindMock`. - Backends are registered via `RegisterBackendFactory`. Blank imports in `cmd/astonish/sandbox_backends.go` guarantee the docker/k8s/openshell/mock packages link into the binary. - **Never call a backend implementation directly** from outside `pkg/sandbox` — always go through the `Backend` interface obtained from the factory. Otherwise you break the mock-based test story. …
Read the whole file at its exact version.
How to install
mdr add sap/astonish/pkg/sandbox/AGENTS.md@sha256:d97aedf3fc58cf06The line at the top of this page pins the label git:20260916.95f45c4, 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_xkqk37xdb2syzjq7)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 20, 2026 and Sep 16, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260916.95f45c4 latest | 2026-09-16 | 95f45c4 | 9,615 B | A | view · diff |
| git:20260908.a8e71d1 | 2026-09-08 | a8e71d1 | 9,436 B | A | view · diff |
| git:20260907.287c4f9 | 2026-09-07 | 287c4f9 | 9,165 B | A | view · diff |
| git:20260802.bdcb58d | 2026-08-02 | bdcb58d | 8,940 B | A | view · diff |
| git:20260723.dc861db | 2026-07-23 | dc861db | 8,368 B | A | view · diff |
| git:20260720.a754337 | 2026-07-20 | a754337 | 8,387 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (9615 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
sap/astonish · 26 stars · license Apache-2.0 · pushed 2026-11-02 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xkqk37xdb2syzjq7 GET https://markdownregistry.com/api/v1/resolve?ref=sap/astonish/pkg/sandbox/AGENTS.md GET https://markdownregistry.com/api/v1/blob/d97aedf3fc58cf0697b9dc4e03bf0fdfa07263eb79063d86a941826254063424
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.