AGENTS.md@src/queryA
AGENTS.md@src/query from greptimeteam/greptimedb is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add greptimeteam/greptimedb/src/query/AGENTS.md@git:20261020.b9aa627Pins git:20261020.b9aa627 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- greptimeteam/greptimedb
- Path
src/query/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20261020.b9aa627, committed Oct 20, 2026
- First version recorded
- Aug 10, 2026
- Size
- 2,007 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
# query — Agent & Contributor Guide Navigation map for `src/query`. Repo-wide invariants: [`.agents/architecture-invariants.md`](../../.agents/architecture-invariants.md). `query` owns SQL/PromQL/log planning, GreptimeDB optimizer rules, DataFusion execution, and distributed query plans. Protocols live in `servers`; statement side effects live in `operator`. ## Module map | Area | Path | Entry point | | --- | --- | --- | | Logical planning | `src/query/src/planner.rs`, `src/query/src/parser.rs` | `LogicalPlanner`, `QueryStatement` | | Query engine | `src/query/src/query_engine.rs`, `src/query/src/query_engine/` | Engine traits, factory, state, serialization | | DataFusion execution | `src/query/src/datafusion.rs`, `src/query/src/datafusion/` | Physical planning and execution | | Optimizers | `src/query/src/optimizer.rs`, `src/query/src/optimizer/` | GreptimeDB logical/physical rules | | Distributed plans | `src/query/src/dist_plan.rs`, `src/query/src/dist_plan/` | `MergeScan`, pruning, merge/sort, remote filters | | Remote reads | `src/query/src/region_query.rs` | `RegionQueryHandler` boundary | …
Read the whole file at its exact version.
How to install
mdr add greptimeteam/greptimedb/src/query/AGENTS.md@sha256:e248fbf35e6096c5The line at the top of this page pins the label git:20261020.b9aa627, 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_f3pi3hhxyh7ke3ws)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 10, 2026 and Oct 20, 2026, about one every 71 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261020.b9aa627 latest | 2026-10-20 | b9aa627 | 2,007 B | A | view · diff |
| git:20260810.5d4699d | 2026-08-10 | 5d4699d | 1,804 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2007 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_f3pi3hhxyh7ke3ws GET https://markdownregistry.com/api/v1/resolve?ref=greptimeteam/greptimedb/src/query/AGENTS.md GET https://markdownregistry.com/api/v1/blob/e248fbf35e6096c5519433ecdfd3ad486d75e17f6667874f8e803629fe275786
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.