M6 evidence: the brain
On this page
Date: 2026-11-19. Machine: macOS 26.3, Apple silicon, Node 22.17.1, npm 11.5.2, Playwright
1.65.1 with Chromium 1255 (in .playwright-browsers/). Commits from e5371f1 to 789b04c,
after M5's 121ce76; the fixes hosted CI asked for after M5 (4f81190 to 9c1c0ce) fall in
the same stretch and are M5's, listed in its evidence.
The brief's work for M6: "D10 and D11, with the plan, graph, insights and replay views." Its proof: "a plan produced by the fake planner and applied; replay equal to history; forecasts stable under a fixed seed."
Acceptance
| Check | Result |
|---|---|
| A plan produced by the fake planner and applied | clara plan starts the planner as a read-only run whose MCP server offers the reads and clara_plan_propose and nothing else (D-120). With E1's fake agent as claude it proposes a plan of two epics, five stories and two sprints; one story is left out, another sized, and the plan applied as one change, which a second apply refuses and one clara undo takes back whole. The run is below. test/integration/cli-plan.test.ts, test/unit/ops/plan.test.ts, test/unit/mcp/plan-run.test.ts, and in the browser test/e2e/plan.spec.ts, where the plan beside the idea is edited, applied and taken back |
| Replay equal to history | The activity view's scrubber rebuilds the board at any moment from the log (D-127). test/e2e/replay.spec.ts makes changes through the CLI, records the board clara list gives after each, then steps the scrubber back over them and finds each one exactly. board.at agrees with a replay of the whole log at its last moment and shows a change undone later as it stood before the undo (test/unit/ops/insights.test.ts, test/unit/log/replay.test.ts) |
| Forecasts stable under a fixed seed | The forecast is a Monte Carlo simulation over the pace in the log, drawn from a seeded generator (D-118). The same log, seed and day give the same dates, whatever ran before (test/unit/insights/flow.test.ts, test/unit/ops/insights.test.ts, test/integration/cli-insights.test.ts). Run twice on Clara's own board, the outputs are the same byte for byte |
| D10: playbooks and decisions | Agents propose them with clara_knowledge_propose, people accept or reject them with clara docs or in the docs view, and accepted ones travel in the context pack of the tickets they bear on (D-119). The conventions, specs and retros in .clara/docs are read as pages (D-125). test/unit/ops/knowledge.test.ts, test/e2e/docs.spec.ts |
| D11: insights | clara stats, forecast, scorecard and board --at, and the insights page: figures, flow, cycle time, the forecast and each agent's and model's scorecard, every chart readable by keyboard and as a table (D-118, D-122). test/e2e/insights.spec.ts |
| The graph view | The dependency graph laid out by hand, in the order the work can be done, read by keyboard; while an agent works its ticket lights up with its time and spend (D-124). In the demo the graph lights up as the scripted agents' work lands (test/e2e/demo.spec.ts, test/e2e/graph.spec.ts) |
npm run ci exits 0 in a clean checkout |
yes, the browser journeys included, before every push |
Tests and coverage
$ npm run ci # a clean checkout of 789b04c
Test Files 196 passed (196)
Tests 4134 passed | 2 skipped (4136)
Statements : 96.97% ( 9797/10103 )
Branches : 90.74% ( 6317/6961 )
Functions : 97.46% ( 1842/1890 )
Lines : 97.77% ( 8387/8578 )
first load 86.4 KB gzipped (budget 100 KB)
lazy lib/markdown.ts 26.8 KB gzipped (budget 60 KB)
lazy views/activity/replay.tsx 2.4 KB gzipped (budget 60 KB)
lazy views/docs/docs.tsx 3.7 KB gzipped (budget 60 KB)
lazy views/graph/graph.tsx 7.0 KB gzipped (budget 60 KB)
lazy views/idea/plan.tsx 5.8 KB gzipped (budget 60 KB)
lazy views/insights/insights.tsx 5.9 KB gzipped (budget 60 KB)
clara --version cold start 42.0 ms 100 ms ok
clara list on 1,000 tickets 172.9 ms 200 ms ok
66 passed (53.7s)
All gates passed.
M5's evidence counted 4,097 tests in 193 files and 53 browser journeys at 9c1c0ce, which
already held M6's first work. M6 ends at 4,134 tests in 196 files and 66 journeys: the replay,
the docs view, the plan, the graph and the insights each have journeys of their own, and each
was checked with axe in light and dark. The two skipped tests need what this machine lacks: one checks
the fish completion script with fish, which is not installed here, and one checks how an agent
is ended on Windows. Branch coverage held at
90.7%, where M5 left it; the coverage gate asks for 85%. clara list on 1,000 tickets with no
cache yet takes longer than its 200 ms, as in every run since D-042, and is reported, not hidden:
the budget is for the board as people use it, with its cache.
The plan, applied
Run by hand on 2026-11-19 from the build at the commit above, in a scratch repository with
CLARA_HOME in a scratch folder and a claude on the PATH that starts E1's fake agent, as
the browser journeys do. The board was made with clara init --key LUN, the idea saved with
clara idea --from (the Lunchline idea of test/integration/cli-plan.test.ts), and the
board's commands trusted; then:
$ clara plan
agent:claude plans from the idea
It reads the repository and the board, and can change neither.
Claude Code's adapter is experimental, not tested against the real CLI.
· Read .clara/idea.md
· clara_plan_propose
agent:claude proposed a plan. 1 s, $0.03.
Plan 01M7V7G62T143DND9PVV6084WZ waiting for review
Proposed by agent:claude, 2026-11-20 01:00, in run 01M7V7G5S1NCEWHG8VWH224BE0
Builds ordering, then kitchen, a story at a time.
Sprints
1 Sprint 1 3 stories · Ship Ordering
2 Sprint 2 2 stories · Ship the rest of the idea
Epics and stories 5 stories, 10 points
E1 Ordering
S1 Browse today's menu 2 pts · sprint 1
- Browse today's menu works as the idea describes
- It is covered by a test
S2 Place an order from the desk 2 pts · sprint 1
waits for S1
- Place an order from the desk works as the idea describes
- It is covered by a test
S3 Cancel an order before the kitchen starts it 2 pts · sprint 1
waits for S2
- Cancel an order before the kitchen starts it works as the idea describes
- It is covered by a test
E2 Kitchen
S4 See the orders in the order they came 2 pts · sprint 2
- See the orders in the order they came works as the idea describes
- It is covered by a test
S5 Mark an order as ready 2 pts · sprint 2
waits for S4
- Mark an order as ready works as the idea describes
- It is covered by a test
Risks
- The idea does not say how many people use it at once.
Questions for you
- Who signs in first: the team, or the people it serves?
Next
clara plan edit S1 --points 3 change an item; --skip leaves it out
clara plan apply puts it on the board in one commit
clara plan discard sets it aside
clara serve does all of this in the browser, beside the idea
One story left out, another sized, the plan applied as one change, applied again and refused, then undone whole:
$ clara plan edit S3 --skip
Changed S3 in the plan 01M7V7G62T143DND9PVV6084WZ.
Nothing stops it from being applied: clara plan apply.
$ clara plan edit S2 --points 3
Changed S2 in the plan 01M7V7G62T143DND9PVV6084WZ.
Nothing stops it from being applied: clara plan apply.
$ clara plan apply
Applied the plan: created 2 epics and 4 stories (LUN-1 to LUN-6); in 2 sprints (S1, S2).
See them with clara board. clara work --max 3 starts agents on what is ready.
clara undo takes it all back, as one change.
$ clara list
LUN-1 todo p2 epic: Ordering
LUN-2 todo p2 epic: Kitchen
LUN-3 todo p2 story: Browse today's menu
LUN-4 todo p2 story: Place an order from the desk
LUN-5 todo p2 story: See the orders in the order they came
LUN-6 todo p2 story: Mark an order as ready
6 tickets
$ clara sprint list
S1 planned Sprint 1 0/2 done
S2 planned Sprint 2 0/2 done
$ clara plan apply
error: No plan is waiting for review on this machine.
Write the idea in .clara/idea.md and run `clara plan`, or list every plan with `clara plan list`.
(exit 1)
$ clara undo
Undid plan.apply on LUN-1, LUN-2, LUN-3, LUN-4, LUN-5, LUN-6: 9 events reversed.
$ clara list
No tickets match.
After the undo the plan waits for review again, because a plan is applied only while its
application stands in the log (5fb2763, below):
$ clara plan list
waiting for review 01M7V7G62T143DND9PVV6084WZ 2026-11-20 01:00 agent:claude 2 epics, 4 stories Builds orde…
Forecasts under a seed
clara forecast --seed 2026 --json on Clara's own board on 2026-11-19, twice; the two outputs
are the same byte for byte (cmp finds no difference). The work left is the six open tickets
outside the backlog, M5's to close at its end, paced by the 51 tickets done in the last 28 days:
$ clara forecast --seed 2026
Forecast for the open work outside the backlog: 6 tickets left
50% likely by Sun 29 Nov (in 9 days)
80% likely by Fri 11 Dec (in 21 days)
95% likely by Wed 30 Dec (in 40 days)
From the 51 tickets done in the last 28 days, over 10,000 simulated futures with seed 2026. The same log, seed and day give the same dates.
Another seed draws other futures from the same pace, so the dates move a little and no more: seed 7 gives the same 50% and 95% dates and an 80% date one day later (2026-12-12, against 2026-12-11).
The demo
clara demo --headless on 2026-11-19, from the build at the commit above. Three scripted agents
work Ledger's first sprint through the real work loop, and the lead's answer to LED-4's
question comes from the script. The graph view of the browser demo lights up each ticket as its
agent works, which test/e2e/demo.spec.ts watches happen.
$ clara demo --headless
This is a simulation: scripted agents, not real ones, are working a made-up project in a temporary folder. No model is called.
The work is real all the same: Clara’s own work loop starts each agent in a worktree of its own, runs the checks, and merges what the lead approves.
Mira Okafor leads Ledger, and 3 agents work 5 tickets of it: atlas, juniper, sage.
LED-3 goes to agent:juniper (its assignee)
LED-2 goes to agent:atlas (its assignee)
LED-3 ✓ handed in · 1 attempt, 3 s, $0.00
LED-3 goes to agent:sage for review (read-only)
LED-2 ✓ handed in · 1 attempt, 3 s, $0.00
LED-2 goes to agent:sage for review (read-only)
LED-3 review by agent:sage ✓ commented · 1 attempt, 1 s, $0.00
LED-3 approved by Mira Okafor
LED-3 merged into main (d7847cf)
LED-5 goes to agent:juniper (its assignee)
LED-2 review by agent:sage ✓ commented · 1 attempt, 1 s, $0.00
LED-4 goes to agent:atlas (its assignee)
LED-2 approved by Mira Okafor
LED-2 merged into main (161be96)
LED-4 blocked: LED-4 asks for a decision on who pays the extra cents, and that is the lead's to ma… · 1 attempt, 5 s, $0.00
LED-4 asks Mira Okafor: When a bill does not divide evenly, who pays the extra cents? I can give th…
LED-4 Mira Okafor answered: The first people in the list, one cent each. Predictable beats fair here, s…
LED-4 goes to agent:atlas (its assignee, carrying on its last session)
LED-5 ✗ check test failed (exit 1)
LED-5 attempt 2: the checks failed, so it tries again
LED-4 ✓ handed in · 1 attempt, 2 s, $0.00
LED-4 goes to agent:sage for review (read-only)
LED-5 ✓ handed in · 2 attempts, 8 s, $0.00
LED-5 goes to agent:sage for review (read-only)
LED-4 review by agent:sage ✓ commented · 1 attempt, 0 s, $0.00
LED-4 approved by Mira Okafor
LED-4 merged into main (67ef794)
LED-6 goes to agent:atlas (its assignee)
LED-5 review by agent:sage ✓ commented · 1 attempt, 1 s, $0.00
LED-5 approved by Mira Okafor
LED-5 merged into main (08ff14f)
LED-6 ✓ handed in · 1 attempt, 4 s, $0.00
LED-6 goes to agent:sage for review (read-only)
LED-6 review by agent:sage ✓ commented · 1 attempt, 1 s, $0.00
LED-6 approved by Mira Okafor
LED-6 merged into main (38a29ea)
✓ check test passes on the merged work
Done in 20 s: 5 tickets merged, 1 question answered.
Fresh-eyes review
Two reviewers with no part in the build read git diff 121ce76..HEAD, one the library, CLI
and MCP, the other the web views, for the most serious problems, changing nothing. Each judged
the rest sound: library/ imports nothing from the outer layers; MCP has 19 tools and a plan
run's server offers only the reads and clara_plan_propose; the planner fences what it hands
the agent and refuses an adapter that cannot hold it to read only; note and page names cannot
climb out of their folders; no web view renders markup from the board, and none imports Node
or zod. Between them they reported eight problems. All eight were real; each was fixed with a
test that fails without it, which was checked by running the test against the code before the
fix.
| # | Severity | Finding | Fix |
|---|---|---|---|
| 1 | high | knowledge.propose named a draft from its title without checking the name, so a title such as "Con" made con.md, a name no note may have: the draft could not be read back, and on Windows could not be written |
85cb8fa: such a name takes the note's kind after it (con-playbook, aux-decision) |
| 2 | medium-high | List, show, edit and discard trusted a plan's file over the log, so a plan whose file still said "review" after its application stood (a process ended between the commit and the file) could be edited or discarded while on the board | 5fb2763: a plan reads as applied while its plan_applied stands in the log, whatever its file says, so every operation refuses it as applied and an undo puts it back in review. The file being behind is then harmless, which the test shows |
| 3 | medium | board.at dropped every change undone later, at every moment, so the board at 10:02 did not show a move made at 10:00 and undone at 10:05, and an applied and undone plan never showed in the past |
fb58bc5: the log is cut at the moment first, and only the undos written by then are applied |
| 4 | medium | A creation that clara doctor's renumber replaced still reached the insights' histories, so the ticket that kept the number started over from that moment and lost its earlier time |
4511a3f: the replay that feeds the histories no longer visits a creation that changed nothing |
| 5 | high (confidence) | Before the first change, the scrubber's slider sat on change 1, so its own ArrowRight skipped to change 2, and Home and ArrowLeft did nothing | c0e5398: the slider reaches the empty board before the first change, and steps from it to change 1 |
| 6 | high (confidence) | On a phone, the plan's keep boxes were 16 by 16, its folds 16 high and its Edit buttons 24 high, under the 40 by 40 DESIGN.md asks for; the phone sweep never measured a plan | 5813fa2: under a coarse pointer each box has a 40 by 40 label round it, and rows, folds and options are 40 high, the extra as padding; the sweep now measures a plan with a fold open. A link to the plan also opened the idea's text on a phone, found while writing the test, and now opens the plan |
| 7 | medium (confidence) | Play made the position line a live region that spoke every 800 ms, faster than DESIGN.md's one announcement every two seconds | c0e5398: the line is quiet while Play runs, and where it stopped is said once through the board's live region |
| 8 | medium (confidence) | One "saving" slot covered every plan edit, so the first answer back let Apply go while another edit was on its way, and a refusal put back the whole plan, undoing another box | a75b999: edits on their way are counted; Apply and Discard wait for all of them, each box for its own, a refusal puts back only its own box, and edits that crossed are followed by a fresh read of the plan |
The web reviewer rated its findings by confidence rather than severity; the column says so. The library reviewer also listed branches no test reached; the four fixes above test each of them, with edit's retry and the conflicts of edit and discard.
Clara on its own board
M6 was not worked on Clara's own board as M4 and M5 were, and this file says so rather than mend it after the fact. Its one ticket, CLA-48, was made when M5's tickets were; the rest of M6 (the knowledge notes, the insights, the planner and the four views) was built from the brief's list of milestones without a ticket of its own, so the board's history has no claim, handoff or gate for them. M7's tickets are on the board before its work starts.
M5's shipped tickets had been left in progress when M5 closed. They were closed now, each by
clara verify running the board's checks (lint, typecheck and the tests) on the commit
named above and clara complete with the gates as the reviewer (D-043):
| Ticket | What | How it ended |
|---|---|---|
| CLA-62 | The other agents: six adapters labelled experimental, and custom commands | The checks passed on 992d68c; approved |
| CLA-64 | Demo 1, the scripted agents working Ledger's first sprint | The checks passed; approved |
| CLA-48 | The clara_plan_propose and clara_knowledge_propose tools |
Claimed, checkpointed, the checks passed; approved |
| CLA-61 | Review: a second opinion, then approve to a pull request or a merge | The first verify's test check failed after 1,146 s, where the others took about 700 s, on a machine busy with other work; only its summary was kept, so its cause is not known. Run again, all three checks passed in 701 s; approved |
| CLA-63 | The runs and review views | The first clara complete was refused because the ticket was not held; it was claimed, checkpointed, the checks passed in 732 s, and it was approved |
CLA-65, the capped real run with Claude Code, stays in todo: it is a person's step, prepared as a script (D-113). With it open, the M5 epic, CLA-24, stays in progress. CLA-66, the keyboard journey that once lost its live stream under the full suite, stays in the backlog.
Hosted CI
Started by hand when the milestone's work was done (D-028). One run in the middle of M6, after the planner and the insights landed, and one on the milestone's last commit, both passed on every job:
| Run | Commit | Result |
|---|---|---|
| 44646340063 | 8fb2293 |
Passed on all nine jobs, Windows included |
| 44673781454 | d168089 |
Passed on all nine jobs, Windows included |
The first local gate before that push failed on one budget: clara list took 307 ms against its
200 ms limit, while M7's tests ran on the same machine. The gate passed on a quiet machine. The
budget was not changed.