v8design preview · not released yet

Workflows that remember.

Claude Workflows run the work. baton watches every agent, remembers through catalogs, and guides without managing: each agent gets exactly the knowledge it needs and nothing else, and you never have to ask "status?" again.

37
times you typed a bare "Status" in two Workflow-heavy sessions. The pane answers instead.
measured · taal + F# Campfire
405
turns that asked for haiku and ran on Haiku 4.5. Every row now shows the model that served.
measured · onCrack round 4
13.9KB
of flat memory loaded into every session, mostly about other projects. Catalogs load only what applies.
measured · MEMORY.md, 2026-10-10
38.2M
tokens across 20 Workflow runs that rebuilt baton's verify loop by hand in every script.
measured · 206 agents, ≈95 h
00The mod

Everything, one keystroke away.

A pane beside your conversation and one line above the prompt. Watch streams every agent's changes, Memory walks the catalogs, Session is what resume will pick up, Env is the preflight. The same pane draws in the terminal, the desktop app, VS Code and on your phone. Try it: the tabs and rows below are live.

~/shop — claude · baton 8.0 · claude-opus-5-5
> run the csv import units with the unit loop. opus verifies, haiku runs the bench ⏺ Workflow(unit-loop · csv-import-units) ⎿ wf_8c1e2a started · 14 agents · preflight first baton: preflight 6/6 ✓ (1 learned: disk ≥ 20 GB) ⏺ While that runs I'll read the old parser. ⏺ Read(src/import/legacy.ts) ⎿ 214 lines — the mod watches, it doesn't wall > decisions go in issues, never in PRs baton: ruling → user catalog · every agent reads it from rulings.md ⏺ verify:parser found a major: a quoted newline splits the row. ⎿ fix:round1 queued · round 1 of 3 baton: run:bench asked haiku → served claude-haiku-4-5-20251001 flagged in Watch · enforce with /baton models enforce ✻ Watching… · wf csv-import-units · 9/14 · ETA 38m
↑↓ Enter · 1–4 tabs
csv-import-unitswf_8c1e2a · unit-loop◉ running 1h12m9/14 agents$3.84ETA 38m
Preflight─Build─Verify─Fix─Re-verify─Merge queue
agentmodel · servedstatetokens$
›✓ preflightclaude-haiku-5-5done3.1k<.01
asked claude-haiku-5-5 → served claude-haiku-5-5 ✓ ran 6 checks from project:shop/env in 19 s learned disk ≥ 20 GB (added 2026-10-09 after ENOSPC)
›✓ build:parserclaude-sonnet-5-5done182k0.61
changed src/import/parse.ts +88 −31 test/parse.test.ts +52 commit a41c07e parse RFC 4180 fields tests npm test -- parse 38/38
›✓ build:importerclaude-sonnet-5-5done240k0.84
changed src/import/csv.ts +42 −7 src/import/types.ts +11 test/import.test.ts +64 commit 3f9a2c1 stream rows into the importer tests npm test 51/54 → handed to verify open diff ↗ transcript ↗ result ↗
›✓ build:cliclaude-sonnet-5-5done97k0.33
changed src/cli/import.ts +29 −4 commit 9be12d0 shop import --csv
›◉ verify:parserclaude-opus-5-5running61k0.38
asked claude-opus-5-5 → served claude-opus-5-5 ✓ doing Bash npm test -- parse --fuzz (12 s ago) found ⚑ major src/import/csv.ts:88 a quoted newline splits the row changed nothing — verifiers never edit
›◉ verify:importerclaude-opus-5-5running44k0.27
doing Read test/import.test.ts found nothing yet
›✗ run:benchhaiku → claude-haiku-4-5-20251001flagged18k0.02
asked haiku → served claude-haiku-4-5-20251001 ✗ why this Claude Code resolves the alias to Haiku 4.5 costs $1 / $5 per MTok instead of $0.10 / $0.50 fix name models by full ID: the template's model map does enforce /baton models enforce → the mod denies the spawn
›○ fix:round1claude-sonnet-5-5queued——
waits on verify:parser, verify:importer round 1 of 3 · a finding seen in 2 rounds spawns a design unit
›○ re-verifyclaude-opus-5-5queued——
fresh a new verifier, never the one that found it
what changed · liveEnter opens a row
12:41:07build:importer✎ src/import/csv.ts +42 −7
12:41:31build:importer✓ npm test 51/54
12:41:44build:importer⎇ commit 3f9a2c1
12:42:02verify:parser⚑ major quoted newline splits the row
root › catalogs loaded for ~/shop · the rest is one hop away
◆userhow you work · 14 nodes0.4k
◆project:shoppicked by cwd · 23 nodes0.5k
● sessionwf_8c1e2a at agent 10/14 · 2 PRslive
● env6 checks · 1 learned90b
● how-to-testnpm test · e2e needs pg on :5433120b
● rulings4 active · newest: decisions → issues260b
● csv-quirksquoted newlines, BOM, ; separators210b
◆tech:typescriptpicked by package.json · 9 nodes0.2k
◆tool:cmuxpicked by doctor · 6 nodes0.1k
◇tech:rustnot here: no Cargo.toml—
◇project:tinkernot here: other repo—
wake1.2k vs 3.5k flat
node · project:shop/csv-quirksstale: csv.ts changed 3f9a2c1
Quoted fields may hold newlines; a BOM can lead the file; EU exports use ";". source src/import/csv.ts @ a41c07e ← newer commit exists: re-check links [[how-to-test]] [[tech:typescript/streams]] supersedes [[csv-quirks@09-30]]
project:shop/sessionrewritten 12:42:07 · after agent 9 returned
runwf_8c1e2a · unit-loop · csv-import-units resume atagent 10 of 14 (fix:round1) · 9 cached in the journal in flightverify:parser, verify:importer — close waits for them PRs#84 open · #85 draft decisionsD3 which vendor key does the import use? (asked 11:58) rulings +decisions go in issues, never in PRs nextfix:round1 → re-verify → merge queue
next morning07:02
> /baton resume ✓ PR #84 merged since close → unit 7 unblocked ✓ main moved 3 commits → re-baseline queued ✗ disk 14 GB < 20 GB (learned check) → cleaned dist/, 31 GB free ✓ resuming wf_8c1e2a at agent 10 · 9 agents replayed from the journal
project:shop/envpreflight · 19 s · before agent 1
✓disk free ≥ 20 GB31 GB · learned 2026-10-09 (ENOSPC mid-build)
✓node ≥ 22v25.9.0
✓pg_isready -p 5433accepting connections
✓port 44100 free or oursnpm run dev · pid 8812
✓git cleanmain @ 7367f72
✓gh authsigned in
learned from failures/baton env add "<cmd>"
2026-10-09 build:importer died: ld: write() failed, errno=28 (No space left on device) → added disk free ≥ 20 GB with the cleanup that fixed it
baton◉ csv-import-units 9/14 · ETA 38m · $3.84│main thread 6 calls since dispatch│5h 41% · week 18%│ctx 22%│1 model flagged
>
1–4 switch tabs↑ ↓ move · Enter opens a rowRows and tabs work without JavaScript too.Sample data. v8 is a design; the run is illustrative.
01Watch

