AGENTS.md@packages/brokerA

AGENTS.md@packages/broker from roasbeef/loom is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add roasbeef/loom/packages/broker/AGENTS.md@git:20261018.886f4ba

Pins git:20261018.886f4ba in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
roasbeef/loom
Path
packages/broker/AGENTS.md
Versions recorded
10
Latest version
git:20261018.886f4ba, committed Oct 18, 2026
First version recorded
Oct 4, 2026
Size
74,101 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

# broker

## Purpose

The ToolBroker: the single door between the harness and the outside world.
It composes sandbox policy, refuses or narrows what it cannot enforce,
reserves pooled budget, mints a capability token, hands the cleared call
to a dispatcher that borrows a `loom-exec` helper from the pool and runs
the jailed execution, streams its output, and settles. It also owns the broker side of the frozen effect-plane wire
protocol (spec Part 1.4). WP-G.

## Key Types

- `broker/broker.Broker` — opaque actor handle. `clear_call` is the whole
  story; `stdin`, `cancel`, `abort(op_id)`, `abort_step(op_id, step_id:)`
  and `stop` round it out.
- `broker/broker.{CallSpec, CallHandle, CallEvent, CallOutcome, Refusal}` —
  the request, its handle, the streamed `CallOutput` / `CallSettled`
  events, and `CallExited(result)` versus `CallFailed(failure)`.
- `broker/dispatch.{Dispatcher, Dispatch, Execution, ExecutionId,
  StartRefusal, Terminal, Chunk, Eof}` — the seam between the broker and
  whatever owns a helper while a call runs. The broker decides whether a
  call may run (policy, budget, token, abort epochs); a `Dispatcher` is a
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add roasbeef/loom/packages/broker/AGENTS.md@sha256:32b142b759219ce8

The line at the top of this page pins the label git:20261018.886f4ba, 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_chpjfnkphl34bufh.svg)](https://markdownregistry.com/a/art_chpjfnkphl34bufh)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 10 versions of this file, between Oct 4, 2026 and Oct 18, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261018.886f4ba latest2026-10-18 886f4ba 74,101 BA view · diff
git:20261017.e261fda2026-10-17 e261fda 72,566 BA view · diff
git:20261017.dfd9f8b2026-10-17 dfd9f8b 71,899 BA view · diff
git:20261017.3cda38f2026-10-17 3cda38f 71,130 BA view · diff
git:20261013.8d217992026-10-13 8d21799 70,600 BA view · diff
git:20261004.7b701282026-10-04 7b70128 71,209 BA view · diff
git:20261004.0c1e0a52026-10-04 0c1e0a5 69,248 BA view · diff
git:20261004.4d4a0152026-10-04 4d4a015 69,898 BA view · diff
git:20261004.b459cc92026-10-04 b459cc9 69,003 BA view · diff
git:20261004.d3d201c2026-10-04 d3d201c 68,981 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 (74101 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_chpjfnkphl34bufh
GET https://markdownregistry.com/api/v1/resolve?ref=roasbeef/loom/packages/broker/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/32b142b759219ce8a13718f85a0f14041326a3be8a28a4ca5a9f24cd43b74727

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: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · 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
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
AGENTS.md@packages/client AGENTS.md file
roasbeef/loom · packages/client/AGENTS.md
git:20261012.b1d021b · audit B · 11 stars

Every file in roasbeef/loom

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