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.

Install it, pinned
mdr add tedix-hq/tedix/packages/db/AGENTS.md@git:20261006.8886800

Pins 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

The exact contents, by fingerprint
mdr add tedix-hq/tedix/packages/db/AGENTS.md@sha256:832c5c225c64002e

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ykypb6uxxudq7rbn.svg)](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.

versioncommittedcommitsizeaudit
git:20261006.8886800 latest2026-10-06 8886800 4,816 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from tedix-hq/tedix

deslop SKILL.md skill
tedix-hq/tedix · .agents/skills/deslop/SKILL.md · Remove AI-generated filler from your own diff before committing. Use on a finished change, especially one written by an…
git:20261008.f9acad3 · audit A · 27 stars
worktree-closeout SKILL.md skill
tedix-hq/tedix · .agents/skills/worktree-closeout/SKILL.md · Finish work in a git worktree of this repository and remove it safely. Use after your change is pushed or abandoned…
git:20261008.f9acad3 · audit A · 27 stars
AGENTS.md AGENTS.md file
tedix-hq/tedix · AGENTS.md
git:20261023.3fee9ed · audit A · 27 stars
CLAUDE.md CLAUDE.md file
tedix-hq/tedix · CLAUDE.md
git:20261019.ca96c8f · audit B · 27 stars
AGENTS.md@apps/api AGENTS.md file
tedix-hq/tedix · apps/api/AGENTS.md
git:20261006.8886800 · audit A · 27 stars
AGENTS.md@apps/cms AGENTS.md file
tedix-hq/tedix · apps/cms/AGENTS.md
git:20261020.fdd8c47 · audit A · 27 stars
DESIGN.md@apps/landing DESIGN.md file
tedix-hq/tedix · apps/landing/DESIGN.md
git:20261008.e0b75bb · audit A · 27 stars
AGENTS.md@apps/mcp AGENTS.md file
tedix-hq/tedix · apps/mcp/AGENTS.md
git:20261025.6f00289 · audit A · 27 stars
AGENTS.md@apps/os AGENTS.md file
tedix-hq/tedix · apps/os/AGENTS.md
git:20261024.e1f7b5f · audit A · 27 stars
calendar-coordinator SKILL.md skill
tedix-hq/tedix · apps/skill-runtime/examples/calendar-coordinator/SKILL.md · Keep selected Google and Outlook calendars aligned using private busy blockers and reviewed personal-account delegation.
git:20261006.ca91a36 · audit A · 27 stars
defect-triage SKILL.md skill
tedix-hq/tedix · apps/skill-runtime/examples/defect-triage/SKILL.md · Reproduce, diagnose, verify, and fix one reported defect through a durable Computer workflow. The verifier can stop the…
git:20261006.8886800 · audit A · 27 stars
gemini-generate-media SKILL.md skill
tedix-hq/tedix · apps/skill-runtime/examples/gemini-media/SKILL.md · Generate images with Google Gemini directly from a skill workflow, using the platform-global GEMINI_API_KEY injected at…
git:20261023.485d2bc · audit A · 27 stars

Every file in tedix-hq/tedix

Other files named AGENTS.md@packages/db

AGENTS.md@packages/db AGENTS.md file
canonry/canonry · packages/db/AGENTS.md
git:20261022.8a7aeb5 · audit A · 193 stars

Browse by kind, by grade A, or by owner.