AGENTS.md@packages/dbA
AGENTS.md@packages/db from tedix-hq/tedix is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add tedix-hq/tedix/packages/db/AGENTS.md@git:20261006.8886800Pins git:20261006.8886800 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- tedix-hq/tedix
- Path
packages/db/AGENTS.md- Versions recorded
- 1
- Latest version
- git:20261006.8886800, committed Oct 6, 2026
- Size
- 4,816 bytes
- Repository stars
- 27
- License
- AGPL-3.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
# AGENTS.md — Database Package Rules These rules apply to `packages/db`. Read `packages/db/README.md`, then the owning schema, query module and tests before changing persistence behavior. ## Ownership - This package owns the shared platform D1 schema, Drizzle client factories, relations, query statements, persistence result types, and D1-parity tests. - Applications own authentication, input validation, orchestration, and API contract normalization. Do not construct transport objects in query modules. - Direct D1 access is allowed only for the exact checked owners in `scripts/db-access-exceptions.json`. Drizzle's bound `sql` template inside a query owner is not direct-D1 access. ## Layout And Imports - A small domain uses `src/queries/<domain>.ts`. - A domain with independent capabilities uses leaf files under `src/queries/<domain>/<capability>.ts`. - Do not create `queries/index.ts`, a domain `index.ts`, or a sibling facade that re-exports query files. Consumers import the exact leaf subpath. - Schema files are grouped by relational domain under `src/schema`. Every model must be exported through a Drizzle Kit schema input. A table needs a …
Read the whole file at its exact version.
How to install
mdr add tedix-hq/tedix/packages/db/AGENTS.md@sha256:832c5c225c64002eThe line at the top of this page pins the label git:20261006.8886800, 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_ykypb6uxxudq7rbn)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 6, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (4816 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
tedix-hq/tedix · 27 stars · license AGPL-3.0 · pushed 2026-10-25 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ykypb6uxxudq7rbn GET https://markdownregistry.com/api/v1/resolve?ref=tedix-hq/tedix/packages/db/AGENTS.md GET https://markdownregistry.com/api/v1/blob/832c5c225c64002e1a7a0dc576eefa53ab3fe4ada8f2410525c0a2898a54596f
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.