AGENTS.md@public/files/anarlog/crates/db-app agentsA
AGENTS.md@public/files/anarlog/crates/db-app is agent-read markdown (agents) from modem-dev/ossrules.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# `db-app` ## Use This Crate For - The app-owned SQLite schema shared by desktop and mobile. - Migration manifest (`APP_MIGRATION_STEPS`) and CloudSync table policy. - Thin SQL row/upsert types and CRUD helpers for app tables. ## Put Changes Elsewhere When - Pool opening, pragmas, SQLite hooks, or CloudSync runtime wiring belong in `db-core`. - Migration execution semantics belong in `db-migrate`. - One-shot transport or live-query transport belongs in `db-execute`, `plugins/db`, or `mobile-bridge`. - Reactive invalidation logic belongs in `db-reactive`. ## Hard Rules - Treat migration ids and shipped SQL as append-only. Add a new step instead of mutating an existing one. - Nightly and stable desktop builds open the same database. Keep new steps downgrade-safe so stable can still open a database that Nightly migrated. A `-- breaking` step raises the compat floor and locks stable out until stable includes it; add one only in the candidate that becomes the next stable release. - Migration scope is explicit. If DDL touches an enabled CloudSync table, declare `CloudsyncAlter`; never rely on SQL text inspection. …
Read the whole file at its exact version.
How to install
mdr add modem-dev/ossrules/public/files/anarlog/crates/db-app/AGENTS.md@git:20260915.354860cmdr add modem-dev/ossrules/public/files/anarlog/crates/db-app/AGENTS.md@sha256:3bdd0b948a8180efPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_2bqcgla3a5zjhluk)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2072 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
modem-dev/ossrules · 52 stars · license MIT · pushed 2026-09-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2bqcgla3a5zjhluk GET https://markdownregistry.com/api/v1/resolve?ref=modem-dev/ossrules/public/files/anarlog/crates/db-app/AGENTS.md GET https://markdownregistry.com/api/v1/blob/3bdd0b948a8180ef920d086779a08dde1d1ac0c29adf8373981e0270bc34a843
Your agent 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.