Progress
Resume protocol: read SPEC.md, PLAN.md, this file and DECISIONS.md, run npm run ci,
then continue from "In flight". Never start over. The work itself is on Clara's own board:
CLARA_HOME=<a temporary folder> node dist/cli.js list after node scripts/build.mjs.
Working rules set by the owner during the build: commit small and push often; no co-author
trailer on commits; hosted CI is not run on every push, only by hand when a feature or a
milestone is done (gh workflow run ci.yml --ref main, D-028). npm run ci must pass in a
clean checkout before each push.
State of the world
Build started 2026-11-16 in an empty folder against an empty private remote. The brief is
saved verbatim in docs/SPEC.md. The npm package is clara-ipm and the command clara, by the
owner's decision during M7 (D-135); the name was free on 2026-11-24, and the first publish, a
person's step, claims it. Clara is licensed under Apache-2.0 (D-136).
The library (M1) is the model and its JSON Schemas, the file format, memory and disk storage, the activity log and replay, the board rules, the query language, the operations in one registry, and doctor. The public API is held to a golden list of names.
The command line (M2) puts the library in front of people and scripts: 50 commands, from
clara init to clara release ship, with help, suggestions for typos, --json for
scripts, colour that respects NO_COLOR, shell completion, and a home screen. A board's
checks run through clara verify once a person on the machine has trusted them, and with
review.mode: gates a ticket is approved when they pass on its commit. Proof: 31 scripted
lifecycles and 21 golden files (docs/EVIDENCE/M2.md).
The security model (D15) is written in docs/SECURITY-MODEL.md for what exists: paths,
commands and trust, control characters in the terminal, secrets in what checks print, the
review gate, the supply chain and privacy, each with tests under test/security/. M4 added
the local server and ticket text in the browser; GitHub's token in the Action is handled since M7 (D-137), and the hosted board's since M8 (D-138).
Clara's own work is on Clara's board (D-043): an epic per milestone, worked as
agent:claude with review.mode: gates. The maintainers should switch it to human after
launch (D-043, "For the maintainers").
The agents' door (M3) is clara mcp, an MCP server over stdio with 16 tools, 3 resources
and 4 prompts generated from the registry; one working agreement of ten rules sent by every
door; context packs within a size budget; the Claude Code plugin with its skill, commands, MCP
server and a session-start note from clara resume; and clara setup <agent> for seven coding
agents. The plugin was validated, installed and connected in a real Claude Code 2.1.327 in a
throwaway folder, and its server answered the calls Claude Code makes. No model-driven call
was made: that needs a signed-in Claude Code, which is a person's step. The six agents other
than Claude Code are experimental (docs/EVIDENCE/M3.md). A fresh-eyes review found seven
problems, four of them in what an agent could do or make run; all seven are fixed and tested,
and the plugin was connected again in Claude Code after the last fix.
The board in the browser (M4) is clara serve: a server on 127.0.0.1 with every rule of
D15 for a local server and a key per start, and a Preact page with the board, the backlog, a
ticket, the sprint, the activity, the idea, settings, what needs you and the command palette.
Changes show at once and are taken back when the board refuses them; what the CLI or an agent
changes arrives within a second, and words being typed survive it. Ticket text is rendered
as hostile and checked twice, under a content security policy. The first load is 69.6 KB
gzipped. Proof: 41 browser journeys in Chromium against boards made with the CLI, axe with no
serious violation on any view in either theme, keyboard-only and phone journeys, screenshots
compared in both themes, and two rounds of screenshot review (docs/EVIDENCE/M4.md). A
fresh-eyes review found nine problems, the worst an Undo that took back a later change than the
one it named; all nine are fixed with a test each (D-098).
The conductor (M5) is clara work and clara start: each ticket routed to an agent and
run in a worktree of its own under CLARA_HOME, with the ticket's text fenced as data, a
guarded profile by default, time, turn and spend limits and a daily ceiling. Checks run on the
exact commit handed in, a failed check is tried again, a second agent can review read-only,
and approving opens a pull request or merges. A tool the guarded rules do not allow is put to
a person through the approval bridge. Claude Code's adapter is tested against E1's fake agent;
six others are experimental (D-112). clara demo is Demo 1, scripted agents working a
made-up project with the real work loop, headless in CI. The runs view and the review room
show the same in the browser. Proof: the fake-agent matrix, approve to a pull request and to
a merge, the demo headless (docs/EVIDENCE/M5.md). The one capped run of the real Claude
Code needs the owner's sign-in and is a person's step (D-113). A fresh-eyes review found
seven problems, the worst that a board's checks ran as the person; all seven are fixed.
The brain (M6) is what the board knows and plans. clara stats, forecast and
scorecard read the activity log for throughput, cycle time, a seeded Monte Carlo forecast and
each agent's and model's record; clara board --at replays the board at any past moment.
Agents propose playbooks and decisions, people accept them, and context packs carry the ones
that bear on a ticket. clara plan starts a read-only planner run that proposes epics,
stories and sprints from the idea; the plan is reviewed, edited and applied as one change. In
the browser: the insights page, the graph with its flight deck, the docs view, the plan beside
the idea, and the replay scrubber in the activity view. Proof: a plan from the fake planner
applied, replay equal to history in a browser journey, forecasts the same under a seed
(docs/EVIDENCE/M6.md). A fresh-eyes review found eight problems; all eight are fixed.
GitHub native (M7) keeps the board with the repository. clara sync links each commit and
branch that names a ticket and moves a ticket to done when a closes, fixes or resolves
commit lands on the base branch, credited to who merged it; it pulls by fast-forward only and
commits .clara alone. clara hooks install has git do the linking after each commit and
merge. clara badge draws the sprint for a README, and clara export --static writes the
board as a read-only website. Clara's GitHub Action runs the same command line in five modes,
validate, sync, work, publish and digest, and clara github setup writes their
workflows, pinned, least-privileged and running this very version from npm. Clara's own
repository checks its pull requests with the Action. Proof: sync against real temporary
repositories with a bare remote, the Action's entry point run by bash with stand-ins for npx
and npm, the static export compared to a kept page (docs/EVIDENCE/M7.md). A fresh-eyes review
found ten problems; all ten are fixed, the worst by running the Action's agents in a job with no
token and landing their work from another (D-137).
Hosted (M8) is the board on the web for a team (docs/HOSTED.md): a GitHub storage
adapter that passes the same conformance suite as disk and memory, sign-in with GitHub where
each person's own token does every read and write and lives only in a sealed cookie, MCP over
HTTP with a bearer token, and a Vercel deploy whose vercel.json is generated from the server's
headers. Proven against a fake GitHub and as a local production build (docs/EVIDENCE/M8.md).
Direct mode is not built: the library in the page would break C2's lazy-chunk budget (D-140).
Many projects (M9) keeps the boards of several repositories in one workspace folder, each
repository linked to its project by a committed .clara.json (D-141). clara workspace and
the web app's Home view show every project's work in progress, blocked work and what needs
you. Proven with two temporary repositories sharing one workspace board that is a git
repository of its own (docs/EVIDENCE/M9.md).
Reach (M10) is what a team needs around the board (D14). Routines make a ticket on a
schedule, once per occurrence, kept by the ticket's origin (D-142, D-143); automations can be
switched off (D-144); seven tools' exports import with a preview first (D-145), and init
offers a Beads or Backlog.md board it finds; ticket and project templates (D-146); trusted
webhooks and browser notifications (D-147); ask, do, split and estimate, the last two
as plans to review (D-148); board --watch and top (D-149); image attachments checked by
their bytes (D-150); scan for TODO and FIXME comments (D-151); and exports to JSON, CSV and
Markdown (docs/EVIDENCE/M10.md).
The launch kit (M11) is the README, the user docs, a website that pages.yml deploys with
the board (D-153), the demo recording, releases through release-please pull requests that
publish only once a person says so (D-152), and drafts of the launch posts. A fresh clone,
following the README's from-source steps, served a working board in about 39 seconds
(docs/EVIDENCE/M11.md). The final report is docs/FINAL-REPORT.md.
Milestones
- M0. Foundations (
ea75723, CI fix817e8b3) - M1. The library (
2b7ddeb..fd6f6df, review fixes to1461c6b;docs/EVIDENCE/M1.md) - M2. The CLI (
4119897..the commit closing CLA-12;docs/EVIDENCE/M2.md) - M3. The agents' door (
012cc96..the commit closing CLA-14;docs/EVIDENCE/M3.md) - M4. The board (
fd611dd..1a80cf1, review fixes6b8d961..f3a7bb2; hosted run green;docs/EVIDENCE/M4.md) - M5. The conductor (
cd97f27..121ce76, hosted CI's fixes4f81190..9c1c0ce; hosted run green;docs/EVIDENCE/M5.md) - M6. The brain (
e5371f1..789b04c;docs/EVIDENCE/M6.md) - M7. GitHub native (
5023dea..the commit closing CLA-72;docs/EVIDENCE/M7.md) - M8. Hosted (
50deed6..0b68e8a;docs/EVIDENCE/M8.md) - M9. Many projects (
9f5971d..8b38dae;docs/EVIDENCE/M9.md) - M10. Reach (
docs/EVIDENCE/M10.md) - M11. Launch kit (
docs/EVIDENCE/M11.md;docs/FINAL-REPORT.md)
In flight
Nothing. Every milestone of the brief is done. What comes next is on Clara's board, starting with the ten tickets in docs/FINAL-REPORT.md, and the person's steps are in docs/LAUNCH-CHECKLIST.md.
Known problems
- Large commits on macOS are slow. Disk storage fsyncs every file it writes, and on macOS
that is a full flush of about 3.5 ms a file. Everyday operations write one to three files
and do not notice; a migration of a 10,000-ticket board would take about 35 seconds.
Follow-up: issue the fsyncs of one commit in parallel (measured 2 to 3 times faster).
Numbers in
docs/BENCHMARKS.md. - The CLI's own coverage is not gated. The gate covers
library/, as the brief asks. The CLI was measured once at 93% of lines and 85% of branches (docs/EVIDENCE/M2.md).
Unverified
- Bun running the CLI: Bun is not installed locally (D-017). Proven only by the
bunjob in CI. - CodeQL and dependency review have never run: the repository is private (D-027).
pages.yml,canary.ymlandrelease.ymlhave never run on GitHub: Pages and publishing are a person's steps, and the release's dry run needs thenpmenvironment a person creates (docs/LAUNCH-CHECKLIST.md).- Windows and Linux are proven only by hosted CI, which runs by hand. Results are in each milestone's evidence.
- Agent CLIs other than Claude Code are not installed on the build machine, so
clara setupfor them and their adapters are written from each agent's documentation and labelled experimental. Whether each agent's sandbox, mode and rules hold as documented is unproven. - The browser journeys run in Chromium only; Firefox and Safari have not been tried. The screenshots are compared on macOS before every push. Linux has no committed set since the runs and review views changed every view's navigation (D-116); each hosted run writes one, and M6's is the one to look at and commit. Windows has none.
- The Action's modes have not run on GitHub itself. Each runs in the tests against real
temporary repositories, a local server standing in for GitHub's API and a fake
gh; Clara's ownclara.ymlfirst runs on a pull request, andpages.ymlandsyncwhen a person starts them (docs/LAUNCH-CHECKLIST.md). - No model has called Clara's tools through Claude Code: the isolated Claude Code used for the
M3 proof is not signed in, and the owner's own settings are not touched. Everything below
the model was run for real; the signed-in run is in
docs/LAUNCH-CHECKLIST.md.