AGENTS.md@pkg/sessionA
AGENTS.md@pkg/session from sap/astonish is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add sap/astonish/pkg/session/AGENTS.md@git:20260811.3aa1eecPins git:20260811.3aa1eec in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- sap/astonish
- Path
pkg/session/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20260811.3aa1eec, committed Aug 11, 2026
- First version recorded
- Jul 9, 2026
- Size
- 3,126 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/session — AGENTS.md Session metadata, transcripts, file-backed storage, and smart compaction. Every chat/CLI/sub-agent/fleet session is persisted through this package. ## Scope - `index.go` — `SessionIndex`, `SessionMeta`, `IndexData`. - `transcript.go` — `Transcript`, `TranscriptEntry` (turn-level record). - `file_store.go` — `FileStore`, `fileSession`, `fileState` (personal-mode SQLite path uses this + `store/personal`). - `checkpoint.go` — `CheckpointStore`: snapshot-on-write file pre-images backing code-mode `/rollback`. - `compaction.go` — `Compactor`: smart-compaction (see `docs/architecture/smart-compaction.md`). ## Key rules 1. **Never delete a transcript entry.** Compaction produces a summarized *new* version; the original may be retained per policy. Deleting breaks the audit chain and the "resume" story. …
Read the whole file at its exact version.
How to install
mdr add sap/astonish/pkg/session/AGENTS.md@sha256:16ad846f361591e3The line at the top of this page pins the label git:20260811.3aa1eec, 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_ill6wrzxrcuxlkdc)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Jul 9, 2026 and Aug 11, 2026, about one every 32 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260811.3aa1eec latest | 2026-08-11 | 3aa1eec | 3,126 B | A | view · diff |
| git:20260709.e232662 | 2026-07-09 | e232662 | 1,547 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (3126 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_ill6wrzxrcuxlkdc GET https://markdownregistry.com/api/v1/resolve?ref=sap/astonish/pkg/session/AGENTS.md GET https://markdownregistry.com/api/v1/blob/16ad846f361591e3b29f9b378f39e64cd8d7140833a36ae244f6160b7191a1e0
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.