DESIGN.mdA

DESIGN.md from mikeypetrillo/agent402 is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add mikeypetrillo/agent402/DESIGN.md@v1

Pins v1 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
mikeypetrillo/agent402
Path
DESIGN.md
Versions recorded
7
Latest version
v1, committed Oct 22, 2026
First version recorded
Oct 11, 2026
Size
16,210 bytes
Repository stars
51
License
AGPL-3.0

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

# Agent402 design rules

This file is the contract for every page the server renders. The values above are the
values in `src/ledger-chrome.js`; when one changes, change both in the same commit.
`scripts/test-design-tokens.js` fails CI when a page module uses a raw hex color or a font
size off the scale, and when a radius, a heading weight or the display serif leaves the
rules below.

## Color
- **One saturated accent.** `--accent` is the only brand color. It marks the primary path:
  the selected tab, the price, the live dot, a link the reader should follow. Never use it to
  mean "failed", "warning" or "error"; those are `--bad` and `--warn`.
- **Secondary actions carry no color.** A secondary button is ink on transparent with a
  hairline border. If two buttons sit together, at most one is filled.

## Buttons
- Two kinds only, both from the shared classes in `ledger-chrome.js`: `.btn.btn-primary`
  (pill, filled) and `.btn.btn-secondary` (4px, outlined, no color). No page styles its own
  button, and button labels are sentence case Geist, not uppercase mono.
- **Primary is the one main action of a view**: buy, subscribe, add to your agent (pay per
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mikeypetrillo/agent402/DESIGN.md@sha256:5c8e6f05cb250f15

The line at the top of this page pins the label v1, 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_s6kinfe3sndr3pwx.svg)](https://markdownregistry.com/a/art_s6kinfe3sndr3pwx)

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

Versions

The registry has recorded 7 versions of this file, between Oct 11, 2026 and Oct 22, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
v1 latest2026-10-22 f60912a 16,210 BA view · diff
v12026-10-15 40e67c6 16,092 BA view · diff
v12026-10-11 43719da 15,220 BA view · diff
v12026-10-11 4ad375a 15,022 BA view · diff
v12026-10-11 1063a6e 13,816 BA view · diff
v12026-10-11 a06d865 13,017 BA view · diff
v12026-10-11 903c47c 11,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 (16210 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

mikeypetrillo/agent402 · 51 stars · license AGPL-3.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_s6kinfe3sndr3pwx
GET https://markdownregistry.com/api/v1/resolve?ref=mikeypetrillo/agent402/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/5c8e6f05cb250f157daf32c79f15b3c14a848a32a89982ff40f9a6c2530f5a97

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 DESIGN.md is and how agents use it · which agent file does what.

More from mikeypetrillo/agent402

batch SKILL.md skill
mikeypetrillo/agent402 · .claude/skills/batch/SKILL.md · Run an Agent402 batch end to end - one worktree per independent piece, briefed agents, one merge onto the dev branch…
git:20261105.5070d03 · audit A · 51 stars
AGENTS.md AGENTS.md file
mikeypetrillo/agent402 · AGENTS.md
git:20261029.f45ad8c · audit A · 51 stars
CLAUDE.md CLAUDE.md file
mikeypetrillo/agent402 · CLAUDE.md
git:20261106.56c167d · audit A · 51 stars
agent402 SKILL.md skill
mikeypetrillo/agent402 · skills/openclaw/agent402/SKILL.md · Pay-per-call access to Agent402.Tools: 500+ tools an agent calls over plain HTTP or MCP, paid per request in USDC over…
git:20261106.c7e1a32 · audit A · 51 stars

Every file in mikeypetrillo/agent402

Other files named DESIGN.md

DESIGN.md DESIGN.md file
garrytan/gstack · DESIGN.md
git:20261104.2ff2d3b · audit A · 140,694 stars
DESIGN.md DESIGN.md file
paperclipai/paperclip · DESIGN.md
git:20261105.56517dd · audit A · 111,624 stars
DESIGN.md DESIGN.md file
pbakaus/impeccable · DESIGN.md · Neo kinpaku system. Two brand anchors, kinpaku gold and verdigris patina, sit on dark warm-black lacquer. Restraint in…
git:20260721.d7d1027 · audit A · 106,186 stars
DESIGN.md DESIGN.md file
tt-a1i/archify · DESIGN.md · A precise, vivid technical instrument for trustworthy interactive architecture maps.
git:20260817.a0bc059 · audit A · 94,561 stars
DESIGN.md DESIGN.md file
heygen-com/hyperframes · DESIGN.md
git:20260408.fe9cd30 · audit A · 80,701 stars
DESIGN.md DESIGN.md file
cherryhq/cherry-studio · DESIGN.md
git:20261102.a500029 · audit A · 53,286 stars
DESIGN.md DESIGN.md file
garrytan/gbrain · DESIGN.md
git:20260519.3a0e111 · audit A · 31,587 stars
DESIGN.md DESIGN.md file
different-ai/openwork · DESIGN.md
git:20261105.74b7c70 · audit A · 24,407 stars

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