AGENTS.md@src/mito2A
AGENTS.md@src/mito2 from greptimeteam/greptimedb is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add greptimeteam/greptimedb/src/mito2/AGENTS.md@git:20261106.a0d7981Pins git:20261106.a0d7981 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- greptimeteam/greptimedb
- Path
src/mito2/AGENTS.md- Versions recorded
- 17
- Latest version
- git:20261106.a0d7981, committed Nov 6, 2026
- First version recorded
- Aug 14, 2026
- Size
- 8,104 bytes
- Repository stars
- 6,792
- 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
# mito2 — Agent & Contributor Guide Navigation aid for `src/mito2`. Keep it short and point to code; do not duplicate the code here. Paths are relative to the repo root. Repo-wide rules that apply here: [`.agents/architecture-invariants.md`](../../.agents/architecture-invariants.md). ## What this crate does Mito2 is GreptimeDB's primary time-series region storage engine. It owns the write path (memtable + WAL), flushing memtables to Parquet SST files, TWCS/windowed compaction, and the read path (multi-level merge + dedup with snapshot isolation). It implements the `RegionEngine` trait from `store-api`. ## Module map | Module | Path | Purpose | | --- | --- | --- | | `engine` | `src/mito2/src/engine.rs` | `MitoEngine` (the `RegionEngine` impl) and request dispatch | | `worker` | `src/mito2/src/worker.rs`, `src/mito2/src/worker/` | Per-region worker loop; write/alter/flush handlers | | `region` | `src/mito2/src/region.rs`, `src/mito2/src/region/version.rs` | `MitoRegion` state and copy-on-write `VersionControl` snapshots | | `request` | `src/mito2/src/request.rs` | `WriteRequest`/`RegionRequest` types and result channels | …
Read the whole file at its exact version.
How to install
mdr add greptimeteam/greptimedb/src/mito2/AGENTS.md@sha256:08126ff68e8d0335The line at the top of this page pins the label git:20261106.a0d7981, 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_qbs32cvekywz6ins)
6 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 17 versions of this file, between Aug 14, 2026 and Nov 6, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261106.a0d7981 latest | 2026-11-06 | a0d7981 | 8,104 B | A | view · diff |
| git:20261106.1692c9f | 2026-11-06 | 1692c9f | 7,784 B | A | view · diff |
| git:20261105.47bf7de | 2026-11-05 | 47bf7de | 7,363 B | A | view · diff |
| git:20261104.e38b84a | 2026-11-04 | e38b84a | 6,932 B | A | view · diff |
| git:20261026.88cb2a9 | 2026-10-26 | 88cb2a9 | 6,558 B | A | view · diff |
| git:20261020.4645ab9 | 2026-10-20 | 4645ab9 | 6,304 B | A | view · diff |
| git:20261019.7397ab6 | 2026-10-19 | 7397ab6 | 6,097 B | A | view · diff |
| git:20261019.b3dc567 | 2026-10-19 | b3dc567 | 5,993 B | A | view · diff |
| git:20261014.3b442ad | 2026-10-14 | 3b442ad | 5,768 B | A | view · diff |
| git:20261013.18634e1 | 2026-10-13 | 18634e1 | 5,605 B | A | view · diff |
| git:20260923.c7fa48e | 2026-09-23 | c7fa48e | 5,367 B | A | view · diff |
| git:20260915.7c85798 | 2026-09-15 | 7c85798 | 4,936 B | A | view · diff |
| git:20260911.b8e0f8e | 2026-09-11 | b8e0f8e | 4,955 B | A | view · diff |
| git:20260908.6fb5d2e | 2026-09-08 | 6fb5d2e | 4,733 B | A | view · diff |
| git:20260825.a3a0db6 | 2026-08-25 | a3a0db6 | 4,704 B | A | view · diff |
| git:20260817.4126cf9 | 2026-08-17 | 4126cf9 | 4,681 B | A | view · diff |
| git:20260814.cb30837 | 2026-08-14 | cb30837 | 4,678 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (8104 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
greptimeteam/greptimedb · 6,792 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_qbs32cvekywz6ins GET https://markdownregistry.com/api/v1/resolve?ref=greptimeteam/greptimedb/src/mito2/AGENTS.md GET https://markdownregistry.com/api/v1/blob/08126ff68e8d0335e2dbace28f7af4ee63dae6164548abb09102a146a8a9bbe4
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.