Stop typing "Status."

Every Workflow agent appears in the pane the moment it starts: its phase, the model that actually served it, its tokens and cost. Each edit, commit, test run and finding lands as a row you can open.

37bare "Status" prompts in two sessions, plus ETA and "next data point?" asks. measured
  • A live feed per agent: ✎ edits with +/−, ⎇ commits, ✓ test runs, ⚑ findings
  • Enter opens anything: the diff, the transcript, the result
  • An ETA from the durations of finished agents, not a guess
02Model truth

The model you asked for. Or a red row.

Every agent shows the model ID that served it next to its name, and turns red when that isn't what was asked for. Prices are per request, so Haiku 5.5's 100k-token cliff is visible too.

405turns asked for haiku and got claude-haiku-4-5, at 10× the price. Nothing said so. measured
  • Full model IDs in every template's model map
  • Requested vs served on every row, red on mismatch
  • /baton models enforce: refuse a spawn that would run on the wrong model
03Graph memory

Catalogs all the way down.

Memory is a graph of small facts. Catalogs are the doors in: a root that lists catalogs, catalogs that list nodes, nodes that link to nodes. An agent walks two hops and reads only what it lands on.

1.2ktokens at wake for the catalogs that apply, against 3.5k for today's flat MEMORY.md, which is mostly other projects. design target
  • One fact per node; logs split into "now" and dated history
  • Every node cites its source and is marked stale when the source moves
  • Newest wins through supersedes links, not deletion
04Catalogs

Your repo picks its own memory.

A catalog per project, per technology, per tool, and one for you. The folder you're in picks the project, marker files pick the tech, and doctor picks the tools. No model call is needed to decide what to load.

112links already connect your 64 memories. They needed doors, not a rewrite. measured
  • project: session, env, how to test, rulings, open PRs
  • tech: "Rust targets fill the disk" lives once, for every Rust repo
  • user: decision tables, PRs to main, cheap models for fan-outs
05Close & resume

Session limit at 2 a.m.? Resume at 7.

The project catalog's session node is rewritten every time an agent finishes, not only when you close. A limit, a crash or a compaction leaves a resumable state. /baton resume checks what drifted overnight, then continues from the exact agent.

