AGENTS.md@public/files/anarlog/plugins/db agentsA
AGENTS.md@public/files/anarlog/plugins/db 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
# `plugins/db` ## Use This Plugin For - Desktop Tauri transport over the app database: bootstrap, one-shot execution, live-query channels, and startup legacy import. ## Put Changes Elsewhere When - Schema, migration contents, and table helpers belong in `db-app`. - Open policy, hooks, or CloudSync internals belong in `db-core` / `db-change`. - Live-query semantics belong in `db-reactive`. - App-facing hooks, caches, and domain query helpers belong in `apps/desktop`. ## Hard Rules - Rust owns database opening, migration, and initialization. TypeScript stays a thin command wrapper. - Keep `execute` and `executeProxy` separate on purpose: named object rows for app SQL, positional rows for Drizzle proxy consumers. - `QueryEvent` shape and `js/bindings.gen.ts` are ABI. If Rust types change, regenerate bindings; do not hand-edit generated TS. - `subscribe()` may legitimately return `NonReactive`. The current contract is "warn and keep going," not "throw." - Startup legacy import must stay idempotent and non-destructive. Existing SQLite rows win over old JSON files by design. - This plugin is transport-only. Do not add app-specific state, caching, or domain workflows here. …
Read the whole file at its exact version.
How to install
mdr add modem-dev/ossrules/public/files/anarlog/plugins/db/AGENTS.md@git:20260915.997c05bmdr add modem-dev/ossrules/public/files/anarlog/plugins/db/AGENTS.md@sha256:8db112e75aec57d2Pin 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_jb6tff52eww7msyz)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1327 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_jb6tff52eww7msyz GET https://markdownregistry.com/api/v1/resolve?ref=modem-dev/ossrules/public/files/anarlog/plugins/db/AGENTS.md GET https://markdownregistry.com/api/v1/blob/8db112e75aec57d2983a9892f23ce85296c17faafcd99ed8c89f472592fe3ed4
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.