v0.3.0 verbs for agents · serve for humansone binary · two tongues
Every url answers in two tongues.
a rust skeleton whose help text IS its api contract — verbs for agents, a web serve for humans, and a battery that turns every drift red.
mrsn — the dev radar: AI/dev/security news, project hubs, agent pages Usage: mrsn <COMMAND> Commands: hello greet <name> — the worked example status status [--json] — the worked example: a read serve serve [--port N] — landing + docs + /health schema schema — every verb + flag as JSON (the only tongue; --json kept for symmetry) clean clean [--yes] — wipe the cache db trio backup backup — flush the wal, trio-copy the db doctor doctor — is this deployment ALIVE? span span — post ONE explicit telemetry span (the recipes' lane) ingest ingest — pull the sources (HN, Reddit, arXiv, GitHub releases) into the radar cache; idempotent by content hash agent agent — the GLM pass: headlines, summaries, topics, chips, hub about-pages, weekly deep dives (needs MRSN_AGENT_URL + KEY) fleet fleet [--n N] — the daily post organ: the radar picks (60% fresh items · 30% the MRSN_COMPOSE_BANK topics · 10% wildcard angles), the fleet researches + writes, a second pass audits every number and link against the live web, and the survivors publish to /post/. n posts per call, capped per day (MRSN_COMPOSE_CAP, default 50); three consecutive reds stop the pass loud. The timer's verb — a systemd timer spreads the calls across the publishing window (timers, never daemons) digest digest — build the day's edition (agent intro when the lane is on, stock otherwise); --compose bakes the COMPOSED broadcast instead (the landing's lead surface, the fleet writes it) refresh refresh — pull GitHub metadata (stars, lang, README hint) for the watchlist hubs ask ask — answer one question via the agent lane and print it (the web ask bar's path; dedupe applies) ping ping — push fresh URLs to IndexNow (needs MRSN_BASE_URL + key) images images — fetch og:image for items into /media (SSRF-guarded, magic-typed, ~20 per run) compose compose <slug> [--from FILE | --agent] — bake an item's page as a composed document (md prose · closedui components · html through the gate); --from bakes a hand-written file, --agent lets the fleet write it from the item's facts post post <slug> — publish a STANDALONE composed post (the /post/ surface, the posting lane). Exactly one writer: --from FILE bakes the owner's hand-written document; --agent --about SUBJECT lets the fleet research + write it start to finish (about may be a free topic or an item slug — an item docks its facts and pins the research to the source's domain) help Print this message or the help of the given subcommand(s) Options: -h, --help Print help -V, --version Print version $ mrsn serve listening — every url answers html and .md
not a screenshot — rendered live from the same structs the parser uses. the last line is the one command that matters.
the verb index
01hellosmoke test — the binary answers, the battery proves it cli02serveevery url in html and raw markdown — one server, two tongues web03schemaclap structs walked to json — the contract cannot drift cli04statusthe machine lane: uptime, docs, version — pure json web05doctorthe gates, run by hand: byte pins, drift tests, lint wall gates06cleanbuild artifacts die, loudly and exactly cli07backupflush, then trio-copy the cache db — wipe-safe by law datasame bytes, two tongues
the gates
✓every push, gated✓byte pins on wire bytes✓docs-drift tests✓fault-tolerant lint wall✓fmt + shear clean
make it yours.
the docsthe public corpus — lanes, laws, the whole shape; the fork ritual lives in the repo