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.

Install it, pinned
mdr add roasbeef/loom/packages/web_mermaid/CLAUDE.md@git:20261019.8019e79

Pins 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

The exact contents, by fingerprint
mdr add roasbeef/loom/packages/web_mermaid/CLAUDE.md@sha256:a0d25a7308a09b5d

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_n55e7etkk7e4lpzv.svg)](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.

versioncommittedcommitsizeaudit
git:20261019.22b3558 latest2026-10-19 22b3558 5,500 BA view · diff
git:20261019.4b30b822026-10-19 4b30b82 5,430 BA view · diff
git:20261019.8019e792026-10-19 8019e79 5,042 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from roasbeef/loom

advisor-review SKILL.md skill
roasbeef/loom · .claude/skills/advisor-review/SKILL.md · Final adversarial audit of finished work by one top-tier model (Fable 5 or Opus 4.8), in a single report-only pass…
git:20260828.d16dbe8 · audit A · 11 stars
advisor SKILL.md skill
roasbeef/loom · .claude/skills/advisor/SKILL.md · On-demand consultation of a higher-tier model (Opus 4.8 or Fable 5) from a cheaper executor session. Emulates the…
git:20260828.d16dbe8 · audit A · 11 stars
beam-compile-review SKILL.md skill
roasbeef/loom · .claude/skills/beam-compile-review/SKILL.md · Review Loom/Gleam changes for BEAM compiler regressions. Use proactively when extending local transformation chains…
git:20261008.10bf9f6 · audit A · 11 stars
beam-memory-review SKILL.md skill
roasbeef/loom · .claude/skills/beam-memory-review/SKILL.md · Review Loom changes for reachable BEAM allocation, copying, and retention costs. Use optionally after substantive…
git:20260917.f482f90 · audit A · 11 stars
doc-gardening SKILL.md skill
roasbeef/loom · .claude/skills/doc-gardening/SKILL.md · Maintain the per-package documentation graph (CLAUDE.md/AGENTS.md) and the architecture roll-up (docs/architecture/)…
git:20260824.ed37043 · audit A · 11 stars
technical-writing SKILL.md skill
roasbeef/loom · .claude/skills/technical-writing/SKILL.md · Clear-writing guide distilled from Steven Pinker's "The Sense of Style." Use when writing or revising prose that must…
git:20260828.d16dbe8 · audit A · 11 stars
AGENTS.md AGENTS.md file
roasbeef/loom · AGENTS.md
git:20261008.82e2d8b · audit A · 11 stars
CLAUDE.md CLAUDE.md file
roasbeef/loom · CLAUDE.md
git:20261019.eccc4dc · audit A · 11 stars
AGENTS.md@packages/broker AGENTS.md file
roasbeef/loom · packages/broker/AGENTS.md
git:20261018.886f4ba · audit A · 11 stars
CLAUDE.md@packages/broker CLAUDE.md file
roasbeef/loom · packages/broker/CLAUDE.md
git:20261018.886f4ba · audit A · 11 stars
AGENTS.md@packages/cap AGENTS.md file
roasbeef/loom · packages/cap/AGENTS.md
git:20261017.061ed15 · audit A · 11 stars
CLAUDE.md@packages/cap CLAUDE.md file
roasbeef/loom · packages/cap/CLAUDE.md
git:20261017.061ed15 · audit A · 11 stars

Every file in roasbeef/loom

Browse by kind, by grade A, or by owner.