CLAUDE.md@packages/web_mermaidA
This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.
CLAUDE.md@packages/web_mermaid from roasbeef/loom is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add roasbeef/loom/packages/web_mermaid/CLAUDE.md@git:20261019.8019e79Pins git:20261019.8019e79 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- roasbeef/loom
- Path
packages/web_mermaid/CLAUDE.md- Versions recorded
- 3
- Latest version
- git:20261019.22b3558, committed Oct 19, 2026
- First version recorded
- Oct 19, 2026
- Size
- 5,500 bytes
- Repository stars
- 11
- License
- MIT
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
# web_mermaid ## Purpose The internal browser program that runs only in the opaque Mermaid frame. It is a JavaScript-target Gleam package, not a general Mermaid library and not a dependency of `web_client`. The fixed bootstrap in `web_client/mermaid/renderer.js` injects the pinned vendor object into `start`. `make gen-client` compiles this program and bundles it with the vendor as the separate `mermaid.js` asset. The session page's bundle never imports it. The frame and its HTTP sandbox/CSP are unchanged from [protocol-change/091](../../protocol-change/091-isolated-mermaid-diagrams.md). Moving the controller into Gleam changes implementation ownership, not the parent wire contract or which browser privileges the frame receives. ## Key types - `controller.Model` holds the latest revision, current `Phase`, shown revision and last viewport width. `Phase` is `Idle` or `Busy(stage, request, queued)`; `Stage` distinguishes vendor `Drawing` from SVG `Checking`. The waiting slot holds only the newest request, never an unbounded backlog. - `controller.Input` is `Accepted(Request)`, `Forbidden(revision)` or `Ignored`. …
Read the whole file at its exact version.
How to install
mdr add roasbeef/loom/packages/web_mermaid/CLAUDE.md@sha256:a0d25a7308a09b5dThe line at the top of this page pins the label git:20261019.8019e79, 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.
[](https://markdownregistry.com/a/art_n55e7etkk7e4lpzv)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, all committed on Oct 19, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261019.22b3558 latest | 2026-10-19 | 22b3558 | 5,500 B | A | view · diff |
| git:20261019.4b30b82 | 2026-10-19 | 4b30b82 | 5,430 B | A | view · diff |
| git:20261019.8019e79 | 2026-10-19 | 8019e79 | 5,042 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5500 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
roasbeef/loom · 11 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_n55e7etkk7e4lpzv GET https://markdownregistry.com/api/v1/resolve?ref=roasbeef/loom/packages/web_mermaid/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/a0d25a7308a09b5d48b75aed0be3333e7a05f97a39656baf7124415dd535aaf1
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: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.