AGENTS.md@public/files/anarlog/crates/mobile-bridge agentsA
AGENTS.md@public/files/anarlog/crates/mobile-bridge 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
# `mobile-bridge` ## Use This Crate For - UniFFI transport over the app database for mobile callers that need synchronous host-facing methods backed by an internal Tokio runtime. ## Put Changes Elsewhere When - Schema, migrations, and CloudSync table policy belong in `db-app`. - One-shot SQL semantics belong in `db-execute`. - Live-query invalidation rules belong in `db-reactive`. - Desktop transport concerns belong in `plugins/db`. ## Hard Rules - Keep semantic parity with `plugins/db`: same schema bootstrap, same execution behavior, same live-query contract, different transport only. - The public ABI is string/JSON based. `params_json` must decode to an array, execute methods return JSON strings, and listener callbacks receive serialized rows or error strings. Treat shape changes as breaking API changes. - Never invoke host callbacks while holding `self.state`. Reentrant listener calls back into the bridge are supported and tested. - `open()` owns runtime creation and DB bootstrap. `close()` must unsubscribe active listeners, stop CloudSync, close the pool, and make future calls return `Closed`. …
Read the whole file at its exact version.
How to install
mdr add modem-dev/ossrules/public/files/anarlog/crates/mobile-bridge/AGENTS.md@git:20260915.997c05bmdr add modem-dev/ossrules/public/files/anarlog/crates/mobile-bridge/AGENTS.md@sha256:4efe8b5c7664d48fPin 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_bjth45elbjhjuayq)
1 badge views in 30 days
Versions
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1645 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_bjth45elbjhjuayq GET https://markdownregistry.com/api/v1/resolve?ref=modem-dev/ossrules/public/files/anarlog/crates/mobile-bridge/AGENTS.md GET https://markdownregistry.com/api/v1/blob/4efe8b5c7664d48f338dce1b26cde934141aae06f980a3ecbc2386d7226d8992
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.