agentleFS
cameronsjocameronsjo/agentic-harnesses/CLAUDE.md

agentic-harnesses

CLAUDE.md1 starsChanged 6 months agoMITView on GitHub

A visualizer + reference for how coding-agent harnesses run their loops. The site/ SPA renders loop / sequence / hooks / wire diagrams from JSON specs; docs/ and sources/ back them with prose and pinned source clones. For the manual native-sidenav browser regression, build and start a preview, then follow the recipe in site/scripts/check-native-sidenav.cjs (run from site/). It needs Playwright supplied through NODE_PATH; CHROME_CHANNEL optionally selects installed Chrome. KNOWN_BAD=1 injects the committed old-shim fixture and must fail font inheritance, independent…

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add a harness by dropping a JSON here.

    line 24
  2. Very specific:

    A view renders a JSON spec — never hardcode harness data: Use the add-view skill.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

agentic-harnesses

A visualizer + reference for how coding-agent harnesses run their loops. The site/ SPA renders loop / sequence / hooks / wire diagrams from JSON specs; docs/ and sources/ back them with prose and pinned source clones.

Commands (run from site/)

  • npm run dev — Vite dev server
  • npm run build — validate-loops + tsc + vite (the full gate; run before claiming done)
  • npm test — vitest run
  • npm run validate — validate loop JSON specs against the schema

For the manual native-sidenav browser regression, build and start a preview, then follow the recipe in site/scripts/check-native-sidenav.cjs (run from site/). It needs Playwright supplied through NODE_PATH; CHROME_CHANNEL optionally selects installed Chrome. KNOWN_BAD=1 injects the committed old-shim fixture and must fail font inheritance, independent of the current main branch.

Layout

  • site/ — Vite + React 18 + TS SPA; source in site/src/.
  • site/src/data/loops/*.json — harness loop specs, auto-discovered by data.ts. Add a harness by dropping a JSON here; no nav edits needed.
  • site/public/artificer/ — Artificer design system (CSS + <script> helpers), generated from the pinned npm package @cameronsjo/artificer by scripts/vendor-artificer.mjs (runs on predev/prebuild). The *.{css,js,json} are gitignored; only assets/ (fonts, favicon) is committed. Bump the version in site/package.json, not the files. Its assets/og-image.svg is the design system's own marketing card — not this site's. Pointing the meta tags at it once shipped a social preview advertising Artificer; this site's card is site/public/og-image.{svg,png}.
  • site/public/og-image.{svg,png} — this site's social preview. The SVG is the source; the committed PNG is generated from it (rsvg-convert -w 1200 -h 630) because X and LinkedIn reject SVG. Re-render the PNG whenever the SVG changes — the command is in a comment beside the meta tags in site/index.html.
  • sources/<harness>/ — pinned source clones the diagrams cite (file:line).
  • docs/ — methodology, comparison, per-harness writeups.

Conventions & gotchas

  • A view renders a JSON spec — never hardcode harness data. Use the add-view skill.
  • Consuming Artificer here: its vendored scripts bind once on DOMContentLoaded and miss React-mounted nodes — see docs/artificer-spa-consumer-brief.md. Footer/disclaimer pattern: docs/disclaimer-footer-pattern.md.
  • Artificer friction → file upstream (cameronsjo/artificer-design-system, label feedback, fire-and-forget) and log in docs/artificer-adaptations.md.
  • Diagrams theme via Artificer tokens only (--dia-*, --s-*, --accent); dark-first .surface-tool.
  • Mobile/responsive: shell grid tracks are minmax(0, 1fr) — never bare 1fr (its auto minimum blocks shrinking; the page blows out sideways). Mobile overrides go after the desktop rules they override (media queries add no specificity). Verify at 390px with agent-browser by measuring (scrollWidth vs innerWidth), not by reading CSS.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.