8resumeFromRunId relaunches by hand in one port, plus results pasted into scripts and a stop that killed a running agent. measured
  • Drift check: merged PRs, moved branches, failed env checks
  • Journal replay: finished agents return instantly
  • Warns before a stop that would kill an agent mid-flight
06Preflight

Fail in 20 seconds, not three hours in.

Before agent 1 starts, the project's env node runs its checks: disk, toolchains, databases, ports, git, auth. Plain shell commands, no model calls. When a run dies on something environmental, that check is learned for next time.

×8No space left on device, mid-build, in one tinker session. Plus Rust off PATH, Postgres down, and a stale process holding :44100. measured
  • Learned, not configured: ENOSPC → a disk check, together with the cleanup that fixed it
  • Seconds, not tokens: shell only
  • Universal: per-project commands; the shipped defaults are only disk and git
07Templates

Build. Verify. Fix. Written once.

The unit-loop template is the shape every one of your Workflow scripts rebuilt by hand: a builder, a fresh verifier that never edits, a fix round, a re-verify. It breaks on the first failure, logs its round cap, and spawns a design unit when the same finding comes back.

12or more scripts across three sessions with this exact shape, each written from scratch. measured
  • Recurring finding → design unit: taal's lock-order whack-a-mole ended only with one
  • Merge queue: independent units keep going behind an open PR
  • Model map + rulings passed in, with full IDs
08Rulings

Say it once. Every agent hears it.

When you state a standing rule, baton lifts it into the user or project catalog and writes the active rulings to rulings.md, which CLAUDE.md imports. Every agent loads that file, Workflow agents included, because the mod can't reach into their prompts.

7rules you stated more than once across sessions: decision tables, decisions are issues, cheap models, cmux screenshots, one subagent at a time… measured
  • Newest wins; a ruling can supersede an older one
  • /baton enforce turns a ruling into a refusal
  • Scoped: yours everywhere, or this project only
09UI check

Catch the empty page before you do.

A verifier stage that uses the page: screenshots at desktop and phone width, hover, click, enter and exit fullscreen, close the panel, read the console, fetch the live URL. One interface, many drivers: cmux first, then Playwright, Chrome, or plain HTTP when there's no browser.

5UI regressions you found yourself: mobile taps, fullscreen exit, a panel that wouldn't close, "shellOS is an empty page", "fonts REALLY small". measured
  • Drivers are plugin skills, found through the tool catalog, never loaded into every agent
  • No driver? Still checked: HTTP + structure, and the verdict says "no visual check"
  • Proof bar: must catch the recorded regressions on their old commits
10Watcher, not manager

Scout freely. Get nudged, not blocked.

Workflows want a main session that looks around first and then launches. So v8's prime is a meter: reads and searches are free, and real grunt work in the main thread counts. Past a threshold you get one quiet offer to dispatch, or to close and resume. The strict v7 wall is still there with /baton prime.

4,557Bash calls in one main thread, 10 compactions, 5.9B cache-read tokens. A cost problem, not a quality one. measured
  • Read / Grep / Glob never count: that's scouting
  • Bash / Edit / Write count since the last dispatch
  • One nudge, then quiet. You decide.
11Files first

Works before you install anything.

The memory, rulings, templates and preflight are plain files. Any agent can read them and any Workflow script can use them. The mod is the accelerator: it watches, keeps the files current, draws the pane and nudges. If the mod can't load (mods are still early access), nothing breaks; you just lose the live view.

Files no install · any harness

MEMORY.md as the root catalog · user / project / tech / tool catalogs and their nodes · rulings.md imported by CLAUDE.md · the unit-loop template and agent types with pinned model IDs · env checks · the session node

Mod Claude Code plugin

Watch pane and live change feed · served-model flags and models enforce · the Haiku 5.5 curator that folds notes into nodes · ruling extraction · close/resume commands · meter + nudge · the guard that keeps MEMORY.md a root

Claude Workflows the engine

Deterministic phases, schemas, concurrency, resume from the journal. baton never replaces it. It watches it, feeds it knowledge and remembers what it did.

12Install

Two lines, when it ships.

v8 is a design preview. Today's release is v7.5. When v8 lands, this is the whole setup.

The mod

# once, in Claude Code
/plugin marketplace add ckluis/baton
/plugin install baton@baton
# then just work: the pane opens when a Workflow starts
/baton doctor

Doctor checks the Claude Code version, what each model alias resolves to, the UI-check drivers it finds, and whether mods can load.

Files only

# no plugin: build the catalogs from your memory
baton mem init         # root + user + this project
baton mem migrate --copy --ab 10
baton mem doctor       # orphans, stale nodes, broken links

Planned CLI. Every command writes plain Markdown you can read and diff.

13Versions

How it got here.

From a pasted router prompt to a mod that watches the engine. Each version kept what its experiments proved and cut the rest.