AGENTS.md@template/stack/packages/apiA

AGENTS.md@template/stack/packages/api from cogvera-labs/next-expo-supabase-agent-harness is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add cogvera-labs/next-expo-supabase-agent-harness/template/stack/packages/api/AGENTS.md@git:20260805.e8316e9

Pins git:20260805.e8316e9 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
cogvera-labs/next-expo-supabase-agent-harness
Path
template/stack/packages/api/AGENTS.md
Versions recorded
2
Latest version
git:20260805.e8316e9, committed Aug 5, 2026
First version recorded
Jul 25, 2026
Size
3,049 bytes
Repository stars
8
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

# packages/api — `@app/api` (the tRPC router)

The framework-neutral tRPC v11 router that `apps/web` SERVES (at
`app/api/trpc/[trpc]/route.ts`) and `apps/mobile` consumes `import type` only. It imports
NO `next/*` — the reversibility wall (`packages/api ↛ next/*`, depcruise-pinned in
`scripts/rule-integrity.json`); the whole package promotes to a standalone `apps/api` by
moving one `route.ts`.

## The procedure ladder (`src/trpc.ts`)

Build every procedure on a rung, never on the bare `t.procedure`:

- **`publicProcedure`** — open, but behind the version-skew guard. The guard is on the BASE
  so every rung inherits it: a major `x-client-version` mismatch, or a build below the
  minimum-supported-client floor, throws `CONFLICT` with machine code `version_skew` before
  any handler runs. Requests with no version header pass (curl, health tooling).
- **`authedProcedure`** — throws `UNAUTHORIZED` when `ctx.actor === null`. This is the ONE
  sanctioned domain-adjacent throw; it narrows `ctx.actor` to non-null for everything
  downstream, so no authed handler re-checks identity and none can forget to.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add cogvera-labs/next-expo-supabase-agent-harness/template/stack/packages/api/AGENTS.md@sha256:7144e1f805fbc44d

The line at the top of this page pins the label git:20260805.e8316e9, 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_pdzw6ijxkryd6xbm.svg)](https://markdownregistry.com/a/art_pdzw6ijxkryd6xbm)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 25, 2026 and Aug 5, 2026, about one every 11 days.

versioncommittedcommitsizeaudit
git:20260805.e8316e9 latest2026-08-05 e8316e9 3,049 BA view · diff
git:20260725.ec9abcb2026-07-25 ec9abcb 2,730 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 (3049 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

cogvera-labs/next-expo-supabase-agent-harness · 8 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_pdzw6ijxkryd6xbm
GET https://markdownregistry.com/api/v1/resolve?ref=cogvera-labs/next-expo-supabase-agent-harness/template/stack/packages/api/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/7144e1f805fbc44df37ad6ca86910b62a3649c2a548dfbcbe87364a164561452

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 cogvera-labs/next-expo-supabase-agent-harness

authoring-e2ee-feature SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · plugin/skills/authoring-e2ee-feature/SKILL.md · The decide-the-columns -> schema -> ciphertext DAL -> seal/open at the screen -> store-policy -> DSR record ->…
git:20261102.d0f625e · audit A · 8 stars
authoring-vertical-slice SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · plugin/skills/authoring-vertical-slice/SKILL.md · The migration -> RLS -> ./client read -> tRPC procedure -> web screen -> mobile screen -> test recipe for shipping one…
git:20261102.d0f625e · audit A · 8 stars
designing-mobile-ui SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · plugin/skills/designing-mobile-ui/SKILL.md · The design doctrine for the mobile app: typography roles, spacing rhythm, motion tokens, state choreography, and…
git:20261102.d0f625e · audit A · 8 stars
authoring-e2ee-feature SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · template/base/.claude/skills/authoring-e2ee-feature/SKILL.md · The decide-the-columns -> schema -> ciphertext DAL -> seal/open at the screen -> store-policy -> DSR record ->…
git:20261102.d0f625e · audit A · 8 stars
authoring-vertical-slice SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · template/base/.claude/skills/authoring-vertical-slice/SKILL.md · The migration -> RLS -> ./client read -> tRPC procedure -> web screen -> mobile screen -> test recipe for shipping one…
git:20261102.d0f625e · audit A · 8 stars
designing-mobile-ui SKILL.md skill
cogvera-labs/next-expo-supabase-agent-harness · template/base/.claude/skills/designing-mobile-ui/SKILL.md · The design doctrine for the mobile app: typography roles, spacing rhythm, motion tokens, state choreography, and…
git:20261102.d0f625e · audit A · 8 stars
AGENTS.md@template/base AGENTS.md file
cogvera-labs/next-expo-supabase-agent-harness · template/base/AGENTS.md
git:20261021.a22139a · audit A · 8 stars
CLAUDE.md@template/base CLAUDE.md file
cogvera-labs/next-expo-supabase-agent-harness · template/base/CLAUDE.md
git:20260722.e552d6e · audit B · 8 stars
AGENTS.md@template/stack/packages/platform/supabase AGENTS.md file
cogvera-labs/next-expo-supabase-agent-harness · template/stack/packages/platform/supabase/AGENTS.md
git:20260725.ec9abcb · audit A · 8 stars
AGENTS.md@template/stack/supabase AGENTS.md file
cogvera-labs/next-expo-supabase-agent-harness · template/stack/supabase/AGENTS.md
git:20261021.a22139a · audit A · 8 stars

Every file in cogvera-labs/next-expo-supabase-agent-harness

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