Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

kanbanr

kanbanr — 看板, a system of record kanbanr — 看板, a system of record

A kanban board that is the system of record for Claude-driven development. Claude manages it through a skill that drives the kanbanr CLI, and a read-only web monitor shows what is happening live while you work.

The CLI writes the local data folder directly — the single writer, no server, no login. kanbanr serve runs a read-only view daemon over the same folder, with the monitor built into the binary. Sharing happens through a git remote. It is one binary, and Docker is optional.

Why this exists

An AI agent doing real project work needs a durable, external system of record — not an in-session scratchpad. Without one, the plan, the reasoning and the evidence live only in a transcript: they vanish between sessions, cannot be reviewed, and work gets built that nobody agreed to.

kanbanr keeps all of it in plain, git-backed files a human can read, and makes Claude keep it current as part of doing the work rather than as an afterthought.

What it commits to — work items link these by id:

G-1A session recovers the full plan and continues, with no human recap
G-2Every work item records why it exists and how it will be verified
G-3Nothing substantial gets built before its reasoning is agreed
G-4Any line of code can be traced back to the requirement and goal it serves
G-5The tool stays low-friction enough that it is never worth bypassing
G-0The system stays operable and maintainable
G-6What is installed is what was built, and can be shown to be

Where to start

Constraints it works under

  • Local-first: plain YAML and markdown in a git repo. No database, no accounts, no server required.
  • The CLI is the single writer; the web monitor is read-only.
  • Sharing happens through a git remote, which is also the access boundary.
  • One binary, installable without a toolchain.
  • Raw data is never discarded — it is captured as files and kept. Every summary, count and report is derived from it.

Installation

kanbanr ships as one binary. The CLI, the read-only web monitor and its assets are the same executable — there is no separate UI to build and nothing to point serve at.

What it isHow you get it
kanbanrthe CLI (single writer) and the web monitor (kanbanr serve)one-line install, below
container imagethe same binary in serve mode, for running the monitor somewhere elsedocker pull, optional

Neither needs a Rust toolchain. You only need one to build from source, which is the last section on this page.

Install

curl -fsSL https://github.com/startr-trade/kanbanr/releases/latest/download/install.sh | sh

On Windows (PowerShell):

irm https://github.com/startr-trade/kanbanr/releases/latest/download/install.ps1 | iex

The installer downloads the release build for your platform, verifies its SHA-256 against the release’s own SHA256SUMS, and installs it — into /usr/local/bin when that is writable, otherwise ~/.local/bin. It edits no shell profile and starts no daemon.

The one-liner is served from the release rather than from raw.githubusercontent.com on purpose: the raw host is a CDN of the default branch, so it can hand out an installer that does not match the release it is installing, and it rate-limits harder. From the release download host the script and the binaries it fetches are one artifact set, versioned together.

Useful knobs:

# Pin a version instead of taking the newest release
curl -fsSL …/install.sh | sh -s -- --version v0.1.0

# Install somewhere specific
curl -fsSL …/install.sh | KANBANR_INSTALL_DIR=~/bin sh

# Lift the API rate limit when retrying (60 requests/hour anonymous -> 5000 with a token)
GH_TOKEN=$(gh auth token) curl -fsSL …/install.sh | sh

A token is sent only to api.github.com, which is the endpoint that rate-limits. The release download host needs no credential and is never given one — an installer that forwards your token to every host it touches is a worse trade than a slower retry.

If the install fails

raw.githubusercontent.com rate-limits and answers 429 Too Many Requests under load; so does the GitHub API, at 60 requests an hour per IP without a token. Three ways around it, in the order worth trying:

# 1. pin the version, which skips the release lookup entirely — the only path that needs no API call
curl -fsSL https://github.com/startr-trade/kanbanr/releases/download/v0.1.0/install.sh \
  | sh -s -- --version v0.1.0

# 2. a token, which moves the API from 60 to 5000 requests an hour
GH_TOKEN=$(gh auth token) curl -fsSL …/install.sh | sh

# 3. no installer at all — the assets are plain files
gh release download v0.1.0 -R startr-trade/kanbanr \
  -p 'kanbanr-*-x86_64-unknown-linux-gnu.tar.gz' -p SHA256SUMS
sha256sum --ignore-missing -c SHA256SUMS
tar xzf kanbanr-*-x86_64-unknown-linux-gnu.tar.gz -C ~/.local/bin

The installer retries transient failures and times out rather than hanging, and it resolves the release from three different endpoints (/releases/latest, the release list, then git tags), because each of them has been observed failing while a release was perfectly installable. When all three come up empty it tells you to pin --version, which is the one path that needs no lookup.

Prefer to see what you are running before you run it? Download install.sh, read it — it is about 240 lines of POSIX shell, and CI shellchecks it — then execute it. Or skip the script and take the archive from the releases page.

Verify:

kanbanr --version
kanbanr serve          # the monitor, from the binary — no --ui-dir, no Node

Published targets

linux x86_64, linux aarch64, macOS arm64, macOS x86_64, windows x86_64.

The Linux builds are glibc, not static musl, because kanbanr links libgit2. They are built on the oldest runner we support (Ubuntu 22.04, glibc 2.35), so they run on Debian bookworm and anything newer. On an older distribution than that, build from source or use the container image — a glibc mismatch shows up as libc.so.6: version 'GLIBC_2.xx' not found at startup, not as a subtle failure.

Checking a download

Every release carries three kinds of evidence:

  • SHA256SUMS lists every asset. sha256sum --ignore-missing -c SHA256SUMS checks the ones you downloaded.

  • Two SBOMs (kanbanr-<tag>.sbom.cargo.cdx.json and kanbanr-<tag>.sbom.npm.cdx.json) list the Rust and monitor dependencies the binary was built from, in CycloneDX format.

  • A build attestation for each asset and for the image, signed by the workflow that built it. It says which repository, commit and workflow produced the file. With the GitHub CLI:

    gh attestation verify kanbanr-v0.6.0-x86_64-unknown-linux-gnu.tar.gz -R startr-trade/kanbanr
    gh attestation verify oci://ghcr.io/startr-trade/kanbanr:v0.6.0 -R startr-trade/kanbanr
    

A release made with ATTEST_RELEASE=false has no attestations and its notes say so. The checksum and SBOM are always there.

Install the skill

The program is half of kanbanr; the other half is the skill that teaches Claude Code to use it. The program carries its skill, and the installer above puts it in place when it finds Claude Code (the claude command) — so usually there is nothing to do here. The skill always matches the program: kanbanr self-update updates both.

kanbanr skill status       # is it installed, and does it match this program?
kanbanr skill install      # write it to ~/.claude/skills/kanbanr (or $CLAUDE_CONFIG_DIR/skills)
kanbanr skill uninstall    # remove the copy kanbanr installed

A skill folder kanbanr did not write — a link to a clone, a plugin’s copy — is left alone. The other ways below are for people who want them; pick one route, or Claude Code loads two copies of the skill.

As a Claude Code plugin — the skill plus its session-start, stop and session-summary hooks, from the repository’s main rather than your release:

claude plugin marketplace add startr-trade/kanbanr
claude plugin install kanbanr@kanbanr

From a clone — for working on the skill itself: a link into Claude Code’s personal skills folder, updated by git pull:

git clone https://github.com/startr-trade/kanbanr ~/.local/share/kanbanr
make -C ~/.local/share/kanbanr install-skill      # links ~/.claude/skills/kanbanr

With the clone, the hooks come from kanbanr hooks install in each project, which kanbanr init and the setup interview run for you. Either way, then open Claude Code in a project and say “set up kanbanr for this project”.

The VS Code extension

An optional extension opens the monitor inside your editor and runs the common board commands through the CLI. Every release carries it as kanbanr-vscode-<version>.vsix, at the program’s version and listed in the release’s SHA256SUMS.

With the installer: add --vscode, and it installs the extension into every editor it finds (code, codium, cursor, windsurf), or --vscode=codium for one. Without the option it installs nothing into any editor.

curl -fsSL https://github.com/startr-trade/kanbanr/releases/latest/download/install.sh | sh -s -- --vscode
$env:KANBANR_VSCODE = 1; irm https://github.com/startr-trade/kanbanr/releases/latest/download/install.ps1 | iex

From the program, at any time: kanbanr editor install (or --editor codium) downloads the .vsix of the version you are running, checks it against SHA256SUMS, and installs it. kanbanr self-update then keeps it in step in every editor that has it.

From Open VSX: VSCodium, Cursor, Windsurf and other editors that use Open VSX can install it from their Extensions view (search “kanbanr”), or codium --install-extension kanbanr.kanbanr, and update it from there. VS Code itself does not read Open VSX.

By hand, from a release:

v=0.1.4
curl -fsSLO https://github.com/startr-trade/kanbanr/releases/download/v$v/kanbanr-vscode-$v.vsix
code --install-extension kanbanr-vscode-$v.vsix

Run the monitor somewhere else

docker pull ghcr.io/startr-trade/kanbanr:latest
docker run --rm -p 8080:8080 -v "$(kanbanr where)":/data ghcr.io/startr-trade/kanbanr:latest

The image is the same binary in serve mode, with the board mounted at /data. It is read-only and unauthenticated: expose it beyond localhost only behind a reverse proxy you control. If you add --allow-writes, the image binds a reachable address, so it also needs --allow-remote-writes (or -e KANBANR_ALLOW_REMOTE_WRITES=1); to take writes through a TLS proxy, pass -e KANBANR_ALLOWED_ORIGINS=https://board.example.com as well.

Staying current

kanbanr self-update --check          # is this binary current? changes nothing
kanbanr self-update                  # replace it with what the release publishes
kanbanr self-update --version v0.1.0 # pin, or roll back

Updates are never automatic — nothing runs on a timer or as a side effect of another command. What an update may and may not change — the board format, commands, --json — is set out in Stability.

What “current” means here

--check reports two different reasons a binary can be out of date:

  1. A newer version — the latest release tag differs from yours.
  2. The same version, rebuilt — the tag matches, but the binary the release publishes is not the one you are running.

The second is the one most tools miss. An asset re-uploaded under the same tag — an interim fix, a corrected packaging step, a re-run workflow — changes nothing a version comparison can see. So the check is made on the SHA-256 of the binary, against a per-target checksum the release publishes beside the archives.

The commit hash cannot do that job, which is why both exist:

AnswersDecides?
SHA-256 of the binaryis the binary I am running the one this release publishes?yes — it identifies the artifact, so it catches a rebuild, a re-upload, a corrupted install, or a locally built binary that merely shares a version
commit hash (in --version, and on the release page)what source was it built from?no — two different binaries routinely share one commit (a re-run workflow, a toolchain bump). But when the checksums differ it is the only thing that says why

So a rebuild is reported as “same version, same commit, different binary”, and a tag moved onto other source as “now points at a different commit” — which is unusual enough to be worth saying out loud rather than folding into “an update is available”.

$ kanbanr --version
kanbanr 0.1.0 (a1b2c3d4e5f6, built 2026-09-28)

That commit is the one the GitHub release page shows for the tag, so an installed binary can be matched against what is published without running anything. CI fails a release whose binaries report unknown or dirty.

A release published before the per-binary checksum existed cannot answer the question, and --check says exactly that rather than claiming you are current.

Everything is fetched over HTTPS

Both the updater and the installers refuse a non-https URL before sending, and they follow redirects themselves rather than letting the HTTP client do it, checking each hop’s scheme — because a release download is a redirect (github.com answers a 302 to objects.githubusercontent.com), and both ureq and curl -L will happily follow one that downgrades to plaintext.

A checksum does not make plaintext acceptable here: SHA256SUMS arrives over the same channel as the archive it vouches for, so anyone able to rewrite one can rewrite the other. Verification only holds when the thing doing the vouching arrived over a channel that was authenticated.

The GitHub token, when you supply one, goes only to api.github.com and is never carried across a redirect — not even to another GitHub host.

How an update is installed

The archive is verified against the release’s SHA256SUMS, the binary extracted from it is verified against its own published checksum, and only then is it moved into place by an atomic rename — so an interrupted update cannot leave a half-written executable on your PATH. A checksum mismatch aborts, and there is no flag to get past it: anyone who genuinely wants an unverified binary can download it by hand and see what they are doing.

Re-running the installer works too, and is the path on Windows, where a running .exe cannot be replaced from inside itself.

Your board is untouched by any of this: it is a separate git repository beside your code, and the binary holds no state.

Build from source

You need a stable Rust toolchain and Node. Node is not needed to use kanbanr — the released binary has the monitor baked in — but it is needed to build one, because that is the step that produces the assets to bake (see ADR-0009).

git clone https://github.com/startr-trade/kanbanr.git
cd kanbanr

make test          # the whole suite, no Docker
make install       # builds the SPA, installs the binary, links the Claude skill

cargo install --locked --path api/crates/kanbanr-cli on its own works too, but without a built web/dist present it embeds no monitor — kanbanr serve then says so at startup and tells you what to do. That is also why kanbanr is not published to crates.io: a published crate cannot carry the built assets without committing generated files to the repository, so the archive and the installer are the supported way to get a complete binary. (The one crate that is published is ears-classifier, the standalone EARS library kanbanr uses.)

Next

Everyday use — the board, the method, and what the CLI can do.

Set up in 60 seconds

Set up (60 seconds, no server)

# Install (macOS/Linux) — one binary, monitor included, nothing else to build
curl -fsSL https://github.com/startr-trade/kanbanr/releases/latest/download/install.sh | sh

kanbanr init my-app --author "You" --email you@example.com  # data dir + git repo + identity + project

From source instead: make install, which builds the SPA, installs the binary and links the skill. Version pinning, checksums, rate limits, published targets and the glibc floor are in the installation chapter.

init creates the data dir (a git repo), sets your commit identity, scaffolds a project, and selects it here (a .kanbanr marker). If this folder already names a board, init refuses rather than repointing it — the marker is the only link between a project and its board, and overwriting it makes a full board read as empty. It prints both pointers; --force repoints deliberately, and kanbanr project use <name> switches project within the same board. That’s everything — there is no server to run, no login, no accounts. Each change you make is a git commit authored by your identity. (libgit2 is linked in — no external git needed.)

init also registers kanbanr’s Claude Code hooks in this project’s .claude/settings.json, merged with whatever is there: the board is shown when a Claude session starts, a turn that changed code is reminded to record it, commits and notes are checked on the way, and each session is summarised beside the board. They act only in folders kanbanr tracks. Skip them with kanbanr init --no-hooks; kanbanr hooks install --global registers them for every project on the machine instead; kanbanr hooks install | status | uninstall manages them later.

Setting up through Claude: a setup interview first

You can also skip the terminal and ask Claude to “set up kanbanr for this project”. It doesn’t start running commands. It switches to plan mode and interviews you:

  1. Board and identity: where the board lives (the choices below), the project name, and the commit name and email, which default to your git config.
  2. Charter: purpose, goals with measures, non-goals, stakeholders and constraints. Claude drafts these from your README and manifests, labels them as a draft, and leaves blank anything the repository doesn’t answer so it can ask you.
  3. Process: the workflow (the default kanban, TOGAF phases as the columns, or your own statuses), then whether to work in sprints and releases, whichever process you chose. Claude recommends the process’s own setting and shows the git model that follows (kanbanr git model --sprints on|off --releases on|off, which needs no board): where items branch from and merge into, what kanbanr merges, and that pushing stays yours. Then the git commit hooks (offered, defaulting to yes), and optionally a backup remote, the GitHub issue mirror and importing an existing tracker. Design before build and the docs fold-in are on by default; the plan says so, and kanbanr config method --off turns them off later.

The plan lists every answer and the exact commands it will run. Approving the plan (exiting plan mode) is the go-ahead. Claude then runs the whole setup: init, the workflow, charter set, the Claude Code and git hooks, claude sync, and the optional steps. It saves the approved plan as a board doc (setup/<date>-setup.md) and checks the result with kanbanr doctor. Only after that does it get back to whatever you originally asked for. A folder that’s already tracked skips the interview.

Where the board lives

The board is its own git repo, so it belongs next to your project, not inside it. It starts with a README.md that names the project it tracks and links its code repository, then says how to see it: install kanbanr, clone the board, run kanbanr serve --data-dir <the clone> and open http://127.0.0.1:8080. kanbanr keeps the generated part current as projects come and go; anything you write outside it is yours. A board made before this has none: kanbanr readme writes it, and kanbanr doctor reminds you until then. A board inside the project folder would be a repo nested in your project’s repo: it has to be gitignored and is easy to commit by accident.

init asks where to keep it:

Where should kanbanr keep this project's board? (a separate git repo)
  1) /home/you/code/my-app.kanbanr  (new folder next to the project, recommended)
  2) /home/you/code/work.kanbanr    (existing kanbanr folder, shared with its other projects)
Choose a number or type a path [1]:
  • The recommendation is a sibling of the project’s git repo root named <repo>.kanbanr, even if you run init from a subfolder.
  • Pick an existing kanbanr folder to share one board repo across several projects. Portfolio views, cross-project dependencies and the cross-project Gantt work within one data folder.
  • Pass --data-dir <folder> to skip the question. Without a terminal (e.g. when Claude runs it) init uses the recommendation; with the skill, Claude asks you first and passes --data-dir.
  • init warns if the folder you pick is inside a git repo.

The choice is recorded in the project’s .kanbanr marker, relative to the marker:

project: my-app
data_dir: ../my-app.kanbanr

Every kanbanr command run anywhere inside the project finds the marker (it walks up from the current directory), so no env vars are needed. kanbanr where prints the board folder in use. Commit the marker if everyone who clones the project uses the same layout; otherwise gitignore it.

The data dir resolves from --data-dir / $KANBANR_DATA_DIR / the marker’s data_dir / legacy ./data. Existing ./data boards keep working unchanged.

Importing tasks you already track

If the project already tracks work, in a TODO.md or ROADMAP.md, in another AI tool’s plan files (Spec Kit, Kiro), or in GitHub issues, Claude offers to import it when you start using kanbanr (or whenever you ask). It lists what it found and asks which sources to import; by default only open and in-progress items come in.

  • Preview first. Claude builds one bundle and shows you the dry run (kanbanr batch --dry-run), which writes nothing. After you confirm, the import is a single commit in the board repo, so it’s easy to revert.
  • Nothing is lost if the old tracker goes away. Each imported item records where it came from (TODO.md:14 at commit a1b2c3d, or owner/repo#123) and keeps its original text in its spec under “Imported from”. Whole files are copied into the board’s docs under imports/ before they’re retired. So the item stays meaningful even if the file is later deleted or the git history rewritten.
  • Re-importing is safe. Items already imported are skipped, matched by issue number or, for files, by title (so moving or renumbering a file doesn’t import it twice).
  • You decide what happens to the old tracker: leave it, replace the file with a pointer to kanbanr, delete it, or comment on / close GitHub issues with gh. Claude never does any of that without asking.

kanbanr sources (in the project folder) lists imported items and whether their files still exist; kanbanr sources --write records the missing ones, and the monitor shows “source no longer present” on those items.

How the pieces fit

How the pieces fit

flowchart LR
  You["You + Claude (VS Code)"] -->|skill| CLI["kanbanr (CLI: local writer)"]
  CLI -->|"writes + commits"| Data[("data/ — a git repo")]
  CLI -->|"pull/push"| Remote[("git remote (sharing)")]
  Serve["kanbanr serve (view daemon)"] -->|reads| Data
  Serve -->|live SSE| Monitor["Web monitor (view-only)"]

You talk to Claude → Claude runs kanbanr commands → the CLI writes the files and commits to git → kanbanr serve (if running) pushes the change to the monitor live.

Working with Claude

You can run kanbanr from Claude Code. You ask for work and answer questions, Claude records the work on the board, and you take every decision on the monitor’s pages. This chapter shows what that conversation looks like and why it asks what it asks.

Three things are worth knowing up front:

  • Your workflow decides the questions. Claude doesn’t follow a script for TOGAF or Scrum. At each step it asks the board what the next stage still needs and turns each gap into a question or a draft. Change your workflow and the conversation changes with it.
  • Decisions are taken on the pages. An approval, ratification, sign-off or its withdrawal, and accepting or rejecting a decision, are taken on the Review page. Promoting or cutting a release is taken on the Releases page. Claude tells you what is waiting there, with the page’s address, and never records one for you: kanbanr refuses if it tries, and never asks for one in a plan or a question. If no monitor accepts writes, Claude offers to start one with kanbanr review --ui.
  • Decisions arrive filled in. What Claude already knows, such as a CI run’s link and result or what a sign-off covered, is prepared beside the button with where it came from. You check it and click, or change it first (Prepared by Claude).
  • A verdict records where it was taken. The monitor, a command in your terminal and an answer recorded in a Claude Code session are told apart, and the item shows which beside each approval and sign-off. Deciding the same thing twice records nothing the second time.
  • A verdict covers what you were shown. The page pins your choice to the definition you saw (--rev). If the definition changed in between, it refuses and you read the change first.

See the monitor for the pages.

This chapter explains how the conversation works under any process. To follow one project from setup to a shipped release, see the Process guides.

Setting up: the cadence and the git model

When Claude sets kanbanr up for a project, it asks where the board lives, which process to use, and then, for every process, whether to work in sprints and releases. It recommends the process’s own setting (on for Scrum and agile, off for the rest) and shows you the git model your answer gives before anything is written:

$ kanbanr git model --sprints on --releases off
topology:   sprints
main:       main
line:       none — start a sprint to have one
branch at:  sprint/<SP>
production: at the sprint close
…
kanbanr merges (once the model is on):
  - each item branch into sprint/<SP> when the item enters the integrate stage (--no-ff, naming the item)
  - sprint/<SP> into main when the sprint closes (a fast-forward, tagged with the sprint's code)
  - sprint/<SP> into each item branch carried into that sprint (a catch-up merge; a conflict is reported for that item)
pushing:    never automatic — you review and push
automation: on

Choosing sprints or releases turns the git model on.

The plan quotes that output under Branching, lists which stage holds each role (design, build, integrate, release) under Process, and says that the method’s gates are on. Approving the plan applies it. What each role then asks for is in The method by stage role.

Start with agile unless your team already has a process of its own. Not sure which process to pick? Choosing a guide lists every process and its guides, and Processes compares them and their gates.

Starting work: a definition you approve

Ask for what you need, in your own words:

A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there.

Claude reads the charter and the code, then asks only what it can’t work out, a few questions at a time:

Which goal does this serve?   ● G-1 A customer can pay for a basket on their own   ○ a new goal
Who is it for?                ● returning shoppers   ○ guests too   ○ other…

The definition it writes is the item’s brief: a one-line statement, the goals it serves, the six dimensions, EARS requirements each naming its test, and the stage it starts in. It goes only as far as the first stage asks, unless you ask for the whole definition up front.

Choices are yours. Anything you’d recognise as a decision (a business rule, a retention period, a limit, what’s in or out of scope) is asked before the definition is written, with Claude’s recommendation first. Anything Claude still had to choose is listed in the brief under “Choices I made”, so your approval is informed. If one request spans several stages, the brief says which ones it covers.

Claude writes the definition to the board, shows you its brief in a few lines, and says it is waiting for your approval on the Review page, with the link. Nothing is recorded as approved until you approve it there.

Deciding: on the Review and Releases pages

When decisions are waiting, the session start mentions them. Claude says in one message how many there are, which, and the address of the page where they wait. It doesn’t list them as questions. If you ask it to explain one, it does, and sends you back to the page.

You decideWhere
Approve a definition, or ratify work done under a recorded overrideReview page
Sign off a stage (for example release)Review page
Accept or reject a proposed design decisionReview page
Withdraw an approval or a sign-offthe item’s page
Promote or cut a release, and confirm each stage after the tagReleases page
Change ittell Claude what to change: it revises the definition, and the item comes back to the queue

Checks that need a push are marked to be checked after it; Claude records them once CI has run; anything still unchecked at the cut waits for you to accept it, and the notes say so. An override Claude makes past a gate waits on the Review page for you to ratify, and the item doesn’t ship until you do.

Claude may run kanbanr release promote <V> --plan, kanbanr sprint close and kanbanr release plan, which record no verdict. If a verdict was ever recorded that you did not give, Claude says so at once and asks you to withdraw it on the item’s page.

Where decisions are taken, and delegating them

Each project chooses where its decisions are taken. In monitor mode, the default, every decision is yours, on the Review and Releases pages, as above. In delegated mode you still decide there, and Claude may also take the decisions you have delegated to it, for a time.

To delegate, tell Claude what it may decide, for example: “you can sign off the design review of small defects for the next two weeks”. Claude proposes a delegation: which verdicts (approve, ratify, or a named sign-off), for which items, kinds of item, milestone or stages, and until when (two weeks unless you say otherwise, three months at most). A proposal does nothing until you grant it: it waits in the Decisions here panel at the top of the Review page, where you grant it or discard it, and where you switch the project to delegated mode. Only you can grant one, change the mode, or review what was decided; kanbanr refuses Claude all three.

When you set a project up, Claude proposes the delegations its process usually wants, and the setup plan shows them under Decisions: for most processes, the design review of defects and chores, and the docs fold-in of every item; for TOGAF, only the docs fold-in, so Business Architecture and System Design stay yours; for design control, none. Each covers the stage an item is in when that sign-off is asked: a sign-off named for a stage, such as the fold-in “at Migration”, is the one for the move into it, so it is taken in the stage before. Only forward moves are delegated: when an item has moved back to an earlier stage, Claude asks you before deciding or changing anything for it, even if a delegation would cover it. You grant them on the Review page after setup, or don’t.

Auto mode. If Claude Code runs in auto mode, its safety check can stop a delegated command such as kanbanr signoff … --under DLG-001 before kanbanr sees it, because the check cannot know you granted the delegation. When you grant a delegation in delegated mode, kanbanr offers the one allow rule that lets the command through, on the Review page and after kanbanr decisions grant. Say yes when Claude asks, or run kanbanr claude permissions --write yourself: it adds Bash(kanbanr signoff:*) (one rule per delegated verb) to the project’s .claude/settings.local.json, which is this machine’s and is never committed. Without the rule, Claude prepares the decision for your click instead. kanbanr’s own guard is unchanged, so a rule left behind lets nothing through once the delegation ends.

When Claude takes a decision under a delegation, it tells you which one and under which delegation, and the decision is recorded as delegated, by Claude, naming the delegation. It comes back on the Review page under Delegated decisions to review: Keep it, or Undo it, which withdraws it with a reason that names the delegation. Until you do, a release holding the item shows it as a warning beside its promote button and in kanbanr release promote --plan; it never blocks the release. A delegation can’t cover a release, a withdrawal, a design decision (ADR) or the decisions settings themselves, and only the Claude you are talking to acts under one, never a sub-agent it briefs. Revoke a delegation on the same panel at any time; switching back to monitor mode suspends them all.

Outside a delegation nothing changes: a verdict run inside a Claude session is refused by kanbanr itself, not only by its hook. This keeps Claude to what you delegated through kanbanr’s own commands and hooks, and makes any departure visible; it is not a security boundary against a program running as you.

Plan mode

Claude uses plan mode for the setup interview and for designing or changing your process. It never uses it for a routine move or a new item, and never while a sub-agent is running, because entering it pauses the agent.

While agents build, Claude tells you only what changed: a task landed, a failure, a stall, a decision waiting. It sends nothing for a report that repeats one it gave. Rework goes on the item’s todo-list before anyone starts it, and kanbanr refuses a build scope for an item with no open task.

Moving work: just ask

Park FEAT-074, we’re not doing it this quarter.

Put FEAT-150 back to Planned.

Claude runs kanbanr move. If a stage’s gate refuses, Claude says what the stage still needs and offers to work through it, using the table below. To run a command yourself without leaving Claude Code, start the line with !:

! kanbanr move FEAT-074 Deferred

Sub-agents and agent scopes

When Claude splits work across sub-agents, a design agent to draft, build agents in their own git worktrees to write the code, each agent’s limits are not left to its brief. Claude issues each one a scope first, and kanbanr enforces it (FEAT-214):

kanbanr scope issue build FEAT-214            # --for 8h by default, 72h at most; --note "T1–T4"

The command records the scope on the board (who issued it, the item, what it allows, the item’s branch, when it expires) and prints the boundary table Claude pastes at the top of the agent’s brief. The agent starts in its own worktree (isolation: worktree), and its first command is the one the brief names, kanbanr scope claim SC-007. The claim binds the scope to that worktree, on the board and in a pointer file in the worktree’s own git directory, and switches a build agent to its item’s branch.

From then on, in that worktree:

A build scopeA design scope
Board writesits own item’s task states and test evidence; a batch only of thosenone
Commitson its item’s branch, each naming its itemnone
Pushingnever: kanbanr sync, git push and the board’s push policy are all refusednever
identity, hooks, migrate, serve --allow-writes, start, finish, …refusedrefused

A refusal names the scope and the boundary it crossed:

refused by agent scope SC-007 (build, FEAT-214): `move feature FEAT-214` is not one of its
operations. Under this scope you may: `kanbanr task state FEAT-214 …`, `kanbanr test FEAT-214 …`,
commits on feat/FEAT-214-agent-scopes naming FEAT-214. Report what you needed to the coordinator; do
not work around it.

A worktree under .claude/worktrees/ whose name starts with agent-, the name Claude Code gives an agent’s, is refused every write and commit while no scope is bound to it. A worktree you or the coordinator make there for your own work, such as one to resolve a merge, takes any other name and commits under the ordinary hooks; once a scope is bound to a worktree, it holds whatever the worktree is called. When the agent finishes its item’s last task, the item stays where it is: Claude moves it. Every write and commit an agent makes is recorded as you, by the agent for its item: on the activity entry and the event, and as an Agent-Scope: trailer on the board commit and the code commit.

Claude keeps an eye on the agents’ branches: kanbanr scope drift names a build agent’s commits that are newer than its item’s last task change, and so do the Stop hook, session start and kanbanr git doctor. A merge that catches the branch up with its sprint, a release or main, and what it brings in, is not drift. When the agent’s work has been reviewed, Claude revokes its scope (kanbanr scope revoke SC-007 --reason done); kanbanr scope list shows the ones in force, and kanbanr scope renew SC-007 --for 4h extends one. Your own checkout is never scoped.

A scope binds the agent it was issued to, never whoever stands in its folder. The three hooks (the Bash guard, the Write guard and test capture) tell a sub-agent’s calls, which carry an agent_id, from Claude’s own, and a command run in your own terminal is not an agent’s at all. So a scope never governs you or Claude’s session, and a revoke stops the agent on its next tool call and frees every other shell at once. Issuing a scope therefore needs those hooks: kanbanr hooks install. Claude stays in the project folder and looks inside an agent’s worktree with git -C <path>, make -C <path> or npm --prefix <path>; a cd into one is refused, with the way out named.

Scopes guard against mistakes and casual crossings, not a hostile process: the agent runs as you, with your file permissions. A script that leaves the worktree, a commit with its hooks switched off inside a script, or a hand edit to the board’s scopes.yaml is not stopped, though every scoped write carries its agent and a trailer, so an unattributed change stands out in the history. A board that holds scopes is governed wherever it is, so setting TMPDIR does not make it look like a test board; only a board in the temporary directory that holds no scopes is exempt.

Why it asks what it asks

Claude asks the board, kanbanr check <CODE> --json, what each possible next stage still lacks. The answer comes from your workflow’s gates: the stage’s purpose, the failing checks, the warnings, and the sign-offs needed. Each kind of check becomes one kind of action, the same in every workflow:

CheckWhat Claude does
definitiondrafts the definition into the plan
statementdrafts the one-line statement into the plan
goalsproposes the goal it serves, from your charter; asks if it isn’t clear
goals_knownasks about a goal the charter doesn’t have, or offers to add it
zachmandrafts the dimensions the stage names (what, how, where, when, who, why); asks what it can’t infer
requirementsdrafts EARS requirements into the plan
earsrewrites a requirement into EARS form
qualitydrafts the quality scenario, and asks for the target (for example “300 ms at p95”)
tests_namednames a test for each requirement
spec_sectionsdrafts each named section of the spec into the definition; for Design, the build-ready design and its implementation task list
docs_updatedfolds the item’s design into each doc in affects_docs before the move, and says which docs it changed
diagrams_validfixes each Mermaid diagram the lint names, in the spec or a doc in affects_docs, then runs kanbanr doctor to confirm none is left
docs_coveradds a link to the item in each view doc a coverage rule names (the Zachman matrix, the catalog), then moves; it never asks you
smallproposes splitting the item
approvedyour approval on the Review page; Claude says it is waiting and links to it
bypassyour ratification on the Review page
signoffa “Sign off name” question
estimateda question: how big, in your project’s unit (points or days)
in_sprinta question: plan it into the running sprint, or start its sprint today?
in_releasea question: which planned release?
tests_greennever a question: evidence decides; Claude reports what isn’t green yet and makes it green

A warning goes into the plan as a choice: fix it, or go ahead with the warning on record. When more than one next stage is possible, Claude asks which. Each plan is headed with the stage’s own purpose from your configuration.

So if you edit your process (say, to ask when a feature happens at your business-architecture stage), Claude starts asking “When does this happen?” there, with nothing else to change.

A worked example: one feature through TOGAF

The TOGAF preset runs Vision → Business Arch → System Design → Implementation → Migration → Operations, and the definition grows phase by phase. The gate output below is what kanbanr prints.

Vision. A statement and the goal. You accept a short plan; Vision has no gate, so nothing needs approval yet.

Business Architecture. The board reports:

→ to move to Business Arch (Who it is for, what it must do, and why — the behaviour, as requirements.), still needed:
    no requirements · not approved · [MISSING: What] [MISSING: Who] [MISSING: Why]

Claude drafts who, what and why and the requirement (“WHEN a shopper returns within 7 days, THE SYSTEM SHALL restore their cart.”), asks what only you can decide (“any device, or only the same browser?”), and you approve the definition on the Review page. That’s approval 1.

System Design. Now only [MISSING: How] [MISSING: Where]. Claude proposes the design and checks it against the requirement you agreed: “server-side storage keyed by account satisfies R-1 across devices; browser storage would not”. It asks for a quality target. The definition grew, so the earlier approval stands, since text was only added, and the additions are reviewed at the next decision, the design review. Nothing to approve here. The gate’s warning (R-2 is a quality requirement with no scenario) is in the plan for you to fix or accept. The architecture decision is drafted as proposed for you to accept.

Implementation.

→ to move to Implementation (Build it, with a test named for every requirement.), still needed:
    R-1 has no test — it cannot be shown to be met
    R-2 has no test — it cannot be shown to be met

Claude names the tests and asks once: Approve / Change it / Skip. That’s approval 3. The branch is created here, so code starts only after the design was agreed.

Migration. No question: the move waits until the tests are green.

Operations. One question, “Sign off release?”, with the tests re-checked.

Your part, in all: a short plan, two design plans, and three one-click questions. Each approval covers more than the one before, and the item’s history keeps the trail. If you already know the design, ask for the whole definition up front: one plan and one approval then cover every stage where nothing changes.

For a whole project on TOGAF with sprints and releases, from setup to a shipped release, see TOGAF with Claude.

What it looked like in practice

The guides are checked on every release by walkthroughs that run themselves: kanbanr walkthrough run drives a Claude Code session through a guide’s runbook on a scratch project, takes each decision on the scratch board as the person would, and leaves you one batch of results to confirm with one click. See Walkthroughs that run themselves.

These are from the walkthroughs that tested this flow before it shipped, on a TOGAF project and on a project with its own process file:

  • One request, two stages. “Take saved carts to business architecture, then design it” produced one plan covering both stages. Accepting it approved the definition at each stage, and the item went Vision → Business Arch → System Design, through each gate in turn.
  • Choices asked first. Before the plan for named baskets, Claude asked about renaming, items no longer for sale, and deleting. The plan then listed what it had still chosen itself (“a named basket is a snapshot”) under Choices I made.
  • A drafted decision, asked at once. The design decision behind saved carts came up as Accept / Reject / Later, not as a command to type.
  • A review with Change it. Two items were waiting. Approve recorded the first. “Change it — no cap on named baskets” removed the cap. That put the definition back to text already approved, so the earlier approval counted again and nothing new was asked: approvals follow the content, not the edit history.
  • The process decides the questions. The project whose own process file asks when at its shaping stage was asked “when does this happen?” there. The TOGAF project, whose gates never ask it, was not, and left How and Where blank until its System Design stage asked for them.

Your own process, designed in the conversation

At setup, or whenever you say “let’s change our process”, Claude designs the process with you instead of asking for a file. It offers the processes your team already saved first. For a new one it starts from the closest built-in process. Then it asks one question per stage, what must be true before work enters it?, with only the checks kanbanr can enforce as choices; anything else becomes a named sign-off. The plan shows the result as a working agreement and a diagram, and accepting it saves the process (on the board for the team, or in your personal library) and applies it.

When a saved process changes, each project using it is told: at the start of the next session, Claude mentions it once and asks whether to update. It never updates on its own. See Processes.

In other workflows

The same conversation, with only as many decisions as each workflow asks for:

WorkflowYour decisions per itemGuide
default (Kanban)approval and design-review to start; docs-folded to complete. The move to Completed doesn’t ask for green tests, so ask Claude to record them firstDefault
scheduledapproval and design-review to schedule; docs-folded to complete. Completed doesn’t ask for green tests eitherScheduled
PDCAapproval and design-review at Do; docs-folded at Check; a review sign-off at ActPDCA
design controlapproval and design-review at Design; verification-review before Verification; docs-folded at Validation; validation to reach ReleasedDesign control
Scrumits size as a question at Ready (the Definition of Ready); approval, design-review and its sprint to start; green tests and docs-folded for Done; the release is yours to promote and cutScrum
agileapproval at Design; design-review at Develop; green tests and docs-folded at Review; the release is yours to promote and cutAgile
your own processwhatever its gates ask, as the table above

For the whole journey under one process, including its sprints and releases, see the Process guides.

Everyday use

Everyday use — just talk to Claude

Scoping work, deciding on it and moving it all happen in the conversation: see Working with Claude for the plans and questions, and why Claude asks what it asks.

You say to ClaudeWhat the skill runs
“Set up kanbanr for this project, states Backlog→Doing→Done, new features start in Backlog”kanbanr project init … --statuses Backlog,Doing,Done --default-state Backlog
“Add a Foundations milestone”kanbanr milestone add --name Foundations --code MS-001
“Track a feature for the login flow under MS-001 with a spec”kanbanr feature add --title "Login flow" --milestone MS-001 --spec "…"
“Log a defect: saving crashes”kanbanr feature add --title "Saving crashes" --milestone MS-001 --kind defect (with config codes set, --kind chooses the code’s prefix: DEF-001; a later kind change does not rename)
“Make defects read DEF and chores MNT”kanbanr config codes --set defect=DEF,bug=DEF,chore=MNT
“Start a todo-list for this session on FEAT-001”kanbanr todo add FEAT-001 --description "session 1" (→ TL-001)
“Add tasks to TL-001”kanbanr task add FEAT-001 TL-001 --text "…"
“Start task T2 in TL-001” / “T2 is done”kanbanr task state FEAT-001 TL-001 T2 InProgress / Completed
“Move the login feature to Scheduled”kanbanr move FEAT-001 Scheduled
“What’s on the board?”kanbanr board
“Save these API notes under design/api”kanbanr doc add design/api …

Every feature requires a milestone — create the milestone first.

How Claude uses kanbanr (the contract)

Say “start using kanbanr for this project” once. In a folder that isn’t tracked yet, Claude first runs a short setup interview in plan mode: the board, the charter and the workflow. Once you approve it, the setup runs. See the quickstart. After that, for the rest of the project you don’t have to say anything about kanbanr — Claude treats it as the single system of record:

  • Everything about the project’s activity lives in kanbanr — scope, specs, progress, task status, decisions, docs. The only thing kept outside it is your conversation transcript.
  • Docs live in kanbanr by default. Any document, whether you asked for it or Claude wrote it on its own (design notes, decisions, research, runbooks, plans, guides), is saved as a kanbanr doc (kanbanr doc add …), not as a file in your codebase. Claude writes a doc into the project folder only when you ask, e.g. when you want an mdBook/MkDocs site or README as a deliverable.
  • No ephemeral lists. Claude does not track project work in a throwaway session list; it creates persistent todo-lists on the feature items instead — so nothing is lost.
  • Resumable across sessions. At the start of a session Claude recovers state from kanbanr (kanbanr board) and continues exactly where things left off.
  • Updated before and after every task — it reflects what it’s about to do (todo-list item → In progress) and what it finished (→ Completed, spec/docs updated, status moved).
  • When moving a feature out of Deferred, Claude first reviews its spec for staleness.
  • Feature items are never deleted — to retire one it’s moved to a no-op state.
  • Completed is not released. On a project that works in releases, kanbanr feature show and the item’s page carry a Release line: released in a version, planned for one and not released yet, or in no release. Read it before saying an item has shipped.
  • For several changes at once, Claude sends one bundled kanbanr batch call (new/edited feature items, status moves, new todo-lists + items, task-state updates, doc changes).

The method: why work exists

The method: why work exists, and what proves it done

Everything above tracks what is being built. This section is about why — the part a board normally loses. You rarely write any of it by hand: Claude drafts it in a plan and asks what it cannot infer — see Working with Claude. It is opt-in: a project with no charter isn’t refused anything, though a move a gate would have stopped says what was missing and that kanbanr charter set turns the gates on. Items created before a charter was adopted are never reported against it.

The charter — what the project is for

kanbanr charter show
kanbanr charter set --file charter.yaml     # purpose, vision, goals, non-goals, stakeholders

Goals carry ids (G-1, G-2) that work items link. A goal with no work behind it is a stated intention nobody is delivering, and the Charter tab shows that; so is an item that serves no goal.

Defining an item — the bar, and it is the same for everything

kanbanr feature define FEAT-001 --template --kind defect   # a skeleton shaped to the kind
kanbanr feature define FEAT-001 --file def.yaml            # write it
kanbanr check FEAT-001                                     # what it has not said, and cannot show

A definition states the item in one sentence, links a goal, answers the six interrogatives — what, how, where, when, who, why — (what / how / where / when / who / why) in a line each, and carries requirements in EARS form with the tests that will prove them. Quality requirements additionally carry an ISO/IEC 25010 characteristic and a measured scenario whose measure names the test that checks it.

What varies by kind is only the shape of a requirement: a feature asserts new behaviour, a defect names the requirement it violates, a chore asserts an invariant (“shall continue to …”). The bar does not move. Leave what you do not know blank — kanbanr doctor reports a blank; it cannot report an invented answer.

Agreement before work

kanbanr review FEAT-001      # the one-screen decision brief — read this BEFORE building
kanbanr review --pending     # every item waiting, in one pass
kanbanr review --ui          # read and approve in the browser instead (see below)
kanbanr approve FEAT-001     # records agreement, pinned to the definition's content
kanbanr start FEAT-001       # refuses without a current approval

Approval is pinned to a hash of each part of the definition, so changing or removing approved text afterwards lapses the approval rather than silently keeping it. Adding to the definition keeps the approval, and the additions are reviewed at the next decision. The escape is explicit and recorded: kanbanr start FEAT-001 --override "why you are going ahead anyway" (--unapproved still works), which stays on the item and is reported by doctor until it is reviewed.

Reviewing in the browser. Reading a page of markdown in a terminal is a poor way to decide anything, so kanbanr review --ui starts the monitor with writes enabled and opens the review queue: one collapsible card per item, with the approve button inside the brief it belongs to. The ordinary kanbanr serve monitor stays read-only and says so rather than offering a button that would fail.

The queue holds only items where agreement can still change something — not work that is finished, and not a status parked off the board. Approving merged work records a signature that changes nothing, and a gate that asks for those gets rubber-stamped, which is the failure it exists to prevent.

The one exception is work finished under a recorded bypass and never agreed to. That is still a question for a person, so it heads the queue with a Ratify button instead of Approve. Ratifying agrees to the work after the fact and is recorded as its own verdict, never passed off as prior approval. It’s the same list doctor reports, and kanbanr ratify <CODE> does the same from the terminal.

A verdict names who gave it. --by defaults to the board’s commit identity, and the monitor uses the same one, so a verdict reads identically whichever surface recorded it. A verdict with no named approver is refused rather than attributed to nobody — set an identity once with kanbanr identity --name "You" --email you@example.com. An approval that cannot say who agreed is not evidence of agreement.

Taking one back.

kanbanr unapprove FEAT-001 --reason "the requirements changed after the walkthrough"

The agreement goes and the item returns to the queue, start gate and all; the record of having given it stays, because an approval given and later withdrawn says more than none ever having existed. A reason is required — an agreement needs no explanation, taking one back does. The monitor offers the same action on the item’s page, collecting the reason in the page. Both verdicts emit an event (ApprovalRecorded, ApprovalWithdrawn) and appear in the activity log.

Evidence, not intentions

kanbanr test FEAT-001 R-1 cart::retains green    # normally you never run this by hand
kanbanr tests [--write]                          # tracked tests that no longer exist in the repo

A PostToolUse hook reads the output of every test run you make and flips the tracked tests to match, stamped with the project revision it saw. Name a test exactly as your runner prints it (cart::retains_for_seven_days, src/cart.test.ts) or the run cannot find it. The hook reads cargo, Vitest (--reporter=verbose: src/App.test.tsx > title shows the basket item count, the duration dropped), pytest (-v: tests/test_x.py::test_y), unittest (-v: tests.test_x.XTests.test_y) and Playwright (--reporter=list: e2e/basket.spec.ts › kept basket › basket is kept, or the titles alone; project, location and duration dropped). Vitest’s default reporter and Playwright’s line and dot reporters print no per-test pass line, so a run under them records nothing. When a test run prints nothing capture can read, the hook tells Claude so and names these forms. Claude settles each test’s name in that form, and its kind, before it asks you to approve the definition, because renaming or re-kinding an approved test lapses the approval. A test you name keeps the kind and the wording you gave. A walkthrough: test is only for what a kanbanr run can see on the board, the monitor or the remote; your product’s own pages and behaviour are proved by your project’s own tests. A name reported more than once in a run is green only if every line passed. A green recorded at an older revision is reported as stale evidence, not as proof; re-running the suite refreshes it. Mark a check a person performs as kind: manual — it is exempt from the rot sweep, so use it only when a person really did it. kanbanr check names each manual test that is not yet green, as manual test not run: R-4: <name> (open_manual in --json). It is a note, not a gap: readiness and the exit status do not change, but an unrun check is seen before you call the item done.

A manual test that is not green also waits on the monitor’s Review page, under Manual checks, with its requirement and the check to make. The person who did the check clicks Passed or Failed there; the board keeps who, when, from where and any note. kanbanr test still records it from the person’s own terminal. Claude cannot record one, because the result says a person checked: if you tell Claude the result, it prepares the record and you confirm it on the page.

The method by stage role

kanbanr carries one way of working for every process: a build-ready design before code, architecture docs kept as built, live links, a git model that follows your cadence, and releases that move through stages. It is the same under the default kanban, Scrum, TOGAF, PDCA or a process of your own, because it is tied to the role a stage holds, not to what the stage is called (Stage roles). Claude follows it from the skill; you don’t need to copy it into a personal or project instruction file, and a copy would drift from the tool.

Roles first. kanbanr process show <name> prints the working agreement with each stage’s role, and kanbanr process checks lists the roles and the checks a gate can ask for. kanbanr config method says which parts of the method your project has on (The method, on by default). A part you turn off is no longer asked for, but it is still good practice, and Claude never turns one off or on for you.

For a kind with its own path. A process can leave method parts off for a kind: the built-in processes give chores a lighter path with no design and no design-review, so a chore isn’t asked for a Design section or a design review. It is still asked for every other part, for the approval, and for every sign-off the stage it enters requires (A lighter path for a kind).

At the design role. The item’s spec gets a ## Design written at implementation level (The design stage), ending with an implementation task list that a cheaper model can build one task at a time. The Design ends with Affects docs, links to the board docs the change touches, mirrored into the definition’s affects_docs. Every reference is a live link (Tying code to the reason for it). Decisions are drafted as proposed ADRs and put to you at once, and a question the design leaves open comes to you, never to a subagent. Leaving the role, the build stage asks for the Design and your design-review sign-off. That sign-off covers the whole spec as it was when you gave it: if the spec changes afterwards, the item returns to the Review page showing only what changed.

At the build role. kanbanr start <CODE> makes the item branch. With the git model on, it branches from the line of integration kanbanr git model names, not always from main. Commits go through kanbanr commit, which names the item. Subagents take one task at a time from the item’s todo-list. Nobody commits on main or on a line of integration (the hooks refuse), and kanbanr never pushes.

Sub-agents: what each may do. When Claude hands work to a sub-agent, each role has fixed boundaries, kanbanr enforces them, and Claude puts them in the agent’s brief word for word:

A build agent (one item, in its own worktree)A design agent
Read the board and the codeeverythingeverything
Its item’s recordkanbanr task state as each task starts and lands; kanbanr test evidence for tests it actually ran greennothing
Everything else on the boardrefused: moves, approvals, sign-offs, definitions, specs, docs, other items, config; a batch only of these opsrefused
Codecommits only on its item’s branch, each naming the itemno edits, no commits
Remotenever: no git push, no kanbanr syncnever
Testson a temporary board: a folder under the system temporary directory that holds no scope, named by a literal path or $TMPDIR/…; never a real board—

To walk a process through, an agent runs kanbanr --data-dir $TMPDIR/walk init … and then the same --data-dir (or KANBANR_DATA_DIR) on each command.

Before starting each sub-agent, Claude issues it a scope with one command, kanbanr scope issue <design|build> <CODE>, starts the agent in its own worktree (design agents too), and pastes the brief the command prints at the top of the agent’s brief. The agent’s first command claims the scope; from then on every board write, commit and push from its worktree that the scope does not allow is refused, naming the boundary it crossed. See Agent scopes.

Claude, as the coordinator, keeps the board current as the agents work, never waiting for their reports, and takes back every question and every piece of work outside the brief. Verdicts, moves and pushes stay with Claude and you; when the agent’s work has been reviewed, Claude revokes its scope.

At the integrate role. Before the move, the Design is folded into each doc in affects_docs, describing it as built (the docs_updated check), and you sign off docs-folded. With the git model on, the move merges the item branch into its line (--no-ff, naming the item). If the merge would conflict, the move is refused and the item stays where it was: the line is merged into the item branch, the conflict resolved there, and the move tried again; nothing is rebased. kanbanr git doctor names any disagreement between the board and the branches.

At the release role. kanbanr release promote <V> [stage] moves a release through its stages (Release stages): by default the first makes release/<V>, and the last, production, is the cut, where kanbanr fast-forwards main to it and tags the version. Stages can act on their own (Stages that act): the release prepares itself (version, changelog, notes) on entering a stage, main moves at a stage of its own, and the cut tags main only once main is pushed. A release prepares itself, so no item is made to prepare it. kanbanr release promote <V> --plan says what the next stage does and still needs; after each promotion kanbanr says what is next. A release with nothing planned into it is never promoted. A patch is kanbanr release add <V> --patch-of <P> (Patch releases), and a fix made on a release branch reaches the line when Claude runs kanbanr git forward <V>, as soon as kanbanr says so; you push. With sprints and no releases, kanbanr sprint close <SP> is the cut.

Carry-over. kanbanr sprint close <SP> --carry-to <next> carries unfinished items and keeps their branches. kanbanr merges the next sprint’s branch into each carried item’s branch; a conflict is reported for that item and its branch is left as it was.

Who merges, who pushes. kanbanr git model --sprints on|off --releases on|off shows the model for a cadence before you choose it (setup runs it for you), and kanbanr git model the one your project follows:

CadenceItems branch from and merge intoProduction moves atkanbanr merges (with the git model on)
neither (trunk)mainthe integrate mergeeach item branch into main
sprints onlysprint/<SP>the sprint closeitem branches into sprint/<SP>; sprint/<SP> into main at the close; the sprint into carried items
releases onlyintegrationthe release stage with move_main (by default the last)item branches into integration; release/<V> into main at its move_main stage (by default the last); tagged at the cut, after main is pushed if the stage requires pushed
sprints and releasessprint/<SP>the release stage with move_main (by default the last)item branches into sprint/<SP>; release/<V> into main at its move_main stage (by default the last); tagged at the cut, after main is pushed if the stage requires pushed; the sprint into carried items

kanbanr commits only its release-preparation commit on release/<V>.

With the git model off, kanbanr merges nothing and the model is only a description (The git model). You push your code repository, in every row: neither kanbanr nor Claude ever does. The board’s own remote is a different repository, which kanbanr syncs after each write as its push policy says (kanbanr remote push-policy).

Each milestone ends with an architecture compliance review: every component has a doc that describes it as built, and the views are current (Living architecture docs).

On Zachman and TOGAF

kanbanr borrows from both without adopting either, and it is worth being precise about which half.

Zachman: the columns, not the rows. The six dimensions an item answers — what, how, where, when, who, why — are Zachman’s six interrogatives, and kanbanr trace <CODE> --zachman reports which of them nothing in scope addresses. Zachman’s rows — the perspective layers from Executive down to Technician — are not modelled. There is a layer on an ADR (conceptual / logical / physical) which gestures at the same idea, but it is three values on a decision record, not the framework’s six perspectives. So: a completeness checklist taken from Zachman, not an implementation of the Zachman Framework, and nothing here obliges you to think in one.

TOGAF: a preset, and nothing else. kanbanr config workflow --preset togaf gives a board whose columns are the phases, Vision → Business Arch → System Design → Implementation → Migration → Operations, with forward and backward transitions, because rework is normal. The phase is the status; there is no second field to keep in step with it. Its gates grow the definition phase by phase: Business Arch asks who, what and why; System Design asks how and where; Implementation asks for a named test per requirement and makes the branch.

It is opt-in because a phase model is a real commitment. TOGAF is one preset among several (PDCA, a design-control flow, or your organisation’s own), and a project that never asks for one never sees it. See Processes.

Neither is recommended. The bar kanbanr actually holds you to is the one above: state why, link a goal, carry requirements, show evidence. The two frameworks supply a vocabulary for the why and an optional shape for the when, and a project that uses neither passes every check.

Evidence and measurement

Measuring what happened

kanbanr report --since 14d        # throughput, cycle time, rework, escape rate, coverage
kanbanr retro MS-006 --write      # a wave's account, written to a document
kanbanr retro --due               # finished waves whose retro is unwritten
kanbanr defect FEAT-042 --introduced-by FEAT-031 --found-in production --severity high
kanbanr lessons [--for FEAT-001]  # what this project learned, most believed first
kanbanr lesson add "…" --kind pitfall --from FEAT-043 --evidence "what actually happened"
kanbanr lesson affirm L-1 | kanbanr lesson contradict L-1 --note "…"

Every number is derived from what the board recorded — status history, defect records, test states — and anything that cannot be derived is absent rather than estimated. Whether a defect escaped is not asked, it is derived: it escaped if the work that introduced it had already been called done. Lessons lose confidence with age unless something reaffirms them, and one that falls below the threshold retires: kept as a record, no longer surfaced.

Tests

  • make test — Rust unit tests + the Docker-less integration tests: the real CLI writes a local data dir, and kanbanr serve serves it read-only over a port.
  • make itest — builds the Docker image and runs the Docker smoke test (the image boots and serves the read-only view, no auth).

Tying code to the reason for it

Tying code to the reason for it

kanbanr start FEAT-001                       # branches feat/FEAT-001-<slug>, moves the item
kanbanr commit -m "feat(x): …" --ref R-2     # fills in Refs: kanbanr:FEAT-001/R-2
kanbanr finish                               # refuses while tasks are open or requirements unproven
kanbanr git install-hooks                    # commit-msg + pre-commit checks in your repo
kanbanr trace G-2 | FEAT-001 | FEAT-001/R-2  # down the chain, ending in the gaps
kanbanr trace architecture/data.md          # a doc: what it names, and what links to it
kanbanr trace MS-006 --zachman               # which of the six columns nothing addresses
kanbanr why src/cart.rs:42                   # up: annotation or trailer → requirement → goal
kanbanr adr new "…" --affects FEAT-001 --driven-by FEAT-001/R-2 --quality Reliability
kanbanr adr list [--for FEAT-001] | adr supersede ADR-0007 --replaces ADR-0003 | adr history ADR-0007
kanbanr adr accept ADR-0007 | adr reject ADR-0007 --reason "…"   # the user's verdict

On a line not committed yet, why says so and names the item its branch belongs to, or says the branch names none. An annotation on the code still comes first. kanbanr why --json gives the same answer as data.

One item, one branch, and every commit says what it serves. The hooks refuse a commit on the default branch, a branch that names no item, and a message with no reference — and they let through merges, reverts, spike/* branches, and a recorded escape ([no-ref] <why> in the message, which leaves the reason in git history forever). Setup’s own first commit in a repository that already has history is let through on the default branch too: only .kanbanr, CLAUDE.md and .gitignore, with [no-ref] <why>, and only until the marker is committed. So is a refresh of the generated block in CLAUDE.md, such as after the charter is agreed: only CLAUDE.md, changed only between the kanbanr markers, with [no-ref] <why>. If kanbanr is not on PATH the hooks step aside rather than making the repository uncommittable for someone who never installed it.

Commits made by an agent

A commit made under an agent scope (FEAT-214) carries a second trailer beside Refs:, naming the scope it was made under:

Refs: kanbanr:FEAT-214/R-5
Agent-Scope: SC-007 (build, by the agent for FEAT-214)

The commit-msg hook adds it, and so does kanbanr commit; a message naming another scope is refused. Board commits made under a scope carry the same trailer, and their activity entries and events record the agent, so who did what stays traceable after the agent is gone.

Lines of integration

With the git model on (Processes), the hooks also guard the branches work integrates into: main, the integration branch, sprint/* and release/*. A plain commit there is refused — work belongs on an item branch — and a merge into one must carry a Refs: trailer naming what it brings, because a line is where “which items reached it” is read from. A defect’s fix/<CODE>-… branch names its item as feat/ does. The merges kanbanr itself makes (integrating an item, catching up a carried one, forwarding a release) carry those trailers, so a line’s history says which items reached it.

Drift between board and branches

kanbanr git doctor compares the board with the code repository’s branches, in the git model’s terms, and changes nothing:

Finding
an integrated item whose branch is not merged into its lineerror
commits on a line serving only items that are not integrated. With no integrate stage in the workflow, an item past its build stage counts as possibly integrated, so its commits aren’t reportederror
a commit naming an item the board does not haveerror
a branch naming no item, or an item, sprint or release the board does not havewarning
a release branch with fixes its line lacks (kanbanr git forward <VERSION>)warning
a finished item’s merged branch (delete it), or a parked item’s branchwarning

It exits 1 when it finds an error. With the git model on, kanbanr doctor includes the same findings when run from the project folder. In the trunk topology, main’s last 200 commits are read.

A spec or a doc that names FEAT-012, FEAT-012/R-2, MS-004, ADR-0005, G-1 or a doc path (architecture/data.md) is linked to it. The monitor turns each into a link to its page, and kanbanr trace follows them both ways: an item lists the docs that name it and what its own spec links to; a doc can be traced on its own. kanbanr why adds Documented in to its answer.

Write references as links where you mean them to be followed:

ReferenceLink
an item[FEAT-012](/p/<project>/feature/FEAT-012), a requirement …/feature/FEAT-012#R-2
a milestone/p/<project>/milestone/MS-004
a goal/p/<project>/charter#G-1
an ADR or a doc/p/<project>/docs/file/<path>

A code is a reference only when its prefix is one this board uses — one its codes configure (kanbanr config codes: DEF, MNT …, or FEAT when none are set) or one an existing item already has — so UTF-8, ISO-9001, SHA-256 and RFC-3339 are left alone; code spans, code blocks and HTML comments are never read. kanbanr doctor reports a reference to something the board does not have — an error for a link, which is meant to be followed, and a warning for a code named in prose. The monitor strikes the same ones through.

Architecture decisions stay documents with front-matter that joins them to the graph: they have no estimate, branch or tests, so counting them as work items would distort the flow metrics. Deciding is still work — it is a task on the item that needed the decision, and the ADR is its output.

A decision starts proposed and is accepted or rejected by its owner — never by Claude — on the Review page (beside the definitions waiting for approval) or with kanbanr adr accept / adr reject --reason. Accepting is refused while a section is unanswered; a rejection keeps its reason. The verdict, the decider and the date are written on the decision, and the verdict appears in the project’s activity like every other change.

Living architecture docs

Living architecture docs

A design written into an item’s spec explains one change. Six months later, nobody reads a hundred specs to learn how the system works. They read the architecture docs, and those are only worth reading if every change that touched them updated them. kanbanr makes that a checked step.

The architecture repository

Keep it in the board’s docs (kanbanr doc add …), beside the decisions:

architecture/
  overview.md          # the views: context, containers, how data flows
  components/
    store.md           # one doc per component, describing it as built
    monitor.md
  zachman.md           # which of the six columns the docs cover
decisions/             # ADRs (kanbanr adr new …)

A component doc’s front matter says what it covers, so a stale one can be found:

---
items: [FEAT-012, FEAT-046]   # the work that shaped it
adrs: [ADR-0005]
covers: [What, How, Where]
---

Naming the docs a change affects

At the design stage, the spec’s Design ends with Affects docs: links to each doc the change touches (Tying code to the reason for it has the link forms). The same list goes into the definition, where it can be checked:

affects_docs: [architecture/components/store.md, architecture/overview.md]

Paths are board doc paths; .md is added when missing, and a path outside the doc tree is refused. Naming the docs does not reopen the item’s approval: it is part of the design, written after the definition was agreed. kanbanr feature show and the item’s page in the monitor list them as links, and kanbanr doctor reports one the board does not have.

Checking they were updated

A gate can ask for it:

gates:
  Completed:
    requires: [tests_green, docs_updated]

docs_updated passes when every doc in affects_docs has changed since the item entered its current stage. “Changed” is read from the board’s git history: the doc now, against the doc in the last board commit before the item entered the stage. A change written but not yet committed counts. An item that names no docs passes, since not every change touches the architecture; kanbanr doctor points it out when the next stage asks for docs_updated, so a missing list is seen rather than waved through.

docs_updated also reads the board docs a Design links under its Affects docs heading, as /p/<project>/docs/file/<path>. Each must have changed since the item entered its stage, and one that is not on the board is an error. A doc the Design only reads is marked on its list line with the word unchanged (or not changed) and needs no change. An item with no Affects docs links is judged by affects_docs alone.

After the move, doctor re-judges the gate over the same window the move used, from when the item entered the stage it moved from, so a doc folded just before the move is not reported.

Coverage rules: keeping the views whole

docs_updated checks the docs an item names. The views that span every item — a Zachman matrix, an ADR index, the component catalog — are rarely named, so they fall behind unnoticed: every item’s own docs current, and the matrix missing two dozen of them. A coverage rule says what a view must reference, and kanbanr checks it whenever the board changes.

Rules live in the project’s config, because they name this project’s docs. Write them in a file and set them:

coverage:
  - id: zachman                       # lower-case letters, digits, hyphens; unique
    description: the Zachman matrix lists every designed item
    every: item                       # item (the default) | adr | doc
    from: "@design"                   # this stage or later: a status, or "@<role>"
    # in: [Implementation, Review]    # or exactly these stages
    # kinds: [feature]                # only these kinds (no kind = feature)
    referenced_from: architecture/zachman.md
  - id: adr-index
    every: adr                        # accepted ADRs; superseded and rejected ones are not
    referenced_from: architecture/    # a folder: any doc under it will do
  - id: catalog
    every: doc
    under: architecture/components/   # the docs that must be listed
    referenced_from: architecture/catalog.md
  - id: views-listed
    in: [Implementation]
    lists: architecture/zachman.md    # instead of referenced_from: the item names it in affects_docs
    except: [FEAT-001]                # grandfathered out
kanbanr config coverage --from-file coverage.yaml   # set (refused, naming the rule, if invalid)
kanbanr config coverage                             # each rule: uncovered/subjects, and its source
kanbanr config coverage --clear                     # remove them
  • What counts as a reference is what the board’s link finder finds: a live link, a relative link (components/store.md from architecture/catalog.md), or a board-shaped token in prose (FEAT-012, ADR-0005). A requirement reference (FEAT-012/R-3) covers its item. A name in a code span or block does not count. A doc’s own file is never its own source.
  • “S or later” is every status at or after S in the workflow’s order, no-op statuses left out. Naming S as @design makes one rule work in every process. in: lists exact statuses, and may name a no-op. With neither, every status that is not a no-op counts. An exempt item is never a subject.
  • When they are checked. After adding, editing, defining or moving an item, accepting an ADR, writing or deleting a doc, closing a sprint, and cutting or promoting a release. The command prints what the rules now lack, on stderr (coverage: [zachman] FEAT-012 is not referenced from architecture/zachman.md — add a link to it there); --json carries them as coverage_warnings. Each such write also records a coverage_gap event, which an opted-in webhook receives. A sprint close or a release lists every uncovered rule. kanbanr doctor lists them all, at any time.
  • Nothing configured, nothing changes. With no rules, no doc is read for coverage and no output changes.

Asking for it at a gate. docs_cover refuses a move while the item fails a rule, judged as if it were already in the stage it is entering — an item moving into Design is held to the rule that starts at Design. Narrow it to some rules with {docs_cover: [zachman, catalog]}; a rule id the project does not configure is an error.

gates:
  Completed:
    requires: [tests_green, {docs_cover: [zachman, catalog]}]

Default docs per stage. A gate can name the docs every item entering its stage must list. The move adds them to the item’s affects_docs, without reopening its approval, so the views are part of every fold-in and docs_updated checks them:

gates:
  "@design": { affects_docs: [architecture/zachman.md] }

An item with no definition is moved, with a warning that the docs were not recorded. Default docs travel with the process; coverage rules stay with the project.

A batch judges its gates with the docs as they were when it started, and writes its doc operations after its moves. Write the view doc in an earlier command, then run the batch that moves the item.

Before a release, and at each milestone

Before an item is released, fold its Design into the component docs and views it named; the gate makes sure that happened. At the end of each milestone, review the architecture as a whole: every component has a doc that describes it as built, every doc’s items and adrs are current, and the Zachman coverage has no column nothing answers (kanbanr trace MS-… --zachman). Run kanbanr doctor before merging a sprint or cutting a release: it lists every coverage rule a view still fails.

A view is exact at a position

kanbanr view docs draws the docs at a position: a commit and a hash of the uncommitted changes. The answer says which position it reflects and whether it is exact, and an exact answer has an ID that repeats whenever the position, the board commit and the question repeat. So an ID you saw last week names the same picture today, and a different ID means something moved. A view that could not be read consistently (a file changed under it) has no ID and a warning.

Two things to know. A submodule’s own state does not move the position (a committed change to the submodule’s pointer does). And a checkout whose line endings git converts on checkout (core.autocrlf, .gitattributes eol=crlf) reads as clean, as git status and katalogr read it, so a view there is exact at the commit too.

Drift as work lands

A doc can name --since or a route that an item then changed, and stay as it was. kanbanr finds these when the work lands, rather than when someone notices. It reads the names an item put in the code, from the diff of the commits whose Refs: trailer names it: long flags, commands, routes, KANBANR_ variables, settings, stage, check and status names, and files. Documentation files add no names. It then looks at the texts linked to the item: the docs in its affects_docs, the docs whose front matter lists it under items or refs, the ADRs whose affects names it, the docs and items that link it, and the items its spec links. A text is flagged when it holds one of those names as a whole token when the commit that changed the name was made. A config key, check, stage or status name counts only inside a code span, and a command only on a line that says kanbanr.

A flag says which text names which changed name. It never says the text is wrong, so read it and decide:

  • Claude settles each flagged text before docs-folded is offered: it reads the text against the change, then records that it is still right, with why, or that a correction is filed (kanbanr prepare text). The record names who settled it and the revision it checked. A new commit that names the text again, or a later edit to the text, puts it back among those left. The Review page lists the texts left, with the names found and their lines, and says Claude settles them; the sign-off appears once none is left, and the page shows what Claude checked under “Checked by Claude”. The sign-off keeps those records. kanbanr check lists the texts left under “Texts to settle”.
  • An edit never settles a flag. A flagged text that is edited stays flagged until Claude’s check covers the edit, and the Review page shows the edit, with its diff, as “Edited while flagged”, so the person signing docs-folded sees a text that changed while it was flagged. The board does not record who made an edit, so every edit to the text is shown. Claude is also refused an edit to another item’s approved specification: to change one, the person unapproves that item first (the Review page), and the edit goes back through review.
  • When an item is merged, the flagged texts are listed on stderr.
  • kanbanr drift lists them for the board, grouped by text, for the items with commits since --since (default: the latest shipped release’s tag date, else 60 days back). A date means from the start of that day, UTC, so the result does not depend on the hour you run it. --json adds when it was generated, so two runs can be compared.

Without the code repository the check is skipped, the Review page says so, and the sign-off is offered as before. A skipped check is never read as “no drift”.

When docs-folded is offered

The docs-folded sign-off says the documents are folded into the record, so it is offered only once there is something to confirm. An item’s documents are built when all three hold:

  1. every board doc it names in affects_docs, or links under Affects docs as a page of this board’s docs (/p/<project>/docs/file/<path>), has changed since it entered its stage;
  2. every repository doc its Design lists under Affects docs, written as a path in backticks, has changed on its branch against the line it merges into (guides, reference pages, SECURITY.md, the changelog);
  3. every task is complete. A task that names a listed document, a path under docs/, or CHANGELOG.md, SECURITY.md or README.md is said to write docs.

An item that names no documents at all is offered the sign-off once it has tasks and all are complete, and the Review page says the item changes no documents, so the sign-off confirms that.

Until then the Review page does not list the sign-off, the sign-off request is refused naming what is unbuilt, and kanbanr check prints Documents not built yet: with each document and why. If the code repository cannot be read, because none is attached or the item has no branch in it, the sign-off is held and the reason is said. A sign-off given before this check existed stays recorded and counted.

A docs-folded sign-off given with the code repository records the tip of each of the item’s branches. A commit on any of them after the sign-off lapses it: the Review page asks for it again, saying which branch moved on, and a move into the stage that asks for it is refused until it is signed again. Fold the docs first, and commit nothing to the branch after asking for the sign-off. A sign-off recorded without branch tips, by an older kanbanr or without the repository, is not judged by its branches.

Sharing and the live monitor

Sharing & the live monitor

Sharing/centralization is the git remote’s job — whoever can pull/push the data repo is in:

kanbanr remote add origin git@github.com:org/board.git   # SSH (agent or ~/.ssh key) or HTTPS
kanbanr sync                                             # push now

How often the board is pushed is a setting of the board on this machine, kept in its own git config — never pushed, never forced on anyone else who clones the code (FEAT-142):

kanbanr remote push-policy                # show it, where it came from, and how far ahead the board is
kanbanr remote push-policy debounce:10    # the default: push once 10 commits ahead
kanbanr remote push-policy auto           # push after every change
kanbanr remote push-policy off            # only `kanbanr sync` pushes

KANBANR_PUSH=… overrides the setting for one command. kanbanr doctor warns when the board is further ahead of its remote than its policy allows.

Conflicts & not losing data

kanbanr is safe by construction: every change is committed to your local data repo before any remote sync, so a remote problem can never lose your work. If a push can’t go through (the remote moved on, or a real merge conflict), kanbanr does not auto-resolve — it prints a warning with the exact commands and leaves it to you:

kanbanr: remote 'origin': could not push (…). Your change is committed locally, so nothing is
lost. To sync, resolve in the data folder with normal git:
    git -C <data-dir> pull --no-rebase origin <branch>
    git -C <data-dir> push origin <branch>

Because the data folder is a plain git repository, you resolve exactly as you always do — git pull, fix conflicts (e.g. git mergetool), commit the merge, git push. Then keep using kanbanr normally. (Tip: for shared data, treat it like code — pull before a work session.)

The monitor is a separate, read-only view of your local folder — localhost, no login:

kanbanr serve                       # built into the binary: no --ui-dir, no Node
kanbanr open                        # opens http://localhost:8080 — just the board

Expose it beyond localhost only behind a reverse proxy you control.

Exposing the monitor beyond localhost

kanbanr serve binds 127.0.0.1 and has no auth or TLS by design — it’s a local, read-only window onto your own files. To reach it from another machine, don’t change the bind; instead put a reverse proxy in front that terminates TLS and adds authentication, proxying to the unchanged 127.0.0.1:8080. (kanbanr deliberately ships none of this — sharing is otherwise the git remote’s job; see the architecture overview.) Name the proxy’s host in KANBANR_ALLOWED_HOSTS. To take decisions through the proxy as well, name the origin the browser sees in KANBANR_ALLOWED_ORIGINS; see below. Two minimal working examples:

Caddy (automatic HTTPS + basic auth) — Caddyfile:

board.example.com {
    basic_auth {
        # generate the hash with: caddy hash-password
        you $2a$14$REPLACE_WITH_BCRYPT_HASH
    }
    reverse_proxy 127.0.0.1:8080
}

nginx (TLS + basic auth) — server block:

# create the password file: htpasswd -c /etc/nginx/.htpasswd you
server {
    listen 443 ssl;
    server_name board.example.com;

    ssl_certificate     /etc/ssl/certs/board.example.com.crt;
    ssl_certificate_key /etc/ssl/private/board.example.com.key;

    location / {
        auth_basic           "kanbanr monitor";
        auth_basic_user_file /etc/nginx/.htpasswd;

        proxy_pass http://127.0.0.1:8080;
        proxy_http_version 1.1;
        # SSE: stream live updates without buffering or timing out
        proxy_set_header Connection "";
        proxy_buffering off;
        proxy_read_timeout 1h;
    }
}

The proxy enforces who gets in and encrypts the connection. The monitor answers only for the loopback names (localhost, 127.0.0.1, [::1], on any port, so a port published by Docker works), the address it is bound to and the hosts named in the KANBANR_ALLOWED_HOSTS variable, so name the proxy’s host there, as a comma-separated list of name[:port] (for example KANBANR_ALLOWED_HOSTS=board.example.com kanbanr serve). A request for any other host gets a 403 that says so. A monitor started without --allow-writes stays read-only, so an authenticated viewer can’t mutate your board through it.

A monitor started with --allow-writes, or through kanbanr review --ui, takes writes only from its own page, or from an origin you name (below). At each start it makes a new random token and puts it in the page it serves; a write needs that token, and when the browser sends an Origin it must be the monitor’s own. It sends no cross-origin headers, so no other page open in your browser can read the board through it or record a decision. A script that posted to a write route without the token is refused, with a message that says why.

Writes on an address other machines can reach. A monitor with writes on refuses to start when its bind is not 127.0.0.1, [::1] or localhost, because it gives its token to any page it serves, so anyone who can open the page can record an approval, a sign-off or a release. The message names the address and the two ways to accept it: pass --allow-remote-writes to kanbanr serve, or set KANBANR_ALLOW_REMOTE_WRITES=1. kanbanr review --ui has no flag, so it needs the variable if KANBANR_BIND is reachable. A monitor without --allow-writes starts on any address, as before.

Writes through a TLS proxy. Bind the monitor to loopback, proxy to it, and name where the browser’s writes come from. The monitor accepts a write when its Origin is its own http:// host or one named in KANBANR_ALLOWED_ORIGINS (comma-separated, scheme and host and optional port, such as https://board.example.com); it never infers an origin from X-Forwarded-Proto or any other header. Naming a host in KANBANR_ALLOWED_HOSTS does not name an origin:

KANBANR_ALLOWED_HOSTS=board.example.com \
KANBANR_ALLOWED_ORIGINS=https://board.example.com \
  kanbanr serve --allow-writes

The proxy goes to the loopback bind, so no --allow-remote-writes is needed. nginx’s default proxy_pass sends Host: 127.0.0.1:8080, which the monitor already answers for; Caddy’s reverse_proxy passes the original host, which needs KANBANR_ALLOWED_HOSTS. The proxy must authenticate, because the token proves a write came from the monitor’s page, not who the person is. In a container, pass the same settings with -e KANBANR_ALLOWED_ORIGINS=https://board.example.com (or environment: in compose).

Hosting the monitor elsewhere

Each release attaches the monitor as a plain static bundle, kanbanr-monitor-<tag>.tar.gz. It is the same build the binary embeds, so collaborators and reviewers can view a board from any static web host without installing kanbanr. Hosting it takes three steps:

  1. Unpack the archive into a folder your host serves. It holds index.html, config.json and assets/, all with relative paths, so any folder works, not only the site root.

  2. Edit config.json to point at a monitor’s read API:

    {
      "apiBase": "https://board.example.com/api",
      "routing": "hash",
      "readOnly": true
    }
    
    • apiBase is where kanbanr serve answers /api. The shipped value is http://localhost:8080/api.
    • routing: "hash" gives addresses like #/p/<project>/feature/<CODE>, which a plain static host serves with no rewrite rule. Use "browser" only if your host answers every path with index.html.
    • readOnly: true hides every decision (approve, ratify, sign off, withdraw, accept or reject a decision) and shows the CLI command instead. The bundle never calls a write route. Decisions happen in Claude Code, or in a local monitor started with --allow-writes.
  3. Serve the folder, for example with python3 -m http.server or any static host.

The bundle contains no secrets. The daemon it reads stays the access boundary:

  • it is read-only unless started with --allow-writes;
  • it binds to localhost by default;
  • it sends no cross-origin headers, so a bundle served from another origin cannot read it. Anyone who can reach the daemon with an accepted host can read the board.

To publish a board, put the daemon behind a reverse proxy with TLS and authentication, as above, and serve the bundle and the API from the same origin, with "apiBase": "/api". Name the proxy’s host in KANBANR_ALLOWED_HOSTS.

The monitor the binary serves reads the same config.json, with the defaults: /api, browser routing, and decisions offered when the daemon allows writes.

Mirroring to GitHub issues

If collaborators follow your GitHub issues, kanbanr can keep issues in step with the board using the GitHub CLI (gh). It works one way: kanbanr is the source of truth, and issues follow it.

gh auth login                                  # once
kanbanr mirror enable --repo acme/shop         # public repos also need --allow-public
kanbanr mirror sync --all                      # optional: issues for existing open features

After that, every kanbanr change updates GitHub:

In kanbanrOn GitHub
New featureNew issue (title, spec, todo-lists as checklists, labels)
Title / spec / labels / tasks changeIssue updated
Moved to CompletedIssue closed as completed
Moved to a no-op state (e.g. Out-of-Scope)Issue closed as not planned
  • Only features whose issue would actually change call GitHub. If GitHub can’t be reached, the change is still saved in kanbanr and a warning is printed; kanbanr mirror sync catches up. KANBANR_MIRROR=off pauses the automatic sync for a session.
  • Features imported from GitHub issues stay linked to them, so nothing is duplicated. kanbanr mirror link FEAT-012 45 links an existing issue by hand; its content is replaced by kanbanr’s on the next sync.
  • Edits and comments made on GitHub aren’t pulled back automatically. kanbanr mirror pull FEAT-012 shows whether the issue was edited since the last sync, its current content, and new comments, so you (or Claude) can bring what matters into kanbanr first.
  • kanbanr mirror status shows what a sync would do without calling GitHub; kanbanr mirror disable turns the mirror off and keeps the links.

The mirror refuses a public repository unless you pass --allow-public, because specs, task lists and notes become visible to anyone.

The monitor (read-only) — navigation

flowchart TD
  Home["Home — one tile per project (Dashboard + per-status + Docs links)"]
  Board["Board — a column per displayed status"]
  Status["Status page — features in that status, with their OPEN todo-lists"]
  Feature["Feature page — Specification + todo-list tiles (newest first) + export"]
  Ms["Milestones — list, newest first"]
  MsOne["Milestone — its dependencies + its feature items as tiles"]
  Sched["Schedule — milestones grouped by feature status (derived)"]
  Docs["Documentation — folders as tiles, files as links"]
  Home --> Board --> Status --> Feature
  Board --> Feature
  Board --> Ms --> MsOne --> Feature
  Board --> Sched --> MsOne
  Home --> Docs
  • Home tile: project name + description, an Open dashboard link, a link per status (with counts), and a Documentation link.
  • Board: one column per state in displayed_states; click a card → that feature’s page. A card names the one stage the item reaches next, with the same count kanbanr check gives for it, sign-offs included: “Migration needs 6, 1 yours” means six things stand between the item and Migration and one of them is yours (a sign-off or approval); the rest are Claude’s. “Waiting on you: docs-folded” appears only when nothing but your part remains. The card says nothing about stages the item could skip to.
  • Review: texts to check. Under an item’s docs-folded sign-off, the page lists the docs and items that name something the item changed and have not changed since, and says Claude settles them. You fill in nothing: the sign-off appears once none is left, and “Checked by Claude” lists what Claude confirmed or corrected, with why.
  • Review: a lapsed docs-folded. When the item’s branch gets a commit after its docs-folded sign-off, the page asks for the sign-off again and says why: “The earlier docs-folded sign-off lapsed: feat/… has commits after sign-off ‘docs-folded’ was given.”
  • Status page: features in one status, grouped by feature, each showing only its open todo-lists (those not fully completed), newest first, with their tasks.
  • Feature page (an epic): the Specification (rendered markdown) and a tile per todo-list (newest first), each tile holding that list’s tasks, plus markdown/JSON export. Add a new todo-list per work session — they persist, so multi-session work is never lost. On a project that works in releases, a chip beside the status says which release shipped the item (“Released in v0.4.0”), which it is planned for and not released yet, or that it is in none. Completed is not released: only that chip says an item has shipped.
  • Milestone page: the milestones it depends on, plus its feature items as tiles.
  • Schedule: a derived view — for each displayed status, the milestones that contain feature items in that status, dependency-ordered. Nothing to create; it always reflects reality.
  • Documentation: drill from root folders (tiles) into sub-folders and files (any depth); files render as markdown.

Everything is view-only and refreshes live (a green dot shows the live connection). A light/dark theme toggle sits in the top bar (it remembers your choice and follows your OS preference by default), and the layout is responsive (usable on a phone) with keyboard-focus and reduced-motion accessibility niceties.

What the monitor shows

The board — kanbanr’s own, as it is developed — and, in dark mode:

An item: why it exists, the goals it serves, its requirements and the tests that proved them, its todo-lists and its history. When agents work on it (FEAT-214), an Agents section after the todo-lists shows a banner for each scope in force: the agent’s role and scope, its branch, who issued it and when, the time left, and how many of its commits are ahead of the item’s tasks; and below it the item’s scope history, expired and revoked scopes included, with the revoke reason. An activity line made by an agent reads you, by the agent for FEAT-214 (SC-007), on the item page and on the board.

In every spec, doc and charter, a reference to the board — FEAT-012, FEAT-012/R-2, MS-004, ADR-0005, G-1, architecture/data.md — is a link to its page, underlined dotted so it reads differently from a link out of the board. One that points at nothing the board has is struck through; kanbanr doctor lists the same ones. A requirement link lands on that requirement.

An override Claude made past a gate waits on the Review page to be ratified, even on an item you approved: the entry shows each one as “Moved Test → Review on 2026-11-12 by Claude, past its gate: …” above Ratify. Until you ratify it, the item does not ship. Each override waits on its own: one Claude made after you ratified an earlier one, at the same definition, is listed again, and ratifying records a new ratification. When Approve or Ratify is disabled, the sentence under it says what is missing and who provides it (the diagram check running, a diagram to fix, or a page to reload).

The Review page also lists a finished item whose approval lapsed or that gained text since you approved it, labelled with its status, after all the live decisions. The work is done, but the definition changed after you approved it: approving again covers what it says now.

Where text was added to an approved definition, or changed or removed, the brief shows those parts first, marked added or changed, and collapses the approved text that is unchanged. Adding keeps the approval and waits for the next decision; changing or removing approved text lapses it. A finished item that was never approved isn’t listed.

Before you approve, the Review page parses every Mermaid diagram the item’s brief covers — its spec and each doc in its affects_docs — with Pele, the library that draws them (FEAT-200). Each one that does not parse is listed under Diagrams with its file, diagram number and line, and a link to the source; Approve (or Ratify) stays disabled until all of them parse, and while the check is still running. Fix the spec and the button comes back on the next live refresh. In a doc, a diagram that does not draw keeps its source on the page, with the error and its line under it.

Review — approve, ratify, sign offCharter — purpose, goals, lessonsWorkflow — stages and their gates
Milestones, newest first, and their dependenciesA milestone and its itemsSchedule — derived, never stored
Gantt with the critical pathA status, groupedOngoing — work that never completes
Docs — a folder tree per projectEmbedded imagesLive Mermaid diagrams

With sprints and releases switched on (Processes), the board opens on the running sprint, and Releases and the Gantt show the cadence. Its Sprint filter also offers All items and Unscheduled, the items not yet in any sprint:

A sprint — goal, days left, burndownReleases — scope, progress, notesGantt with sprints and releases

The Workflow page

The Workflow page shows, in one place, how work moves from an item branch to a tagged release and every guard rail that refuses a step on the way (FEAT-213). Its sections, top to bottom:

  • Process and the diagram: the saved process the workflow came from, and the workflow drawn with its gates as notes.
  • Stages: what entering each stage asks for: conditions, sign-offs, warnings, roles.
  • Cadence, only when sprints or releases are on: the sprint length and the running sprint with its dates (linked to the board, which opens on it); how often a release is cut, the release stages in order with the last marked the cut, and each unshipped release at its stage (linked to Releases).
  • Git model: the topology, main, the line of integration and where item branches start, where production moves, item branch names, the protected branches that take merges only, what kanbanr merges and when, and that pushing the code is yours. Whether automation is on, and the command that switches it. When kanbanr git doctor finds problems, a warning box gives their count and the first few.
  • Guard rails: the method’s parts (config method); the commit rules (only on an item branch, a Refs: trailer naming the item, never on a protected branch) and whether the hooks are installed; diagram linting and strictness (config diagrams); each coverage rule and how many subjects it leaves uncovered (config coverage); the board’s push policy (remote push-policy), and that kanbanr never pushes code; and Agent scopes (FEAT-214): what a design and a build scope allow, every scope in force across items (kanbanr scope revoke), and whether the pre-push hook is installed.

Every line shows its state and the CLI command that changes it. The page changes nothing itself.

The git model and git doctor read the code repository. Start kanbanr serve in the project folder and the page shows the branches it found there. A monitor started anywhere else shows the model from the cadence alone, without git doctor, and says so. Whether the git hooks are installed is the CLI’s to read: the page shows it as not known and names kanbanr git status, which tells.

Which kanbanr the monitor runs

The header shows the kanbanr version and commit the monitor runs, for example v0.6.0 · 1138833 (FTR-036). Every write to the board records the newest kanbanr that wrote it in writer.yaml at the board’s root. When that writer is newer than the monitor, a warning under the header names both versions: decisions taken on that monitor follow older rules than the work was built for. Restart the monitor from the newer kanbanr before taking sign-offs. For two builds of the same version, the monitor compares commits in the project’s code repository; outside it, only a higher version warns. A board no stamping kanbanr has written shows no warning.

Release actions

With releases on, release decisions can be made from the monitor started with writes on (kanbanr review --ui). Each uses the same operation as its CLI command, so the board ends up the same whichever you use. A read-only monitor shows the command instead.

  • Which release? When an item’s next stage is the end (for example Migration → Operations in TOGAF), or a stage that asks for in_release, and the item is in no release, the Review page asks which planned release it belongs to. There is one button per planned release, plus New release…, which takes a version and a target date, adds the release, and plans the item into it. This is kanbanr release plan <VERSION> <CODE>, plus kanbanr release add for a new one. The question comes after any approval or sign-off the item is waiting on. Once the item is in a release, it leaves the queue.
  • Spec changed since sign-off. A sign-off whose gate asks for spec sections, such as design-review, covers the whole spec as it was when you gave it. If the spec changes later, the item returns to the Review page showing only the changed lines, with the whole spec on request, and you sign again. The item’s page marks the sign-off “changed since sign-off”.
  • Promote. Each release on the Releases page shows its stage, with the stage history on hover, and one button named for its next step — Promote to <next stage>, or Cut <VERSION> for the last — until it ships. This is kanbanr release promote <VERSION>. Beside the button, the page says what the step will do (“fast-forwards main to release/v0.3.0”, “tags abc1234 …”); for the cut, it shows the commit it tags, what ships and what carries over, so one click cuts. A candidate whose release-prepare configuration changed since it was prepared also offers Promote to candidate again, named for what it redoes (kanbanr release promote <VERSION> candidate); it is shown only while entering candidate again would change something. There is no second confirmation: the stage’s conditions keep it safe. Until the plan is ready the button is disabled and the page lists what is missing with its fix (“push main (git push origin main), then wait for CI”), with Check again to read the plan once more. A release with nothing planned into it shows no button, only how to plan into it. The steps act on the code repository, and the monitor uses the repository it was started in. Started anywhere else, it says “the monitor was not started in the project folder” and names the CLI command. A read-only monitor shows the command and the plan, never the button.
  • Shipping untested work. When the cut’s one missing condition is that some shipping requirements have tests not run, the release card lists them (FEAT-005/R-2, …) with one checkbox, “Ship these unverified; the notes will name them”. Ticking it enables Cut, which sends exactly that list; if the list changed since the page read it, the cut is refused and you look again. The notes on the board gain a “Not verified in this release” section. This is kanbanr release promote <VERSION> --accept-untested ….
  • Tagged, waiting for the tag workflow. When the tag stage is the last and a gate judges the tag, the cut leaves the release “tagged, not released yet”. Its card keeps the tag’s panel and a button, “Waiting for the tag workflow”, that stays off until a passed result is recorded for the tag’s commit. Confirming Claude’s prepared result (or recording it with Record result) ships the release. A failed result keeps it tagged and the panel offers the patch release. This is kanbanr gate record <gate> --passed --commit <tag>, or kanbanr release promote <VERSION>.
  • Release notes. A release with a branch has a Release notes section, collapsed until opened, showing the notes as they are on release/<V> — headed “draft on release/v0.3.0 @ 8f995e1”, or “as shipped on …” after the cut. Until the cut, Edit notes opens the text; Save commits it onto the branch, nothing checked out, and shows the new commit; Cancel discards it. This is kanbanr release notes <VERSION> --edit. The notes are read from the repository the monitor was started in; a read-only monitor shows them with the command instead. Under the notes the panel shows the version’s section of the changelog (“Changelog section (CHANGELOG.md)”), read-only; when there is none it says so. Ask Claude to change it (kanbanr release notes <VERSION> --changelog FILE). They are read from the path they were written to, so changing the notes path later leaves earlier releases’ notes in place; a shipped release’s are read at its tag. When none are found, the message lists every path and ref looked at.

Manual checks

A manual test that is not yet green waits on the Review page, under Manual checks: the item, the requirement and its text, the check to make, and its state (“not run”, or “failed” with who failed it and when). Do the check, then click Passed or Failed. Add a note opens an optional note; nothing has to be typed. The click records the result as you, the same record kanbanr test makes in your own terminal. Claude is refused a manual result, since it says a person checked; if you tell Claude the result, it prepares the record filled in and you confirm it here. A failed check is recorded as failed and no defect is filed for you: ask Claude to file one. A read-only monitor shows the kanbanr test command instead.

Prepared by Claude

When Claude already has the evidence for a decision, it prepares the record instead of asking you to fill in a form (FTR-034): a sign-off’s note and the doc it covered, the reason for a ratification, what was checked before a stage after the tag, or a CI result with its run’s link. The Review or Releases page shows it filled in beside the decision’s one button, headed “Prepared by Claude on 12 Nov 2026 from CI run 4512, release tip 9f078bd”, with each source as a link: a board doc or item opens here, a web link opens in a new tab, and a commit is shown as its hash.

  • The button confirms it as it stands. The verdict is made as you, through the same route the form or the command uses, with the same checks: a definition, spec or release branch that moved since the page was shown is refused, and nothing is recorded.
  • Edit turns the fields you may change into inputs, filled in with what Claude prepared; the same button then confirms your version.
  • Reject takes an optional reason and records that you turned it down. Nothing else changes; ask Claude to prepare it again.

Both parts are kept as files under the project’s prepared/ folder: what Claude prepared, with its sources, and your answer, with each field you changed. Neither is rewritten. A record whose decision was taken some other way, or whose item or release moved on, shows why and has no button; a newer one for the same decision replaces it. A read-only monitor shows the record and the command that takes the same decision in your own terminal. Claude can prepare a record but can never confirm or reject one.

Decisions here

The top of the Review page says where this project’s decisions are taken (FTR-028):

  • The mode, monitor or delegated, with Change. After a change the panel lists what is waiting and where it is taken now: here, or by Claude under a delegation that covers it.
  • Delegations. A proposal from Claude is shown like a prepared record, with what it covers and until when: Grant grants it exactly as shown (if it changed since the page loaded, the grant is refused), Reject discards it. A granted one shows its end and Revoke, which needs a reason. A delegation whose grant kanbanr did not write (the file was edited by hand, or changed outside a commit) is marked “not granted through kanbanr”, and nothing is taken under it. In delegated mode a granted one also says whether the Claude Code allow rule auto mode needs is in place (“auto mode: allowed”), or names the missing rule and the command that adds it, kanbanr claude permissions --write.
  • Delegated decisions to review: what Claude decided under a delegation, on which item, under which delegation and when, with Keep and Undo and an optional reason. Undo withdraws the approval or sign-off.

A read-only monitor shows the same panel with the command that does each thing in your own terminal instead of the buttons.

Across several projects (Portfolio):

The sprint, release and portfolio views come from the demo boards make screenshots builds (tools/demo/cadence.sh, tools/demo/portfolio.sh), because kanbanr’s own board is one project without sprints.

Configuring the workflow

Configuring the workflow (via the CLI/skill)

kanbanr config show
kanbanr config set-transition Planned Scheduled --allow      # or --deny
kanbanr config displayed-states Planned,Scheduled,Completed  # which states the dashboard shows
kanbanr config default-state Planned                         # status assigned to new features
kanbanr config no-op-states "No Action,Not Applicable,Out-of-Scope"   # inert dispositions

# Reset / redefine the WHOLE workflow at once (instead of many set-transition calls):
kanbanr config workflow --statuses Backlog,Doing,Done,Dropped --transitions "Backlog>Doing,Doing>Done" \
                        --default-state Backlog --displayed-states Backlog,Doing,Done --no-op-states Dropped
kanbanr config workflow --defaults                           # restore the built-in default workflow

For a brand-new project, kanbanr project init … --statuses … --default-state … --displayed-states … --no-op-states … sets everything at creation. config workflow resets/redefines it on an existing project.

A feature can only move along an allowed transition; kanbanr rejects anything else. When all of a feature’s tasks are Completed it auto-advances to a “Completed” status if that move is allowed.

No-op states are statuses flagged as functionally inert dispositions (new projects ship with No Action, Not Applicable, Out-of-Scope). They are always non-displayed on the board, and a feature parked in one does not auto-complete. Move a feature into one with kanbanr move FEAT-001 "Out-of-Scope". Non-displayed states (incl. no-op) still have status-page links on the home tiles and the dashboard.

Releases and the workflow

Merging an item into a release that is past its first stage and not yet cut sends the release back to that stage, whatever the item’s own workflow. The release then follows its steps again; see A change merged into a promoted release.

A release does not read as shipped before the workflow its tag started has passed. When the tag stage is the last one and a commit gate judges the tag, the cut tags the release and leaves it “tagged, not released yet”; its items stay where they are. Recording a passed result for the tag’s commit (a gate result recorded after the tag was made) ships it, as the person who recorded it, and writes the release notes. A failed result keeps it tagged and the Releases page and kanbanr release promote --plan name the patch release as the way on; a re-run that passes ships it. A project with no commit gate has nothing to wait for and ships at the tag as before, and a stage after the tag still confirms the release as it did.

Permanence & deletion

  • Feature items can’t be deleted — they’re the project’s work. To retire one, move it to a no-op state, don’t delete it.
  • A milestone is removable only when no feature references it.
  • A project is deletable (kanbanr project delete <name>) only when it has no features and no milestones — so any project with real work is locked from deletion.

Processes: presets, gates and sign-offs

A project’s workflow is its process: the statuses work moves through, which moves are allowed, and what each status asks of an item before the item may enter it. kanbanr knows how to check things. The project decides which checks apply where. None of it is hard-coded: TOGAF, PDCA, a design-control flow or your organisation’s own process is a file.

In Claude Code you never read this table to know what to do next: Claude asks the board what the next stage needs and turns each gap into a draft or a question — see Working with Claude.

Choosing a process

Start with agile unless your team already has a process of its own; TOGAF, Scrum and the others stay available for projects that need their stages (see the report).

kanbanr config workflow --preset list          # what each preset is
kanbanr config workflow --preset togaf         # apply one (statuses, transitions and gates)
kanbanr config workflow --export > ours.yaml   # this project's workflow, as a file
kanbanr config workflow --from-file ours.yaml  # load your own
kanbanr project init shop --workflow pdca      # choose at creation
PresetStagesGates
defaultPlanned → In Progress → Completed, plus Deferred and Ongoingthe built-in rule, plus the method
scheduledPlanned → Scheduled → Completedthe built-in rule, plus the method
togafVision → Business Arch → System Design → Implementation → Migration → Operationsthe definition grows phase by phase; Migration finishes an item for the sprint views; chores skip Business Arch and System Design
pdcaPlan → Do → Check → Actagreement to start, evidence to check, a review sign-off to act
design-controlPlanning → Inputs → Design → Review → Verification → Validation → Releasedsign-offs before verification and before release; chores skip Inputs and Review
scrumBacklog → Ready → In Progress → Review → Testing → Done → ReleasedDefinition of Ready and of Done; work starts in the sprint; sprints, releases and points on; chores skip Review
agilePlan → Design → Develop → Test → Review → Releasedagreement before build, evidence before review; sprints and releases on; chores skip Design

Every built-in process also carries the method: a design before build, and the docs it changes kept current.

design-control is modelled on the design-and-development controls of ISO 9001 clause 8.3. That is not a claim of compliance: only a certification body can make that.

A preset is copied into the project when you choose it. From then on the project’s own config.yaml is what counts, and editing it never changes the preset. New projects get default. Existing boards keep whatever workflow they have.

The built-in rule. A workflow that declares no gates of its own still has one (a gate addressed to a role, such as the method’s, adds to it rather than replacing it): moving an item into a status that means work has started needs an approved definition. That is a status the board displays, that is not where items start, and that is neither an end state nor a no-op. start makes the branch at the first such status. And finishing an item’s last task completes it only when each of its requirements has a green test — what kanbanr finish asks — otherwise the item stays, and the task write says which requirements are unproven.

Gates

A gate is the entry criteria of one status:

gates:
  System Design:
    purpose: How and where it will be built, and the quality it must reach.
    requires: [{zachman: [how, where]}, approved]
    warns: [quality]
  Implementation:
    purpose: Build it, with a test named for every requirement.
    requires: [tests_named, approved]
    on_enter: [branch]
  Operations:
    requires: [tests_green]
    signoffs: [release]
FieldMeaning
purposeWhat the stage is for. kanbanr check, the monitor and CLAUDE.md show it, so the definition is written one stage at a time.
requiresChecks that must pass to enter.
warnsChecks that are reported, never enforced.
signoffsNamed sign-offs that must be recorded against the current definition.
enforceblock (the default) refuses the move; warn allows it and reports what is missing.
kindsApply only to items of these kinds; an item with no kind is a feature.
on_enterbranch: kanbanr start makes the item’s branch here, where the project is a git repository.
affects_docsDocs every item entering this stage must list in affects_docs; the move adds them, without reopening the approval (Coverage rules).
donetrue: reaching this stage finishes an item for the sprint burndown, the sprint’s done total and what a closing sprint carries over. Without it only the end statuses count. The scrum preset marks Done, its Definition of Done, so a sprint burns down as items are done rather than all at once when a release ships them.

The checks

The vocabulary is closed on purpose: a gate can only ask for what kanbanr can judge from the board.

CheckPasses when
definitionthe item has a definition at all
statementthe one-sentence statement is written
goalsit links at least one charter goal
zachmanall six dimensions are answered; {zachman: [what, why]} asks for only those
requirementsit has at least one requirement
earsevery requirement is in EARS form
tests_namedevery requirement names a test
tests_greenevery requirement has a green test
qualityquality requirements carry an ISO 25010 tag and a measured scenario that names its test
approvedthe definition is agreed: approved, or ratified after the fact
bypassa recorded override has been answered
goals_knownevery linked goal exists in the charter
smallnot estimated above three days
estimatedestimated in the project’s unit: story points or days (kanbanr config cadence --unit points)
in_sprintplanned into the active sprint, one that has started (asked only when sprints are on)
in_releaseplanned into a release (projects with releases switched on)
spec_sectionsthe spec has each named section, with content; plain spec_sections asks for Design
docs_updatedevery board doc the item declares in affects_docs, and every board doc linked under the Design’s Affects docs (except lines marked unchanged), has changed since it entered its current stage
diagrams_validevery Mermaid diagram in the spec and in each doc it names in affects_docs passes the diagram lint
docs_coverthe item is covered by every project coverage rule it falls under; {docs_cover: [id]} asks for only those rules

An unknown check, an unknown status or an unknown Zachman column is refused when the workflow is saved. A gate that could never match is a guardrail that silently isn’t there.

diagrams_valid is judged when the item moves, never from a cached result, so fixing the diagram unblocks the very next move. To keep a broken diagram from moving anywhere, ask for it on every gate:

gates:
  Scheduled:   {requires: [approved, diagrams_valid]}
  In Progress: {requires: [approved, diagrams_valid]}
  Completed:   {requires: [tests_green, diagrams_valid]}

A refused move names each diagram: FEAT-012 spec, diagram #1, line 14: … (semicolon_in_text). warns: [diagrams_valid] reports the same without refusing.

When a gate isn’t met

  • A blocking gate refuses the move and lists everything missing. On a project with no charter nothing is refused: the move goes through with one warning saying what the gate would have needed and that kanbanr charter set turns the gates on. A move the gate would have passed says nothing.
  • docs_cover names each rule the item fails and the view doc to add it to: [zachman] FEAT-012 is not referenced from architecture/zachman.md — add a link to it there. Add the link in that doc, then move again. A move that passes still prints any rule it now fails as a coverage: warning (Coverage rules).
  • --override "<reason>" gets past a blocking gate, and the reason is kept in the item’s history. It also records the item as started without agreement, so it shows on the Review page until someone ratifies it. --unapproved is the older name. An override a gate did not need is not recorded: if the gap closed while you were asked, the move goes through plain and gate: says so.
  • An override Claude makes (inside a Claude Code session, or by a delegated agent) records where it was made, and waits on the Review page for you to ratify it even when the item was approved before. Until you do, kanbanr check shows it as override not ratified and the item does not ship: Promote to main and the cut carry it, saying why. Your own overrides, from your terminal or the monitor, are your decision already and wait for nothing. Ratifying records each override on its own, even at a definition you already ratified.
  • Finishing the last task moves the item to its end status only if that status’s gate is met — and, on a workflow with no gates, only if every requirement has a green test. Otherwise it stays, and kanbanr task state says why. A batch is judged after its last operation, so one that ticks the last task and then adds another never completes the item. On a project with releases, an item planned into a release that has not been cut stays where it is, however its last task or sign-off arrives; the cut moves it to its end status. Moving it yourself needs an --override reason.

A lighter path for a kind

A process can give a work kind its own path: the stages an item of that kind passes through, what its first move asks, and the parts of the method that don’t apply to it. The built-in togaf, scrum, agile and design-control processes give chore one, so a small maintenance item isn’t forced through stages whose questions don’t fit it. default, scheduled and pdca are short already and have none.

paths:
  chore:                                   # an item's kind, matched without regard to case
    stages: [Vision, Implementation, Migration, Operations]
    requires: [statement, goals, requirements, ears]
    method_off: [design, design-review]    # parts of the method that don't apply to this kind
  • stages are statuses of the workflow, in its own order, at least two, none a no-op status or listed twice, the first the default state. An item of the kind moves to the next or previous stage on its path, to a no-op disposition, or back to the start, and is refused any other stage. The board’s columns don’t change.
  • requires are conditions asked, as well as the entered stage’s gate, of the first move off the starting stage. That is where a chore records why it exists and how it is verified.
  • method_off names method parts (design, design-review, docs, docs-folded, links) not asked of this kind. A path can drop a method part, never an approval or sign-off that the stage it enters asks for: those stay yours.

A kind with no path walks every stage with every gate, as before. A workflow whose path names an unknown stage, a no-op stage, a stage twice, stages out of order or a first stage other than the default state is refused when it is saved or checked. kanbanr process show lists each kind’s path, kanbanr process diff names a path that differs, and the monitor’s Workflow page shows them with the skipped stages struck through. A process file with a paths key needs this version of kanbanr: an older one doesn’t know the key, so check the file with kanbanr process check there.

Stage roles

Every process, whatever its stages are called, has four kinds of stage. A gate says which ones its status holds:

RoleWhat the stage is for
designthe item’s design is written and agreed: how and where, before build
buildcode is written on the item’s branch
integratethe item’s work joins its line of integration and the docs fold in
releasethe work ships, and the item is finished
gates:
  Implementation:
    requires: [tests_named, approved]
    roles: [build]          # the branch is made here
  "@build":                 # a gate addressed to a role, whichever status holds it
    signoffs: [design-review]
  • One holder per role. Each role belongs to one status; a status can hold several (the default process’s Completed integrates and releases). Saving a workflow that gives one role to two statuses is refused, and so is a release role on a status that isn’t an end.
  • Role-addressed gates. A gate keyed "@build" joins the gate of whichever status holds the build role. A rule written once then works in every process: kanbanr’s method and its git automation find their stage this way.
  • Every built-in process declares its roles. kanbanr process checks lists them, and the working agreement names each stage’s role.
  • Boards without roles get build where the branch is made and release at the first end status, marked “(inferred)”. Design and integrate are never guessed. Nothing behaves differently.
  • Older kanbanr versions: a workflow whose gates only name roles, or that addresses a gate to a role, is stamped schema 4, so an older kanbanr refuses the board rather than misread it.

The method, on by default

Every built-in process asks for the same two disciplines, at whichever stages hold the roles:

PartWhereWhat it asks
designthe build stagespec_sections: [Design]: the spec has its build-ready Design (below)
design-reviewthe build stagethe design-review sign-off: a person reviewed that design
docsthe integrate stagedocs_updated: each doc in affects_docs changed (Living architecture docs)
docs-foldedthe integrate stagethe docs-folded sign-off: the design was folded into those docs
linkseverywherekanbanr doctor reports references to things the board does not have

It is written as two role-addressed gates, "@build" and "@integrate", so you see it in your exported workflow and in the working agreement, and it adds to each stage’s own rules.

kanbanr config method                       # each part, on or off, and where it is in force
kanbanr config method --off                 # all of it off
kanbanr config method --off docs docs-folded   # just those parts
kanbanr config method --on design           # one part back

Turning a part off takes its gates out and records the choice: applying a built-in process, or kanbanr process update, keeps it off, and drift does not report it as an edit. Saved processes of your own are never added to; they are only shaped by the choice.

Projects from before the method keep their workflow as it is. kanbanr doctor asks once — “this project predates the method” — until you choose either way. A project that recorded a built-in process sees it reported as changed (kanbanr process diff), and kanbanr process update brings the method in.

Upgrading: every machine that shares a board should run a kanbanr that knows these gates (docs_updated and role-addressed gates); an older one refuses the board rather than misread it.

Sign-offs

Some conditions are invisible in board data: a design review was held, a release was approved. A sign-off records one:

kanbanr signoff FEAT-042 design-review --note "held 30 Sep" --doc reviews/checkout.md
  • What it records: who gave it, when, in which status, and the definition it covered.

  • When it lapses: changing the definition lapses it, just as it lapses an approval. A review of a different design is not a review of this one. Given on a definition that only grew since its approval, it also counts as the review of what was added. Earlier sign-offs are kept.

  • How it is asked for: a gate asks for it by name (signoffs: [design-review]). The Review page offers a Sign off button for each one the next stage is waiting on.

  • Where it can be given: the review queue offers a sign-off only for the stage the item reaches next, and only once that stage’s other requirements are met. A workflow that lets an item skip ahead doesn’t get the later stage’s sign-off offered early. A finished item is listed only when its approval lapsed or text was added since, and then only to approve again.

  • Who gives it: a sign-off is a person’s agreement. Claude asks for it and never gives it.

  • Taking it back: a sign-off given in error is withdrawn with a reason:

    kanbanr signoff FEAT-042 design-review --withdraw --reason "given before the review was held"
    

    The earlier sign-off stays on the record and stops counting, so the stage is gated again until someone signs off afresh. The item’s page in the monitor has a Withdraw button for each sign-off when the monitor can write.

Growing a definition stage by stage

Under a phased process, an item doesn’t need its whole definition at once. kanbanr check says what the next stage needs:

✗ FEAT-001 Checkout
    [MISSING: Who]
    …
    → to move to Business Arch (Who it is for, what it must do, and why), still needed:
        no goal link — nothing says what this is for
        [MISSING: Who]
        no requirements — nothing states what must be true for this to be done

doctor follows the same rule on a workflow with gates: it reports what the next stage asks, not what a later stage will. When the definition only grows, the approval stands: it is extended, and the additions are reviewed at the next decision the stage asks for, such as design-review. Changing or removing approved text lapses it and it is given again. Each approval records the status it was given in.

The design stage: a build-ready design in the spec

At a design stage, the item’s spec carries the technical design at implementation level, in a ## Design section. It covers:

  • components, modules and files;
  • public interfaces with signatures and responsibilities;
  • data model and formats, algorithms and control flow;
  • concurrency and failure handling;
  • configuration and defaults, and dependencies;
  • security and performance budgets;
  • a test plan that maps each requirement to its tests;
  • compatibility, ADR links and open questions.

The definition’s how and where lines summarise it. Every built-in process asks for both through the method. In a process of your own, write it as:

gates:
  Implementation:
    requires:
      - tests_named
      - approved
      - spec_sections: [Design]   # the spec has a non-empty "Design" heading, at any level
    signoffs: [design-review]

Write the section so a cheaper model can build from it. It ends with an implementation task list: each task names its files, signatures, behaviour, tests (with the requirement each serves) and the tasks it depends on, and leaves no decision open. The tasks go into the item’s todo-list, so a low-cost subagent can take them one at a time.

spec_sections passes when every named heading is in the spec with content under it. Content in a nested subsection counts, and a heading inside a code fence does not.

A worked example: PDCA

kanbanr config workflow --preset pdca
kanbanr feature add --title "Cut checkout errors" --milestone MS-001    # lands in Plan
kanbanr check FEAT-001                  # Do asks: statement, goals, requirements, tests named, approval
kanbanr feature define FEAT-001 --file cut-errors.yaml
kanbanr approve FEAT-001                # the user agrees to the plan
kanbanr start FEAT-001                  # Do: branch made here
# … make the change; tests go green …
kanbanr move FEAT-001 Check             # Check asks: tests green
kanbanr signoff FEAT-001 review         # the user records the review
kanbanr finish FEAT-001                 # Act: the end status, gated by the review sign-off

Sprints and releases

Sprints, releases and burn-rate reports are off unless a project switches them on. The scrum and agile presets do this, and any other project can too:

kanbanr config cadence --sprints on --releases on --unit points --sprint-length 14
kanbanr sprint add --start 2026-10-05 --goal "Shoppers can pay" --capacity 20
# or start today: kanbanr sprint add --start today --goal "…"   # or a date
kanbanr sprint plan SP-001 FEAT-001 FEAT-002    # warns when it goes over capacity
kanbanr sprint unplan FEAT-001                  # back to no sprint
kanbanr sprint start SP-001
kanbanr sprint list                             # every sprint and its state
kanbanr sprint show                             # goal, days left, committed vs done, burndown
kanbanr sprint close SP-001 --carry-to SP-002   # unfinished work moves on, and is recorded
kanbanr retro --sprint SP-001

kanbanr release add v0.1.0 --target 2026-10-18
kanbanr release plan v0.1.0 FEAT-001 FEAT-002
kanbanr release list                            # every release, its state and its stage
kanbanr release promote v0.1.0 --plan           # what the next stage would do and needs; changes nothing
kanbanr release promote v0.1.0                  # candidate: makes the branch release/v0.1.0
kanbanr release promote v0.1.0 staging          # a named stage; a middle one changes only the board
kanbanr release promote v0.1.0 test --reason "the payment check failed on staging"   # back a stage
kanbanr release promote v0.1.0 production       # the cut: ship, notes, fast-forward main, tag
kanbanr release stages                          # what each stage requires and does
kanbanr feature add --title "…" --milestone MS-001 --found-in v0.1.0   # feedback on a release

Work waits for a started sprint. On a project with sprints, the first move off the starting stage into a working stage (Business Arch in togaf, Design in agile, In Progress in default) asks for in_sprint: the item must be planned into a sprint whose first day is today or earlier. Processes that already ask for it, such as scrum, are left as they are. A sprint dated later reads as planned, not active, until its first day. kanbanr sprint start on one starts it today, moves its dates and keeps its length, and says so. kanbanr doctor names a sprint that an older version started early.

The burndown and velocity are derived from the moves items record; nothing is stored for them. An item counts as finished from the day it first reaches a stage marked done — Done, in scrum — or an end status.

On the board, a project that uses sprints opens on the running one — its goal, dates, days left, committed against done, and the burndown against the ideal line:

The Releases page shows each release’s scope, how much of it is finished, its target, and its notes once cut; the Gantt adds the sprints as a lane and the releases as milestones:

Release stages

A release moves through the environments it is deployed to before production. A project that turns releases on gets candidate → main → tag, with the gates described under Stages that act written into its config, where candidate waits for items_merged; a project that has said it has CI (kanbanr config cadence --has-ci on) also needs a passed ci result at tag. A board with releases on from before 0.6 that names no stages keeps candidate → test → staging → production, where test and staging do nothing. A project names its own with kanbanr config cadence --release-stages candidate,qa,uat,live. Each stage must appear once, and the stage that tags is the cut, by default the last.

A stage that has no condition, no earlier-stage requirement and no action, and comes before the cut, only records that the release passed it. kanbanr says so in the same response when you configure one, and marks it does nothing in kanbanr release stages and on the Releases page. The change is still accepted. Changing the stages of a project whose gates are still the three recommended ones drops those gates and takes the defaults for the new stages. Every move is recorded on the release with who made it and when.

  • The first stage makes the branch release/<VERSION> from the integration branch, without checking it out.

  • A middle stage is a board change only.

  • Back a stage — staging to test after a failed check — needs --reason, which is recorded. Nothing moves back from production.

  • The cut is the stage holding the tag action, the last stage by default. It ships the finished items, writes the notes (the notes file at the tagged commit when one is configured, otherwise a generated list), tags the code repository with the version and fast-forwards the main branch to the release, so main’s tip is exactly the tagged commit. Before anything changes it checks that the working tree has no uncommitted changes, that the release branch exists, that the tag does not, and that main has no commits the release lacks; any failure refuses with its reason and changes nothing. If main has moved on, merge main into the release branch and promote again. If the board step fails after the tag and the fast-forward, both are undone. kanbanr release cut <VERSION> --tag is the same as promoting to the last stage; a plain release cut changes only the board.

    With stages after the cut (see Stages after the tag), the cut tags and ships nothing, and the last stage ships.

A release that has no branch yet gets release/<VERSION> made first whichever stage it is promoted to, so a process with a single stage (both first and the cut) works, and so does a promotion that skips the first stage.

A release with nothing planned into it is never promoted, to any stage: it would ship nothing. It is refused with “v0.3.0 has no items: plan some in with kanbanr release plan v0.3.0 <CODE>…”, and the Releases page offers it no button. A patch is the exception: it carries its parent’s fixes, so it is promoted with nothing of its own planned.

Stages that act

That is what a stage does when it has no gate. A stage can instead say what must hold before a release enters it (requires) and what entering it does (on_enter), as an item’s status has a gate. The rules sit beside the stage names, under cadence.release_gates, keyed by stage name:

cadence:
  release_stages: [candidate, main, tag]   # names only; the stage holding `tag` is the cut
  release_gates:
    candidate: { on_enter: [branch, prepare] }
    main:      { purpose: "main holds the release; push it and let CI run",
                 requires: [items_finished], on_enter: [move_main] }
    tag:       { requires: [main_at_release, pushed], on_enter: [tag] }
actiondoes
branchmakes release/<V> from the line of integration, nothing checked out
prepareone commit on release/<V>: the version files, the dated changelog heading and its copies, the notes draft and its listings (see below); entering the stage again redoes it when the configuration changed since, which the Releases page offers as Promote to candidate again
move_mainfast-forwards main to the release tip; refused if main has commits the release lacks (a patch of an older release leaves main where it is)
tagtags the release tip <V> (“Release ”); the stage holding it is the cut, and any stage after it only confirms
conditionholds whenfix shown
items_finishedthe cut would carry nothing overfinish the item, or plan it into another release
preparedthe release tip carries the version, a changelog section with something in it, and the notespromote to the stage that prepares
main_at_releasemain is at the release tippromote to the stage with move_main
pushedthe release tip is on main’s remote-tracking branch (origin/main)push main (git push origin main), then wait for CI
gate_passedevery gate named in commit_gates has a passed result recorded for the release tiplook at your CI, then record its verdict (see below)
tag_passedthe newest result of the tag gate for the tag commit, recorded since the tag was made, is passed; only a stage after the tag can require itrun your CI on the tag and record its verdict, or start a patch release if it failed
merged_items_shipevery item planned into the release whose code is merged can ship; a plan to the stage that tags, or the last stage, adds it when no items_finished is required, and holds the promotiongive what the item lacks (kanbanr check <CODE>), or plan it into another release
items_mergedevery item planned into the release (other than one in a no-op status) is at the integrate stage or later; read from the board, so it needs no repositorymove the item to the integrate stage, which merges its branch, or plan it into another release

Two more conditions are the plan’s own, never configured:

conditionholds whenfix shown
later_tests_greenevery test of the release’s items checked at this stage or before it is green (see Tests checked later)check them and record each result
untested_acceptedat the cut: every shipping requirement has a green test, or you accepted shipping exactly those without onerun them and record the results, or accept shipping them unverified on the Releases page

Tests checked later

Some checks can only be seen after main is pushed: a CI job runs, a tag publishes the notes. A test says when it is checked with at in its definition:

atthe item’s gatethe release
emptywaits for it—
pusheddoesn’t waitthe first stage that requires pushed, else the cut
cutdoesn’t waitthe cut
a release stagedoesn’t waitthat stage
tests:
  - name: release::tag_publishes_notes
    kind: e2e
    state: planned
    at: pushed

at must be pushed, cut or one of the project’s release stages, and only a project with releases can use it. It is part of what was agreed, so adding or changing it lapses the approval. A stage before the cut that a test waits for holds the promotion (later_tests_green) until the test is green. At the cut, every shipping requirement whose tests have none green is listed (untested_accepted): the cut waits until you accept exactly that list, on the Releases page or with --accept-untested FEAT-005/R-2,FEAT-005/R-3. The acceptance is kept on the stage change, and the release notes on the board gain a “Not verified in this release” section naming each one. A test that waits for a stage after the cut holds that stage instead, and needs no acceptance.

A stage can also list earlier stages in after (kanbanr config release-stage tag --after ci). The release must have been promoted forward into each of them before it enters this one, so a named promotion cannot jump over them. The plan shows each as a stage_passed condition with the fix promote <V> to <stage> first. Moving back to a stage is not entering it, and a stage entered by the same promotion does not count. kanbanr records that the stage was entered, not that CI passed.

A stage with no gate of its own keeps the default:

stagedefault on_enter
the firstbranch (unless another stage holds it)
a middle onenothing
the lastmove_main, tag (without move_main if another stage holds it, and without tag if another stage holds that)
the first after the tagnothing, and tag_passed required when commit_gates names a gate
the only onebranch, move_main, tag

A promotion takes the actions of every stage it passes or enters, in the order branch, prepare, move_main, tag, and needs every condition those stages require. Everything is worked out first; if anything is missing it is refused with each missing condition and its fix, and nothing changes. A condition an action of the same promotion makes true counts as met (prepare makes prepared, move_main makes main_at_release); nothing makes pushed true, so skipping straight to the cut still waits for the push. If a step or the board fails after earlier steps, every git step is undone, newest first. Promoting to the stage a release is at takes its actions again when any of them would change something. Moving back stays a board change: main never moves back, since it may already be pushed.

pushed reads the remote-tracking branch. A promotion fetches main first; offline, it judges from the last fetch and says so. kanbanr never pushes: pushing main and the tag is yours.

Stages after the tag

A tag says which commit the release is. Whether that commit works, and where it has been run, is for you to say. Put stages after the one holding tag and each is a confirmation: the release stays unshipped, its items stay where they are, and the stage runs no action.

cadence:
  release_stages: [candidate, main, tag, staging, production]
  release_gates:
    candidate: { on_enter: [branch, prepare] }
    main:      { requires: [items_finished], on_enter: [move_main] }
    tag:       { requires: [main_at_release, pushed], on_enter: [tag] }
  commit_gates: [ci]
  • Promoting into tag tags the commit and records tagged_at and the commit on the release.
  • The Releases page shows the newest result of the tag gate (tag_gate, else the first commit gate) for that commit, recorded after the tag, with its link and note. With none, it offers Record result.
  • The first stage after the tag requires a passed result. On a failed one the page offers Check again (re-reads the board after you rerun your CI and record the new result) and Start a patch release.
  • Each confirmation is kanbanr release promote <V> --note "what you checked" or the page’s Confirm button. It records who, when and the note on the release, and nothing else.
  • Confirming the last stage ships the release: finished items move to their last status, the notes are written and shipped_at is recorded. A project with no stage after the tag ships at the tag.
  • Start a patch release (kanbanr release add <V2> --patch-of <V> --from-failed-tag [--link …] [--notes …]) files a defect carrying the failed run’s link and your notes, plans it and the release’s items into a new patch branched from the tag, and marks the release superseded by it. The tag stays in git. kanbanr config tag-gate <name> picks the gate that judges the tag.

kanbanr never contacts a CI server or the remote: you run your CI, and you record what it said.

Gate results

kanbanr runs no CI and asks no server what it said. You look at your CI, then record its verdict for a commit; a stage that requires gate_passed reads what was recorded. Name the gates a project requires once, then record each verdict as it comes in:

kanbanr config commit-gates ci                       # the gates gate_passed requires (none clears them)
kanbanr config release-stage production --requires main_at_release,gate_passed --on-enter tag
kanbanr gate record ci --passed --url <link to the run> [--commit <REV>] [--note …]
kanbanr gate list [--name ci] [--commit <REV>]       # newest first

A result is a file of its own under the project’s gates/<name>/, and none is rewritten: the newest result of a gate for the commit decides, and a result for another commit says nothing. --commit defaults to HEAD; a pass with no commit named is refused while the working tree has uncommitted changes, because it would not be about HEAD. The Releases page offers the same as a Record result form where a promotion lacks a result (the Releases page’s Record result form, just above the Cut), and shows the command on a read-only monitor.

When Claude has read the run’s result, it prepares it (kanbanr prepare gate) instead of asking you to type it. The Releases page then shows the result filled in where Record result would be: the gate, the commit, passed or failed, the link to the run and the note, with one button. Confirm it, change a field first with Edit, or Reject it. The result is recorded as you, and what Claude prepared is kept beside it (Prepared by Claude).

A promotion that would itself add a commit to the release branch (prepare) cannot be covered: no result can exist for a commit that is not made yet, so promote to the stage that prepares first and record the result once it is on the branch. make ci records its own run as the gate local, a failure always and a pass only on a clean working tree; add local to commit_gates to require it. Claude never records a result for you.

kanbanr config release-stage candidate --on-enter branch,prepare
kanbanr config release-stage main --requires items_finished --on-enter move_main
kanbanr config release-stage production --requires main_at_release,pushed --on-enter tag
kanbanr config release-stage production --clear     # back to the default
kanbanr release promote v0.3.0 --plan --fetch        # the plan, after fetching main

release promote --plan prints the button, each step, each condition with ✓ or ✗ and its fix, and for the cut what it tags, ships and carries over. After a promotion, kanbanr says what is next — “next: push main (git push origin main), then wait for CI, then Cut v0.3.0”.

Preparing a release

A release prepares itself: entering the stage with prepare commits, in one commit on release/<V>, what a release needs. No separate item is made for it.

kanbanr config release-prepare --version-file api/Cargo.toml \
  --version-file 'api/Cargo.lock=name = "kanbanr-core"\nversion = "{version}"' \
  --version-file 'api/Cargo.lock=name = "kanbanr-cli"\nversion = "{version}"' \
  --version-file 'api/Cargo.lock=name = "kanbanr-server"\nversion = "{version}"' \
  --changelog CHANGELOG.md --changelog-copy docs/src/project/changelog.md \
  --notes 'docs/src/releases/{version}.md' \
  --notes-listing 'docs/src/SUMMARY.md::- [Release notes](releases/index.md)::  - [{number}](releases/{version}.md)'
kanbanr config release-prepare                     # shows it
  • Version files. Each file’s version is set to {number} (v0.3.0 → 0.3.0). A *.toml file matches ^version = "{version}" and a *.json file "version": "{version}", the first match only. Any other file needs a match: literal text with one {version}, where whitespace matches any whitespace (newlines too) and a leading ^ anchors to a line; an explicit match sets every occurrence. A file may be listed more than once, each time with its own match — a lockfile naming several of the project’s packages, say; every entry is applied, in order, in the one commit. Each --version-file adds an entry (the same path and match twice is kept once), and --clear-version-files starts the list afresh. A missing file, or a match that finds nothing, refuses the promotion.
  • Changelog. ## [{number}] - {date} goes below the first ## [Unreleased], so what was unreleased belongs to the release; an [Unreleased]: …compare/<prev>...HEAD link moves on and [{number}] gets its own. When that leaves the section empty, it is filled from the items the release ships, under ### Added, ### Changed and ### Fixed (a defect or bug is Fixed, a chore Changed, anything else Added), and [Unreleased] stays as an empty heading. When nothing ships and nothing is unreleased, the plan says so, the changelog is left as it is, and kanbanr release notes <V> --changelog <file> writes the section. Each copy gets the same text.
  • Notes. A draft from the items the cut would ship, written only if the file is not there yet, and listed below the line named in each listing.

Nothing is checked out: kanbanr writes the commit with git’s plumbing, so no hook runs, and the commit carries [no-ref] release preparation, made by kanbanr and a Kanbanr-Release: trailer. People’s commits on release/* stay refused; kanbanr’s preparation commit is the one exception. With nothing configured, prepare bumps nothing, makes no commit, and the plan says so.

Reading and editing the notes

The drafted notes are on release/<V>, not in your checkout, so read and change them from the release itself — no branch switch, no separate item:

kanbanr release notes v0.3.0                 # release/v0.3.0 @ 8f995e1: docs/src/releases/v0.3.0.md, then the text
kanbanr release notes v0.3.0 --edit          # $VISUAL / $EDITOR on a copy; committed if it changed
kanbanr release notes v0.3.0 --file notes.md # or `-` for stdin
kanbanr release notes v0.3.0 --file notes.md --changelog section.md  # the notes and the changelog section, one commit
kanbanr release notes v0.3.0 --changelog section.md                  # the changelog section alone

--changelog takes the text of the version’s section (the part under its ## [<number>] heading), writes it to the changelog and each of its copies in the same commit as the notes, and refuses an empty file. Use it instead of a fix item when the section needs changing on a release under test.

The notes are read from the path they were first written to, which the release records, so changing kanbanr config release-prepare --notes later does not lose earlier releases’ notes. A shipped release’s notes are read at its tag. A release recorded before this was kept is found at any path the setting has named in the board’s history, and a miss names every path and ref looked at.

A save is one commit onto release/<V>, made the way the preparation commit is: nothing checked out, [no-ref] release notes, written by kanbanr and a Kanbanr-Release: trailer. The same text makes no commit. Each save also applies the notes listings again, so a listing added to the config after the release became a candidate reaches it. The notes can be edited until the release is cut; after that they read as shipped. The Releases page shows the same notes under Release notes, with Edit notes on a write-enabled monitor started in the project folder.

Notes saved after main has moved to the release move main with them, so the commit the cut tags has them; the save says so (“main held v0.3.0, so it moved with the notes to 4c1d2e9: push main again and wait for CI before the cut”). Until you push main again, the cut waits. If main has commits past the release, nothing is saved.

The release date

The notes (_Released <date>._) and the changelog heading (## [<number>] - <date>) carry the day the release was prepared. The stage that moves main dates them today first, in one commit onto release/<V> (Release v0.3.0: dated 2026-11-01), and main moves with it; --plan shows the step as “dates the release 2026-11-01 and fast-forwards main”. If main has already moved, the cut’s plan warns instead, naming the date the files carry, today’s date and the command:

kanbanr release redate v0.3.0   # one commit onto release/v0.3.0; main moves with it if it holds the release

When main moved with it, the command says to push main again and wait for CI before the cut. Once the release has shipped it refuses. A project with no notes or changelog configured, or a file with no date line, has nothing to date.

A change merged into a promoted release

A release that has left its first stage and has not been cut goes back to that stage when an item is merged into release/<V>. kanbanr move says so, and the stage history records the item, who moved it and when. From the first stage the ordinary steps apply: update the notes (kanbanr release notes <V> ends with the planned items the notes do not mention), run the gate again, promote to main, push main and wait for CI, then cut. kanbanr release promote <V> --plan and the Releases page show the item and the steps. Until the cut, the stage that tags also needs main at the release tip, the tip pushed and, where the project names commit gates, a passed result, whatever the stage’s own requires say.

A recorded pass of a commit gate carries to a later commit of the release when every path changed since matches cadence.gate_docs (docs/ and *.md unless kanbanr config gate-docs names others); the plan names the commit it came from. A failed result never carries. A release that is tagged and not shipped refuses the merge before anything changes, because its tag names one commit; the change goes into a patch release (kanbanr release patch <V>). Saving the release notes moves main with them as before and does not send the release back.

Patch releases

A fix to a release already in production gets a release of its own, a patch:

kanbanr release add v1.0.1 --patch-of v1.0.0

The patch records its parent, which must have been cut and tagged — any cut release, an older supported one included. release/v1.0.1 is made from the parent’s tag, not from where main has since gone, and the patch starts at candidate. A patch release starts at candidate the moment it is created, so there is no first stage to promote from. Claude asks you in the conversation to confirm it; main and the tag are then decided on the Releases page as usual. It goes through the same stages. Its notes say “Patch of v1.0.0”, list what the patch adds, and what it keeps from the parent.

At production the patch is tagged. Main fast-forwards to it when it can; when main has moved on past the parent, main is left where it is. The patch’s commits that the integration branch does not have yet are listed — in the output and in the notes, under “To merge forward” — so the next release keeps the fix. Claude merges them forward with kanbanr git forward <VERSION> as soon as kanbanr says so; you push.

The integration branch and the main branch are both the repository’s default branch unless the project names them: kanbanr config cadence --integration-branch develop --main-branch main.

The first and last stages act on the code repository, so run them from the project folder. The monitor (kanbanr serve --allow-writes) uses the repository it was started in, when that folder’s marker names the project; otherwise it refuses them with “use the CLI from the project folder”. Nothing is pushed: publishing the tag and main is whoever pushes.

Items reach the project’s end status through the production stage of a release they are planned into: the cut moves them there, and a gate asking for in_release stops them getting there any other way.

The git model

The cadence also says how the code repository is laid out. kanbanr git model shows it:

CadenceLine of integrationProduction moves at
neither (trunk)mainthe merge of each finished item
sprints onlysprint/<SP> of the running sprintthe sprint’s close
releases onlythe integration branch (integration unless named)the release cut
sprints and releasessprint/<SP> of the running sprintthe release cut

Items are built on feat/<CODE>-<slug> (a defect on fix/<CODE>-<slug> when the pattern is the default) or spike/*. A release is branched as release/<VERSION> when it reaches its first stage. main, the integration branch, sprint/* and release/* are lines: they take merges only, and a merge into one must say which items it brings (Refs: kanbanr:<CODE>, or [no-ref] <why> on the record).

The model is always shown. It is switched on when you first choose sprints or releases, and off with kanbanr config cadence --git-model off; a trunk project (neither) can switch it on itself:

kanbanr config cadence --git-model on

Then start branches an item from its line (making the integration branch from main the first time), and a fix for a release under test from that release’s branch. sprint start makes sprint/<SP> from the newest sprint main does not have yet, else from main. A release’s branch is made from the line its cadence says. The commit hooks refuse plain commits on a line, and a generated merge message that names no item. kanbanr never pushes: the code repository refuses a push from it outright.

With the model on, the board makes the merges:

  • Integrating an item merges it. Moving an item into the integrate stage (or past it) merges its branch into its line with a merge commit naming the item (Refs: kanbanr:<CODE>). If the merge would conflict, the move is refused before anything changes, naming the files: merge the line into the item branch, resolve, commit, and move again. The item branch is kept. A batch cannot integrate an item; move it on its own.
  • A sprint’s close is production when there are sprints but no releases: main fast-forwards to sprint/<SP> and is tagged with the sprint’s code. If main has commits the sprint lacks, the close is refused and nothing changes.
  • Carried items catch up. When the sprint they were carried into starts (or the close names one that already has a branch), its branch is merged into each carried item’s branch — never a rebase. One that would conflict is reported with its files and left as it was.
  • A fix to a release under test integrates into release/<VERSION>, and the move says the line lacks it. kanbanr git forward <VERSION> merges the release forward into the line, naming every item its commits name. Claude runs it as soon as the move says so, and tells you what merged; you push.

kanbanr config workflow --write-agreement writes the team’s working agreement to the board, generated from the gates. Under Scrum that is the Definition of Ready and of Done. Because it is generated, it can’t drift from what is enforced.

Writing your own process

Start from the closest preset and edit it:

kanbanr config workflow --preset design-control
kanbanr config workflow --export > our-process.yaml
# edit our-process.yaml: rename stages, move sign-offs, add `kinds:` to gates
kanbanr process check our-process.yaml               # every problem, then the agreement; changes nothing
kanbanr config workflow --from-file our-process.yaml

kanbanr process check runs the same validator the board runs when a workflow is saved, so a file that checks clean is one the board accepts. It reports every problem at once, not only the first. It needs no board, so a process can be checked before the project exists, and - reads the file from stdin (kanbanr process check - < draft.yaml). Where there is one, it also names any status the file would remove that still holds this project’s items. When the file is clean, it prints the working agreement and a Mermaid diagram. kanbanr process checks lists every check a gate can ask for, from the same list as the table above.

The file holds statuses, default_state, displayed_states, no_op_states, terminal_states, transitions and gates. It has no name, so one process file can serve many projects. A board that declares gates is stamped schema_version: 3, so an older kanbanr refuses to open it instead of ignoring its gates.

Designing a process with Claude

You don’t have to write the file. Tell Claude how your team works (“design review before we build, QA signs off releases”), at setup or any time later. In plan mode, it:

  1. offers the processes already saved on the board and in your personal library, then the built-in ones;
  2. for “our own”, starts from the nearest built-in process and proposes stages for you to correct;
  3. asks one question per stage, what must be true before work enters it? The choices are the checks above, in plain words (kanbanr process checks), so you can only agree to what kanbanr can enforce;
  4. turns anything kanbanr can’t see (“the architecture board has reviewed it”) into a named sign-off that a person records;
  5. asks the process-wide choices together: block or warn, which stage holds each role (design, build, integrate and release; build is where the branch is made), which stage ends the work, which moves back are allowed;
  6. asks its name, and whether to keep it on the board for the team or in your personal library;
  7. checks the draft with kanbanr process check and puts its working agreement and diagram in the plan, with a one-line description of what the process is for.

Accepting the plan saves the process and applies it. Changing it later is the same conversation, and then Claude asks, one project at a time, whether each project using it should take the new version.

Saving and sharing processes

A process you will use again can be saved by name, and then chosen like a preset:

kanbanr process save our-process --description "Design review before build; QA signs off"
kanbanr process save our-process --from-file our-process.yaml   # or from a file
kanbanr process save my-process --personal                      # in your own library instead
kanbanr process list                                            # every process, and who uses it
kanbanr process show our-process                                # its file, agreement and diagram
kanbanr config workflow --preset our-process                    # apply it to this project
kanbanr project init storefront --workflow our-process          # or start a project with it
LibraryWhereWho has it
The boardprocesses/ in the board, beside projects/everyone with the board, through its git remote
Personal~/.kanbanr/processes/ (KANBANR_PROCESSES_DIR to move it)you, on any board
Built-inin kanbanreveryone

process save keeps a process on the board unless you pass --personal. Without --from-file, it saves this project’s workflow. A process must pass process check to be saved. A built-in process’s name can’t be reused. Saving again leaves the version alone when nothing changed, and adds one when something did.

A name is looked up on the board first, then in your personal library, then among the built-in processes. A team’s agreed process always wins over one person’s copy of the same name; process list marks a personal copy the board’s hides.

A project records the process it was given: its name, library, version, and a hash of its content. A personal process is sent to the board whole when you apply it, because the board can’t read anyone’s home folder. process list shows which projects use each process. When a project uses someone else’s personal process, it says the file is not in your library.

When a saved process changes

Changing a saved process never changes the projects using it. They are told, and each one updates when its user says so:

kanbanr process status            # which process this project uses, and whether it has moved on
kanbanr process diff              # what is different: statuses, moves, gates
kanbanr process update            # take the saved version now
  • kanbanr doctor warns when a newer version is saved, or when the project’s workflow was edited after it was applied. The same notice opens each Claude session, and Claude asks once whether to update.
  • The monitor’s Workflow page shows the process, its version and library, and any notice.
  • Items already in progress meet the new gates on their next move. Approvals already given stay.
  • An update that would remove a status still holding items is refused. Move the items, or rename the status with kanbanr config rename-status, first.
  • A built-in process can change with a kanbanr release, and is reported the same way.
  • A personal process is compared on the machine that has it: the board doesn’t hold its file.

A saved file has a short header, which an older kanbanr ignores:

process:
  name: our-process
  description: Design review before build; QA signs off
  version: 2
statuses: [...]

Documentation folders

Documentation folders

Each project carries a nested tree of markdown docs. Organize them into folders, add files (inline or from disk, at any depth), and browse the tree in the monitor:

kanbanr doc folder design --name "Design" --description "Architecture & design notes"
kanbanr doc add design/overview.md --content "# Overview\n…"
kanbanr doc add design/customer/portal.md --file ./portal-notes.md   # nested, any depth
kanbanr doc tree

Diagrams & images in docs

Docs are more than text — the viewer renders diagrams and embedded images:

  • Embedded images. Add an image as a binary asset, then reference it by a relative name from a markdown file in the same folder (names resolve per-folder, so they’re meaningful in any docs folder — not just one):

    kanbanr doc add design/architecture.png --file ./architecture.png   # store the image asset
    
    <!-- in design/overview.md (same folder) -->
    ![Architecture](architecture.png)
    

    The view daemon serves the asset from your data folder — nothing leaves your machine.

  • Mermaid diagrams. A fenced mermaid code block renders to a live diagram (flowchart, sequence, state, gantt and the rest of Mermaid’s types), drawn by Pele in the monitor’s light or dark colours:

    ```mermaid
    flowchart LR
      A[Claude] --> B[kanbanr CLI] --> C[(data/ git repo)]
    ```
    
  • Diagrams are checked when they are written (FEAT-200). Every mermaid block in a spec or a markdown doc is linted on feature add/edit, doc add and batch, and the problems are printed as warnings — the write still succeeds:

    created FEAT-012 (Planned)
      diagram: FEAT-012 spec, diagram #1, line 14: `;` ends the statement early, so the rest of the message is lost — use a comma or words (semicolon_in_text)
    

    kanbanr doctor lists every problem on the board, and a gate can require diagrams_valid (see Processes). A project that wants a broken diagram refused outright turns on strict mode with kanbanr config diagrams --strict on; a refused write changes nothing, and a batch carrying one changes nothing at all.

    The lint catches the common mistakes, each named by its rule: an empty block or one with no diagram type (empty_block, unknown_type); a ; with text after it in a sequence message, note or alias, or a class relation label (semicolon_in_text); " | { } ( ) [ ] in an unquoted flowchart label, or a label never closed (label_punctuation, unbalanced_label); end as a node or participant id (end_as_id); a subgraph, alt, loop or other block not closed by end, or unbalanced {} (unbalanced_block); and a sequence line that is no statement (unknown_statement). It flags only what Pele, which draws the monitor’s and the book’s diagrams, rejects — Pele is the authority, and the review page runs its real parse before Approve.

    Two habits avoid nearly all of it: quote flowchart labels — A["f(x) {y}"], not A[f(x)] — and keep sequence messages to plain words, without ;, braces or quotes. GitHub’s own Mermaid is stricter than Pele: it rejects A[x; y], which Pele draws, so quoting is the advice even where the lint is silent.

  • Any other diagram tool — PlantUML, Graphviz/DOT, D2, Excalidraw, draw.io — works too: export it to PNG/SVG and embed it as an image asset (as above). Mermaid blocks also render natively on GitHub, so the same docs look right in your repo.

Multiple projects

Multiple projects

All projects live under the data dir as projects/<name>/. The monitor’s home page shows a tile per project. Select the active project with --project, $KANBANR_PROJECT, or a .kanbanr file (kanbanr project use <name>).

Portfolio: work across several projects

A portfolio view answers one question a single project cannot: what is this project waiting on that it does not own?

Inside one board, kanbanr blocked tells you which items are waiting on other items. Across several, the dependency that matters is usually the one you cannot see from where you are standing — a shared service two products rest on, scheduled by a team that does not know they are in the critical path.

A worked example you can run

kanbanr’s own board is a single project, so nothing in this repository demonstrates any of it. There is a script that builds one:

tools/demo/portfolio.sh              # writes to a temp folder; never touches your board

It creates three projects under one program — a shared identity service, a checkout product and a mobile product — with dependencies that genuinely cross project boundaries:

identity:FEAT-002  Issue a session token
  ├── checkout:FEAT-002  Take a card payment      (cannot charge who you cannot identify)
  │     └── mobile:FEAT-002  Pay in app
  └── mobile:FEAT-001    Sign in on device

A dependency is written as project:CODE; a bare CODE means the current project.

kanbanr feature add --title "Take a card payment" --milestone MS-001 \
    --depends-on "identity:FEAT-002"

What it answers

$ kanbanr --project identity impact FEAT-002
checkout:FEAT-002
checkout:FEAT-003
mobile:FEAT-001
mobile:FEAT-002

Four items in two other projects move if that one slips — the fact nobody in identity would otherwise have.

$ kanbanr --project mobile blocked
mobile:FEAT-001
mobile:FEAT-002

Both of mobile’s items are waiting on work it does not own.

$ kanbanr portfolio rollups
Portfolio — 13% (0/0 tasks)
  Platform — 13%
    identity — 33%
    checkout — 0%
    mobile — 0%

Progress rolls up milestone → project → program → portfolio, derived from task state every time it is asked — never stored, so it cannot disagree with the boards it is computed from.

In the monitor

The portfolio view: rollups and the cross-project board

The cross-project board puts every project’s work into one set of normalised lanes, with the project named on each card. Lanes are normalised because projects need not share a workflow: one may have Scheduled, another In Progress, and the portfolio maps both onto the same three columns rather than inventing a common vocabulary the projects never agreed to.

Declaring a program

Projects in a data folder are neighbours; a program is the statement that they belong together.

kanbanr portfolio add-program platform --name "Platform" \
    --projects identity,checkout,mobile

That writes workspace.yaml beside the projects. Without it the portfolio still lists every project, but nothing groups them and the rollup has only one level.

The limit worth knowing

Everything here works within one data folder, which is also the sharing and access boundary (ADR-0007). A portfolio spanning boards that different people can see is a different problem — it needs per-project access with a view across them, which git remotes alone do not give. That is recorded as FEAT-074, deliberately deferred, with the triggers to revisit it written down rather than left as an assumption.

Housekeeping and troubleshooting

Housekeeping on the board repository

The board is a git repository and every write is a commit, so an active project accumulates objects. Nothing breaks if you ignore this — git is designed for it — but two things are worth knowing.

cd "$(kanbanr where)"
git count-objects -vH      # loose objects and pack size
git gc                     # pack them; safe, and never touches your data

A board with a few hundred commits and no pack can hold a few thousand loose objects. git gc collapses that. It compacts storage and changes nothing about content — and it is not a way to reclaim anything: the logs keep every entry deliberately (one file per day under activity/ and events/), because raw data is never discarded. What is bounded is what a report shows you.

If you have a remote configured, an occasional kanbanr sync keeps the board pushed; kanbanr where --json tells you which folder is in use and why.

What doctor warns about, and what it counts

For a project that declares its gates, kanbanr doctor warns about what the gate of each item’s current stage asks, which an edit may have undone since the item got there. What the stage an item reaches next still lacks is not a warning: doctor prints it after the warnings as Later stages will ask, one line per stage with the items and things, and kanbanr check lists them. These counts never change doctor’s exit status. In the JSON report they are the optional ahead list, left out when empty.

Keeping the architecture views whole

kanbanr doctor lists each coverage rule a view still fails — coverage rule 'zachman' (every item at Design or later is referenced from architecture/zachman.md): 24 of 60 uncovered — FEAT-012, … — with the first ten subjects. A rule whose source doc is gone, an invalid rule in a hand-edited config, a gate naming a rule the project does not configure, and a gate’s default doc that is not on the board are errors. Run it before merging a sprint or cutting a release; Coverage rules says how to set them.

Troubleshooting

  • monitor not reachable from kanbanr open — start the view daemon first: kanbanr serve. The monitor is built into the binary, so there is no --ui-dir to find.
  • no commit identity for this board — kanbanr commits only as a real person. Set yours: kanbanr identity --name "You" --email you@example.com (or git’s own user.name and user.email). Boards made by older versions carry the placeholder kanbanr <kanbanr@local> in their git config; kanbanr doctor points it out, and the same command replaces it. Commits already made under the placeholder keep it unless you rewrite the board’s history.
  • could not determine project — pass --project, set $KANBANR_PROJECT, or kanbanr project use <name> (writes a .kanbanr marker).
  • project '…' not found / an empty board — you may be pointed at the wrong data folder. kanbanr where --json shows which folder is in use and why (--data-dir, $KANBANR_DATA_DIR, the marker, or the ./data fallback).
  • Push/pull conflicts — the data folder is a normal git repo; resolve in it with git as usual, then continue.
  • kanbanr: command not found — run make install and ensure ~/.cargo/bin is on PATH.
  • A move was rejected — the transition isn’t allowed; check kanbanr config show.
  • A feature add was rejected — every feature needs an existing --milestone.

See the architecture overview and the on-disk layout.

Process guides

Each guide follows one project from setup to a shipped release under one process. There are two ways to run any of them:

  • With Claude: you talk to Claude, decide on the monitor, and push from your terminal. You don’t need to learn any commands. This is the usual way.
  • From the command line: you run every command yourself. Use this to work without Claude, or to see exactly what Claude does for you.
ProcessStagesGuides
Agile, with sprints and releases (recommended to start)Plan → Design → Develop → Test → Review → ReleasedWith Claude · Command line
TOGAF, with sprints and releasesVision → Business Arch → System Design → Implementation → Migration → OperationsWith Claude · Command line
Default (Kanban), no sprints or releasesPlanned → In Progress → CompletedWith Claude · Command line
Scheduled, no sprints or releasesPlanned → Scheduled → CompletedWith Claude · Command line
PDCA, no sprints or releasesPlan → Do → Check → ActWith Claude · Command line
Design control, no sprints or releasesPlanning → Inputs → Design → Review → Verification → Validation → ReleasedWith Claude · Command line
Scrum, with sprints and releasesBacklog → Ready → In Progress → Review → Testing → Done → ReleasedWith Claude · Command line

Which process first? Start with agile unless your team already has a process of its own. TOGAF, Scrum and the others stay here for projects that need their stages. The walkthrough that led to this advice is the report.

To compare the processes and their gates, see Processes: presets, gates and sign-offs.

Before your first release, read Designing CI and the release workflow.

TOGAF, sprints and releases with Claude

This guide takes a project from setup to a shipped release using TOGAF phases, sprints and releases. You don’t need to learn any commands:

  • You talk to Claude for everything except decisions and pushes. Use your own words. The ones here are only examples.
  • You decide on the monitor: approvals and sign-offs on the Review page, promotions and the cut on the Releases page. Claude tells you what is waiting there and links to it. It never records a decision, and it doesn’t ask for one in a plan or a question. What Claude already knows, such as a CI run’s result or what a sign-off covered, arrives filled in beside the button: you check it and click.
  • You can delegate the small decisions. Tell Claude which ones it may take, such as the design review of small defects, and until when. Setup proposes one for every item, to take the docs-folded sign-off (DLG-001), besides any Claude proposes when you ask. You Grant each one on the Review page, under “Decisions here”. A granted delegation does nothing until you set Mode to delegated there and click Change. Whatever Claude decides under it comes back there for you to keep or undo. If Claude Code runs in auto mode, its safety check may stop a delegated command. When you grant a delegation, kanbanr offers the one allow rule that lets it through; say yes to Claude, or run the command it names.
  • You push from your terminal. Nothing reaches your remote server until you do.

Prefer to run the commands yourself? See TOGAF from the command line.

Three clocks

Three things move at their own pace, and most confusion comes from mixing them up:

What it answersMoves when
TOGAF phaseHow far has this item got?Its gates are met, one item at a time
SprintWhat are we working on these two weeks?You ask Claude to start or close it
ReleaseWhat has reached users?You promote it on the Releases page

An item can be finished in its sprint and still not released. Merging is not shipping: an item is released only when a release that holds it is cut.

flowchart LR
  A["System Design"] -->|"build starts"| B["item branch"]
  B -->|"move to Migration"| C["sprint branch"]
  C -->|"Promote to candidate"| D["release branch"]
  D -->|"Promote to main"| E["main"]
  E -->|"Cut"| F["tag"]

Setting it up

Start using kanbanr for this project. Use TOGAF, with sprints and releases.

Claude asks where the board should live and what the project is for. It then writes a plan showing the process, the branches it will use and where each one merges. Accepting the plan applies it.

Ask for the things that make the rest of this guide work:

Agree a charter with me first, then set up release stages so that main has to be pushed before anything is tagged.

Do the charter first. Gates aren’t enforced until a project has one, and items created before it are exempt. Without one, a move that a gate would have refused still goes through, with a warning saying what was missing. Claude asks for the project’s purpose and goals. Every item then links to a goal.

Releases can have stages after the tag. The tag only says which commit the release is. Stages after it, such as staging or production, are for you to confirm once you have seen the release work there. The release ships, and its items reach their last status, when you confirm the last one. If CI fails on the tag, record the failed result and choose Start a patch release: Claude files the defect with the run’s link and your notes, and the failed release is marked superseded. Claude tells you where the release is and never confirms a stage for you.

You record CI’s verdict. kanbanr can see that main was pushed, but it never asks a server whether CI passed. You look at CI yourself, then record what it said on the Releases page (Record result, with a link to the run if you like). A release stage can require that result before the cut. Claude tells you when it is missing and never records it for you.

The stages are candidate, main and tag. A project that turns releases on gets these three, each doing something: candidate prepares the release, main moves main once the items are finished, and tag cuts the release once main is pushed. If you have CI, say so and the tag waits for your recorded result. Ask for other stages only if you have a pipeline behind them. Releases on a board made before this keep the four they had, test and staging among them. Those two do nothing, and Claude says so when you configure them. Those two record that a release passed a point and do nothing else: nothing builds or deploys when you promote to them. Add them when you have a pipeline and environments behind them.

Open the monitor, with writes on.

Keep it open. Claude gives you the address, and every decision below happens there.

Sprints and Migration. Migration counts as done for a sprint, and Operations is when the release ships the item. So closing a sprint before its release is cut carries over only work that has not merged.

Planning a sprint

Setup does not create a sprint or a release. Ask for them when you are ready, and Claude asks the sprint’s goal and dates, or the release’s version and target, then. A planned sprint can be changed until it starts, and an empty sprint or release made by mistake can be removed.

Start the first sprint. A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there. Put that in the sprint, for the first release.

Claude starts the sprint and creates its branch, creates the item at Vision, and plans it into the sprint and the release. Your checkout doesn’t move.

Keep 1.0 for something people can use. Name your first release v0.1.0 unless it really is ready for them.

A sprint and a release don’t have to line up. One release can take items from several sprints.

Claude recommends starting today. Work past the first stage waits until the sprint has started; a sprint dated later reads as planned until its first day.

One item, phase by phase

Ask for the work in your own words, and Claude asks only what it can’t work out. Each phase has a gate. When something’s missing, Claude either drafts it or brings it to you.

Take the saved basket to Business Arch.

Claude asks whether it has a user interface. When you choose the technology (or, if you don’t, when the first item is designed), Claude asks whether the product has screens a person uses, or is a service, library or command-line tool. If it has screens, they become items of their own, designed and approved like the rest. If it has none, that goes into the design, so a missing screen is a decision and not an oversight. If it has screens, Claude also asks how the screens should look, the styling approach and the feel you want, before it designs the first one, and the answer goes into the design.

PhaseWhat Claude doesWhat you do on the Review page
VisionWrites what it is and why, then the statement, goal and the who, what and whyApprove, once Claude has written them. Business Arch needs the approval before the item can move
Business ArchDrafts the requirements and how each is verifiedNothing: your approval stands while the definition grows. If you changed what you approved, the page offers Approve again
System DesignProposes how and where, and checks that against the requirementsNothing: the approval stands while the definition grows
ImplementationWrites the design and its task list, and names a test for each requirementSign off design-review, which also reviews what was added
MigrationBuilds on the item’s branch, runs the tests and updates the docsSign off docs-folded, which appears once the docs are built; until then the Review page does not offer it. Claude first checks any doc or item that names something the item changed and has not changed since, confirming it is still right or filing a correction; the Review page shows what is left and what Claude checked, and you fill in nothing
OperationsNothing: the cut moves it hereSign off release

Approve first, then sign off. You approve in Vision, before the item moves on. An item with both waiting shows Approve, then Sign off once you’ve approved it, so check back after approving.

Each decision notes where you made it. The monitor, your terminal, and your answer to Claude are told apart, and the item shows which one next to each approval and sign-off. If you decide the same thing twice, say a click and then an answer to Claude, the second one records nothing and Claude tells you who decided first and when.

You approve once, and review what’s added. Each approval covers the text you saw. Adding answers keeps it, and the Review page shows what was added when the next decision comes, usually the design review. Changing or removing what you approved lapses it, and the item returns to the Review page.

You decide on the Review page. Claude tells you what’s waiting there and links to it, and never records a decision for you. kanbanr refuses if it tries. If the monitor isn’t running, Claude offers to start it.

A design can bring decisions with it. Claude drafts each one as a decision record, and you use Accept or Reject on the Review page.

A changed spec comes back to you. Your design-review covers the item’s spec as you saw it. If the spec changes afterwards, even outside the Design, the item returns to the Review page showing only what changed, and you sign again.

Operations means shipped. Sign off release records your sign-off and leaves the item where it is. The item moves to Operations when the release it is planned into is cut. The Releases page tells you what has shipped.

Just ask to move it on:

Move the saved basket on to System Design.

If something’s missing, Claude tells you what and either fixes it or asks you. Nothing moves past a gate unless you say why, and that reason stays on the item. If Claude moves it past a gate, the move waits on the Review page for you to Ratify, even on an item you approved, and the item doesn’t ship until you do.

Moving to Migration is the merge. kanbanr merges the item’s branch into the sprint’s branch. It isn’t released yet.

Chores

A chore doesn’t walk every phase. It goes Vision → Implementation → Migration → Operations, skipping Business Arch and System Design, because their questions don’t fit small maintenance work. Tell Claude it’s a chore when you ask for it.

Pin the CI image: it’s a chore.

Before its first move Claude asks once for what every item records: a one-sentence statement, the goal it serves, and a requirement in the EARS form that says how it’s verified. You still approve it before the build starts, and you still give the release sign-off at the end. A chore has no Design section and no design-review, because there is no design to review. If A chore Claude files itself asks the same once: one question with the statement, goal and requirement it drafted, which you confirm or change. If you change an item’s kind to a chore while it’s at a phase the chore path leaves out, it’s off the path: it moves by the ordinary moves, or back to Vision.

Handing work to sub-agents

Have a sub-agent build these tasks.

Claude gives each agent a scope, which kanbanr enforces, so you don’t have to rely on the agent’s brief. An agent can record its own tasks and test results and commit on its own branch. It can’t move items, approve anything or push.

You’ll see its progress on the item’s page as it works, and its scope on the Workflow page. When it finishes, Claude reviews the branch and brings you any decisions.

Claude stays in the project folder while an agent works, and looks inside the agent’s worktree without moving into it (git -C), so a scope never gets in your way or Claude’s. Revoking an agent’s scope stops that agent on its next tool call and never restricts you.

Releasing

Before your first release, design the pipeline. A release workflow can only be tested by running it, a tag can’t be moved once it’s pushed, and shipped notes can’t be edited, so a mistake in the pipeline costs a whole version number. Settle the stages, the checks, the release description and a run without a tag first: see Designing CI and the release workflow.

Start once every item in the release has reached Migration. Promote to candidate is offered once every item in the release has reached Migration, and the Releases page lists any that has not. When you plan an item into a release while a sprint is running, ask Claude to plan it into the sprint too; Claude does that unless you say otherwise, and kanbanr doctor names any item planned into a release but into no sprint.

Before the first Promote to candidate, set up the release files. The candidate drafts the version, changelog and notes only from the release’s prepare configuration: the notes path, the changelog and the version files. Without it the candidate drafts nothing. When you plan the first release, Claude proposes the release files, in one question with the answers read from your repository, and offers a chore to add a CHANGELOG.md if there is none. Claude names Promote to candidate only once that configuration is done.

If the project has CI, build its workflows first. The CI and release workflow (tests, scan, release or publish) is designed and built as an item with the first release, before the cut. Claude proposes that item when you plan the first release, if setup recorded CI. See Designing CI and the release workflow.

If the release files change after Promote to candidate, prepare the release again. The Releases page offers Promote to candidate again on that release, named for what it will redo, for as long as entering candidate again would change something; one click redoes the preparation on the release branch. (From a terminal it is kanbanr release promote <V> candidate; if you use it, check kanbanr --version there matches the monitor’s.)

Follow this order and you won’t have to go back:

StepWhoDo this
1YouReleases page: Promote to candidate. This makes the release branch and drafts the version, changelog and notes
2ClaudeSay “Write the release notes and the changelog for readers”, because the draft only lists requirements
3YouOpen Release notes on the release, then Edit notes and Save for any changes
4ClaudeSay “Run the full checks over the release”
5YouReview page: Sign off release on each item, if you haven’t already
6YouReleases page: Promote to main. This moves main to the release, without tagging
7YouTerminal: git push origin main. This is the first push the release needs
8YouWait for CI on main to go green
9Claude, then youClaude reads the run and prepares the result. Releases page: check the run’s link and click Record ci passed
10YouCheck again, then Cut v0.1.0. This tags main. The Cut stays greyed out until step 9 is done for the commit main is at. If your stages continue after the tag, the page shows the result you recorded for it; when it is green, Confirm each later stage with a note of what you checked. Confirming the last one moves any item not already there to Operations. If some shipping requirements still have tests not run, the page lists them with one checkbox: tick it to ship them unverified, and the notes name them
11YouTerminal: git push origin v0.1.0, then wait for the release workflow
12ClaudeBrings the release forward into the sprint and tells you; you push the sprint branch when you push

When to push. You push twice for a release: main after Promote to main, and the tag after the Cut. Nothing earlier is needed: every check before that runs on your machine. If you want to see the pipeline run sooner, you can push the sprint’s branch; that run is a preview and records nothing for the release. Recording CI, promoting and the cut are never delegated: even when you have let Claude take some forward decisions, these stay your clicks. If an item has moved back to an earlier stage, Claude asks you before it acts on it, delegation or not.

Recording CI. The Cut waits for a CI result recorded for the exact commit main is at. kanbanr never asks your CI service. Claude reads the CI result and prepares it with the link to the run. You check it and confirm it with one click; you can edit it or reject it instead. A failed run is recorded as failed, and the page then says what to fix. After the Cut the release reads as tagged, not shipped, until the result of the workflow the tag started is recorded as passed; confirming that result ships it. A failed result keeps it tagged, and the page names the patch release as the way on.

The release date is today’s. Moving main dates the notes and changelog with the day it happens. If the Releases page warns that they carry an earlier date, say “Date the release today”, and push main again if Claude says to.

Each button says what it will do, and stays greyed out with the reason until it’s ready. If it says an item would carry over, that item usually needs its Sign off release. A promotion to the cut or to the last stage is held, not carried, for an item that is already merged: the page names the item and the Sign off release it lacks, and nothing moves until you give it or plan the item into another release. Only work that isn’t done or isn’t merged is carried to the next release.

Freeze the candidate. Once a release is a candidate, tell Claude to send anything new to the next release, and change only the notes. Reopening a candidate for each thing you find is how a release never closes.

Promoting moves main, not your checkout. You may still be on the sprint’s branch, and your remote server won’t change until you push.

If you save notes after promoting to main, main moves with them. The page tells you to push main again and wait for CI before the cut.

The date follows the release. Promoting to main dates the notes and changelog today. If main moved earlier and the cut comes later, the page warns you: ask Claude to re-date them before you cut, because shipped notes can’t be edited.

A change merged into a promoted release sends it back. When a fix is merged into a release that has gone past candidate and isn’t cut, the release goes back to candidate, and Claude tells you in one message which item did it. The Releases page then shows a panel with the item and the steps from there, and you do them in order:

  1. Say “Write the release notes again”; the page lists the items the notes don’t mention yet.
  2. Say “Run the full checks over the release”. A recorded pass for an earlier commit still counts if only documentation changed since, and the page names that commit.
  3. Releases page: Promote to main.
  4. Terminal: git push origin main, then wait for CI to go green.
  5. Releases page: Check again, then Cut. The cut stays greyed out until main is at the release and pushed.

Claude reports where the release is and confirms no stage; the buttons are yours. Saving notes alone doesn’t send the release back. A release that is already tagged and waiting for its later stages takes no change: the merge is refused, and the change needs a patch release (Start a patch release on the page, or ask Claude).

A fix made during the release reaches the sprint the same way: Claude brings it forward.

A patch release starts at candidate the moment it is created, so there is no first stage to promote from. Claude asks you in the conversation to confirm it; main and the tag are then decided on the Releases page as usual.

Closing the sprint

Close the sprint and do a retro.

Claude closes it, shows what carried over, and writes the retro with you. This changes only the board: no branch moves and nothing is tagged. Start the next sprint before starting new items, because new items branch from the running sprint.

Who does what

YouClaude
DefinitionsAnswer what only you know, then ApproveDraft them, ask, and keep the spec current
DesignSign off design-review, and Accept or Reject each decisionWrite the design, its decisions and its task list
Code and testsReview what you want toBuild, or give the work to sub-agents, and record results
Merging an itemSign off docs-foldedUpdate the docs and move the item
SprintsSay what goes in and when it closesCreate, plan and close them
ReleasesEach Promote, each Sign off release, and the CutWrite the notes, run the checks, bring it forward
Remote serverEvery push of code and tags, and the boardNothing

When things go wrong

You seeIt meansDo this
Moves go through that shouldn’tNo charter, or the item is older than itAsk Claude to agree a charter before creating items
An item is back on the Review pageIts definition changed after you approved itRead the change, then Approve again
An item says it’s waiting for a sign-off, but the Review page has nothingA sign-off appears once the stage’s other requirements are metAsk Claude what’s left. It’s often the docs
An item goes to the backlog when a sprint closesIt’s merged but not done for that sprintAsk Claude to plan it into the next sprint, or count Migration as done
A promotion says an item would carry overIt can’t reach Operations yetDo what the page says, usually Sign off release; the cut then moves it
An item stays in Migration after the cutThe release shipped but the item never got what it lackedAsk Claude to run kanbanr doctor, which names it; give the sign-off it lacks, or plan it into a coming release
Cut stays greyed out after you pushedThe page hasn’t read the push yetCheck again
The release is behind main, or only a greyed-out Cut is offeredA merge sent the release back to candidateRead the panel on the Releases page and do its steps in order
Your remote server rejects your first push, naming a permissionYour sign-in can’t change some files yet, often your CI’s own filesAsk Claude what the message means, then grant it and push again
A defect in a shipped releaseIt needs its own fixAsk Claude for a patch release, and see Patch releases

What Claude runs

You never need these, but here they are if you’re curious, or if you want to check what Claude did. TOGAF from the command line covers them step by step.

You asked forClaude runs
Set up the processkanbanr config workflow --preset togaf
Sprints, releases and brancheskanbanr config cadence --sprints on --releases on --git-model on
Release stageskanbanr config cadence --release-stages, kanbanr config release-stage
A sprintkanbanr sprint add, kanbanr sprint start, kanbanr sprint plan, kanbanr sprint unplan
A releasekanbanr release add, kanbanr release plan
Moving an itemkanbanr move
Starting the buildkanbanr start
A sub-agentkanbanr scope issue
Release noteskanbanr release notes
The release files (notes path, changelog, version files)kanbanr config release-prepare
Bringing a release forwardkanbanr git forward
Closing a sprintkanbanr sprint close, kanbanr retro

To take an item out of the sprint, ask Claude to take it out; it goes back to no sprint.

TOGAF, sprints and releases from the command line

This guide takes a project from setup to a shipped release using TOGAF phases, sprints and releases, with you running each command. To work by talking to Claude instead, see TOGAF with Claude.

The commands and output come from a real run on a scratch project.

Three clocks

Three things move at their own pace, and most confusion comes from mixing them up:

What it answersMoves when
TOGAF phaseHow far has this item got?Its gates are met, one item at a time
SprintWhat are we working on these two weeks?You start and close it
ReleaseWhat has reached users?You promote it, stage by stage

An item can be finished in its sprint and still not released. Merging is not shipping: an item is released only when a release that holds it is cut.

Here is where the phases meet the branches:

flowchart LR
  A["System Design"] -->|"kanbanr start"| B["item branch"]
  B -->|"move to Migration"| C["sprint/SP-001"]
  C -->|"promote to candidate"| D["release/v1.0.0"]
  D -->|"promote to main"| E["main"]
  E -->|"cut"| F["tag v1.0.0"]

Setting it up

In your project folder:

kanbanr init shop
kanbanr config workflow --preset togaf
kanbanr config cadence --sprints on --releases on --git-model on
kanbanr git install-hooks

kanbanr git model shows what the git model will do. Nothing is pushed for you:

topology:   sprints and releases
main:       main
line:       none — start a sprint to have one
branch at:  sprint/<SP>
production: at the release cut
protected:  main, sprint/*, release/*
kanbanr merges:
  - each item branch into sprint/<SP> when the item enters the integrate stage (--no-ff, naming the item)
  - release/<V> into main at the release's last stage (tagged <V>, a fast-forward)
  - sprint/<SP> into each item branch carried into that sprint (a catch-up merge; a conflict is reported for that item)
pushing:    never automatic — you review and push

The charter comes first

The gates are not enforced until the project has a charter, and an item created before the charter was adopted is exempt from them. Without one, moves that should be refused still succeed, but each says what the gate would have needed and that kanbanr charter set turns the gates on. So agree the charter before creating any items:

kanbanr charter set --file charter.yaml

Release stages

A project that turns releases on gets three stages, candidate, main and tag, with the gates below written into the board’s config, so you can see and edit them. Main has to be pushed before anything is tagged. Candidate waits for items_merged, so the release branch is made only once the items are merged; the commands below set the same thing. kanbanr can’t see whether CI passed. Look at it yourself, then record what it said: kanbanr gate record ci --passed --url <link to the run>. Say the project has CI with kanbanr config cadence --has-ci on and the tag stage requires that result (gate_passed, with ci as the commit gate); without the flag it requires only main_at_release and pushed.

A board made before 0.6 that has releases on and names no stages keeps the four it had, candidate, test, staging and production. test and staging do nothing, and kanbanr says so when you configure them and in kanbanr release stages. To move such a board to the three, run kanbanr config cadence --release-stages candidate,main,tag, then the release-stage lines below. Stages you add after tag follow the cut and are confirmed by you.

kanbanr config cadence --release-stages candidate,main,tag
kanbanr config release-stage candidate --requires items_merged --on-enter branch,prepare
kanbanr config release-stage main --requires items_finished --on-enter move_main
kanbanr config release-stage tag --requires main_at_release,pushed --on-enter tag
kanbanr config release-prepare --version-file Cargo.toml --changelog CHANGELOG.md --notes "docs/releases/{version}.md"
STAGE          REQUIRES                           ON ENTER
candidate      items_merged                       branch, prepare
main           items_finished                     move_main
tag            main_at_release, pushed            tag                            the cut

To stop a release being promoted while work is still going on, have the candidate stage require items_merged: every item planned into the release must be at the integrate stage or later (for TOGAF, Migration), and the plan names each item that is not, with the status it is at. And to stop a named promotion jumping over a stage, list it in --after: kanbanr then refuses to enter the stage until the release has been promoted into the one named. For example, with a ci stage you record yourself:

kanbanr config cadence --release-stages candidate,main,ci,tag
kanbanr config release-stage tag --after ci

kanbanr records that the stage was entered, not that CI passed. To require a recorded CI result as well, use gate_passed.

The release-prepare line names your own files. The notes file is created for you, but the version file must already be on the sprint’s branch, or promoting to candidate is refused and nothing changes.

Stages after the tag

The stage that tags is the cut, but it does not have to be the last. Add stages after it, for the places you run the release before it counts as out, and each becomes a confirmation you give:

kanbanr config cadence --release-stages candidate,main,tag,staging,production
kanbanr config release-stage tag --on-enter tag
kanbanr config commit-gates ci

Promoting to tag tags the commit and ships nothing. The Releases page then shows the result you recorded for the tag and asks for the next stage only after a passed one. Each stage after the tag, staging and production here, is confirmed with kanbanr release promote <VERSION> --note "what you checked". Confirming the last stage ships the release: the items reach their last status and the notes are written. If your CI fails on the tag, record the failed result and run kanbanr release add <NEW VERSION> --patch-of <VERSION> --from-failed-tag --link <run> --notes "what you saw": it files a defect with the link and your notes, plans it and the release’s items into a patch branched from the tag, and marks the failed release as superseded. The tag stays in git.

Closing a sprint before its release

Under the TOGAF preset Migration counts as done for a sprint, and Operations is when a release ships the item. So closing a sprint before its release is cut carries over only work that has not merged, to the backlog by default. An item still at Implementation is carried:

closed SP-001; carried FEAT-001 → backlog

Planning a sprint

Setup creates no sprint or release; make them when you are ready. A sprint can be changed until it starts (kanbanr sprint edit SP-001 --goal "…" --start 2026-11-10), and an empty sprint or release made by mistake is removed with kanbanr sprint remove SP-001 or kanbanr release remove v1.0.0.

kanbanr sprint add --start 2026-11-03 --length 2w --goal "Carts survive a return"
# or start it today: kanbanr sprint add --start today --length 2w --goal "…"
kanbanr sprint start SP-001
kanbanr feature add --title "Restore the cart" --milestone MS-001 --spec "# Restore the cart"
kanbanr sprint plan SP-001 FEAT-001
kanbanr sprint unplan FEAT-001                 # take it back out
kanbanr release add v1.0.0
kanbanr release plan v1.0.0 FEAT-001

Starting the sprint makes the sprint/SP-001 branch from main without switching your checkout. Items in the sprint branch from it.

When a sprint is running, plan each release item into it too. kanbanr release plan does not do it for you; it names the items it planned that are in no sprint, and the command that plans them in:

FEAT-002 is in no sprint and SP-001 is running: kanbanr sprint plan SP-001 FEAT-002

kanbanr doctor names any item planned into a release but into no sprint while a sprint runs.

A sprint and a release don’t have to line up. One release can take items from several sprints, and one sprint can feed several releases.

One item, phase by phase

Each move is refused until its gate is met, and the refusal says what’s missing.

PhaseWhat must be true to enterCommands
VisionNothingkanbanr feature add
Business ArchStatement, goal, who, what, why, requirements, approvalkanbanr feature define, kanbanr approve
System DesignHow, where, approvalkanbanr feature define, kanbanr approve
ImplementationA test named for every requirement, approval, a ## Design section in the spec, the design-review sign-offkanbanr feature edit, kanbanr signoff, kanbanr start
MigrationRequirements proven by green tests, docs updated, the docs-folded sign-off (offered once the item’s documents are built; kanbanr check names any that are not; the Review page lists texts that name what the item changed, and kanbanr drift lists them for the board)kanbanr test, kanbanr signoff, kanbanr move
OperationsGreen tests, the release sign-offkanbanr signoff records the sign-off; the cut makes the move

Adding keeps your approval; changing lapses it. Text added to the definition is reviewed at the next decision, such as kanbanr signoff FEAT-001 design-review. When approved text is changed or removed, the next move says so, and you approve again:

cannot move FEAT-001 to 'System Design': approval lapsed — the definition changed after it was approved.

A verdict records where it was taken. Each approval, ratification, sign-off and decision notes whether it came from the monitor, from a command inside a Claude Code session (conversation), or from your terminal. kanbanr feature show ends each line with it, and --json carries origin; an item from before 0.6.0 reads origin unknown. Repeating a verdict on text that hasn’t changed records nothing and prints already approved by Ada on 2026-11-07 12:26:00 from the monitor; nothing recorded. A sign-off repeated with a new note or doc is recorded.

A changed spec comes back for sign-off. A design-review sign-off covers the whole spec as it was when you gave it. If the spec changes afterwards, even outside ## Design, the sign-off reads “changed since sign-off”, and kanbanr review --pending lists the item as spec_changed with the changed lines. Sign again with kanbanr signoff FEAT-001 design-review. Pass --spec-rev with the spec_rev the queue gave to refuse the sign-off if the spec moved on since you read it.

Code starts at Implementation. kanbanr start makes the item’s branch from the sprint’s branch, and moves the item if its gate is met:

created feat/FEAT-001-restore-the-cart from sprint/SP-001
FEAT-001 -> Implementation

If the gate isn’t met, nothing is created: no branch is made, your checkout stays where it was and the item stays where it is. The refusal says what is missing:

error: unsupported operation: cannot move FEAT-001 to 'Implementation': the spec has no 'Design' section…

Once the gate is met, run kanbanr start again. Commit with kanbanr commit, which adds Refs: kanbanr:FEAT-001 to the commit.

Migration is where the merge happens. Record the test results and the docs sign-off, and the move merges the branch into the sprint’s:

FEAT-001 -> Migration
merged feat/FEAT-001-restore-the-cart into sprint/SP-001 (dee5a5918fb8)

Your checkout stays on the item’s branch, so switch back when you want the line.

Give the release sign-off before promoting to main. Promoting needs every item able to reach Operations, and each item needs its own sign-off to get there. Without it the promotion is refused, and nothing changes. A promotion to the cut or to the last stage is held the same way, as merged_items_ship, for an item whose code is already merged but which would be carried over; it names the item and what it lacks, and work that isn’t done or isn’t merged is still carried:

v1.0.0 cannot go to main yet — nothing was changed:
  - items_finished (main): FEAT-001 would carry over — FEAT-001 carries over: … no sign-off 'release' — `kanbanr signoff FEAT-001 release`.

Chores

A process can give a kind its own path. The built-in togaf process gives chore the path Vision → Implementation → Migration → Operations, skipping Business Arch and System Design. kanbanr process show togaf lists each kind’s path under “Lighter paths”.

kanbanr feature add --title "Pin the CI image" --milestone MS-001 --kind chore

A chore’s first move off Vision asks the path’s own conditions (statement, goals, requirements, and ears where the path lists it) as well as the entered stage’s gate, so it still records why it exists and how it is verified. A move to a phase off the path is refused, and the message names the path. approved and the release sign-off stay in force; the design and design-review parts do not apply. An item whose kind is changed to chore while it’s at a phase off the path keeps the ordinary transitions, so it is never stranded.

Handing work to sub-agents

A scope limits what an agent working in its own worktree may do, and kanbanr enforces it. Issue one from a branch other than the item’s, which the agent needs for its worktree:

kanbanr scope issue build FEAT-002 --note "task T1"

The agent claims the scope in its worktree. It may then record its own item’s tasks and tests and commit on its item’s branch. Anything else is refused and names the boundary:

refused by agent scope SC-001 (build, FEAT-002): `move feature FEAT-002` is not one of its operations.
refused by agent scope SC-001 (build, FEAT-002): `approve definition of FEAT-002` is not one of its operations.
refused by agent scope SC-001: agents never push. The coordinator reviews the branch and pushes it.

When the agent finishes its tasks, the item stays where it is until you review the branch and move it. See Sub-agents and agent scopes.

Stay in the project folder. Never cd into an agent’s worktree: look inside with git -C <path>, make -C <path>, npm --prefix <path> or a subshell (cd <path> && …). If your shell is already there, cd back to the project folder. Revoking a scope (kanbanr scope revoke SC-…) stops the agent on its next tool call and never restricts you.

Releasing

Before your first release, design the pipeline. A release workflow can only be tested by running it, a tag can’t be moved once it’s pushed, and shipped notes can’t be edited, so a mistake in the pipeline costs a whole version number. Settle the stages, the checks, the release description and a run without a tag first: see Designing CI and the release workflow.

Release in this order, and you won’t have to go back. kanbanr release promote v1.1.0 --plan shows what a promotion would do and changes nothing.

StepCommandWhat happens
1. Candidatekanbanr release promote v1.1.0 candidateMakes release/v1.1.0 from the sprint’s branch, and commits the version, the changelog heading and draft notes onto it
2. Write the noteskanbanr release notes v1.1.0 --editThe draft only lists requirements. Rewrite it for readers
3. Run your full checksYour project’s ownOver the release
4. Sign off each itemkanbanr signoff FEAT-001 releaseIf not already given
5. Mainkanbanr release promote v1.1.0 mainFast-forwards main to the release, without tagging
6. Push maingit push origin main
7. Wait for CI, then record itkanbanr gate record ci --passed --url <link to the run>Once CI on main is green. The cut waits for it
8. Cutkanbanr release promote v1.1.0 tagTags main, ships the items and moves any not already there to Operations
9. Push the taggit push origin v1.1.0
10. Merge forwardkanbanr git forward v1.1.0Brings the release’s commits into the sprint’s branch

The notes and the changelog heading carry the day the candidate was prepared. Step 5 dates them today before it moves main. If main moved before then, the cut’s --plan warns, and kanbanr release redate v1.1.0 dates them today. Push main again if it says so.

The cut stays refused until main is pushed:

✗ pushed (tag): dee5a59 is not on origin/main — push main (`git push origin main`), then wait for CI

Freeze the candidate. Once a release is a candidate, send anything new to the next release, and change only its notes. Reopening a candidate for each thing you find is how a release never closes.

Promoting moves main, not your checkout. If you’re on the sprint’s branch you’ll stay there, and your remote server won’t change until you push.

The notes live on the release branch, so they aren’t in your checkout. Read and change them from the release itself:

kanbanr release notes v1.1.0
kanbanr release notes v1.1.0 --edit

They are read from the path they were written to, so changing kanbanr config release-prepare --notes later leaves earlier releases’ notes readable.

If you save notes after main has moved to the release, main moves with them, and you must push it again:

main held v1.1.0, so it moved with the notes to 0360a99: push main again and wait for CI before the cut

The date follows the release. The notes and the changelog heading are dated when the candidate is made, and promoting to main dates them today. If main moved earlier and the cut comes later, the cut’s --plan warns, and kanbanr release redate v1.1.0 dates them today. Notes can’t be edited after the cut.

A merge into a promoted release sends it back. kanbanr move of an item into a release that is past candidate and not cut returns the release to its first stage and says so:

v1.1.0 was at main; FEAT-002 is merged into it, so it is back at candidate. From here: Update the release notes, then Run the release gate again for the new tip and record the result, then Promote to main, then Push main and wait for CI, then Cut v1.1.0

kanbanr release promote v1.1.0 --plan and kanbanr release stages begin with “Sent back by FEAT-002”. Do the steps in order:

  1. kanbanr release notes v1.1.0 --edit; the notes end with “Not mentioned yet: FEAT-002” until they name each item planned into the release.
  2. Run your full checks over the release, then kanbanr gate record ci --passed --commit <sha>. A pass recorded for an earlier commit stands when only documentation changed since; the plan names the commit. kanbanr config gate-docs sets which paths count as documentation (docs/ and *.md by default).
  3. kanbanr release promote v1.1.0 main
  4. git push origin main, then wait for CI.
  5. kanbanr release promote v1.1.0 tag, which is refused until main is at the release tip, pushed, and the gate has passed where the project names commit gates.

Saving notes does not send a release back. A release that is tagged and not shipped refuses the move before anything is merged, naming the tag; the change needs kanbanr release patch v1.1.0.

A patch release starts at candidate the moment it is created, so there is no first stage to promote from. Claude asks you in the conversation to confirm it; main and the tag are then decided on the Releases page as usual. kanbanr release add v1.0.1 --patch-of v1.0.0 creates it at candidate.

Closing the sprint

kanbanr sprint close SP-002
kanbanr retro --sprint SP-002

Closing changes the board only. In this setup main moves at the cut, so no branch moves and no tag is made. With no sprint running, there’s no line for new items to branch from, so start the next sprint before starting any item.

When things go wrong

You seeIt meansDo this
Moves succeed that shouldn’tNo charter, or the item predates itSet the charter before creating items
approval lapsedThe definition changed after you approved itRead the change and approve again
carried FEAT-001 → backlog at a sprint closeThe item is merged, but not done for the sprintPlan it into the next sprint, or mark Migration done
FEAT-001 would carry over at a promotionThe item can’t reach Operations yetDo what the line names, often kanbanr signoff FEAT-001 release
An item stays in Migration after the cutThe release shipped but the item never got what it lackedkanbanr doctor names it; give the sign-off it lacks (kanbanr check FEAT-001), or plan it into a coming release with kanbanr release plan
A release is back at candidate after a moveAn item was merged into it after it left candidateDo the steps kanbanr release promote <V> --plan lists
v1.1.0 is tagged at … on a moveThe release is tagged and waits for its later stageskanbanr release patch v1.1.0, and plan the change into the patch
does not exist on release/v1.1.0 at candidateA file named in release-prepare isn’t on the sprint’s branchCommit it on an item’s branch and merge that first
A defect in a shipped releaseIt needs a fix on its ownSee Patch releases

A move can also go past its gate with --override "<reason>", and the reason stays on the item. Save it for real exceptions.

The default workflow with Claude

This guide takes a project from setup to finished work under the default workflow: plan, work, finish. You don’t need to learn any commands:

  • You talk to Claude for everything except decisions and pushes. Use your own words. The ones here are only examples.
  • You decide on the monitor: approvals and sign-offs on the Review page. Claude tells you what is waiting there and links to it. It never records a decision, and it doesn’t ask for one in a plan or a question. What Claude already knows, such as a CI run’s result or what a sign-off covered, arrives filled in beside the button: you check it and click.
  • You can delegate the small decisions. Tell Claude which ones it may take, such as the design review of small defects, and until when. It proposes a delegation; you grant it on the Review page. Whatever Claude decides under it comes back there for you to keep or undo. If Claude Code runs in auto mode, its safety check may stop a delegated command. When you grant a delegation, kanbanr offers the one allow rule that lets it through; say yes to Claude, or run the command it names.
  • You push from your terminal. Nothing reaches your remote server until you do.

Prefer to run the commands yourself? See The default workflow from the command line. To compare processes, see the Process guides and Processes.

Stages

StatusMeaning
PlannedWhere items start
In ProgressWork has started, on the item’s own branch
CompletedDone, and merged
Deferred, OngoingParked for later, or work that recurs and never completes
No Action, Not Applicable, Out-of-ScopeSet aside on purpose

It uses no sprints and no releases by default. There’s no sprint to close and no release to cut. Items branch from main and merge back into main, and the merge happens when the item is Completed. If you want sprints or releases later, say so and Claude will show you what changes before it changes anything.

flowchart LR
  A["Planned"] -->|"you ask to start"| B["In Progress"]
  B -->|"you ask to finish"| C["Completed"]
  B -.->|"work happens on"| D["item branch"]
  C -.->|"merges into"| E["main"]

Setting it up

Start using kanbanr for this project. Use the default workflow.

Claude asks where the board should live and what the project is for, then writes a plan showing the process and the branches. Accepting the plan applies it. It recommends no sprints and no releases for this process.

Do the charter first. Gates aren’t enforced until a project has a charter, and items created before it are exempt. Claude asks for the project’s purpose and goals, and every item then links to a goal.

Open the monitor, with writes on.

Keep it open. Every decision below happens there.

One item, start to finish

A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there.

Claude asks whether it has a user interface. When you choose the technology (or, if you don’t, when the first item is designed), Claude asks whether the product has screens a person uses, or is a service, library or command-line tool. If it has screens, they become items of their own, designed and approved like the rest. If it has none, that goes into the design, so a missing screen is a decision and not an oversight. If it has screens, Claude also asks how the screens should look, the styling approach and the feel you want, before it designs the first one, and the answer goes into the design.

Claude asks only what it can’t work out, then writes the item. It starts in Planned. Entering In Progress is where the default workflow asks for things, and Completed asks for a little more:

StageWhat Claude doesWhat you do on the Review page
PlannedWrites what it is, why, and the requirements, each with a named testApprove
In ProgressWrites the design and its task list into the spec, then builds on the item’s branchSign off design-review first
CompletedRecords the test results, folds the design into the docs, then mergesSign off docs-folded

An item counts as done when it reaches Completed and its branch is merged. There’s no sprint or release behind that.

Approve first, then sign off. Each approval covers the text you saw. Adding to the definition keeps the approval, and what was added is reviewed at the next decision. Changing or removing approved text lapses it, and the item returns to the Review page. Read what changed, then approve again.

Just ask to move it on:

Start the saved basket.

The saved basket is finished. Complete it.

If something is missing, Claude tells you what and either fixes it or asks you. Nothing moves past a gate unless you say why, and that reason stays on the item.

Ask Claude to prove the tests first. In the run this guide is based on, an item moved to Completed with its test never recorded as green. Ask Claude to run the tests and record the results before it finishes the item, and to check that each requirement is proven.

Completing is the merge. kanbanr merges the item’s branch into main, naming the item. Nothing is pushed. Claude will remind you that the merged branch can be deleted.

Parking work

Not everything goes in order. Ask in plain words:

Park the wishlist, we’re not doing it this quarter.

This is routine work that never ends. Mark it Ongoing.

We decided against it. Mark it Out-of-Scope.

Deferred, Ongoing and the three “set aside” statuses all go back to Planned when you want them.

Handing work to sub-agents

Have a sub-agent build these tasks.

Claude gives each agent a scope, which kanbanr enforces. An agent can record its own tasks and test results and commit on its own branch. It can’t move items, approve anything or push. You’ll see its progress on the item’s page, and Claude reviews its branch before bringing you any decision.

Claude stays in the project folder while an agent works, and looks inside the agent’s worktree without moving into it (git -C), so a scope never gets in your way or Claude’s. Revoking an agent’s scope stops that agent on its next tool call and never restricts you.

Who does what

YouClaude
DefinitionsAnswer what only you know, then ApproveDraft them and keep them current
DesignSign off design-reviewWrite the design and its task list
Code and testsReview what you want toBuild, record results, update the docs
FinishingSign off docs-foldedMove the item and merge
Remote serverEvery pushNothing

When things go wrong

You seeIt meansDo this
Moves go through that shouldn’tNo charter, or the item is older than itAsk Claude to agree a charter before creating items
An item is back on the Review pageIts definition changed after you approved itRead the change, then Approve again
A branch exists but the item is still PlannedStarting made the branch before the gate was checkedMeet the gate, then ask Claude to start it again
An item is Completed but a requirement isn’t provenThe move didn’t ask for green testsAsk Claude to run and record the tests

What Claude runs

You never need these, but here they are if you’re curious. The default workflow from the command line covers them step by step.

You asked forClaude runs
Set up the processkanbanr config workflow --preset default
Branches that follow the processkanbanr config cadence --git-model on
The charterkanbanr charter set
A new itemkanbanr feature add, kanbanr feature define
The designkanbanr feature edit
Startingkanbanr start
Committingkanbanr commit
Finishingkanbanr move
A sub-agentkanbanr scope issue

The default workflow from the command line

This guide takes one item from setup to done under the default workflow, with you running each command. To work by talking to Claude instead, see The default workflow with Claude.

The commands and output come from a real run on a scratch project. <tmp> stands for a temporary folder.

The stages

The default workflow has three stages you work in and a few you park work in:

StatusMeaning
PlannedWhere items start
In ProgressWork has started, on the item’s own branch
CompletedDone, and merged
Deferred, OngoingParked for later, or work that recurs and never completes
No Action, Not Applicable, Out-of-ScopeSet aside on purpose

It uses no sprints and no releases. With them off, the git model is trunk: items branch from main and merge back into main. Completing an item is the merge.

flowchart LR
  A["Planned"] -->|"kanbanr start"| B["In Progress"]
  B -->|"kanbanr move"| C["Completed"]
  A -.->|"item branch made at start"| D["feat/FEAT-001-..."]
  D -.->|"merged at Completed"| E["main"]

Setting it up

In your project folder, which must already be a git repository:

kanbanr init shop --data-dir <tmp>/shop-board --author Ada --email ada@example.com
kanbanr config workflow --preset default
kanbanr config cadence --git-model on
kanbanr git install-hooks

New projects already get the default workflow, so the second line only makes it explicit. kanbanr config cadence confirms that sprints and releases are off:

sprints off, releases off, estimates in days, git model off

kanbanr git model shows what the git model will do. Nothing is pushed for you:

topology:   trunk
main:       main
line:       main
branch at:  main
production: at the integrate merge
items:      feat/{code}-{slug}, fix/{code}-{slug}, spike/*
protected:  main, sprint/*, release/*
kanbanr merges:
  - each item branch into main when the item enters the integrate stage (--no-ff, naming the item)
pushing:    never automatic — you review and push
automation: on — start, sprints and the hooks follow this model

The charter comes first

The gates are not enforced until the project has a charter, and an item created before the charter was adopted is exempt from them. Without one, moves that should be refused still succeed, but each says what the gate would have needed and that kanbanr charter set turns the gates on. So agree the charter before creating any items:

kanbanr charter set --file charter.yaml
charter saved for 'shop': 1 goal(s) G-1

Adding an item

kanbanr milestone add --name "Carts"
kanbanr feature add --title "Restore the cart" --milestone MS-001 --spec "# Restore the cart"
created milestone MS-001
created FEAT-001 (Planned)

Starting work

The default workflow asks for nothing to enter Planned. To enter In Progress it asks for a definition, an approval, a ## Design section in the spec, and the design-review sign-off. kanbanr check lists what is still missing:

kanbanr check FEAT-001
✗ FEAT-001 Restore the cart
    no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`)
    → to move to In Progress, still needed:
        no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`)
        the spec has no 'Design' section — add it as a heading, with its content
        no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`

0/1 ready

Trying to start now is refused. It says what’s missing, makes no branch and leaves your checkout where it is:

kanbanr start FEAT-001 --to "In Progress"
error: unsupported operation: cannot move FEAT-001 to 'In Progress': no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`); the spec has no 'Design' section — add it as a heading, with its content; no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`. To proceed anyway, record why with --override "<reason>"

Meet each need in turn. Write the definition and the spec’s design, then sign off the design:

kanbanr feature define FEAT-001 --file definition.yaml
kanbanr feature edit FEAT-001 --spec-file spec.md
kanbanr signoff FEAT-001 design-review
defined FEAT-001: 1 requirement(s)
updated FEAT-001
FEAT-001: sign-off 'design-review' recorded by Ada

kanbanr feature define --template prints a skeleton for the definition file. The spec file needs a heading called Design, written at implementation level, ending with a task list.

Starting is still refused, because nobody has approved the definition:

kanbanr start FEAT-001 --to "In Progress"
created feat/FEAT-001-restore-the-cart from main
error: unsupported operation: cannot move FEAT-001 to 'In Progress': not approved. To proceed anyway, record why with --override "<reason>"

Changing or removing approved text lapses your approval (adding to the definition keeps it, and the additions are reviewed at the next decision), so approve once the definition is as you want it:

kanbanr approve FEAT-001
kanbanr start FEAT-001 --to "In Progress"
FEAT-001 approved by Ada
created feat/FEAT-001-restore-the-cart from main
FEAT-001 -> In Progress

Doing the work

Work on the item’s branch. Commit with kanbanr commit, which names the item in the commit:

git add -A
kanbanr commit -m "feat: restore the cart"
[feat/FEAT-001-restore-the-cart 9a5061a] feat: restore the cart
 1 file changed, 1 insertion(+)
 create mode 100644 cart.txt

Finishing

kanbanr check shows what Completed asks for, and what the requirements still lack:

kanbanr check FEAT-001
✗ FEAT-001 Restore the cart
    R-1 has tests but none is green — not yet proven
    → to move to Completed, still needed:
        no sign-off 'docs-folded' — `kanbanr signoff FEAT-001 docs-folded`

0/1 ready

Completed asks for the docs-folded sign-off: the Design has been folded into the docs it affects. Moving without it is refused, so give it and move:

kanbanr move FEAT-001 "Completed"
kanbanr signoff FEAT-001 docs-folded
kanbanr move FEAT-001 "Completed"
error: unsupported operation: cannot move FEAT-001 to 'Completed': no sign-off 'docs-folded' — `kanbanr signoff FEAT-001 docs-folded`. To proceed anyway, record why with --override "<reason>"
FEAT-001: sign-off 'docs-folded' recorded by Ada
FEAT-001 -> Completed
merged feat/FEAT-001-restore-the-cart into main (52dd737ee47d)

Completed is the merge. kanbanr merges the item’s branch into main with --no-ff, naming the item. Your checkout stays on the item’s branch:

git log --oneline --all --graph
*   52dd737 Merge feat/FEAT-001-restore-the-cart into main
|\
| * 9a5061a feat: restore the cart
|/
* 1f0a61c select the board
* 403525e first commit

Notice that kanbanr check still reports the requirement as unproven, because the test was never recorded green:

R-1 has tests but none is green — not yet proven

The move to Completed went through anyway. Record test results with kanbanr test before you move, so that the requirement is proven when the item is done.

After the merge

kanbanr board
# shop board

## Planned (0)

## In Progress (0)

## Completed (1)
  - FEAT-001 Restore the cart [0/0]

kanbanr doctor reminds you to delete the merged branch:

shop FEAT-001: FEAT-001 is finished and feat/FEAT-001-restore-the-cart is merged: delete it with `git branch -d feat/FEAT-001-restore-the-cart`

Pushing main is yours, from your terminal: kanbanr never pushes.

Parking work

Not everything is done in order. Park work with kanbanr move:

ToUse for
DeferredNot now
OngoingWork that recurs and never completes
No Action, Not Applicable, Out-of-ScopeA decision not to do it

All of them can return to Planned.

When things go wrong

You seeIt meansDo this
Moves succeed that shouldn’tNo charter, or the item predates itSet the charter before creating items
not approvedNobody approved the definition, or it changed sinceRead it, then kanbanr approve
the spec has no 'Design' sectionEntering In Progress needs a designAdd a Design heading to the spec
A branch exists but the item is still Plannedkanbanr start makes the branch before checking the gateMeet the gate, then run kanbanr start again
R-1 has tests but none is green after CompletedThe move did not ask for green testsRecord them with kanbanr test

A move can also go past its gate with --override "<reason>", and the reason stays on the item. Save it for real exceptions.

Scheduled with Claude

This guide takes a project from setup to merged work using the scheduled process: Planned, Scheduled, Completed. It has no sprints and no releases. You don’t need to learn any commands:

  • You talk to Claude for everything except decisions and pushes. Use your own words. The ones here are only examples.
  • You decide on the monitor: approvals and sign-offs on the Review page. Claude tells you what is waiting there and links to it. It never records a decision, and it doesn’t ask for one in a plan or a question. What Claude already knows, such as a CI run’s result or what a sign-off covered, arrives filled in beside the button: you check it and click.
  • You can delegate the small decisions. Tell Claude which ones it may take, such as the design review of small defects, and until when. It proposes a delegation; you grant it on the Review page. Whatever Claude decides under it comes back there for you to keep or undo. If Claude Code runs in auto mode, its safety check may stop a delegated command. When you grant a delegation, kanbanr offers the one allow rule that lets it through; say yes to Claude, or run the command it names.
  • You push from your terminal. Nothing reaches your remote server until you do.

Prefer to run the commands yourself? See Scheduled from the command line. To compare processes, see Process guides and Processes.

How it works

flowchart LR
  A["Planned"] -->|"Approve, design-review"| B["Scheduled"]
  B -->|"docs-folded"| C["Completed"]
  A -.-> D["Deferred"]
StageMeaning
PlannedThe idea is written down. Items start here
ScheduledIt has been agreed and designed, and work is under way on its branch
CompletedIts branch has merged into main

Deferred holds work for later. No Action, Not Applicable and Out-of-Scope close an item without doing it.

An item is done when it is Completed. There are no sprints to close, so nothing carries over. There are no releases by default: Completed means the branch merged into main, and nothing is tagged.

Setting it up

Start using kanbanr for this project. Use the scheduled process.

Claude asks where the board should live and what the project is for, then writes a plan. Accepting the plan applies it.

Agree a charter with me first.

Do the charter first. Gates aren’t enforced until a project has one, and items created before it are exempt.

Open the monitor, with writes on.

One item, stage by stage

A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there. Schedule it.

Claude asks whether it has a user interface. When you choose the technology (or, if you don’t, when the first item is designed), Claude asks whether the product has screens a person uses, or is a service, library or command-line tool. If it has screens, they become items of their own, designed and approved like the rest. If it has none, that goes into the design, so a missing screen is a decision and not an oversight. If it has screens, Claude also asks how the screens should look, the styling approach and the feel you want, before it designs the first one, and the answer goes into the design.

StageWhat Claude doesWhat you do on the Review page
PlannedWrites what it is and whyNothing yet
ScheduledDrafts the definition, writes the design in the spec, makes the item’s branchSign off design-review, then Approve
CompletedBuilds, runs the tests, updates the docs and mergesSign off docs-folded

You decide twice per item: the design-review sign-off and the approval to start, and the docs-folded sign-off to finish. Claude asks for each and never gives it.

Each approval covers the text you saw. Adding to the definition keeps the approval, and what was added is reviewed at the next decision. Changing or removing approved text lapses it, and the item returns to the Review page. Read what changed, then approve again.

Just ask to move it on. If something is missing, Claude says what and either fixes it or asks you:

Schedule the saved basket.

Claude commits on the item’s branch.

Moving to Completed is the merge. kanbanr merges the item’s branch into main, naming the item. Your checkout may stay on the item’s branch. Nothing is pushed.

Mark the saved basket as complete.

Ask for the tests first. Under this process a requirement without a green test doesn’t stop the move, so say “run the tests and record them before you complete it”.

Handing work to sub-agents

Have a sub-agent build these tasks.

Claude gives each agent a scope, which kanbanr enforces. An agent can record its own tasks and test results and commit on its branch. It can’t move items, approve anything or push. See Sub-agents and agent scopes.

Claude stays in the project folder while an agent works, and looks inside the agent’s worktree without moving into it (git -C), so a scope never gets in your way or Claude’s. Revoking an agent’s scope stops that agent on its next tool call and never restricts you.

Pushing

When items have merged and you’re happy, push from your terminal:

git push origin main

Claude can’t push. After an item merges, Claude may point out that its branch can be deleted.

Who does what

YouClaude
DefinitionsAnswer what only you know, then ApproveDraft them and keep the spec current
DesignSign off design-reviewWrite it into the spec
Code and testsReview what you want toBuild, or give the work to sub-agents, and record results
FinishingSign off docs-foldedUpdate the docs and move the item
Remote serverEvery pushNothing

When things go wrong

You seeIt meansDo this
Moves go through that shouldn’tNo charter, or the item is older than itAsk Claude to agree a charter
An item is back on the Review pageIts definition changed after you approved itRead the change, then Approve again
Claude says a branch can be deletedThe item is mergedAsk Claude to delete it
You need releases or sprintsThe process doesn’t use themSee TOGAF with Claude for a process that does

What Claude runs

You never need these. Scheduled from the command line covers them.

You asked forClaude runs
Set up the processkanbanr config workflow --preset scheduled
Branches and hookskanbanr config cadence --git-model on, kanbanr git install-hooks
A definitionkanbanr feature define
The designkanbanr feature edit
Scheduling an itemkanbanr start
Committingkanbanr commit
Completing an itemkanbanr move
A sub-agentkanbanr scope issue

Scheduled, from the command line

This guide takes one item through the scheduled process (Planned, Scheduled, Completed) with you running each command. To work by talking to Claude instead, see Scheduled with Claude.

The commands and output come from a real run on a scratch project. <tmp> stands for a temporary folder.

The process

flowchart LR
  A["Planned"] -->|"start"| B["Scheduled"]
  B -->|"move"| C["Completed"]
  A -.-> D["Deferred"]
StageWhat must be true to enterCommands
PlannedNothing: items start herekanbanr feature add
ScheduledA definition, approval, a ## Design section in the spec, the design-review sign-offkanbanr feature define, kanbanr feature edit, kanbanr signoff, kanbanr approve, kanbanr start
CompletedThe docs-folded sign-off. The move merges the item’s branchkanbanr signoff, kanbanr move

Deferred is a parking place. So are No Action, Not Applicable and Out-of-Scope. There are no sprints or releases: nothing is tagged, and an item is finished when its branch merges into main.

Setting it up

In your project folder:

kanbanr init shop --data-dir <tmp>/shop-board --author Ada --email ada@example.com
kanbanr config workflow --preset scheduled
kanbanr config cadence --git-model on
kanbanr git install-hooks
workflow updated
sprints off, releases off, estimates in days
installed commit-msg and pre-commit and pre-push in <tmp>/shop: a commit now has to say which item it serves

kanbanr git model shows what will happen. There is one line, main, and no sprint or release branches:

topology:   trunk
main:       main
line:       main
branch at:  main
production: at the integrate merge
items:      feat/{code}-{slug}, fix/{code}-{slug}, spike/*
protected:  main, sprint/*, release/*
kanbanr merges:
  - each item branch into main when the item enters the integrate stage (--no-ff, naming the item)
pushing:    never automatic — you review and push
automation: on — start, sprints and the hooks follow this model

Agree a charter before creating items, because gates are not enforced without one. A move that should be refused still succeeds, but says what the gate would have needed and that kanbanr charter set turns the gates on:

kanbanr charter set --file <tmp>/charter.yaml
charter saved for 'shop': 1 goal(s) G-1

Creating the item

kanbanr milestone add --name "Carts"
kanbanr feature add --title "Restore the cart" --milestone MS-001 --spec "# Restore the cart"
created milestone MS-001
created FEAT-001 (Planned)

Planned to Scheduled

Ask what is missing:

kanbanr check FEAT-001
✗ FEAT-001 Restore the cart
    no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`)
    → to move to Scheduled, still needed:
        no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`)
        the spec has no 'Design' section — add it as a heading, with its content
        no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`

0/1 ready

kanbanr start makes the item’s branch and moves the item if its gate is met. If it isn’t, it says what’s missing and makes no branch:

kanbanr start FEAT-001 --to "Scheduled"
error: unsupported operation: cannot move FEAT-001 to 'Scheduled': no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`); the spec has no 'Design' section — add it as a heading, with its content; no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`. To proceed anyway, record why with --override "<reason>"

Meet each gap. Write the definition, add a ## Design section to the spec, and give the design-review sign-off:

kanbanr feature define FEAT-001 --file <tmp>/definition.yaml
kanbanr feature edit FEAT-001 --spec-file <tmp>/spec.md
kanbanr signoff FEAT-001 design-review
defined FEAT-001: 1 requirement(s)
updated FEAT-001
FEAT-001: sign-off 'design-review' recorded by Ada

Approval is still needed. The refusal says so:

kanbanr start FEAT-001 --to "Scheduled"
created feat/FEAT-001-restore-the-cart from main
error: unsupported operation: cannot move FEAT-001 to 'Scheduled': not approved. To proceed anyway, record why with --override "<reason>"
kanbanr approve FEAT-001
kanbanr start FEAT-001 --to "Scheduled"
FEAT-001 approved by Ada
created feat/FEAT-001-restore-the-cart from main
FEAT-001 -> Scheduled

The work

Work on the item’s branch and commit with kanbanr commit, which adds Refs: kanbanr:FEAT-001:

git add -A
kanbanr commit -m "feat: restore the cart"
[feat/FEAT-001-restore-the-cart 88f968e] feat: restore the cart
 1 file changed, 1 insertion(+)
 create mode 100644 cart.txt

Scheduled to Completed

kanbanr move FEAT-001 "Completed"
error: unsupported operation: cannot move FEAT-001 to 'Completed': no sign-off 'docs-folded' — `kanbanr signoff FEAT-001 docs-folded`. To proceed anyway, record why with --override "<reason>"

Give the sign-off, then move. The move merges the branch into main:

kanbanr signoff FEAT-001 docs-folded
kanbanr move FEAT-001 "Completed"
FEAT-001: sign-off 'docs-folded' recorded by Ada
FEAT-001 -> Completed
merged feat/FEAT-001-restore-the-cart into main (9837a0e70aa0)

Your checkout stays on the item’s branch. The history shows the merge naming the item:

*   9837a0e Merge feat/FEAT-001-restore-the-cart into main
|\
| * 88f968e feat: restore the cart
|/
* 0df855e select the board
* 403525e first commit

Nothing was pushed. Review, then git push origin main yourself.

When things go wrong

You seeIt meansDo this
cannot move … to 'Scheduled': not approvedThe definition has no approval, or it lapsedkanbanr approve FEAT-001
the spec has no 'Design' sectionThe build stage needs a design in the specAdd a ## Design heading and content with kanbanr feature edit
no sign-off 'docs-folded'The merge stage needs a person’s sign-offkanbanr signoff FEAT-001 docs-folded
R-1 has tests but none is green from kanbanr checkA requirement isn’t provenRecord a passing test. See the note below
kanbanr doctor says the item’s branch is mergedThe branch is no longer neededgit branch -d feat/FEAT-001-restore-the-cart

A move can also go past its gate with --override "<reason>", and the reason stays on the item. Save it for real exceptions.

Note. In the run above, kanbanr check still said R-1 has tests but none is green after the item was Completed. The move was allowed, so a manual kanbanr move didn’t ask for green tests. Don’t rely on it: record the test results before you move.

PDCA with Claude

This guide takes one item through Plan, Do, Check and Act. You don’t need to learn any commands:

  • You talk to Claude for everything except decisions and pushes. Use your own words. The ones here are only examples.
  • You decide on the monitor: approvals and sign-offs on the Review page. Claude tells you what is waiting there and links to it. It never records a decision, and it doesn’t ask for one in a plan or a question. What Claude already knows, such as a CI run’s result or what a sign-off covered, arrives filled in beside the button: you check it and click.
  • You can delegate the small decisions. Tell Claude which ones it may take, such as the design review of small defects, and until when. It proposes a delegation; you grant it on the Review page. Whatever Claude decides under it comes back there for you to keep or undo. If Claude Code runs in auto mode, its safety check may stop a delegated command. When you grant a delegation, kanbanr offers the one allow rule that lets it through; say yes to Claude, or run the command it names.
  • You push from your terminal. Nothing reaches your remote server until you do.

Prefer to run the commands yourself? See PDCA from the command line. For the other processes, see the guide index and Processes.

What is particular to PDCA

PDCA is a small cycle. Each item goes round it once: plan the change, make it, check the result against the plan, then act on what you learned.

In PDCA
StagesPlan, Do, Check, Act
DoneAn item is done when it reaches Act. Act is the end of the cycle
ApprovalOnce, to enter Do
Sign-offsdesign-review to enter Do, docs-folded to enter Check, review to enter Act
Sprints and releasesOff by default. There is no release and no cut, so nothing is tagged

Because there are no sprints or releases, the work goes straight to main. Moving to Check is the merge: kanbanr merges the item’s branch into main. It does not push.

flowchart LR
  A["Plan"] -->|"approve, design-review"| B["Do"]
  B -->|"tests green, docs-folded"| C["Check"]
  C -->|"review"| D["Act"]
  B -.->|"branch made"| E["item branch"]
  C -.->|"merge"| F["main"]

Setting it up

Start using kanbanr for this project. Use PDCA.

Claude asks where the board should live and what the project is for. It also asks whether you want sprints and releases. PDCA recommends neither. Claude shows the plan, and accepting the plan applies it.

Agree a charter with me first.

Do the charter first. Gates aren’t enforced until a project has one, and items created before it are exempt. Claude asks for the project’s purpose and goals. Every item then links to a goal.

Open the monitor, with writes on.

Keep it open. Claude gives you the address, and your decisions happen there.

One item, stage by stage

Ask for the work in your own words, and Claude asks only what it can’t work out.

A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there. Plan it.

Claude asks whether it has a user interface. When you choose the technology (or, if you don’t, when the first item is designed), Claude asks whether the product has screens a person uses, or is a service, library or command-line tool. If it has screens, they become items of their own, designed and approved like the rest. If it has none, that goes into the design, so a missing screen is a decision and not an oversight. If it has screens, Claude also asks how the screens should look, the styling approach and the feel you want, before it designs the first one, and the answer goes into the design.

StageWhat Claude doesWhat you do on the Review page
PlanWrites the change, why, and how you will know it worked: the requirements and a named test for eachNothing yet
DoWrites the design and its task list, makes the item’s branch, builds, commitsSign off design-review, then Approve
CheckRuns the tests, records the results and updates the docs. Moving here merges the branch into mainSign off docs-folded
ActWrites what worked and what the next cycle should changeSign off review

Approve and sign off before Do. Do asks for an approved definition, a ## Design section in the spec and the design-review sign-off. If one is missing, Claude says which, and drafts it or brings it to you.

Adding keeps your approval; changing lapses it. Each approval covers the text you saw. Adding to the definition keeps it, and what was added is reviewed at the next decision. If approved text is changed or removed, the item returns to the Review page. Read what changed, then approve again.

Just ask to move it on:

Take the saved basket to Do.

If something’s missing, Claude tells you what. Nothing moves past a gate unless you say why, and that reason stays on the item.

Check is where the proof goes. An item can’t enter Check until every requirement has a green test. The tests are recorded against the commit they ran on.

Act ends the item. After your Sign off review, ask Claude to move it to Act. Claude also writes what the next cycle should change. To run another cycle on the same item, ask Claude to move it back to Plan.

After the merge your checkout may still be on the item’s branch. main has moved, but your remote server hasn’t until you push.

Handing work to sub-agents

Have a sub-agent build these tasks.

Claude gives each agent a scope, which kanbanr enforces. An agent can record its own tasks and test results and commit on its branch. It can’t move items, approve anything or push. When it finishes, Claude reviews the branch and brings you any decisions.

Claude stays in the project folder while an agent works, and looks inside the agent’s worktree without moving into it (git -C), so a scope never gets in your way or Claude’s. Revoking an agent’s scope stops that agent on its next tool call and never restricts you.

Who does what

YouClaude
DefinitionsAnswer what only you know, then ApproveDraft them, ask, and keep the spec current
DesignSign off design-reviewWrite the design and its task list
Code and testsReview what you want toBuild, or hand to sub-agents, and record results
Merging an itemSign off docs-foldedUpdate the docs and move the item to Check
Closing the cycleSign off reviewWrite what the next cycle should change, and move to Act
Remote serverEvery pushNothing

When things go wrong

You seeIt meansDo this
Moves go through that shouldn’tNo charter, or the item is older than itAsk Claude to agree a charter before creating items
An item is back on the Review pageIts definition changed after you approved itRead the change, then Approve again
Claude says the move to Do is refusedThe definition, the design, the sign-off or the approval is missingDo what Claude names
Claude says the move to Check is refusedA requirement has no green test, or docs-folded is missingAsk Claude to run the tests, then Sign off docs-folded

What Claude runs

You never need these. PDCA from the command line covers them step by step.

You asked forClaude runs
Set up the processkanbanr config workflow --preset pdca
Brancheskanbanr config cadence --git-model on
A new itemkanbanr feature add
The definition and designkanbanr feature define, kanbanr feature edit
Starting the buildkanbanr start
Committingkanbanr commit
Test resultskanbanr test (a manual check waits on the Review page for you to record)
Moving an itemkanbanr move
A sub-agentkanbanr scope issue

PDCA from the command line

This guide takes one item through Plan, Do, Check and Act with you running each command. To work by talking to Claude instead, see PDCA with Claude.

The commands and output come from a real run on a scratch project. <tmp> stands for a temporary folder.

PDCA uses no sprints or releases by default. There is no cut: an item is done when it reaches Act.

Setting it up

In your project folder, which is a git repository:

kanbanr init shop --data-dir <tmp>/shop-board --author Ada --email ada@example.com
kanbanr config workflow --preset pdca
kanbanr config cadence --git-model on
kanbanr git install-hooks
workflow updated
sprints off, releases off, estimates in days, git model off
installed commit-msg and pre-commit and pre-push in <tmp>/shop: a commit now has to say which item it serves

kanbanr git model shows what the git model will do. With no sprints, work merges straight into main. Nothing is pushed for you:

topology:   trunk
main:       main
line:       main
branch at:  main
production: at the integrate merge
items:      feat/{code}-{slug}, fix/{code}-{slug}, spike/*
protected:  main, sprint/*, release/*
kanbanr merges:
  - each item branch into main when the item enters the integrate stage (--no-ff, naming the item)
pushing:    never automatic — you review and push
automation: on — start, sprints and the hooks follow this model

The charter comes first

The gates are not enforced until the project has a charter, and an item created before the charter was adopted is exempt from them. Without one, moves that should be refused still succeed, but each says what the gate would have needed and that kanbanr charter set turns the gates on. So agree the charter before creating any items:

kanbanr charter set --file charter.yaml
charter saved for 'shop': 1 goal(s) G-1

The stages

StageWhat must be true to enterCommands
PlanNothingkanbanr feature add
DoA definition with statement, goals, requirements and a test named for each; approval; a ## Design section in the spec; the design-review sign-offkanbanr feature define, kanbanr feature edit, kanbanr signoff, kanbanr approve, kanbanr start
CheckEvery requirement proven by a green test; the docs-folded sign-offkanbanr test, kanbanr signoff, kanbanr move
ActThe review sign-offkanbanr signoff, kanbanr move

Plan

kanbanr milestone add --name "Carts"
kanbanr feature add --title "Restore the cart" --milestone MS-001 --spec "# Restore the cart"
created MS-001
created FEAT-001 (Plan)

Do

kanbanr check says what the next stage still needs:

kanbanr check FEAT-001
✗ FEAT-001 Restore the cart
    no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`)
    → to move to Do (Make the change as planned.), still needed:
        no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`)
        the spec has no 'Design' section — add it as a heading, with its content
        no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`

0/1 ready

kanbanr start makes the item’s branch and moves the item if its gate is met. If it isn’t, it says what’s missing and makes no branch:

kanbanr start FEAT-001 --to "Do"
error: unsupported operation: cannot move FEAT-001 to 'Do': no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`); the spec has no 'Design' section — add it as a heading, with its content; no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`. To proceed anyway, record why with --override "<reason>"

Write the definition, add the design to the spec and record the design review:

kanbanr feature define FEAT-001 --file definition.yaml
kanbanr feature edit FEAT-001 --spec-file spec.md
kanbanr signoff FEAT-001 design-review
defined FEAT-001: 1 requirement(s)
updated FEAT-001
FEAT-001: sign-off 'design-review' recorded by Ada

Starting again is still refused until you approve:

created feat/FEAT-001-restore-the-cart from main
error: unsupported operation: cannot move FEAT-001 to 'Do': not approved. To proceed anyway, record why with --override "<reason>"
kanbanr approve FEAT-001
kanbanr start FEAT-001 --to "Do"
FEAT-001 approved by Ada
created feat/FEAT-001-restore-the-cart from main
FEAT-001 -> Do

Adding keeps your approval; changing lapses it. Text added to the definition is reviewed at the next decision. If you change or remove approved text, approve it again.

Do the work, then commit with kanbanr commit, which adds Refs: kanbanr:FEAT-001 to the commit:

kanbanr commit -m "feat: restore the cart"
[feat/FEAT-001-restore-the-cart 9a5061a] feat: restore the cart
 1 file changed, 1 insertion(+)
 create mode 100644 cart.txt

Check

The move is refused until the requirements are proven and the docs are folded in:

kanbanr move FEAT-001 "Check"
error: unsupported operation: cannot move FEAT-001 to 'Check': R-1 has tests but none is green — not yet proven; no sign-off 'docs-folded' — `kanbanr signoff FEAT-001 docs-folded`. To proceed anyway, record why with --override "<reason>"

Record the test result against the commit it ran on, give the sign-off and move:

kanbanr test FEAT-001 R-1 "cart_restores_after_return" green --rev 9a5061a96d32f217bcdad0c4013554298b7607c5
kanbanr signoff FEAT-001 docs-folded
kanbanr move FEAT-001 "Check"
FEAT-001/R-1 · cart_restores_after_return -> green
FEAT-001: sign-off 'docs-folded' recorded by Ada
FEAT-001 -> Check
merged feat/FEAT-001-restore-the-cart into main (52dd737ee47d)

Check is where the merge happens. The item’s branch is merged into main. Your checkout stays on the item’s branch.

Act

kanbanr move FEAT-001 "Act"
error: unsupported operation: cannot move FEAT-001 to 'Act': no sign-off 'review' — `kanbanr signoff FEAT-001 review`. To proceed anyway, record why with --override "<reason>"
kanbanr signoff FEAT-001 review
kanbanr move FEAT-001 "Act"
FEAT-001: sign-off 'review' recorded by Ada
FEAT-001 -> Act

Act is the end of the cycle:

kanbanr board
# shop board

## Plan (0)

## Do (0)

## Check (0)

## Act (1)
  - FEAT-001 Restore the cart [0/0]

The history shows the merge on main:

*   52dd737 Merge feat/FEAT-001-restore-the-cart into main
|\  
| * 9a5061a feat: restore the cart
|/  
* 1f0a61c select the board
* 403525e first commit

Push main yourself when you are ready: git push origin main. kanbanr never pushes.

When things go wrong

You seeIt meansDo this
Moves succeed that shouldn’tNo charter, or the item predates itSet the charter before creating items
not approvedThe definition was never approved, or changed sincekanbanr approve FEAT-001
the spec has no 'Design' sectionDo needs a build-ready designkanbanr feature edit, then kanbanr signoff FEAT-001 design-review
none is green — not yet provenA requirement has no passing testRun the test, then kanbanr test
no sign-off 'review'Act needs a person’s reviewkanbanr signoff FEAT-001 review
doctor says the branch is mergedThe item is finishedgit branch -d feat/FEAT-001-restore-the-cart

A move can also go past its gate with --override "<reason>", and the reason stays on the item. Save it for real exceptions.

Design control with Claude

This guide takes one item through the design-control process, from planning to released. The process is modelled on the controls of ISO 9001 clause 8.3 (design and development). It is modelled on them, not a claim of compliance: that is for a certification body to decide.

You don’t need to learn any commands:

  • You talk to Claude for everything except decisions and pushes. Use your own words. The ones here are only examples.
  • You decide on the monitor: approvals and sign-offs on the Review page. Claude tells you what is waiting there and links to it. It never records a decision, and it doesn’t ask for one in a plan or a question. What Claude already knows, such as a CI run’s result or what a sign-off covered, arrives filled in beside the button: you check it and click.
  • You can delegate the small decisions. Tell Claude which ones it may take, such as the design review of small defects, and until when. It proposes a delegation; you grant it on the Review page. Whatever Claude decides under it comes back there for you to keep or undo. If Claude Code runs in auto mode, its safety check may stop a delegated command. When you grant a delegation, kanbanr offers the one allow rule that lets it through; say yes to Claude, or run the command it names.
  • You push from your terminal. Nothing reaches your remote server until you do.

Prefer to run the commands yourself? See Design control from the command line. For the other processes, see the guides index and Processes: presets, gates and sign-offs.

How it differs from the others

  • It uses no sprints and no releases by default. Setting it up turns the git model on and leaves sprints and releases off. Work goes from an item’s branch straight to main, so there is no release to promote and no cut. You can turn sprints and releases on later if you want them.
  • Released is a stage, not an event. An item is Released when you sign off its validation. That is the end of the process.
  • It asks for four sign-offs. Each one is your recorded decision, at the stage that needs it.
  • Merging happens at Validation, not at Released. See the table below.

The stages

flowchart LR
  A["Planning"] --> B["Inputs"]
  B --> C["Design"]
  C --> D["Review"]
  D --> E["Verification"]
  E --> F["Validation"]
  F --> G["Released"]

You can send an item back to Design from Review, Verification, Validation or Released. An item that turns out not to need work can go to No Action, Not Applicable or Out-of-Scope.

Setting it up

Start using kanbanr for this project. Use the design-control process.

Claude asks where the board should live and what the project is for, then writes a plan. Accepting the plan applies it.

Agree a charter with me first.

Do the charter first. Gates aren’t enforced until a project has one, and items created before it are exempt. Claude asks for the project’s purpose and goals. Every item then links to a goal.

Open the monitor, with writes on.

Keep it open. Every decision below happens there.

One item, stage by stage

Ask for the work in your own words, and Claude asks only what it can’t work out.

A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there. Take it through design control.

Claude asks whether it has a user interface. When you choose the technology (or, if you don’t, when the first item is designed), Claude asks whether the product has screens a person uses, or is a service, library or command-line tool. If it has screens, they become items of their own, designed and approved like the rest. If it has none, that goes into the design, so a missing screen is a decision and not an oversight. If it has screens, Claude also asks how the screens should look, the styling approach and the feel you want, before it designs the first one, and the answer goes into the design.

StageWhat Claude doesWhat you do on the Review page
PlanningCreates the item and writes what it isNothing
InputsRecords the statement, the goal it serves and the requirements, each in the EARS formNothing
DesignMakes the item’s branch, writes the design and its task list, and names a test for each requirementApprove, then Sign off design-review
ReviewReviews the design against the inputsNothing
VerificationChecks the outputs meet the inputsSign off verification-review
ValidationBuilds and runs the tests, updates the docs, then merges the branch into mainSign off docs-folded
ReleasedNothingSign off validation

Approve first, then sign off. An item with both waiting shows Approve, then Sign off once you’ve approved it, so check back after approving.

Each sign-off is your decision, recorded. Claude never gives one for you. If it isn’t there, the item stays where it is and Claude tells you which one is missing.

Just ask to move it on:

Move the saved basket on to Design.

If something’s missing, Claude tells you what and either fixes it or asks you. Nothing moves past a gate unless you say why, and that reason stays on the item.

Review has no sign-off of its own. The review is recorded as the verification-review sign-off you give before Verification starts.

Chores

A chore doesn’t walk every stage. It goes Planning → Design → Verification → Validation → Released, skipping Inputs and Review, because their questions don’t fit small maintenance work. Tell Claude it’s a chore when you ask for it.

Pin the CI image: it’s a chore.

Before its first move Claude asks once for what every item records: a one-sentence statement, the goal it serves, and a requirement in the EARS form that says how it’s verified. You still approve it, and the sign-offs that belong to the stages it enters (such as the one at Validation, before release) are still yours. A chore has no Design section and no design-review. If you change an item’s kind to a chore while it’s at a stage the chore path leaves out, it’s off the path: it moves by the ordinary moves, or back to Planning.

When an item counts as done

Only Released ends the process. Until you sign off validation, the item is not finished, even when its code is already merged. Merging into main happens when the item enters Validation, so the code can be on main while the item is still waiting for your last sign-off.

If you turn sprints on, ask Claude how you want an item to count as done for a sprint, because Released is the only end stage.

Handing work to sub-agents

Have a sub-agent build these tasks.

Claude gives each agent a scope, which kanbanr enforces. An agent can record its own tasks and test results and commit on its own branch. It can’t move items, approve anything, give a sign-off or push. Its progress shows on the item’s page, and its scope on the Workflow page. When it finishes, Claude reviews the branch and brings you any decisions.

Claude stays in the project folder while an agent works, and looks inside the agent’s worktree without moving into it (git -C), so a scope never gets in your way or Claude’s. Revoking an agent’s scope stops that agent on its next tool call and never restricts you.

Pushing

Moving an item through the process doesn’t push anything. Merging into main happens on your machine only.

The saved basket is released. What do I push?

Claude tells you. Then you push main from your terminal.

Who does what

YouClaude
InputsAnswer what only you knowDraft the statement and requirements
DesignApprove, then Sign off design-reviewWrite the design and its task list
VerificationSign off verification-reviewCheck outputs against inputs
Code and testsReview what you want toBuild, or give the work to sub-agents, and record results
MergingSign off docs-foldedUpdate the docs and move the item
ReleaseSign off validationMove the item
Remote serverEvery pushNothing

When things go wrong

You seeIt meansDo this
Moves go through that shouldn’tNo charter, or the item is older than itAsk Claude to agree a charter before creating items
An item is back on the Review pageIts definition changed after you approved itRead the change, then Approve again
A move is refused for a missing sign-offYou haven’t given the one that stage asks forSign off on the Review page
A move to Validation is refused for testsA requirement has no green test yetAsk Claude to build and run it
The board warns a finished item’s branch is mergedThe branch is no longer neededAsk Claude to delete it

What Claude runs

You never need these, but here they are if you want to check what Claude did. Design control from the command line covers them step by step.

You asked forClaude runs
Set up the processkanbanr config workflow --preset design-control
The git modelkanbanr config cadence --git-model on
The charterkanbanr charter set
A new itemkanbanr feature add, kanbanr feature define
Checking what’s missingkanbanr check
Starting the buildkanbanr start
Moving an itemkanbanr move
Recording test resultskanbanr test (a manual check waits on the Review page for you to record)
Committingkanbanr commit

Design control from the command line

This guide takes one item through the design-control process, with you running each command. To work by talking to Claude instead, see Design control with Claude.

The commands and output come from a real run on a scratch project. <tmp> stands for a temporary folder. Sprints and releases are off in this process by default, so there is no release to cut: the item is finished when it reaches Released.

Setting it up

In your project folder:

kanbanr init shop
kanbanr config workflow --preset design-control
kanbanr config cadence --git-model on
kanbanr git install-hooks
workflow updated
sprints off, releases off, estimates in days, git model off
installed commit-msg and pre-commit and pre-push in <tmp>/shop: a commit now has to say which item it serves

kanbanr git model shows what the git model will do. Nothing is pushed for you:

topology:   trunk
main:       main
line:       main
branch at:  main
production: at the integrate merge
items:      feat/{code}-{slug}, fix/{code}-{slug}, spike/*
protected:  main, sprint/*, release/*
kanbanr merges:
  - each item branch into main when the item enters the integrate stage (--no-ff, naming the item)
pushing:    never automatic — you review and push
automation: on — start, sprints and the hooks follow this model

The charter comes first

The gates are not enforced until the project has a charter, and an item created before the charter was adopted is exempt from them. Without one, moves that should be refused still succeed, but each says what the gate would have needed and that kanbanr charter set turns the gates on. So agree the charter before creating any items:

kanbanr charter set --file charter.yaml
charter saved for 'shop': 1 goal(s) G-1

The stages

Planning → Inputs → Design → Review → Verification → Validation → Released. Each move is refused until its gate is met, and the refusal says what’s missing. kanbanr check FEAT-001 lists it first.

StageWhat must be true to enterCommands
PlanningNothingkanbanr feature add
InputsA definition: statement, goal, requirements in EARS formkanbanr feature define
DesignApproval, and the design-review sign-offkanbanr approve, kanbanr signoff, kanbanr start
ReviewA test named for every requirementkanbanr move
VerificationThe verification-review sign-offkanbanr signoff
ValidationGreen tests, and the docs-folded sign-offkanbanr test, kanbanr signoff
ReleasedGreen tests, and the validation sign-offkanbanr signoff

One item, stage by stage

kanbanr milestone add --name "Carts"
kanbanr feature add --title "Restore the cart" --milestone MS-001 --spec "# Restore the cart"
created milestone MS-001
created FEAT-001 (Planning)

Planning to Inputs

An item with no definition can’t leave Planning:

kanbanr move FEAT-001 "Inputs"
error: unsupported operation: cannot move FEAT-001 to 'Inputs': no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`). To proceed anyway, record why with --override "<reason>"

Define it from a file, and give the spec a ## Design section, then move:

kanbanr feature define FEAT-001 --file definition.yaml
kanbanr feature edit FEAT-001 --spec-file spec.md
kanbanr move FEAT-001 "Inputs"
defined FEAT-001: 1 requirement(s)
updated FEAT-001
FEAT-001 -> Inputs

Inputs to Design

kanbanr check says what Design needs:

✗ FEAT-001 Restore the cart
    not approved
    R-1 has tests but none is green — not yet proven
    → to move to Design (Produce the design outputs against those inputs.), still needed:
        not approved
        no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`

Code starts at Design. kanbanr start makes the item’s branch and moves the item if its gate is met. If it isn’t, it says what’s missing and makes no branch:

error: unsupported operation: cannot move FEAT-001 to 'Design': not approved; no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`. To proceed anyway, record why with --override "<reason>"

Approve, sign off, and run it again:

kanbanr approve FEAT-001
kanbanr signoff FEAT-001 design-review
kanbanr start FEAT-001 --to "Design"
FEAT-001 approved by Ada
FEAT-001: sign-off 'design-review' recorded by Ada
created feat/FEAT-001-restore-the-cart from main
FEAT-001 -> Design

Do the work on the branch. Commit with kanbanr commit, which adds Refs: kanbanr:FEAT-001 to the commit:

kanbanr commit -m "feat: restore the cart"
[feat/FEAT-001-restore-the-cart 88f968e] feat: restore the cart
 1 file changed, 1 insertion(+)
 create mode 100644 cart.txt

Design to Review

✗ FEAT-001 Restore the cart
    R-1 has tests but none is green — not yet proven
    → Review (Review the design against its inputs.): ready to move on
kanbanr move FEAT-001 "Review"
FEAT-001 -> Review

Review to Verification

The review is recorded as a sign-off before Verification starts. Without it, the move is refused:

error: unsupported operation: cannot move FEAT-001 to 'Verification': no sign-off 'verification-review' — `kanbanr signoff FEAT-001 verification-review`. To proceed anyway, record why with --override "<reason>"
kanbanr signoff FEAT-001 verification-review
kanbanr move FEAT-001 "Verification"
FEAT-001: sign-off 'verification-review' recorded by Ada
FEAT-001 -> Verification

Verification to Validation

Validation is where the merge happens. It needs a green test and the docs-folded sign-off. Without them:

error: unsupported operation: cannot move FEAT-001 to 'Validation': R-1 has tests but none is green — not yet proven; no sign-off 'docs-folded' — `kanbanr signoff FEAT-001 docs-folded`. To proceed anyway, record why with --override "<reason>"

Record the test result against the commit it ran on, give the sign-off, and move:

kanbanr test FEAT-001 R-1 "cart_restores_after_return" green --rev 88f968e792aede0f44a1b9a82c5bd0dd821f308e
kanbanr signoff FEAT-001 docs-folded
kanbanr move FEAT-001 "Validation"
FEAT-001/R-1 · cart_restores_after_return -> green
FEAT-001: sign-off 'docs-folded' recorded by Ada
FEAT-001 -> Validation
merged feat/FEAT-001-restore-the-cart into main (9837a0e70aa0)

Your checkout stays on the item’s branch, so switch back when you want main.

Validation to Released

The item is ready, but Released needs the validation sign-off:

✓ FEAT-001 Restore the cart
    → to move to Released (Released, with validation recorded.), still needed:
        no sign-off 'validation' — `kanbanr signoff FEAT-001 validation`
error: unsupported operation: cannot move FEAT-001 to 'Released': no sign-off 'validation' — `kanbanr signoff FEAT-001 validation`. To proceed anyway, record why with --override "<reason>"
kanbanr signoff FEAT-001 validation
kanbanr move FEAT-001 "Released"
FEAT-001: sign-off 'validation' recorded by Ada
FEAT-001 -> Released

kanbanr board now shows the item under Released. That is the end: there is no release to promote and no tag to cut.


### Chores

A process can give a kind its own path. The built-in `design-control` process gives `chore` the path
Planning → Design → Verification → Validation → Released, skipping Inputs and Review. A chore passes Validation, where its branch merges. `kanbanr process show design-control` lists each kind's path under
"Lighter paths".

```bash
kanbanr feature add --title "Pin the CI image" --milestone MS-001 --kind chore

A chore’s first move off Planning asks the path’s own conditions (statement, goals, requirements, and ears where the path lists it) as well as the entered stage’s gate, so it still records why it exists and how it is verified. A move to a stage off the path is refused, and the message names the path. The entered stage’s gate still applies, approved and sign-offs included; the sign-off at Review belongs to a stage a chore does not enter, while the one at Validation is still the person’s. The design and design-review parts do not apply. An item whose kind is changed to chore while it’s at a stage off the path keeps the ordinary transitions, so it is never stranded.

Released (1)

  • FEAT-001 Restore the cart [0/0]

The history shows the merge made at Validation:

```text
*   9837a0e Merge feat/FEAT-001-restore-the-cart into main
|\  
| * 88f968e feat: restore the cart
|/  
* 0df855e select the board
* 403525e first commit

kanbanr doctor then reminds you that the merged branch can go:

shop FEAT-001: FEAT-001 is finished and feat/FEAT-001-restore-the-cart is merged: delete it with `git branch -d feat/FEAT-001-restore-the-cart`

Nothing was pushed. Push main yourself when you’ve reviewed it.

Handing work to sub-agents

A scope limits what an agent working in its own worktree may do, and kanbanr enforces it. An agent can record its own tasks and tests and commit on its item’s branch. It can’t move items, approve, give sign-offs or push. See Sub-agents and agent scopes.

Stay in the project folder. Never cd into an agent’s worktree: look inside with git -C <path>, make -C <path>, npm --prefix <path> or a subshell (cd <path> && …). If your shell is already there, cd back to the project folder. Revoking a scope (kanbanr scope revoke SC-…) stops the agent on its next tool call and never restricts you.

When things go wrong

You seeIt meansDo this
Moves succeed that shouldn’tNo charter, or the item predates itSet the charter before creating items
no sign-off '...'The stage asks for a sign-off you haven’t givenkanbanr signoff FEAT-001 <name>
R-1 has tests but none is greenA requirement isn’t proven yetRun the test and record it with kanbanr test
no definitionThe item has no definition yetkanbanr feature define

A move can also go past its gate with --override "<reason>", and the reason stays on the item. Save it for real exceptions.

Scrum, sprints and releases with Claude

This guide takes a project from setup to a shipped release using Scrum: a backlog refined to Ready, worked in sprints, reviewed and tested to Done, and released in increments. You don’t need to learn any commands:

  • You talk to Claude for everything except decisions and pushes. Use your own words. The ones here are only examples.
  • You decide on the monitor: approvals and sign-offs on the Review page, promotions and the cut on the Releases page. Claude tells you what is waiting there and links to it. It never records a decision, and it doesn’t ask for one in a plan or a question. What Claude already knows, such as a CI run’s result or what a sign-off covered, arrives filled in beside the button: you check it and click.
  • You can delegate the small decisions. Tell Claude which ones it may take, such as the design review of small defects, and until when. Setup proposes two, for Claude to take the design-review of small defects and chores and the docs-folded sign-off of every item, besides any Claude proposes when you ask. You Grant each one on the Review page, under “Decisions here”. A granted delegation does nothing until you set Mode to delegated there and click Change. Whatever Claude decides under it comes back there for you to keep or undo. If Claude Code runs in auto mode, its safety check may stop a delegated command. When you grant a delegation, kanbanr offers the one allow rule that lets it through; say yes to Claude, or run the command it names.
  • You push from your terminal. Nothing reaches your remote server until you do.

Prefer to run the commands yourself? See Scrum from the command line. For the other processes, see the guides index and Processes.

Three clocks

What it answersMoves when
StageHow far has this item got?Its gates are met, one item at a time
SprintWhat are we working on these two weeks?You ask Claude to start or close it
ReleaseWhat has reached users?You promote it on the Releases page

Scrum switches sprints, releases and story points on by default. Done and Released are different things. An item is done for its sprint when it reaches Done, your Definition of Done. It is released only when a release that holds it is cut. So closing a sprint doesn’t send done items back to the backlog, even if their release isn’t out yet.

flowchart LR
  A["Ready"] -->|"work starts"| B["item branch"]
  B -->|"move to Done"| C["sprint branch"]
  C -->|"Promote to candidate"| D["release branch"]
  D -->|"Promote to main"| E["main"]
  E -->|"Cut"| F["tag"]

Setting it up

Start using kanbanr for this project. Use Scrum, with sprints and releases.

Claude asks where the board should live and what the project is for. It then writes a plan showing the process, the branches it will use and where each one merges. Accepting the plan applies it.

Agree a charter with me first, then set up release stages so that main has to be pushed before anything is tagged. Use only candidate, main and production.

Do the charter first. Gates aren’t enforced until a project has one, and items created before it are exempt. Claude asks for the project’s purpose and goals. Every item then links to a goal.

Open the monitor, with writes on.

Keep it open. Every decision below happens there.

Planning a sprint

Start a two-week sprint for the saved basket. Put it in, for release 1.0.

Setup doesn’t create a sprint or a release, so Claude asks the sprint’s goal and first day, and the release’s version and target, when you first ask. Then it creates the sprint and its branch, adds the item and plans it into the sprint and the release. Your checkout doesn’t move. A sprint and a release don’t have to line up: one release can take items from several sprints.

Claude recommends starting today. Work past the first stage waits until the sprint has started; a sprint dated later reads as planned until its first day.

One item, stage by stage

Ask for the work in your own words, and Claude asks only what it can’t work out. When something’s missing, Claude drafts it or brings it to you.

A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there. Get it to Ready.

Claude asks whether it has a user interface. When you choose the technology (or, if you don’t, when the first item is designed), Claude asks whether the product has screens a person uses, or is a service, library or command-line tool. If it has screens, they become items of their own, designed and approved like the rest. If it has none, that goes into the design, so a missing screen is a decision and not an oversight. If it has screens, Claude also asks how the screens should look, the styling approach and the feel you want, before it designs the first one, and the answer goes into the design.

StageWhat Claude doesWhat you do on the Review page
BacklogCaptures it: a title is enoughNothing
Ready (Definition of Ready)Drafts why it matters, what must be true, and asks you for the size in pointsNothing yet
In ProgressStarts the item’s branch and builds in the current sprintApprove, then Sign off design-review
ReviewNames a test for each requirementNothing
TestingRuns the tests against the requirementsNothing
Done (Definition of Done)Records green tests, updates the docs and merges the branch into the sprintSign off docs-folded, once every requirement has a green test: a manual check counts once you click Passed under Manual checks
ReleasedNothing: the cut moves it hereNothing extra: Scrum doesn’t ask for a release sign-off

Approve first, then sign off. An item with both waiting shows Approve, then Sign off once you’ve approved it, so check back after approving.

A manual check comes before docs-folded. When only a person can judge a requirement, Claude names one manual check for the item. It waits on the Review page under Manual checks, with what to check. Do the check and click Passed or Failed. Sign off docs-folded is offered only after it is Passed, so if you are waiting for the sign-off, look there first.

Claude’s overrides come to you. If Claude moves an item past a gate, it says why and the move waits on the Review page with that reason, even on an item you approved. Ratify it there; until you do, the item doesn’t ship.

Each approval covers the text you saw. Adding to the definition keeps the approval, and what was added is reviewed at the next decision. Changing or removing approved text lapses it, and the item returns to the Review page. Read what changed, then approve again.

Just ask to move it on:

Move the saved basket on to In Progress.

If something’s missing, Claude tells you what and either fixes it or asks you. Nothing moves past a gate unless you say why, and that reason stays on the item.

Moving to Done is the merge. kanbanr merges the item’s branch into the sprint’s branch. The item now counts as done for the sprint’s burndown. It isn’t released yet.

Chores

A chore doesn’t walk every stage. It goes Backlog → Ready → In Progress → Testing → Done → Released, skipping Review, because their questions don’t fit small maintenance work. Tell Claude it’s a chore when you ask for it.

Pin the CI image: it’s a chore.

Before its first move Claude asks once for what every item records: a one-sentence statement, the goal it serves, and a requirement in the EARS form that says how it’s verified. It is still sized and planned into a sprint, you still approve it before work starts, and it is still tested before Done. A chore has no Design section and no design-review. If you change an item’s kind to a chore while it’s at a stage the chore path leaves out, it’s off the path: it moves by the ordinary moves, or back to Backlog.

Handing work to sub-agents

Have a sub-agent build these tasks.

Claude gives each agent a scope, which kanbanr enforces. An agent can record its own tasks and test results and commit on its own branch. It can’t move items, approve anything or push. You’ll see its progress on the item’s page, and its scope on the Workflow page. When it finishes, Claude reviews the branch and brings you any decisions.

Claude stays in the project folder while an agent works, and looks inside the agent’s worktree without moving into it (git -C), so a scope never gets in your way or Claude’s. Revoking an agent’s scope stops that agent on its next tool call and never restricts you.

Releasing

Before your first release, design the pipeline. A release workflow can only be tested by running it, a tag can’t be moved once it’s pushed, and shipped notes can’t be edited, so a mistake in the pipeline costs a whole version number. Settle the stages, the checks, the release description and a run without a tag first: see Designing CI and the release workflow. Claude proposes it when you plan the first release, if setup recorded CI, and proposes the release files (notes, changelog, version files) at the same time, before it names Promote to candidate.

StepWhoDo this
1YouReleases page: Promote to candidate. This makes the release branch and drafts the version, changelog and notes
2ClaudeSay “Write the release notes and the changelog for readers”, because the draft only lists requirements
3YouOpen Release notes on the release, then Edit notes and Save for any changes
4ClaudeSay “Run the full checks over the release”
5YouReleases page: Promote to main. This moves main to the release, without tagging
6YouTerminal: git push origin main. This is the first push the release needs
7YouWait for CI on main to go green
8Claude, then youClaude reads the run and prepares the result. Releases page: check the run’s link and click Record ci passed
9YouCheck again, then Cut v1.0.0. This tags main and moves the items to Released, unless your stages continue after the tag: then Confirm each later stage, and the last one moves the items. The Cut stays greyed out until step 8 is done for the commit main is at. If some shipping requirements still have tests not run, the page lists them with one checkbox: tick it to ship them unverified, and the notes name them
10YouTerminal: git push origin v1.0.0, then wait for the release workflow
11ClaudeBrings the release forward into the sprint and tells you; you push the sprint branch when you push

When to push. You push twice for a release: main after Promote to main, and the tag after the Cut. Nothing earlier is needed: every check before that runs on your machine. If you want to see the pipeline run sooner, you can push the sprint’s branch; that run is a preview and records nothing for the release. Recording CI, promoting and the cut are never delegated: even when you have let Claude take some forward decisions, these stay your clicks. If an item has moved back to an earlier stage, Claude asks you before it acts on it, delegation or not.

Recording CI. The Cut waits for a CI result recorded for the exact commit main is at. kanbanr never asks your CI service. Claude reads the CI result and prepares it with the link to the run. You check it and confirm it with one click; you can edit it or reject it instead. A failed run is recorded as failed, and the page then says what to fix. After the Cut the release reads as tagged, not shipped, until the result of the workflow the tag started is recorded as passed; confirming that result ships it. A failed result keeps it tagged, and the page names the patch release as the way on.

Each button says what it will do, and stays greyed out with the reason until it’s ready.

Freeze the candidate. Once a release is a candidate, tell Claude to send anything new to the next release, and change only the notes.

Promoting moves main, not your checkout. Your remote server won’t change until you push.

If you save notes after promoting to main, main moves with them. The page tells you to push main again and wait for CI before the cut.

The date follows the release. Promoting to main dates the notes and changelog today. If main moved earlier and the cut comes later, the page warns you: ask Claude to re-date them before you cut, because shipped notes can’t be edited.

A fix made during the release reaches the sprint the same way: Claude brings it forward.

A patch release starts at candidate the moment it is created, so there is no first stage to promote from. Claude asks you in the conversation to confirm it; main and the tag are then decided on the Releases page as usual.

Closing the sprint

Close the sprint and do a retro.

Claude closes it, shows what carried over, and writes the retro with you. Items at Done don’t carry over, whether or not their release is out. This changes only the board: no branch moves and nothing is tagged. Start the next sprint before starting new items, because new items branch from the running sprint.

Who does what

YouClaude
DefinitionsAnswer what only you know, give the size, then ApproveDraft them, ask, and keep the spec current
DesignSign off design-reviewWrite the design and its task list
Code and testsReview what you want toBuild, or give the work to sub-agents, and record results
Reaching DoneSign off docs-foldedUpdate the docs and move the item
SprintsSay what goes in and when it closesCreate, plan and close them
ReleasesEach Promote and the CutWrite the notes, run the checks, bring it forward
Remote serverEvery push of code and tags, and the boardNothing

When things go wrong

You seeIt meansDo this
Moves go through that shouldn’tNo charter, or the item is older than itAsk Claude to agree a charter before creating items
Ready is refusedThe item has no definition or no pointsGive Claude the size and let it draft the definition
In Progress is refusedNot approved, or no design-review sign-offApprove, then Sign off design-review
Done is refusedA requirement has no green test, or no docs-folded sign-offAsk Claude to run the tests, then sign off
An item is back on the Review pageIts definition changed after you approved itRead the change, then Approve again
Cut stays greyed out after you pushedThe page hasn’t read the push yetCheck again
A defect in a shipped releaseIt needs its own fixAsk Claude for a patch release, and see Patch releases

What Claude runs

You never need these, but here they are if you want to check what Claude did. Scrum from the command line covers them step by step.

You asked forClaude runs
Set up the processkanbanr config workflow --preset scrum
Branches and hookskanbanr config cadence --git-model on, kanbanr git install-hooks
A sprintkanbanr sprint add, kanbanr sprint start, kanbanr sprint plan, kanbanr sprint unplan
A releasekanbanr release add, kanbanr release plan
Defining an itemkanbanr feature define, kanbanr feature edit --points
Moving an itemkanbanr move
Starting the buildkanbanr start
A sub-agentkanbanr scope issue
Release noteskanbanr release notes
Bringing a release forwardkanbanr git forward
Closing a sprintkanbanr sprint close, kanbanr retro

To take an item out of the sprint, ask Claude to take it out; it goes back to no sprint.

Scrum, sprints and releases from the command line

This guide takes a project from setup to a shipped release using Scrum, with you running each command. To work by talking to Claude instead, see Scrum with Claude. Other processes are listed in the guides index.

The commands and output come from a real run on a scratch project. <tmp> stands for a temporary folder.

Three clocks

What it answersMoves when
StageHow far has this item got?Its gates are met, one item at a time
SprintWhat are we working on these two weeks?You start and close it
ReleaseWhat has reached users?You promote it, stage by stage

Scrum switches sprints, releases and points on. An item is done for its sprint at Done, and released only when a release that holds it is cut.

flowchart LR
  A["Ready"] -->|"kanbanr start"| B["item branch"]
  B -->|"move to Done"| C["sprint/SP-001"]
  C -->|"promote to candidate"| D["release/v1.0.0"]
  D -->|"promote to main"| E["main"]
  E -->|"cut"| F["tag v1.0.0"]

Setting it up

In your project folder:

kanbanr init shop --data-dir <tmp>/shop-board --author Ada --email ada@example.com
kanbanr config workflow --preset scrum
kanbanr config cadence --git-model on
kanbanr git install-hooks
sprints on, releases on, estimates in points
installed commit-msg and pre-commit and pre-push in <tmp>/shop: a commit now has to say which item it serves

kanbanr git model shows what the git model will do. Nothing is pushed for you:

topology:   sprints and releases
main:       main
line:       none — start a sprint to have one
branch at:  sprint/<SP>
production: at the release cut
items:      feat/{code}-{slug}, fix/{code}-{slug}, spike/*
protected:  main, sprint/*, release/*
kanbanr merges:
  - each item branch into sprint/<SP> when the item enters the integrate stage (--no-ff, naming the item)
  - release/<V> into main at the release's last stage (tagged <V>, a fast-forward)
  - sprint/<SP> into each item branch carried into that sprint (a catch-up merge; a conflict is reported for that item)
pushing:    never automatic — you review and push
automation: on — start, sprints and the hooks follow this model

In Scrum the integrate stage is Done, so that is where an item’s branch merges.

The charter comes first

The gates are not enforced until the project has a charter, and an item created before the charter was adopted is exempt from them. Without one, moves that should be refused still succeed, but each says what the gate would have needed and that kanbanr charter set turns the gates on. So agree the charter before creating any items:

kanbanr charter set --file charter.yaml
charter saved for 'shop': 1 goal(s) G-1

Release stages

A project that turns releases on gets three stages, candidate, main and tag, with their gates written into the board’s config, so you can see and edit them. Main has to be pushed before anything is tagged. Candidate waits for items_merged, so the release branch is made only once the items are merged; the commands below set the same thing. kanbanr can’t see whether CI passed. Look at your CI yourself, then record what it said with kanbanr gate record ci --passed --url <link to the run>. Say the project has CI with kanbanr config cadence --has-ci on and the tag stage requires that result (Gate results); without the flag it requires only main_at_release and pushed.

A board made before 0.6 that has releases on and names no stages keeps the four it had, candidate, test, staging and production. test and staging do nothing, and kanbanr says so when you configure them and in kanbanr release stages. To move such a board to the three, run kanbanr config cadence --release-stages candidate,main,tag, then the release-stage lines below. Stages you add after tag follow the cut and are confirmed by you.

kanbanr config cadence --release-stages candidate,main,tag
kanbanr config release-stage candidate --requires items_merged --on-enter branch,prepare
kanbanr config release-stage main --requires items_finished --on-enter move_main
kanbanr config release-stage tag --requires main_at_release,pushed --on-enter tag
kanbanr config release-prepare --version-file package.json --changelog CHANGELOG.md --notes "docs/releases/{version}.md"
STAGE          REQUIRES                           ON ENTER
candidate      items_merged                       branch, prepare
main           items_finished                     move_main
tag            main_at_release, pushed            tag                            the cut

To stop a release being promoted while work is still going on, have the candidate stage require items_merged: every item planned into the release must be at the integrate stage or later (for TOGAF, Migration), and the plan names each item that is not, with the status it is at. And to stop a named promotion jumping over a stage, list it in --after: kanbanr then refuses to enter the stage until the release has been promoted into the one named. For example, with a ci stage you record yourself:

kanbanr config cadence --release-stages candidate,main,ci,tag
kanbanr config release-stage tag --after ci

kanbanr records that the stage was entered, not that CI passed. To require a recorded CI result as well, use gate_passed.

The release-prepare line names your own files. The version file must already be on the sprint’s branch, or promoting to candidate is refused.

Planning a sprint

Setup creates no sprint or release; make them when you are ready. A sprint can be changed until it starts (kanbanr sprint edit SP-001 --goal "…" --start 2026-11-10), and an empty sprint or release made by mistake is removed with kanbanr sprint remove SP-001 or kanbanr release remove v1.0.0.

kanbanr milestone add --name "Carts"
kanbanr sprint add --start 2026-11-03 --length 2w --goal "Carts survive a return"
# or start it today: kanbanr sprint add --start today --length 2w --goal "…"
kanbanr sprint start SP-001
kanbanr feature add --title "Restore the cart" --milestone MS-001 --spec "# Restore the cart"
kanbanr sprint plan SP-001 FEAT-001
kanbanr sprint unplan FEAT-001                 # take it back out
kanbanr release add v1.0.0
kanbanr release plan v1.0.0 FEAT-001
created milestone MS-001
added SP-001 (2026-11-03 → 2026-11-16)
SP-001 is the active sprint; created sprint/SP-001 from main
created FEAT-001 (Backlog)
planned FEAT-001 into SP-001 (0 committed)
added release v1.0.0
planned FEAT-001 into v1.0.0

Starting the sprint makes the sprint/SP-001 branch from main without switching your checkout.

One item, stage by stage

Each move is refused until its gate is met, and the refusal says what’s missing. kanbanr check shows the same list before you try.

StageWhat must be true to enterCommands
BacklogNothing: a title is enoughkanbanr feature add
ReadyDefinition of Ready: statement, goal, requirements in EARS form, a size in pointskanbanr feature define, kanbanr feature edit --points
In ProgressApproved, in the current sprint, the design-review sign-offkanbanr approve, kanbanr signoff, kanbanr start
ReviewA test named for every requirementkanbanr test
TestingNothing morekanbanr move
DoneDefinition of Done: every requirement proven by a green test, the docs-folded sign-offkanbanr test, kanbanr signoff, kanbanr move
ReleasedIn a release that has been cutthe cut does the move

An item with no definition or points can’t reach Ready:

error: unsupported operation: cannot move FEAT-001 to 'Ready': no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`); not estimated — this project estimates in story points. To proceed anyway, record why with --override "<reason>"

Define it, give it points, and move it:

kanbanr feature define FEAT-001 --file definition.yaml
kanbanr feature edit FEAT-001 --spec-file spec.md
kanbanr feature edit FEAT-001 --points 3
kanbanr move FEAT-001 "Ready"
defined FEAT-001: 1 requirement(s)
updated FEAT-001
updated FEAT-001
FEAT-001 -> Ready

Code starts at In Progress. kanbanr start makes the item’s branch from the sprint’s branch and moves the item if its gate is met. If it isn’t, it says what’s missing and makes no branch:

error: unsupported operation: cannot move FEAT-001 to 'In Progress': not approved; no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`. To proceed anyway, record why with --override "<reason>"

Approve, sign off, and run it again:

kanbanr approve FEAT-001
kanbanr signoff FEAT-001 design-review
kanbanr start FEAT-001 --to "In Progress"
FEAT-001 approved by Ada
FEAT-001: sign-off 'design-review' recorded by Ada
created feat/FEAT-001-restore-the-cart from sprint/SP-001
FEAT-001 -> In Progress

Adding keeps your approval; changing lapses it. Text added to the definition is reviewed at the next decision. When approved text is changed or removed, the next move says so, and you approve again.

Commit with kanbanr commit, which adds Refs: kanbanr:FEAT-001 to the commit:

kanbanr commit -m "feat: restore the cart"
[feat/FEAT-001-restore-the-cart 74aa8cc] feat: restore the cart
 1 file changed, 1 insertion(+)
 create mode 100644 cart.txt

Review and Testing need nothing beyond the named test:

kanbanr move FEAT-001 "Review"
kanbanr move FEAT-001 "Testing"
FEAT-001 -> Review
FEAT-001 -> Testing

Done is where the merge happens. It is refused until the tests are green and the docs are signed off:

error: unsupported operation: cannot move FEAT-001 to 'Done': R-1 has tests but none is green — not yet proven; no sign-off 'docs-folded' — `kanbanr signoff FEAT-001 docs-folded`. To proceed anyway, record why with --override "<reason>"

Record the result and the sign-off, then move:

kanbanr test FEAT-001 R-1 "cart_restores_after_return" green --rev 74aa8cc83c09aa4eef7b0d856da1efbfa605609c
kanbanr signoff FEAT-001 docs-folded
kanbanr move FEAT-001 "Done"
FEAT-001/R-1 · cart_restores_after_return -> green
FEAT-001: sign-off 'docs-folded' recorded by Ada
FEAT-001 -> Done
merged feat/FEAT-001-restore-the-cart into sprint/SP-001 (fe92a82b0741)

The item now counts as done for the sprint. kanbanr check FEAT-001 says it is ready for Released, which only the cut does. Your checkout stays on the item’s branch, so switch back when you want the line.

Chores

A process can give a kind its own path. The built-in scrum process gives chore the path Backlog → Ready → In Progress → Testing → Done → Released, skipping Review. kanbanr process show scrum lists each kind’s path under “Lighter paths”.

kanbanr feature add --title "Pin the CI image" --milestone MS-001 --kind chore

A chore’s first move off Backlog asks the path’s own conditions (statement, goals, requirements, and ears where the path lists it) as well as the entered stage’s gate, so it still records why it exists and how it is verified. A move to a stage off the path is refused, and the message names the path. Ready still asks for the statement, goals, requirements and a size, and In Progress still asks for approved and the current sprint; the design and design-review parts do not apply. An item whose kind is changed to chore while it’s at a stage off the path keeps the ordinary transitions, so it is never stranded.

Handing work to sub-agents

A scope limits what an agent working in its own worktree may do, and kanbanr enforces it. The agent may record its own item’s tasks and tests and commit on its item’s branch. It can’t move items, approve or push. See Sub-agents and agent scopes.

Stay in the project folder. Never cd into an agent’s worktree: look inside with git -C <path>, make -C <path>, npm --prefix <path> or a subshell (cd <path> && …). If your shell is already there, cd back to the project folder. Revoking a scope (kanbanr scope revoke SC-…) stops the agent on its next tool call and never restricts you.

Releasing

Before your first release, design the pipeline. A release workflow can only be tested by running it, a tag can’t be moved once it’s pushed, and shipped notes can’t be edited, so a mistake in the pipeline costs a whole version number. Settle the stages, the checks, the release description and a run without a tag first: see Designing CI and the release workflow.

kanbanr release promote v1.0.0 --plan shows what a promotion would do and changes nothing:

v1.0.0: Promote to candidate (— → candidate)
  does:
    → branch (candidate): makes release/v1.0.0 from sprint/SP-001
    → prepare (candidate): commits the version 1.0.0, the changelog heading and draft notes to release/v1.0.0
  ready: `kanbanr release promote v1.0.0 candidate`
  after: then Promote to main
  (a plan: nothing was changed)
StepCommandWhat happens
1. Candidatekanbanr release promote v1.0.0 candidateMakes release/v1.0.0 from the sprint’s branch, and commits the version, the changelog heading and draft notes
2. Write the noteskanbanr release notes v1.0.0 --editThe draft only lists requirements. Rewrite it for readers
3. Run your full checksYour project’s ownOver the release
4. Mainkanbanr release promote v1.0.0 mainFast-forwards main to the release, without tagging
5. Push maingit push origin main
6. Wait for CI, then record itkanbanr gate record ci --passed --url <link to the run>Once CI on main is green. The cut waits for it
7. Cutkanbanr release promote v1.0.0 tagTags main, ships the items and moves them to Released
8. Push the taggit push origin v1.0.0
9. Merge forwardkanbanr git forward v1.0.0Brings the release’s commits into the sprint’s branch

Scrum asks for no release sign-off, so there is nothing to give between Done and the promotion.

v1.0.0 -> candidate; created release/v1.0.0
  makes release/v1.0.0 from sprint/SP-001
  commits the version 1.0.0, the changelog heading and draft notes to release/v1.0.0
  prepared 59e2014e8aae on release/v1.0.0
  next: `kanbanr release promote v1.0.0` (Promote to main)

The notes live on the release branch, so read them from the release itself:

kanbanr release notes v1.0.0
release/v1.0.0 @ 59e2014: docs/releases/v1.0.0.md

# v1.0.0

_Released 2026-11-04._

A patch release starts at **candidate** the moment it is created, so there is no first stage to promote from. Claude asks you in the conversation to confirm it; main and the tag are then decided on the Releases page as usual. `kanbanr release add v1.0.1 --patch-of v1.0.0` creates it at candidate.

## What shipped


#### Stages after the tag

The stage that tags is the cut, but it does not have to be the last. Add stages after it, for the
places you run the release before it counts as out, and each becomes a confirmation you give:

```text
kanbanr config cadence --release-stages candidate,main,tag,staging,production
kanbanr config release-stage tag --on-enter tag
kanbanr config commit-gates ci

Promoting to tag tags the commit and ships nothing. The Releases page then shows the result you recorded for the tag and asks for the next stage only after a passed one. Each stage after the tag, staging and production here, is confirmed with kanbanr release promote <VERSION> --note "what you checked". Confirming the last stage ships the release: the items reach their last status and the notes are written. If your CI fails on the tag, record the failed result and run kanbanr release add <NEW VERSION> --patch-of <VERSION> --from-failed-tag --link <run> --notes "what you saw": it files a defect with the link and your notes, plans it and the release’s items into a patch branched from the tag, and marks the failed release as superseded. The tag stays in git.

FEAT-001 — Restore the cart

A returning shopper finds their cart for shoppers so that they don’t lose it

  • WHEN a shopper returns, THE SYSTEM SHALL restore their cart

Promote to main, then push it:

```text
v1.0.0 -> main; main fast-forwarded to it, not tagged
  fast-forwards main to release/v1.0.0 (59e2014)
  next, for Claude: bring release/v1.0.0 into sprint/SP-001 with `kanbanr git forward v1.0.0` — a local merge, nothing is pushed; a conflict stops it with nothing changed
    59e2014e8aae Release v1.0.0: version, changelog and notes
  nothing was pushed: push main when you are ready
  next: push main (`git push origin main`), then wait for CI, then Cut v1.0.0
To <tmp>/origin.git
   c699fc1..59e2014  main -> main

The cut, then the tag push:

v1.0.0 -> tag; tagged v1.0.0, where main already is
  tags 59e2014 "Release v1.0.0" as v1.0.0
  shipped 1 item(s); notes in releases/v1.0.0.md
  next, for Claude: bring release/v1.0.0 into sprint/SP-001 with `kanbanr git forward v1.0.0` — a local merge, nothing is pushed; a conflict stops it with nothing changed
    59e2014e8aae Release v1.0.0: version, changelog and notes
  nothing was pushed: push the tag when you are ready
  push the tag: `git push origin v1.0.0`
To <tmp>/origin.git
 * [new tag]         v1.0.0 -> v1.0.0

The item is now Released, and the release is shipped:

- **Status:** Released
v1.0.0       shipped  tag          target —           1 item(s)

Merge forward so the sprint’s branch has the release commit:

merged release/v1.0.0 forward into sprint/SP-001 (a76f622b0e74)

Freeze the candidate. Once a release is a candidate, send anything new to the next release, and change only its notes.

The date follows the release. The notes and the changelog heading are dated when the candidate is made, and promoting to main dates them today. If main moved earlier and the cut comes later, the cut’s --plan warns, and kanbanr release redate v1.0.0 dates them today. Notes can’t be edited after the cut.

Closing the sprint

kanbanr sprint close SP-001
kanbanr retro --sprint SP-001
closed SP-001; nothing carried over
  look back on it: `kanbanr retro --sprint SP-001`

Items at Done count as done for the sprint, so they are not carried over, even if their release is not cut yet. Closing changes the board only. With no sprint running, there’s no line for new items to branch from, so start the next sprint before starting any item.

The retro opens like this:

# Retrospective — sprint SP-001

## What the board recorded

- items: 1 (1 finished, 0 still open)
- sprint SP-001: 3 of 3 points done
- ran: 2026-11-04 → 2026-11-04
- scope: 1 to begin with, 0 added (0 defect(s), 0 split, 0 unaccounted for)
- defects recorded with their cause: 0 (0 escaped)
- cycle time: p50 0m, p90 0m, max 0m
- requirements proven by a green test: 1/1

When things go wrong

You seeIt meansDo this
Moves succeed that shouldn’tNo charter, or the item predates itSet the charter before creating items
no definition or not estimated at ReadyThe item lacks a definition or pointskanbanr feature define, then kanbanr feature edit --points
not approved at In ProgressThe definition isn’t approvedkanbanr approve FEAT-001
The move says the approval lapsedThe definition changed after you approved itRead the change and approve again
none is green at DoneA requirement has no passing testkanbanr test with the result
no sign-off 'docs-folded'The docs sign-off is missingkanbanr signoff FEAT-001 docs-folded
A defect in a shipped releaseIt needs a fix on its ownSee Patch releases

A move can also go past its gate with --override "<reason>", and the reason stays on the item. Save it for real exceptions.

Agile, sprints and releases with Claude

This guide takes a project from setup to a shipped release using the agile process, with sprints and releases. You don’t need to learn any commands:

  • You talk to Claude for everything except decisions and pushes. Use your own words. The ones here are only examples.
  • You decide on the monitor: approvals and sign-offs on the Review page, promotions and the cut on the Releases page. Claude tells you what is waiting there and links to it. It never records a decision, and it doesn’t ask for one in a plan or a question. What Claude already knows, such as a CI run’s result or what a sign-off covered, arrives filled in beside the button: you check it and click.
  • You can delegate the small decisions. Tell Claude which ones it may take, such as the design review of small defects, and until when. Setup proposes two, for Claude to take the design-review of small defects and chores and the docs-folded sign-off of every item, besides any Claude proposes when you ask. You Grant each one on the Review page, under “Decisions here”. A granted delegation does nothing until you set Mode to delegated there and click Change. Whatever Claude decides under it comes back there for you to keep or undo. If Claude Code runs in auto mode, its safety check may stop a delegated command. When you grant a delegation, kanbanr offers the one allow rule that lets it through; say yes to Claude, or run the command it names.
  • You push from your terminal. Nothing reaches your remote server until you do.

Prefer to run the commands yourself? See Agile from the command line. For the other processes, see the guides index and Processes.

Three clocks

Three things move at their own pace:

What it answersMoves when
StageHow far has this item got?Its gates are met, one item at a time
SprintWhat are we working on these two weeks?You ask Claude to start or close it
ReleaseWhat has reached users?You promote it on the Releases page

An item can be merged into its sprint and still not released. An item is released only when a release that holds it is cut.

flowchart LR
  A["Design"] -->|"build starts"| B["item branch"]
  B -->|"move to Review"| C["sprint branch"]
  C -->|"Promote to candidate"| D["release branch"]
  D -->|"Promote to main"| E["main"]
  E -->|"Cut"| F["tag"]

Setting it up

Start using kanbanr for this project. Use the agile process.

Claude asks where the board should live and what the project is for, then writes a plan. Accepting the plan applies it. The agile process turns sprints and releases on by default, and Claude also turns on the git model, so branches are made for you.

Agree a charter with me first, then set up release stages so that main has to be pushed before anything is tagged. Use only candidate, main and production.

Every item links to a goal in the charter. The recommended release stages are candidate, main and production. Production, the cut, is refused until main is pushed.

Open the monitor, with writes on.

Keep it open. Every decision below happens there.

Planning a sprint

Start a two-week sprint for the saved basket. Put it in, for release 1.0.

Setup doesn’t create a sprint or a release, so Claude asks the sprint’s goal and first day, and the release’s version and target, when you first ask. Then it creates the sprint and its branch, adds the item and plans it into the sprint and the release. Your checkout doesn’t move. A sprint and a release don’t have to line up: one release can take items from several sprints.

Claude recommends starting today. Work past the first stage waits until the sprint has started; a sprint dated later reads as planned until its first day.

One item, stage by stage

A shopper opens their basket on our shop’s web page, leaves, and comes back the next day to find what they chose still there. Take it to Design.

Claude asks whether it has a user interface. When you choose the technology (or, if you don’t, when the first item is designed), Claude asks whether the product has screens a person uses, or is a service, library or command-line tool. If it has screens, they become items of their own, designed and approved like the rest. If it has none, that goes into the design, so a missing screen is a decision and not an oversight. If it has screens, Claude also asks how the screens should look, the styling approach and the feel you want, before it designs the first one, and the answer goes into the design.

StageWhat Claude doesWhat you do on the Review page
PlanWrites what it is and whyNothing
DesignDrafts the definition: statement, goals and requirementsApprove
DevelopWrites the design and its task list, names a test for each requirement, and starts the item’s branchSign off design-review
TestBuilds on the item’s branch and commitsNothing
ReviewRecords the green tests and updates the docsSign off docs-folded, once every requirement has a green test: a manual check counts once you click Passed under Manual checks
ReleasedNothing: the cut moves it hereNothing

Approve first, then sign off. An item with both waiting shows Approve, then Sign off once you’ve approved it, so check back after approving.

A manual check comes before docs-folded. When only a person can judge a requirement, Claude names one manual check for the item. It waits on the Review page under Manual checks, with what to check. Do the check and click Passed or Failed. Sign off docs-folded is offered only after it is Passed, so if you are waiting for the sign-off, look there first.

Claude’s overrides come to you. If Claude moves an item past a gate, it says why and the move waits on the Review page with that reason, even on an item you approved. Ratify it there; until you do, the item doesn’t ship.

Each approval covers the text you saw. Adding to the definition keeps the approval, and what was added is reviewed at the next decision. Changing or removing approved text lapses it, and the item returns to the Review page.

Moving to Review is the merge. kanbanr merges the item’s branch into the sprint’s branch. It isn’t released yet.

Agile asks for no release sign-off. In this process a release only needs every item to have reached Review, so there is no per-item sign-off at the release.

If something is missing for a move, Claude tells you what and either fixes it or asks you. Nothing moves past a gate unless you say why, and that reason stays on the item.

Chores

A chore doesn’t walk every stage. It goes Plan → Develop → Test → Review → Released, skipping Design, because its questions don’t fit small maintenance work. Review is still where its branch merges into the sprint, so it waits for Sign off docs-folded there like any item. Tell Claude it’s a chore when you ask for it.

Pin the CI image: it’s a chore.

Before its first move Claude asks once for what every item records: a one-sentence statement, the goal it serves, and a requirement in the EARS form that says how it’s verified. You still approve it before work starts. A chore has no Design section and no design-review. If you change an item’s kind to a chore while it’s at a stage the chore path leaves out, it’s off the path: it moves by the ordinary moves, or back to Plan.

When an item is done for a sprint

The agile process marks no stage as done other than Released. The sprint we followed was closed after the cut, and nothing carried over. If your sprints end before your releases do, ask Claude whether to count Review as done for a sprint. I did not see a sprint closed before its release in this process.

Feedback on a release

Feedback arrives as new items that name the version they were found in:

Customers found a problem in v1.0.0 with the saved basket. Add it as an item found in v1.0.0.

A defect in a shipped release needs its own fix. See Patch releases.

Handing work to sub-agents

Have a sub-agent build these tasks.

Claude gives each agent a scope, which kanbanr enforces. An agent can record its own tasks and tests and commit on its own branch. It can’t move items, approve anything or push. You’ll see its progress on the item’s page, and its scope on the Workflow page.

Claude stays in the project folder while an agent works, and looks inside the agent’s worktree without moving into it (git -C), so a scope never gets in your way or Claude’s. Revoking an agent’s scope stops that agent on its next tool call and never restricts you.

Releasing

Before your first release, design the pipeline. A release workflow can only be tested by running it, a tag can’t be moved once it’s pushed, and shipped notes can’t be edited, so a mistake in the pipeline costs a whole version number. Settle the stages, the checks, the release description and a run without a tag first: see Designing CI and the release workflow. Claude proposes it when you plan the first release, if setup recorded CI, and proposes the release files (notes, changelog, version files) at the same time, before it names Promote to candidate.

StepWhoDo this
1YouReleases page: Promote to candidate. This makes the release branch and drafts the version, changelog and notes
2ClaudeSay “Write the release notes and the changelog for readers”, because the draft only lists requirements
3YouOpen Release notes on the release, then Edit notes and Save for any changes
4ClaudeSay “Run the full checks over the release”
5YouReleases page: Promote to main. This moves main to the release, without tagging
6YouTerminal: git push origin main. This is the first push the release needs
7YouWait for CI on main to go green
8Claude, then youClaude reads the run and prepares the result. Releases page: check the run’s link and click Record ci passed
9YouCheck again, then Cut v1.0.0. This tags main and moves the items to Released, unless your stages continue after the tag: then Confirm each later stage, and the last one moves the items. The Cut stays greyed out until step 8 is done for the commit main is at. If some shipping requirements still have tests not run, the page lists them with one checkbox: tick it to ship them unverified, and the notes name them
10YouTerminal: git push origin v1.0.0
11ClaudeBrings the release forward into the sprint and tells you; you push the sprint branch when you push

When to push. You push twice for a release: main after Promote to main, and the tag after the Cut. Nothing earlier is needed: every check before that runs on your machine. If you want to see the pipeline run sooner, you can push the sprint’s branch; that run is a preview and records nothing for the release. Recording CI, promoting and the cut are never delegated: even when you have let Claude take some forward decisions, these stay your clicks. If an item has moved back to an earlier stage, Claude asks you before it acts on it, delegation or not.

Recording CI. The Cut waits for a CI result recorded for the exact commit main is at. kanbanr never asks your CI service. Claude reads the CI result and prepares it with the link to the run. You check it and confirm it with one click; you can edit it or reject it instead. A failed run is recorded as failed, and the page then says what to fix. After the Cut the release reads as tagged, not shipped, until the result of the workflow the tag started is recorded as passed; confirming that result ships it. A failed result keeps it tagged, and the page names the patch release as the way on.

Each button says what it will do, and stays greyed out with the reason until it’s ready.

Freeze the candidate. Once a release is a candidate, send anything new to the next release and change only the notes.

Promoting moves main, not your checkout. Your remote server won’t change until you push.

The date follows the release. Promoting to main dates the notes and changelog today. If main moved earlier and the cut comes later, the page warns you: ask Claude to re-date them before you cut, because shipped notes can’t be edited.

A fix made during the release reaches the sprint the same way: Claude brings it forward.

A patch release starts at candidate the moment it is created, so there is no first stage to promote from. Claude asks you in the conversation to confirm it; main and the tag are then decided on the Releases page as usual.

Closing the sprint

Close the sprint and do a retro.

Claude closes it and writes the retro with you. This changes only the board. Start the next sprint before starting new items, because new items branch from the running sprint.

After the cut, Claude checks for leftovers with kanbanr git tidy. If merged item branches and finished agents’ branches can go, it asks you once, in a dialog, to delete them all, then deletes them locally with the confirmation. Nothing unmerged is touched and the remote is left to you. Each deleted branch’s tip is reported, so one can be restored.

Who does what

YouClaude
DefinitionsAnswer what only you know, then ApproveDraft them and keep the spec current
DesignSign off design-reviewWrite the design and its task list
Code and testsReview what you want toBuild, or give the work to sub-agents, and record results
Merging an itemSign off docs-foldedUpdate the docs and move the item
SprintsSay what goes in and when it closesCreate, plan and close them
ReleasesEach Promote and the CutWrite the notes, run the checks, bring it forward
Remote serverEvery push of code and tags, and the boardNothing

What Claude runs

You never need these. Agile from the command line covers them step by step.

You asked forClaude runs
Set up the processkanbanr config workflow --preset agile, kanbanr config cadence
A sprintkanbanr sprint add, kanbanr sprint start, kanbanr sprint plan, kanbanr sprint unplan
A releasekanbanr release add, kanbanr release plan
Moving an itemkanbanr move
Starting the buildkanbanr start
Release noteskanbanr release notes
Bringing a release forwardkanbanr git forward
Closing a sprintkanbanr sprint close, kanbanr retro

To take an item out of the sprint, ask Claude to take it out; it goes back to no sprint.

Agile, sprints and releases from the command line

This guide takes a project from setup to a shipped release using the agile process, with you running each command. To work by talking to Claude instead, see Agile with Claude.

The commands and output come from a real run on a scratch project. <tmp> stands for a temporary folder.

Setting it up

git init -q -b main
kanbanr init shop --data-dir <tmp>/shop-board --author Ada --email ada@example.com
kanbanr config workflow --preset agile
kanbanr config cadence --git-model on
kanbanr git install-hooks
workflow updated
sprints on, releases on, estimates in days, git model on
installed commit-msg and pre-commit and pre-push in <tmp>/shop: a commit now has to say which item it serves

The agile preset already turns sprints and releases on. kanbanr git model shows what the git model will do. Nothing is pushed for you:

topology:   sprints and releases
main:       main
line:       none — start a sprint to have one
branch at:  sprint/<SP>
production: at the release cut
items:      feat/{code}-{slug}, fix/{code}-{slug}, spike/*
protected:  main, sprint/*, release/*
kanbanr merges:
  - each item branch into sprint/<SP> when the item enters the integrate stage (--no-ff, naming the item)
  - release/<V> into main at the release's last stage (tagged <V>, a fast-forward)
  - sprint/<SP> into each item branch carried into that sprint (a catch-up merge; a conflict is reported for that item)
pushing:    never automatic — you review and push
automation: on — start, sprints and the hooks follow this model

Then agree the charter before creating items. Without one, moves that should be refused still succeed, but each says what the gate would have needed and that kanbanr charter set turns the gates on:

kanbanr charter set --file charter.yaml

Release stages

A project that turns releases on gets three stages, candidate, main and tag, with their gates written into the board’s config, so you can see and edit them. Main has to be pushed before anything is tagged. Candidate waits for items_merged, so the release branch is made only once the items are merged; the commands below set the same thing. kanbanr can’t see whether CI passed. Look at your CI yourself, then record what it said with kanbanr gate record ci --passed --url <link to the run>. Say the project has CI with kanbanr config cadence --has-ci on and the tag stage requires that result (Gate results); without the flag it requires only main_at_release and pushed.

A board made before 0.6 that has releases on and names no stages keeps the four it had, candidate, test, staging and production. test and staging do nothing, and kanbanr says so when you configure them and in kanbanr release stages. To move such a board to the three, run kanbanr config cadence --release-stages candidate,main,tag, then the release-stage lines below. Stages you add after tag follow the cut and are confirmed by you.

kanbanr config cadence --release-stages candidate,main,tag
kanbanr config release-stage candidate --requires items_merged --on-enter branch,prepare
kanbanr config release-stage main --requires items_finished --on-enter move_main
kanbanr config release-stage tag --requires main_at_release,pushed --on-enter tag
kanbanr config release-prepare --version-file package.json --changelog CHANGELOG.md --notes "docs/releases/{version}.md"
STAGE          REQUIRES                           ON ENTER
candidate      items_merged                       branch, prepare
main           items_finished                     move_main
tag            main_at_release, pushed            tag                            the cut

To stop a release being promoted while work is still going on, have the candidate stage require items_merged: every item planned into the release must be at the integrate stage or later (for TOGAF, Migration), and the plan names each item that is not, with the status it is at. And to stop a named promotion jumping over a stage, list it in --after: kanbanr then refuses to enter the stage until the release has been promoted into the one named. For example, with a ci stage you record yourself:

kanbanr config cadence --release-stages candidate,main,ci,tag
kanbanr config release-stage tag --after ci

kanbanr records that the stage was entered, not that CI passed. To require a recorded CI result as well, use gate_passed.

Planning a sprint

Setup creates no sprint or release; make them when you are ready. A sprint can be changed until it starts (kanbanr sprint edit SP-001 --goal "…" --start 2026-11-10), and an empty sprint or release made by mistake is removed with kanbanr sprint remove SP-001 or kanbanr release remove v1.0.0.

kanbanr milestone add --name "Carts"
kanbanr sprint add --start 2026-11-03 --length 2w --goal "Carts survive a return"
# or start it today: kanbanr sprint add --start today --length 2w --goal "…"
kanbanr sprint start SP-001
kanbanr feature add --title "Restore the cart" --milestone MS-001 --spec "# Restore the cart"
kanbanr sprint plan SP-001 FEAT-001
kanbanr sprint unplan FEAT-001                 # take it back out
kanbanr release add v1.0.0
kanbanr release plan v1.0.0 FEAT-001
created milestone MS-001
added SP-001 (2026-11-03 → 2026-11-16)
SP-001 is the active sprint; created sprint/SP-001 from main
created FEAT-001 (Plan)
planned FEAT-001 into SP-001 (0 committed)
added release v1.0.0
planned FEAT-001 into v1.0.0

One item, stage by stage

Each move is refused until its gate is met, and the refusal says what’s missing. kanbanr check shows it before you try.

StageWhat must be true to enterCommands
PlanNothingkanbanr feature add
DesignStatement, goals, requirements, approvalkanbanr feature define, kanbanr approve
DevelopHow and where, a test named for every requirement, the design-review sign-offkanbanr feature edit, kanbanr signoff, kanbanr start
TestNothingkanbanr move
ReviewRequirements proven by green tests, the docs-folded sign-offkanbanr test, kanbanr signoff, kanbanr move
ReleasedIn a release; the cut does the movekanbanr release promote

Moving to Design with no definition:

$ kanbanr move FEAT-001 "Design"
error: unsupported operation: cannot move FEAT-001 to 'Design': no definition — why it exists, what must be true, how it is verified (`kanbanr feature define`). To proceed anyway, record why with --override "<reason>"

Define it, then write the spec. The move is still refused until you approve:

$ kanbanr feature define FEAT-001 --file definition.yaml
defined FEAT-001: 1 requirement(s)
$ kanbanr feature edit FEAT-001 --spec-file spec.md
updated FEAT-001
$ kanbanr move FEAT-001 "Design"
error: unsupported operation: cannot move FEAT-001 to 'Design': not approved. To proceed anyway, record why with --override "<reason>"
$ kanbanr approve FEAT-001
FEAT-001 approved by Ada
$ kanbanr move FEAT-001 "Design"
FEAT-001 -> Design

Code starts at Develop. kanbanr start makes the item’s branch from the sprint’s branch. Without the design-review sign-off it says what’s missing and makes no branch:

$ kanbanr start FEAT-001 --to "Develop"
error: unsupported operation: cannot move FEAT-001 to 'Develop': no sign-off 'design-review' — `kanbanr signoff FEAT-001 design-review`. To proceed anyway, record why with --override "<reason>"
$ kanbanr signoff FEAT-001 design-review
FEAT-001: sign-off 'design-review' recorded by Ada
$ kanbanr start FEAT-001 --to "Develop"
created feat/FEAT-001-restore-the-cart from sprint/SP-001
FEAT-001 -> Develop

Commit with kanbanr commit, then move to Test:

$ kanbanr commit -m "feat: restore the cart"
[feat/FEAT-001-restore-the-cart 74aa8cc] feat: restore the cart
 1 file changed, 1 insertion(+)
 create mode 100644 cart.txt
$ kanbanr move FEAT-001 "Test"
FEAT-001 -> Test

Review is where the merge happens. It needs green tests and the docs-folded sign-off:

$ kanbanr move FEAT-001 "Review"
error: unsupported operation: cannot move FEAT-001 to 'Review': R-1 has tests but none is green — not yet proven; no sign-off 'docs-folded' — `kanbanr signoff FEAT-001 docs-folded`. To proceed anyway, record why with --override "<reason>"
$ kanbanr test FEAT-001 R-1 "cart_restores_after_return" green --rev 74aa8cc83c09aa4eef7b0d856da1efbfa605609c
FEAT-001/R-1 · cart_restores_after_return -> green
$ kanbanr signoff FEAT-001 docs-folded
FEAT-001: sign-off 'docs-folded' recorded by Ada
$ kanbanr move FEAT-001 "Review"
FEAT-001 -> Review
merged feat/FEAT-001-restore-the-cart into sprint/SP-001 (fe92a82b0741)

Now kanbanr check says the item is ready for Released:

✓ FEAT-001 Restore the cart
    → Released (Shipped in a release.): ready to move on

Your checkout stays on the item’s branch, so switch back when you want the sprint’s line. A move can also go past its gate with --override "<reason>", and the reason stays on the item. Save it for real exceptions.

Chores

A process can give a kind its own path. The built-in agile process gives chore the path Plan → Develop → Test → Review → Released, skipping Design. A chore passes Review, where its branch merges, so it is in the line before a release is cut. kanbanr process show agile lists each kind’s path under “Lighter paths”.

kanbanr feature add --title "Pin the CI image" --milestone MS-001 --kind chore

A chore’s first move off Plan asks the path’s own conditions (statement, goals, requirements, and ears where the path lists it) as well as the entered stage’s gate, so it still records why it exists and how it is verified. A move to a stage off the path is refused, and the message names the path. The entered stage’s gate still applies, approved included; the design and design-review parts do not apply. An item whose kind is changed to chore while it’s at a stage off the path keeps the ordinary transitions, so it is never stranded.

Releasing

Before your first release, design the pipeline. A release workflow can only be tested by running it, a tag can’t be moved once it’s pushed, and shipped notes can’t be edited, so a mistake in the pipeline costs a whole version number. Settle the stages, the checks, the release description and a run without a tag first: see Designing CI and the release workflow.

kanbanr release promote v1.0.0 --plan shows what a promotion would do and changes nothing.

v1.0.0: Promote to candidate (— → candidate)
  does:
    → branch (candidate): makes release/v1.0.0 from sprint/SP-001
    → prepare (candidate): commits the version 1.0.0, the changelog heading and draft notes to release/v1.0.0
  ready: `kanbanr release promote v1.0.0 candidate`
  after: then Promote to main
  (a plan: nothing was changed)
StepCommandWhat happens
1. Candidatekanbanr release promote v1.0.0 candidateMakes release/v1.0.0 from the sprint’s branch, and commits the version, the changelog heading and draft notes onto it
2. Read the noteskanbanr release notes v1.0.0The draft only lists requirements. Rewrite it with --edit
3. Run your full checksYour project’s ownOver the release
4. Mainkanbanr release promote v1.0.0 mainFast-forwards main to the release, without tagging
5. Push maingit push origin main
6. Wait for CI, then record itkanbanr gate record ci --passed --url <link to the run>Once CI on main is green. The cut waits for it
7. Cutkanbanr release promote v1.0.0 tagTags main, ships the items and moves them to Released
8. Push the taggit push origin v1.0.0
9. Merge forwardkanbanr git forward v1.0.0Brings the release’s commits into the sprint’s branch

The candidate:

v1.0.0 -> candidate; created release/v1.0.0
  makes release/v1.0.0 from sprint/SP-001
  commits the version 1.0.0, the changelog heading and draft notes to release/v1.0.0
  prepared 59e2014e8aae on release/v1.0.0
  next: `kanbanr release promote v1.0.0` (Promote to main)

The draft notes:

release/v1.0.0 @ 59e2014: docs/releases/v1.0.0.md

# v1.0.0

_Released 2026-11-04._

A patch release starts at **candidate** the moment it is created, so there is no first stage to promote from. Claude asks you in the conversation to confirm it; main and the tag are then decided on the Releases page as usual. `kanbanr release add v1.0.1 --patch-of v1.0.0` creates it at candidate.

## What shipped


#### Stages after the tag

The stage that tags is the cut, but it does not have to be the last. Add stages after it, for the
places you run the release before it counts as out, and each becomes a confirmation you give:

```text
kanbanr config cadence --release-stages candidate,main,tag,staging,production
kanbanr config release-stage tag --on-enter tag
kanbanr config commit-gates ci

Promoting to tag tags the commit and ships nothing. The Releases page then shows the result you recorded for the tag and asks for the next stage only after a passed one. Each stage after the tag, staging and production here, is confirmed with kanbanr release promote <VERSION> --note "what you checked". Confirming the last stage ships the release: the items reach their last status and the notes are written. If your CI fails on the tag, record the failed result and run kanbanr release add <NEW VERSION> --patch-of <VERSION> --from-failed-tag --link <run> --notes "what you saw": it files a defect with the link and your notes, plans it and the release’s items into a patch branched from the tag, and marks the failed release as superseded. The tag stays in git.

FEAT-001 — Restore the cart

A returning shopper finds their cart for shoppers so that they don’t lose it

  • WHEN a shopper returns, THE SYSTEM SHALL restore their cart

Main:

```text
v1.0.0 -> main; main fast-forwarded to it, not tagged
  fast-forwards main to release/v1.0.0 (59e2014)
  next, for Claude: bring release/v1.0.0 into sprint/SP-001 with `kanbanr git forward v1.0.0` — a local merge, nothing is pushed; a conflict stops it with nothing changed
    59e2014e8aae Release v1.0.0: version, changelog and notes
  nothing was pushed: push main when you are ready
  next: push main (`git push origin main`), then wait for CI, then Cut v1.0.0
$ git push origin main
To <tmp>/origin.git
   c699fc1..59e2014  main -> main

The cut, then the tag push and the merge forward:

v1.0.0 -> tag; tagged v1.0.0, where main already is
  tags 59e2014 "Release v1.0.0" as v1.0.0
  shipped 1 item(s); notes in releases/v1.0.0.md
  next, for Claude: bring release/v1.0.0 into sprint/SP-001 with `kanbanr git forward v1.0.0` — a local merge, nothing is pushed; a conflict stops it with nothing changed
    59e2014e8aae Release v1.0.0: version, changelog and notes
  nothing was pushed: push the tag when you are ready
  push the tag: `git push origin v1.0.0`
$ git push origin v1.0.0
To <tmp>/origin.git
 * [new tag]         v1.0.0 -> v1.0.0
$ kanbanr git forward v1.0.0
merged release/v1.0.0 forward into sprint/SP-001 (a76f622b0e74)

The item and the release now read:

$ kanbanr release list
v1.0.0       shipped  tag          target —           1 item(s)

Freeze the candidate. Once a release is a candidate, send anything new to the next release and change only its notes. Promoting moves main, not your checkout. The date follows the release: promoting to main dates the notes and changelog today. If main moved earlier and the cut comes later, the cut’s --plan warns, and kanbanr release redate v1.0.0 dates them today.

Feedback on a release

Feedback is a new item that names the version it was found in:

kanbanr feature add --title "…" --milestone MS-001 --found-in v1.0.0

(I did not run this in the walkthrough.) For a fix to a shipped release, see Patch releases.

Closing the sprint

$ kanbanr sprint close SP-001
closed SP-001; nothing carried over
  look back on it: `kanbanr retro --sprint SP-001`

Closing changes the board only. Start the next sprint before starting any item, because new items branch from the running sprint. After the cut, kanbanr doctor suggests deleting the merged item branch with git branch -d feat/FEAT-001-restore-the-cart.

When things go wrong

You seeIt meansDo this
no definitionThe item has no definitionkanbanr feature define
not approvedThe definition isn’t approved, or changed sincekanbanr approve
no sign-off 'design-review' on startThe branch was made, but the item stayed in DesignSign off, then run kanbanr start again
R-1 has tests but none is greenA requirement isn’t provenkanbanr test with the result
no sign-off 'docs-folded'The docs step isn’t signed offkanbanr signoff FEAT-001 docs-folded
A defect in a shipped releaseIt needs a fix on its ownSee Patch releases

See also the guides index.

Designing CI and the release workflow

Design your pipeline before your first release, not during it. A release workflow can only be tested by running it, a tag can’t be moved once it’s pushed, and shipped release notes can’t be edited. So a mistake in the pipeline costs a whole version number, and a first release often takes three or four tries. A few checks beforehand avoid most of them.

This page applies to every process that has releases: TOGAF, Scrum and Agile. The words below don’t depend on which remote server, CI service or package registry you use.

Ask Claude to design it with you

Design the CI and the release workflow for this project, before the first release. Propose separate stages I can rerun one at a time, with caching for our stack, on one platform to start. Tell me which checks our plan can’t run. Use the release notes kanbanr wrote as the release description. Add a manual run that builds everything and publishes nothing.

Claude proposes the pipeline and brings you the choices. You approve it like any other design, and it becomes an item on the board, so it has a definition, a test and an approval of its own.

What to settle before the first tag

  1. Start small, in stages. Keep the first pipeline small by covering one platform and a few checks, not by putting everything in one job. Then:

    • Each stage is its own job: lint (format and lint), test, build, then scan and publish in the release workflow. A failed stage can be rerun alone, and the jobs after it wait for it.
    • Build once and pass it on. A stage hands what it built to the next as an artifact. The publish stage publishes the files the build stage made and never rebuilds them.
    • Cache by lock file. The dependency and build caches are keyed on the lock files (and the toolchain file), and saved only from main. A pull request reads main’s cache and never writes its own.
    • Set a timeout on every job, so a hung test fails within the hour instead of holding a runner.
    • Cancel a run a newer push made pointless, except a release run.
    • Add more platforms, container images and scanners after the first release, one at a time, each as its own item and its own stage.

    A pipeline that is green and small is worth more than a complete one that has never run.

    Speed-ups by stack, which Claude offers for the stacks the project uses:

    StackCache keyed onSpeed-ups
    RustCargo.lock, rust-toolchain.tomla cache of the registry and target/; sccache for compiled crates; cargo-chef for an image’s dependency layer; no incremental builds or debug info in CI; cargo-nextest to run tests side by side
    Pythonthe lock or requirements filesthe pip cache (or the installer’s own)
    Nodepackage-lock.json (or the lock file in use)the npm cache, and npm ci
    Container imagesthe Dockerfile and the lock filesa layer cache for the image build, one per image

    Which rows apply comes from the stack in the design, and from the project’s baseline once FTR-033 is built.

  2. Check what your plan allows. Some checks only run on certain plans or settings. A code scanner may be unavailable for a private project, and a package registry may need a setting on your account before it accepts a push. Claude can’t see your account settings, so it asks you, and you look. Leave out any check you can’t run, and add it back when you can.

  3. Take the release description from kanbanr’s notes. Promoting a release to its first stage drafts the notes, and you and Claude rewrite them for readers. Tell Claude to make the pipeline publish those notes as the description. A pipeline that generates its own description from commits will ignore everything you wrote.

  4. Run the release workflow without a tag. Ask for a manual trigger that runs every step up to publishing and publishes nothing. Run it on main before you cut the release, and again whenever the workflow changes. It finds the mistakes that checking the file by eye cannot, such as a step that downloads the wrong files.

  5. Run each check once per commit. If both a push to main and a push of the tag start the same checks, the second run is wasted time. Decide which runs where.

  6. Run the product the way a person will. Test the built result from another machine or address, not only from the one that built it. A container that calls its own machine by name passes every check on the machine that made it and fails everywhere else.

  7. Record CI before you cut. kanbanr can see that main was pushed. It can’t see whether CI passed. The Cut waits until a CI result is recorded for main’s commit, on the Releases page. Claude reads the run and prepares the result with its link; you check it and click Record ci passed.

  8. Mark the checks that need a push. A requirement that only CI can show (the job runs, a tag publishes the notes) gets at: pushed on its test, or at: cut. The item’s gate doesn’t wait for it, so Promote to main isn’t held; Claude records the result once CI has run. Anything still not run at the cut waits for you to accept shipping it unverified, and the notes name it.

Where it fits

WhenWhat
When you plan the first releaseClaude proposes the pipeline item (if setup recorded CI); you approve it like any other design
During setup or the first sprintAsk Claude to design the pipeline, and approve it
Before Promote to mainRun the release workflow without a tag, and fix what it shows
After you push mainWait for CI to go green, check the result Claude prepared and click Record ci passed, then Check again and Cut
After you push the tagWait for the release workflow, and check the release page has your notes

If the pipeline needs a fix after the cut, that is a patch release. See Patch releases.

Command reference

Complete command reference

Everything the CLI does, grouped by what you are trying to find out. --json works on every read and prints one JSON document. The four exceptions have a named format or a document body as their payload: export, graph and gantt take --format, and doc show prints the file.

Setting up and looking around

CommandWhat it does
kanbanr init <name> [--repository URL|""] [--repository-private on|off]data folder + git repo + identity + project, in one step; records the folder’s git remote as the project’s code repository, linked from the board README ("" records none, --repository-private on names it without a link)
kanbanr project init/edit/list/use/deletecreate, rename, select (writes the .kanbanr marker); edit also takes --repository URL|"" and --repository-private on|off
kanbanr where [--json]which board folder this directory uses, and why
kanbanr whoami / kanbanr identitythe commit identity this data folder writes as
kanbanr config show / set-transition / displayed-states / default-state / no-op-states / workflowthe workflow; config workflow --preset <name>, --from-file, --export, --write-agreement (Processes)
kanbanr config rename-status <OLD> <NEW>rename a status and move every item in it
kanbanr config cadence [--sprints on|off] [--releases on|off] [--unit points|days] [--release-stages a,b,c] [--integration-branch B] [--main-branch B] [--git-model on|off] [--has-ci on|off]switch sprints, releases and the estimate unit on or off for a project; name the stages a release moves through (the last is the cut) and the branches promotion uses; let the git model drive branching (on by default once sprints or releases are chosen); say the project has CI, so the recommended tag stage waits for it. Turning releases on with no stages named gives candidate, main and tag (Release stages); a stage that does nothing is warned about
kanbanr config method [--on|--off] [part…]the method — design before build, docs kept current, broken references reported — part by part: shown, turned off, or back on
kanbanr config coverage [--from-file F | --clear]the project’s architecture coverage rules: with no flag, each rule with how many of its subjects are uncovered and its source doc; --from-file sets them from YAML (refused, naming the rule, if invalid), --clear removes them
kanbanr config diagrams [--strict on|off]whether a write whose Mermaid diagrams fail the lint is refused (strict) or written with the problems printed as warnings (the default); with no flag, shows the setting
kanbanr config codes [--set KIND=PREFIX,…] [--unset KIND,…] [--default PREFIX|""] [--clear]which prefix a new item’s code gets from its kind (defect=DEF codes a defect DEF-001, with a counter per prefix); with no flag, each kind’s prefix, the default (FEAT unless set) and the next code per prefix. A prefix is 2–6 uppercase letters, not MS, ADR, SC, SP, TL or a milestone’s; a bad one is refused, naming the entry. Existing codes are never renamed; unset, every item is FEAT-
kanbanr hooks install / status / uninstallthe Claude Code hooks (session start, stop nudge, test capture, commit guard). The Bash guard, the Write guard and test capture also tell a sub-agent (its calls carry an agent_id) from the coordinator: an agent scope applies to agents only, and scope issue needs these hooks
kanbanr serve [--ui-dir …] [--allow-writes] [--allow-remote-writes]the monitor over this board; read-only unless --allow-writes, and then it takes writes only from its own page, or from an https origin named in KANBANR_ALLOWED_ORIGINS (comma-separated, such as https://board.example.com). With writes on it refuses to start on an address other machines can reach unless --allow-remote-writes or KANBANR_ALLOW_REMOTE_WRITES=1 accepts it. It answers for localhost, 127.0.0.1, [::1], its bound address and the hosts in KANBANR_ALLOWED_HOSTS (comma-separated name[:port], for a reverse proxy); any other host gets a 403
kanbanr openopen the running monitor in a browser
kanbanr open --check [--json]report, opening nothing, whether the monitor is up and accepts writes, and its Review and Releases addresses
kanbanr self-update [--check]replace this binary with the release’s, checksum-verified (and the skill and editor extension already installed)
kanbanr skill install / status / uninstallthe Claude Code skill this program carries, in ~/.claude/skills/kanbanr
kanbanr editor install [--editor codium] [--if-installed]this release’s VS Code extension, checksum-verified, into the editors on PATH

The work

CommandWhat it does
kanbanr board / kanbanr feature list / show / add / editthe kanban and its items
kanbanr move <CODE> <STATUS> [--override "…"]a status change, validated against the workflow and the stage’s gate; --override passes a gate and records why. Merging an item into a release past its first stage sends the release back to that stage and prints the steps from there; a release tagged and not shipped refuses the merge
kanbanr start <CODE> / kanbanr finish <CODE>begin (branch, active stage) and end an item, each through its gate
kanbanr milestone add / list / edit / deletemilestones (a dependency DAG; cycles rejected); list prints newest first; --oldest-first gives creation order
kanbanr todo add / list, kanbanr task add / state / listpersistent todo-lists on an item
kanbanr export <CODE> --format md|jsonone item, rendered for a human or a machine
kanbanr query "text" [--goal G-1] [--gap …] [--all-projects]rich filters plus full text, across projects
kanbanr activity / kanbanr eventsthe changelog, and the notification event log
kanbanr doc folder / add / tree / list / show / rmthe documentation tree

Process: definitions, agreement and sign-off

CommandWhat it does
kanbanr charter show / setwhy the project exists: purpose, goals, non-goals, constraints
kanbanr feature define <CODE> [--file …] [--template]an item’s definition: statement, goals, Zachman, requirements and their tests
kanbanr signoff <CODE> <name>record a named sign-off a stage’s gate asks for, pinned to the current definition
kanbanr signoff <CODE> <name> --withdraw --reason "…"takes a sign-off back; the earlier one stays on the record and stops counting
kanbanr ratify <CODE>agree after the fact to work started under a recorded override
kanbanr test <CODE> <R-n> <test> planned|red|green / kanbanr testsmove a test along its lifecycle (--note TEXT is kept with a manual test’s result, which a person records on the Review page’s Manual checks and Claude is refused); list tracked tests and check each still exists
kanbanr defect <CODE> …what a defect cost and where it came from

Sprints and releases (projects with cadence switched on)

CommandWhat it does
kanbanr sprint add / edit / remove / list / show / plan / unplan / start / closetimeboxes: add one (--start takes a date or today), change one that has not started (name, goal, dates, capacity), remove an empty unstarted one, list them, see one with its burndown, plan items in, take items out (unplan), start (a sprint dated later starts today, keeping its length), close (carrying unfinished work)
kanbanr release add / remove / list / plan / cutreleases: add one, remove an empty one that has not started (--patch-of <V> makes a patch of a cut release, branched from its tag, or of a tagged one whose CI failed with --from-failed-tag [--link URL] [--notes TEXT], which files a defect, plans the release’s items into the patch and supersedes the release; a new release starts with release plan, then promoting it to candidate), list them with their stage, plan items in, cut it (ship what is finished, write notes, carry the rest; --tag is promotion to production)
kanbanr release promote <VERSION> [<STAGE>] [--reason … | --note …]move a release to its next stage or the one named (Release stages), doing what the stages it enters say: by default the first makes release/<VERSION> and the last is the cut — it fast-forwards main and tags the version. Any missing condition refuses it with its fix, changing nothing; a release with nothing planned into it is refused. Back a stage needs --reason; nothing moves back from production. Prints each step and what is next. Run it from the project folder; nothing is pushed
kanbanr release promote <VERSION> [<STAGE>] --accept-untested CODE/R-n,… / kanbanr release cut <VERSION> --accept-untested …at the cut, accept shipping the requirements whose tests were not run, exactly as the plan lists them; a different list is refused as changed since. The acceptance is kept on the stage change and the notes gain “Not verified in this release” (Tests checked later). Your verdict: refused when Claude runs it
kanbanr release promote <VERSION> [<STAGE>] --plan [--fetch]what that promotion would do — the button, each step, each condition with its fix, and for the cut what it tags and ships — changing nothing; --fetch fetches main first. Each requirement untested_accepted lists is printed on its own line; for a release at a stage that prepares, again: when entering it again would redo the preparation
kanbanr release notes <VERSION> [--file F | --edit] [--changelog F] [--by NAME]a release’s notes as they are on release/<VERSION>, headed with where they are (release/v0.3.0 @ 8f995e1: docs/src/releases/v0.3.0.md); --file (- for stdin) or --edit ($VISUAL/$EDITOR on a copy) commits new text there in one commit, nothing checked out, and re-applies the notes listings; reading ends with “Not mentioned yet: …” naming the planned items the notes leave out; --changelog (- for stdin, for one of the two) commits the version’s changelog section and its copies in the same commit, or alone, and refuses an empty file; refused once the release is cut (Reading and editing the notes). Notes are read from the path they were first written to, recorded on the release, so changing config release-prepare --notes keeps earlier releases readable; a shipped release is read at its tag, and a release recorded earlier is found at any path the setting has named. A miss lists every path and ref looked at. Run it from the project folder
kanbanr release redate <VERSION> [--by NAME]date a release’s notes and changelog heading today, in one commit onto release/<VERSION>, nothing checked out; main moves with it if it holds the release, and the command says to push it again; no commit when nothing is stale; refused once the release is cut (The release date). The stage that moves main does the same on its own. Run it from the project folder
kanbanr release stageseach release stage, what it requires and what entering it does, and whether that is the project’s own gate or the default, and which do nothing (Stages that act)
kanbanr gate record <NAME> (--passed | --failed) [--commit REV] [--url LINK] [--note TEXT] [--by NAME]record the verdict of your CI (or any gate) for a commit, as a new result beside the earlier ones; --commit defaults to HEAD, and a pass with no commit named is refused over uncommitted changes. kanbanr asks no server; Claude is refused this command (Gate results)
kanbanr gate list [--name N] [--commit REV]the recorded gate results, newest first
kanbanr prepare gate <NAME> (--passed | --failed) [--commit REV] [--url LINK] [--note TEXT] [--source S]…prepare a gate result for the person to confirm on the Releases page; --commit resolves as for gate record, and the run’s link counts as a source. Nothing is recorded until they confirm (Prepared by Claude)
kanbanr prepare signoff <CODE> <NAME> [--note TEXT] [--doc PATH] --source S…prepare a sign-off’s note and doc for the Review page
kanbanr prepare promotion <VERSION> [--stage STAGE] --checked TEXT --source S…prepare what was checked for a stage confirmed after the tag (default: the plan’s next stage)
kanbanr prepare text <CODE> <TARGET> (--still-right --why TEXT | --correction CODE) [--source S]…settle one text to check under an item’s docs-folded sign-off: still right, with what was compared, or the item that files the correction. <TARGET> is doc:<path>, adr:<id> or item:<CODE>, as kanbanr check lists it. Needs the code repository; the sign-off takes it, and the person confirms nothing (Living docs)
kanbanr prepare ratify <CODE> --reason TEXT --source S…prepare a ratification’s reason for the Review page
kanbanr prepare test <CODE> <R-n> "<TEST>" (--passed | --failed) [--note TEXT] [--rev REV] --source S…prepare the result of a manual test the person stated, for them to confirm on the Review page’s Manual checks; --rev is the code commit they checked (default: HEAD). Claude is refused kanbanr test for a manual test (Manual checks)
kanbanr prepare list [--all] [--item CODE] [--release VERSION]the prepared records waiting for the person, newest first; --all adds the confirmed, rejected, superseded and stale ones, each with why
kanbanr config tag-gate [<NAME>]the commit gate whose result judges a release’s tag (Stages after the tag); with none, the first commit gate judges
kanbanr config gate-docs [<ENTRY>…] [--none]the paths that count as documentation when a recorded gate pass is carried to a later commit: a folder ending in /, a suffix starting *, or a path; with none, goes back to docs/ and *.md; --none carries across no change
kanbanr config commit-gates [<NAME>…]the gates a stage requiring gate_passed needs a passed result of for the release tip; with none, clears them
kanbanr config release-stage <STAGE> [--purpose …] [--requires a,b] [--after a,b] [--on-enter a,b] [--clear]a release stage’s gate: conditions (items_finished, prepared, main_at_release, pushed, gate_passed, tag_passed, items_merged), earlier stages the release must have entered first (--after) and actions (branch, prepare, move_main, tag), starting from the gate in force; --clear goes back to the default
kanbanr config release-prepare [--version-file PATH[=MATCH]]… [--clear-version-files] [--changelog PATH] [--changelog-copy PATH]… [--notes TEMPLATE] [--notes-listing PATH::AFTER::ENTRY]…what prepare commits onto release/<V> (Preparing a release); \n in MATCH and ENTRY is a newline; a PATH may be given more than once with different matches, each applied in order; with no flag, shows it
kanbanr retro --sprint <SP-…>how a sprint went

Dependencies and scheduling

CommandWhat it does
kanbanr ready / kanbanr blockedwhat can be started now, and what is waiting on something
kanbanr impact <CODE>everything downstream of an item — what breaks if it slips
kanbanr graph [--format dot|json]the dependency graph
kanbanr critical-path / kanbanr ganttthe longest chain, and a Mermaid schedule
kanbanr portfolio …cross-project rollups for a program of several boards

Keeping it honest

CommandWhat it does
kanbanr readmewrite or refresh the board’s README: it names the board’s projects and links their code repositories, and says how to install kanbanr and see it as a board; text outside its markers is kept
kanbanr position [--json]the checkout’s live position: its commit plus a hash of what is uncommitted (<commit>, or <commit>+<dirty>, or none+<dirty> before the first commit), computed byte for byte as katalogr computes it, then the repository, branch, commit and up to 20 changed paths (M edited, D deleted, A new). Needs no board; with none it names the repository after the folder and says so on stderr. Run it from the project folder
kanbanr view docs [--root R] [--max-nodes N] [--at P] [--json]the markdown docs under R (default docs, at most N = 60 files) drawn as Mermaid at the live position, or at P, a position text: a clean commit is read from the repository with nothing checked out; a dirty position only while the checkout is at it. Prints the Mermaid, then view: <id> (an ID only when the answer is exact) and at: <position>; each warning is a warning: line on stderr, and --json prints the answer with a warnings field. Exits 2 for text that is not a position and 6 for a position no checkout here holds
kanbanr drift [--since DATE] [--item CODE]the docs and items that name something work changed (a flag, command, route, KANBANR_ variable, setting, stage, status or file) and have not changed since, grouped by text, for the items with commits since DATE (from the start of that day, UTC; default: the latest shipped release’s tag date, else 60 days back; with --item, all of that item’s history). --json adds when it was generated. It flags what to read, never judges it, and exits 0 whatever it finds. Run it from the project folder: without the code repository it cannot check, and says so
kanbanr doctorevery broken reference and every gap, across the board — including links in specs and docs to items, requirements, ADRs, goals or docs the board does not have, diagram problems: each Mermaid block in a spec or doc the lint rejects, with its file, diagram number, line and rule, and each coverage rule a view still fails, with its first ten uncovered subjects. Warns only about what each item’s current stage asks; what later stages will ask is printed after the warnings as counts
kanbanr check [CODE]what one item has not said, and what it cannot yet show
kanbanr review [CODE] [--pending] [--ui]the decision brief — one item, all of them, or in the browser
kanbanr approve <CODE> [--by …] [--under DLG-n]records agreement, attributed to the board’s commit identity, from the person’s own terminal. Inside a Claude Code session kanbanr refuses it, unless the project is in delegated mode and --under names a delegation in force that covers it: then it is recorded as delegated, by Claude, naming the delegation, and waits on the Review page to be kept or undone. --under from a terminal is refused: a person needs none. If the latest verdict on the same text is the same, it records nothing and prints already approved by … from the monitor; nothing recorded; ratify and signoff do the same (ratify records a repeat when an override Claude made waits for it), and take --under too
kanbanr decisions showwhere this project’s decisions are taken (monitor or delegated), every delegation and where it stands (with the auto-mode allow rule each granted one is missing), the decisions Claude took under one waiting to be kept or undone, and what waits for a decision where
kanbanr decisions mode monitor|delegated [--reason …]sets where decisions are taken, and lists what waits where now. The person’s own: refused inside a Claude session. monitor suspends every delegation without deleting it
kanbanr decisions propose --verdict V… [--step S]… [--item CODE]… [--kind K]… [--milestone MS] [--all] [--until DATE] [--note …]proposes a delegation: the verdicts it covers (approve, ratify, signoff:<name>), on which items, until when (YYYY-MM-DD, the end of that day UTC, or RFC 3339; default 14 days, at most 90). It must name items, kinds or a milestone, or say --all. It covers nothing until the person grants it
kanbanr decisions defaults [--process NAME] [--dry-run]proposes the process’s default delegations, for the person to grant on the Review page: the design review of defects and chores, and the docs fold-in of every item (TOGAF: the fold-in only; design-control: none). Each covers the stages an item is in when that sign-off is asked, that is, the stages the gated move leaves from. With --process and --dry-run it needs no board and records nothing
kanbanr decisions grant DLG-ngrants a proposal as it stands now, and says which Claude Code allow rule auto mode needs for it. The person’s own: refused inside a Claude session
kanbanr decisions revoke DLG-n --reason "…"revokes a delegation, or discards a proposal; it stays on the record
kanbanr decisions review <decision> --keep|--undo [--reason …]keeps or undoes a decision taken under a delegation (its reference is as decisions show lists it); an undo withdraws it. The person’s own
kanbanr unapprove <CODE> --reason "…"takes an agreement back, with a reason it refuses to go without; the record of having given it stays
kanbanr capturereads a test run’s output — cargo test, Vitest (verbose), pytest -v, python -m unittest -v, Playwright (list) — and says when a test run printed nothing it reads (run by the hook; you never call it)
kanbanr split-from <CODE> <PARENT>records that an item was sliced out of another
kanbanr sources [--write]imported items whose source file has gone
kanbanr indexrebuild the per-project cache from the source-of-truth files
kanbanr migrate [--json]bring a board written before schema 5 up to date, once: re-pins every approval, sign-off and process record from the board’s history, rewrites the files, one commit; every other command refuses such a board until it has run (upgrading)

Reasoning and evidence

CommandWhat it does
kanbanr why <file>:<line>the item, requirement and goal behind a line of code
kanbanr trace <G-…|CODE|CODE/R-n|doc.md>what hangs off a goal, an item, a requirement or a doc, the specs and docs that link to it, and what is missing
kanbanr adr new / list / supersede / historyarchitecture decisions, linked to the items they affect
kanbanr adr accept / reject --reasonthe user’s verdict on a proposed decision
kanbanr lessons [--for CODE] / kanbanr lesson add / affirm / contradictwhat the project has learned, and judging it
kanbanr retro <MS-…> / kanbanr reporthow a milestone went; flow and quality derived from the record

Code and Claude Code

CommandWhat it does
kanbanr git install-hooks / uninstall-hooks / statusthe commit hooks that require each commit to name its item
kanbanr git doctor [--json]compare the board with the branches: integrated items not merged, unfinished work on a line, branches naming nothing, release fixes not forwarded; read-only, exits 1 on an error
kanbanr git tidy [--yes] [--json]list the merged branches that can go (a finished item’s merged branch, a finished agent’s merged worktree-agent-* branch) and, with --yes, delete them locally, printing each tip so git branch <name> <tip> restores it; never an unmerged or checked-out branch, never the remote
kanbanr git forward <VERSION>merge a release’s fixes forward into the current line, naming the items they serve
kanbanr git model [--sprints on|off] [--releases on|off] [--json]the git model the cadence implies: main, the line finished items integrate into, where items branch, item branches, the lines that take merges only, what kanbanr merges, and that pushing is yours. With --sprints or --releases, the model that cadence would give, over this board’s cadence or, with no board yet, over all-off: setup shows it before applying it
kanbanr commit -m "…"commit with the board reference filled in from the branch
kanbanr claude syncwrite the project’s charter and stages into CLAUDE.md, and refresh the board README’s generated block
kanbanr claude permissions [--write]the Claude Code allow rules the delegations in force need in delegated mode (Bash(kanbanr signoff:*) and the like), each allowed or missing; --write adds the missing ones to the project’s .claude/settings.local.json and nothing else. Run it with the person’s yes
kanbanr git guard / kanbanr claude guard / kanbanr git check-msg / kanbanr git check-branch / kanbanr git check-pushthe checks the hooks run (you never call them); check-push is the pre-push hook, which refuses a push from an agent’s worktree
kanbanr scope issue <design|build> <CODE> [--for 8h] [--note …] [--worktree PATH] [--json]issue an agent scope: record what one sub-agent may do and print the brief to paste into its brief (FEAT-214). --worktree PATH binds the scope to that worktree now, so its brief has no claim step (DEF-023)
kanbanr scope claim <SC-id>the agent’s first command, in its own worktree: bind the scope to it (a build agent switches to its item’s branch)
kanbanr scope herewhich scope applies in this folder, and what it allows
kanbanr scope list [--all] [--item CODE] [--json] / scope show <SC-id> / scope brief <SC-id>the scopes in force (or every one), one scope, its brief
kanbanr scope revoke <SC-id> [--reason done] / scope renew <SC-id> --for 4hend a scope; extend one (72 hours at most)
kanbanr scope drift [--brief] [--json]build agents’ own non-merge commits newer than their item’s last task change, not what main, a sprint or a release branch already holds

Sharing

CommandWhat it does
kanbanr remote add / list / remove, kanbanr syncgit remotes for the board (SSH or HTTPS), and an immediate push
kanbanr remote push-policy [auto|off|debounce:N]when this board is pushed: show it, or set it in the board’s own git config
kanbanr mirror enable / disable / status / sync / link / pullone-way mirror of items to GitHub issues
kanbanr batch [--dry-run] [--file …]many changes in one call and one commit

On-disk layout

On-disk layout

The board is a git repository beside the code repository, not inside it — <repo>.kanbanr as a sibling (FEAT-041). A board inside a checkout is one git add -A away from being committed; a sibling cannot be.

<repo>.kanbanr/                         # a git repository (every write is a commit); no accounts/secrets
└── projects/
    └── <project>/
        ├── config.yaml                 # statuses, default_state, transitions, displayed/no-op/terminal states, branch_pattern
        ├── activity/                   # the activity changelog, one file per day (FEAT-066)
        │   └── 2026-09-28.yaml          # {time, actor, message, item}, appended in order
        ├── events/                     # the notification event log, one file per day (FEAT-036, FEAT-066)
        │   └── 2026-09-28.yaml
        ├── gates/                      # recorded gate results, a new file per run, never rewritten (FTR-002)
        │   └── <name>/20261112T100000Z-<sha7>.yaml
        ├── prepared/                   # evidence prepared for a decision, each file written once (FTR-034)
        │   ├── <id>.yaml
        │   └── <id>.resolved.yaml
        ├── manual/                     # manual test results, one file per result, written once (DEF-040)
        │   └── <time>-<CODE>-<R-n>.yaml
        ├── pins/<CODE>/<rev>.md        # a spec as a design sign-off saw it, written once (FTR-023)
        ├── charter.yaml                # purpose, goals, non-goals, stakeholders, adopted_at (FEAT-046)
        ├── lessons.yaml                # what was learned, with decaying confidence (FEAT-055)
        ├── mirror.yaml                 # GitHub issue mirror config, when enabled (FEAT-043)
        ├── scopes.yaml                 # agent scopes, oldest first, never trimmed (FEAT-214)
        ├── index.yaml                  # derived cache of item metadata, rebuildable (FEAT-033)
        ├── features/                   # every item, filed under its status (FEAT-071)
        │   └── <Status>/                # e.g. Planned/  In Progress/  Completed/
        │       ├── FEAT-001.yaml         # item METADATA only — including definition, defect, history
        │       └── features-spec/
        │           └── FEAT-001.md       # the specification markdown
        ├── milestones/MS-001.yaml       # code, name, description, depends_on[]
        └── docs/                        # documentation tree (markdown)
            ├── decisions/               # ADRs: front-matter + prose (FEAT-057)
            ├── retros/                  # wave retrospectives (FEAT-054)
            └── design/
                ├── _folder.yaml         # folder name + short description
                └── overview.md

How a file is written (DEF-025). kanbanr never edits a board file in place. It writes the new content to a temporary file in the same folder (.<name>.<pid>.<n>.tmp), syncs it, and renames it over the old file, so a file is always whole: the old content or the new, even if kanbanr is killed or the disk fills mid-write. An interrupted write can leave its .tmp file behind. The board’s .gitignore ignores *.tmp, nothing reads it as board data, and kanbanr doctor warns about one older than an hour; it is safe to delete. A file’s permissions are kept, and a symbolic link is written through.

Item codes (FEAT-217). An item’s file is named by its code. Where the project maps kinds to prefixes (codes: in config.yaml, set with kanbanr config codes), a new item’s code says its kind — DEF-001, MNT-004, FTR-012 — with a counter per prefix; otherwise every code is FEAT-<n>. Both kinds of code live side by side, and a code is never renamed when its item’s kind changes.

codes:
  default: FEAT        # optional; absent = FEAT
  kinds:               # kind (lowercase) -> prefix
    bug: DEF
    defect: DEF
    feature: FTR

Agent scopes (FEAT-214). scopes.yaml holds every scope issued for the project: id, role (design or build), item, operations, branch and base (build), issued_by, issued_at, expires_at, note, and once claimed worktree (relative to the main worktree, so the board carries no home paths) and claimed_at; a revoked one adds revoked_at, revoked_by and revoked_reason. Its state (issued, active, expired, revoked) is derived, never stored. The agent’s worktree holds only a pointer, kanbanr-scope.yaml with {scope, project}, in the worktree’s own git directory (.git/worktrees/<name>/): it cannot be committed, survives git clean, and goes with the worktree. A task records when its state last changed (changed_at), which agent drift is measured from.

Where a verdict was taken (DEF-028). Every approval event and standing approval, every sign-off entry (given or withdrawn) and every release stage change carries an optional origin: monitor for a click on the monitor, conversation for a command that ran inside a Claude Code session (CLAUDECODE set), terminal for any other, and delegated, reserved. The front end that received the verdict sets it; a value in the request is ignored. A release also records shipped_by and shipped_origin when it is cut, and a decision records decided_origin in its front matter beside deciders and decided. A record with no origin was written before this existed and reads as unknown; it is not back-filled. The value is kept as a string, so an origin an older kanbanr does not know survives its write. Release stage changes also keep keys they do not know now; a kanbanr older than 0.6.0 that rewrites releases.yaml drops origin from them. An origin is a label for review, not proof of who was at the keyboard.

Side files, not new entities. charter.yaml, lessons.yaml and mirror.yaml follow one pattern: absent means “none”, empty removes the file, and none of them is part of Project — so GET /projects/{p} is unchanged by their presence and an older board loads without them.

Everything else on an item is inline. definition, defect, split_from and history live in the item’s own yaml, because they then ride move/rename/index/flush for free and every consumer (doctor, export, query, report, trace) wants them anyway. Each new field is optional and skip_serializing_if its empty value, so a board written by an older version re-serializes byte for byte (ADR-0005). Adding one means touching exactly three places — the FeatureItem struct, meta() and from_meta() — which the compiler enforces.

Changing a feature’s status moves both its <Status>/<code>.yaml and <Status>/features-spec/<code>.md into the new status folder, and appends a transition to the item’s history[] — including when ticking the last task auto-completes it, which is how most items actually finish. All writes are done by the CLI (the single writer). There is no security.yaml — kanbanr has no accounts (ADR-0001).

HTTP API

kanbanr serve runs the view daemon: a small HTTP server over the board folder that answers the monitor and any tool built on the board. It reads only — writes happen in the CLI — has no login, and binds localhost by default.

Its read routes come in two kinds:

  • Public routes are the read API, version 1. They are described by an OpenAPI 3.1 document, which the daemon also serves at GET /api/openapi.json, and they are covered by the stability promise: a route, a field or a value documented there keeps its meaning in every 1.x.
  • Internal routes are the other reads the daemon answers. They work, the CLI and the monitor use some of them, and they may change in any release. Build on them at your own risk.

Write routes, which exist only on a daemon started with --allow-writes, are part of neither.

Public routes (v1)

The project views are all under /api/projects/{project}; {code} is an item’s code, such as FEAT-001. The table is generated from the OpenAPI document, which is generated from the Rust types the routes answer with, so it cannot fall behind them.

RouteParametersAnswersWhat it is
GET /healthz—JSON HealthLiveness probe
GET /api/meta—JSON MetaWhat this daemon can do, and who an approval here would be attributed to
GET /api/openapi.json—JSON objectThis description of the public read API
GET /api/projects—JSON ProjectSummary[]The projects on the board
GET /api/projects/{project}—JSON ProjectA project: its configuration, milestones and items
GET /api/projects/{project}/charter—JSON CharterThe project’s charter: purpose, goals, scope and constraints
GET /api/projects/{project}/readiness—JSON ProjectReadinessWhat each live item is missing, and its next stages, keyed by code
GET /api/projects/{project}/features/{code}/readiness—JSON ReadinessViewWhat one item is missing, and what its next stages ask
GET /api/projects/{project}/features/{code}/diagrams—JSON ItemDiagramsThe Mermaid blocks of an item’s spec and affects_docs, with the lint’s findings
GET /api/projects/{project}/review—JSON ReviewEntry[]What is waiting for a person’s agreement, in the order to ask it
GET /api/projects/{project}/releases—JSON ReleaseReport[]The project’s releases, each with what it ships
GET /api/projects/{project}/sprints—JSON Sprint[]The project’s sprints
GET /api/projects/{project}/sprints/{sprint}—JSON SprintReportOne sprint’s report
GET /api/projects/{project}/adrs—JSON Adr[]The project’s architecture decision records
GET /api/projects/{project}/lessonsfor (optional), all (optional)JSON Lesson[]The lessons worth showing, most believed first
GET /api/projects/{project}/process—JSON ProcessStatusHow the project’s workflow stands against the process it was applied from
GET /api/projects/{project}/manual-tests—JSON ManualWaiting[]The manual tests waiting for a person: each one not yet green, with its requirement and the check to make, live work first, then finished work
GET /api/projects/{project}/gates—JSON objectThe gate each status’s moves are judged by, keyed by status: role-addressed gates resolved, the built-in rule included
GET /api/projects/{project}/releases/{version}/cut-preview—JSON CutPreview[]What cutting a release now would ship and carry over, with nothing written
GET /api/projects/{project}/gate-resultsname (optional), commit (optional)JSON GateResult[]The gate results recorded for the project, oldest first: which gate, which commit, passed or failed, who and when
GET /api/projects/{project}/decisions—JSON DecisionsViewWhere the project’s decisions are taken (FTR-028): the mode and its history, every delegation with where it stands, the decisions Claude took under one for the person to keep or undo, and what waits for a decision where
GET /api/projects/{project}/preparedstate (optional), item (optional), release (optional)JSON PreparedView[]The records Claude prepared for the person to confirm (FTR-034), newest first: each with its sources, where it stands, the person’s answer and the equivalent verdict command
GET /api/projects/{project}/releases/{version}/planstage (optional), reason (optional)JSON ReleasePlanWhat promoting a release would do, with nothing changed: the button, each step and condition, what is missing and, for the cut, what ships. The monitor reads the code repository only when started in the project folder
GET /api/projects/{project}/workflowformat=mermaidtext/plainThe workflow as a Mermaid state diagram
GET /api/projects/{project}/gantt—text/plainThe schedule as a Mermaid gantt diagram, by milestone
GET /api/projects/{project}/docs—JSON DocFolderThe project’s documentation tree
GET /api/projects/{project}/position—JSON PositionAnswerThe live position of the code repository the daemon was started in: its commit plus a hash of the uncommitted changes, and the changed paths
GET /api/projects/{project}/views/docsroot (optional), max-nodes (optional), at (optional)JSON ViewAnswerThe markdown docs under a folder, drawn at the live position or at at, with an ID that repeats while the position, the board and the question repeat; an ID only when the answer is exact
GET /api/projects/{project}/docs/contentpathtext/markdownA document’s text
GET /api/projects/{project}/docs/rawpaththe file’s bytesA documentation file’s bytes, such as an image
GET /api/projects/{project}/activityref (optional), ongoing (optional), limit (optional)JSON Activity[]Recent changes to the project, newest first
GET /api/projects/{project}/features/{code}/exportformat=md|json (optional)JSON FeatureExport, or text/markdownOne item, as Markdown, or as JSON with ?format=json
GET /api/portfolio—JSON PortfolioViewThe workspace: its programs and their projects
GET /api/portfolio/rollups—JSON RollupReportProgress rolled up by program and project
GET /api/portfolio/board—JSON BoardReportEvery project’s items on one board, in normalized lanes
GET /api/projects/{project}/events—text/event-streamServer-sent events: changed whenever this project changes
GET /api/events—text/event-streamServer-sent events: changed whenever anything on the board changes

Versioning

Version 1 is the paths in use today, under /api/.... Additions — a new route, a new field, a new value where the document lists the values — come in minor releases and do not change the version: a client must ignore fields it does not know. A change that would break a client is published as a new version under /api/v2/..., with v1 still served for a deprecation period, as the stability policy describes. info.version in the document names the version it describes.

Errors

A failed request answers with a status and a one-line, plain-text reason (text/plain; charset=utf-8):

StatusWhen
400The request is malformed: a missing or invalid parameter (including a query parameter the route does not take), an at that is not a position, or an unsupported format.
404No such project, item, sprint or document — or no route answers the path.
409The board was written by a newer kanbanr than the daemon. Upgrade the binary and restart kanbanr serve. Or, for a position or view read, no checkout here holds the position asked for: the body reads position <wanted> is not here: this checkout is at <position> (or … no checkout on this machine). The CLI exits 6 for the same case and with --json prints {"error":"position-unavailable","wanted":…,"available":[{repo,commit,dirty}]}.
500The board could not be read.

A GET of a path under /api that no route answers is a 404; releases before the read API was published answered 400, “unsupported operation”. Any other method on a read route is a 405.

Live updates

GET /api/events and GET /api/projects/{project}/events are server-sent event streams (text/event-stream). Each event is changed, and its data is the id of the project whose files changed, or * for a change to the board as a whole (a project added or removed). The project stream sends only that project’s events and *. The daemon sends a keep-alive comment now and then; a client re-reads what it shows when an event arrives.

CORS and access

The daemon sends no cross-origin headers, so a page from another origin cannot read the API or its SSE streams. It answers only for the loopback names, its bound address and the hosts in KANBANR_ALLOWED_HOSTS, and a write needs the token its own page was given at this start. Anyone who can reach the daemon with an accepted host can read the board. A write from a page behind a TLS proxy is accepted only when its origin is named in KANBANR_ALLOWED_ORIGINS. See Hosting the monitor elsewhere.

Internal routes

Served, not covered by the contract, and free to change: the doctor (/api/doctor, /api/projects/{project}/doctor), query (/api/query, /api/projects/{project}/query), the dependency views (/ready, /blocked, /graph, /critical-path, /features/{code}/impact, and their portfolio-wide forms), the portfolio Gantt (/api/gantt), trace and Zachman coverage, the retrospective and report, the issue mirror’s settings, the CLAUDE.md block, the process library (/api/processes), the project-wide export (/api/projects/{project}/export), /git/model, /git/doctor, /git/tidy (GET lists the merged branches that can go; POST deletes them locally; DEF-051), /config/method, the guard rails (/api/projects/{project}/guards) and the agent scopes (/api/projects/{project}/scopes, /scopes/{id}, /scopes/{id}/brief in Markdown, and /scopes/drift, which reads the code repository; FEAT-214). Each answers JSON, except the DOT graph (?format=dot) and the Markdown project export, which are text.

Writes happen in the CLI (dispatch)

All mutations go through kanbanr-core::dispatch from the CLI (and the same (method, path, body) shapes the daemon would read): create/edit projects, features (never deletable), tasks, todo-lists, milestones, config, docs — plus POST /projects/:p/batch for a bundle in one commit. Each write appends to the activity log and commits the data repo. The batch body is { "operations": [ { "op": "...", ... } ] } with op types feature.add, feature.edit, feature.move, milestone.add, todo.add, task.add, task.state, doc.folder, doc.write; created items may carry a ref alias later ops reference; the first failure names its index.

A daemon started with --allow-writes takes the same writes over HTTP, under /api/write/..., for the monitor’s approval and release actions. Those routes are not part of the read API.

A verdict route (approve, ratify, unapprove, sign-off and its withdrawal, accepting or rejecting a decision, promote, cut, patch-from-tag) records where it was taken. The daemon stamps monitor itself and ignores an origin in the request. When the same approval, ratification or sign-off repeats the latest one on text that has not changed, nothing is recorded, no activity entry, event or commit is made, and the answer is the item with an already_recorded object: what, by, at, origin and a sentence saying who recorded it first, when and from where. A sign-off repeated with a new note or doc is recorded. A ratification repeated while an override Claude made waits for one is recorded, not answered as already_recorded. A decision, promotion or cut asked for a second time is refused as before, and the refusal now names who did it first.

The OpenAPI document

The document is generated, never edited by hand:

cargo run -p kanbanr-core --features schema --example openapi          # write it
cargo run -p kanbanr-core --features schema --example openapi -- --check  # CI: fail if stale

It is committed as docs/src/reference/openapi.json, and the daemon serves those same bytes. A contract test starts a daemon on a fixture board and checks every public route against it: the status, the media type, and that each JSON body validates against its schema.

openapi.json (v1)
{
  "components": {
    "responses": {
      "E400": {
        "content": {
          "text/plain; charset=utf-8": {
            "schema": {
              "type": "string"
            }
          }
        },
        "description": "The request is malformed: a missing or invalid parameter, or an unsupported format."
      },
      "E404": {
        "content": {
          "text/plain; charset=utf-8": {
            "schema": {
              "type": "string"
            }
          }
        },
        "description": "No such project, item, sprint or document."
      },
      "E409": {
        "content": {
          "text/plain; charset=utf-8": {
            "schema": {
              "type": "string"
            }
          }
        },
        "description": "The board was written by a newer kanbanr than this daemon; upgrade it. Or, for a view or position read, no checkout here holds the position asked for: the body names the position the checkout does hold."
      },
      "E500": {
        "content": {
          "text/plain; charset=utf-8": {
            "schema": {
              "type": "string"
            }
          }
        },
        "description": "The board could not be read."
      }
    },
    "schemas": {
      "Action": {
        "description": "Something that happens when an item enters a status.",
        "oneOf": [
          {
            "const": "branch",
            "description": "`kanbanr start` creates the item's branch here (where the project is a git repository).",
            "type": "string"
          }
        ]
      },
      "Activity": {
        "properties": {
          "actor": {
            "description": "Who made the change (the commit identity name).",
            "type": "string"
          },
          "by_agent": {
            "$ref": "#/components/schemas/ByAgent",
            "description": "Made under an agent scope (FEAT-214): the person, by the agent for its item."
          },
          "item": {
            "description": "The work item (feature code) this change touched, when applicable — enables per-item and\nper-kind activity streams. Serialized as `item`.",
            "type": "string"
          },
          "message": {
            "description": "A short human description of the change.",
            "type": "string"
          },
          "origin": {
            "description": "Where a verdict was taken (DEF-028); empty for any other change.",
            "type": "string"
          },
          "time": {
            "description": "RFC3339 timestamp.",
            "type": "string"
          }
        },
        "required": [
          "time",
          "actor",
          "message"
        ],
        "type": "object"
      },
      "Adr": {
        "additionalProperties": true,
        "description": "An architecture decision record: front-matter plus the prose it belongs to.",
        "properties": {
          "affects": {
            "description": "Items resting on this decision.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "body": {
            "description": "Everything below the front-matter.",
            "type": "string"
          },
          "date": {
            "type": "string"
          },
          "decided": {
            "description": "When the decider accepted or rejected it (FEAT-153). `date` is when it was proposed.",
            "type": "string"
          },
          "decided_origin": {
            "description": "Where the verdict was taken (DEF-028): `monitor`, `conversation`, `terminal` or `delegated`.",
            "type": "string"
          },
          "deciders": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "driven_by": {
            "description": "The requirements that forced it, usually quality ones: `FEAT-046/R-2`.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "id": {
            "default": "",
            "description": "`ADR-0003`.",
            "type": "string"
          },
          "layer": {
            "description": "conceptual | logical | physical.",
            "type": "string"
          },
          "missing": {
            "description": "The scaffolded sections it leaves unanswered, as `list` reports them — so the Review page\ncan say why Accept is refused without a second copy of the rule (FEAT-153). Never stored.",
            "items": {
              "type": "string"
            },
            "readOnly": true,
            "type": "array"
          },
          "path": {
            "description": "Where it lives in the doc tree.",
            "type": "string"
          },
          "quality": {
            "description": "ISO/IEC 25010 characteristics at stake — the shared vocabulary with NFRs.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "reason": {
            "description": "Why it was rejected: a rejected decision is still a record, and its reason is the record.",
            "type": "string"
          },
          "status": {
            "default": "",
            "description": "proposed | accepted | rejected | superseded.",
            "type": "string"
          },
          "superseded_by": {
            "description": "Written by `adr supersede`, never by hand.",
            "type": "string"
          },
          "supersedes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "description": "The document's first heading.",
            "type": "string"
          },
          "trade_offs": {
            "description": "The machine-readable summary of the Consequences prose.",
            "items": {
              "$ref": "#/components/schemas/TradeOff"
            },
            "type": "array"
          },
          "zachman": {
            "description": "Which Zachman columns it answers.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "status"
        ],
        "type": "object"
      },
      "AgainOffer": {
        "description": "Entering the stage the release is at again, when that would redo something (DEF-057): what the\nsecond button says, what it would do, and whether it can go. Derived, never stored.",
        "properties": {
          "button": {
            "description": "What the button says: the Again plan's `button`, \"Promote to candidate again\".",
            "type": "string"
          },
          "does": {
            "description": "What it would do, one sentence per step that runs: \"commits the version 0.1.1 to release/v0.1.1\".",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "missing": {
            "description": "What stands in the way, each as what to do about it (the Again plan's `missing`).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "ready": {
            "type": "boolean"
          },
          "stage": {
            "description": "The stage entered again: `plan.from`.",
            "type": "string"
          }
        },
        "required": [
          "stage",
          "button",
          "does",
          "ready",
          "missing"
        ],
        "type": "object"
      },
      "Answer": {
        "description": "What the person answered.",
        "enum": [
          "confirmed",
          "rejected"
        ],
        "type": "string"
      },
      "Approval": {
        "additionalProperties": true,
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "delegation": {
            "description": "The delegation a record was taken under, such as `DLG-001`, when `origin` is `delegated`\n(FTR-028). Absent otherwise; an older kanbanr keeps it in `extra`.",
            "type": "string"
          },
          "origin": {
            "description": "Where it was taken: `monitor`, `conversation`, `terminal` or `delegated` (DEF-028). Absent on a\nrecord written before origin existed, which reads as unknown; kept as a string so a newer\nkanbanr's value survives.",
            "type": "string"
          },
          "parts": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "A hash of each part of the definition it covered (FTR-018), keyed as\n[`FeatureDefinition::part_revs`]. Empty on a record an older kanbanr wrote: such a record is\nno baseline, and any change to the definition lapses it.",
            "type": "object"
          },
          "rev": {
            "type": "string"
          }
        },
        "required": [
          "by",
          "at",
          "rev"
        ],
        "type": "object"
      },
      "ApprovalEvent": {
        "additionalProperties": true,
        "description": "Agreement to a definition, pinned to its content (FEAT-048).\n\n`rev` is a hash of the definition as approved. If the definition changes afterwards the hash no\nlonger matches and the approval has **lapsed** — so scope cannot drift silently past a \"yes\",\nwhich is exactly how work gets built and then rejected.\nOne agreement, or one withdrawal of it (FEAT-069). Append-only: an approval that was given and\nlater taken back is more informative than no record at all, and the charter constraint says raw\ndata is never discarded.",
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "delegation": {
            "description": "The delegation a record was taken under, such as `DLG-001`, when `origin` is `delegated`\n(FTR-028). Absent otherwise; an older kanbanr keeps it in `extra`.",
            "type": "string"
          },
          "origin": {
            "description": "Where it was taken: `monitor`, `conversation`, `terminal` or `delegated` (DEF-028). Absent on a\nrecord written before origin existed, which reads as unknown; kept as a string so a newer\nkanbanr's value survives.",
            "type": "string"
          },
          "reason": {
            "description": "Why it was withdrawn. An agreement needs no reason; taking one back does.",
            "type": "string"
          },
          "rev": {
            "description": "The definition content this verdict was about.",
            "type": "string"
          },
          "status": {
            "description": "The status the item was in when the verdict was given (FEAT-114), so a definition that grows\nstage by stage leaves a readable trail: approved at Vision, again at System Design.",
            "type": "string"
          },
          "verdict": {
            "description": "`approved` | `ratified` | `withdrawn`.\n\n`ratified` is agreement given **after** the work was built, under a recorded\n`--unapproved` start (FEAT-080). It is a separate verdict from `approved` because the\nwhole point of the gate is to distinguish \"we agreed, then built\" from \"we built, then\nagreed\" — and with one verdict the record could not tell them apart. Twenty-nine items on\nthis board were reconciled that way before the distinction existed.",
            "type": "string"
          }
        },
        "required": [
          "at",
          "by",
          "verdict"
        ],
        "type": "object"
      },
      "ApprovalKind": {
        "description": "The question a review entry asks.",
        "oneOf": [
          {
            "const": "unratified",
            "description": "Finished under a recorded bypass and never agreed to (FEAT-109): ratify it.",
            "type": "string"
          },
          {
            "const": "signoff",
            "description": "Agreed; the stage it reaches next waits on a sign-off (FEAT-117).",
            "type": "string"
          },
          {
            "const": "release",
            "description": "Agreed, and nothing to sign: which release it ships in (FEAT-185).",
            "type": "string"
          },
          {
            "const": "missing",
            "description": "Defined, never approved.",
            "type": "string"
          },
          {
            "const": "lapsed",
            "description": "Approved, then the definition changed.",
            "type": "string"
          },
          {
            "const": "added",
            "description": "Approved, then the definition gained parts that now need a decision (FTR-018): the item is\nat or past its build stage, or its next stage would refuse the additions.",
            "type": "string"
          },
          {
            "const": "spec_changed",
            "description": "The spec a sign-off pinned changed after it was given, and the item has passed the gate\nthat asks for it (FTR-023).",
            "type": "string"
          }
        ]
      },
      "BoardCard": {
        "description": "A single feature as it appears on the cross-project board.",
        "properties": {
          "assignee": {
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "disposition": {
            "$ref": "#/components/schemas/Disposition"
          },
          "milestone": {
            "type": "string"
          },
          "project": {
            "type": "string"
          },
          "status": {
            "description": "The feature's native (per-project) status — kept for display, since lanes are normalized.",
            "type": "string"
          },
          "tasks_done": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "tasks_total": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "team": {
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "project",
          "code",
          "title",
          "status",
          "milestone",
          "assignee",
          "team",
          "tasks_done",
          "tasks_total",
          "disposition"
        ],
        "type": "object"
      },
      "BoardLane": {
        "description": "One normalized lane plus its cards (across all projects).",
        "properties": {
          "cards": {
            "items": {
              "$ref": "#/components/schemas/BoardCard"
            },
            "type": "array"
          },
          "disposition": {
            "$ref": "#/components/schemas/Disposition"
          }
        },
        "required": [
          "disposition",
          "cards"
        ],
        "type": "object"
      },
      "BoardReport": {
        "description": "The cross-project board: every feature in the portfolio grouped into the normalized lanes\n{not-started, in-progress, done}. Robust to differing per-project workflows because grouping is\nderived from each project's own config (Completed-name / no-op) + task activity, not a shared\nstatus vocabulary.",
        "properties": {
          "lanes": {
            "items": {
              "$ref": "#/components/schemas/BoardLane"
            },
            "type": "array"
          }
        },
        "required": [
          "lanes"
        ],
        "type": "object"
      },
      "BoardWriter": {
        "description": "The board's writer record, as the monitor shows it (FTR-036).",
        "properties": {
          "at": {
            "type": "string"
          },
          "commit": {
            "type": "string"
          },
          "dirty": {
            "description": "The writer was built from a modified tree.",
            "type": "boolean"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "commit",
          "at",
          "dirty"
        ],
        "type": "object"
      },
      "BurndownDay": {
        "description": "One day of a burndown: what was still to do at the end of it.",
        "properties": {
          "date": {
            "type": "string"
          },
          "remaining": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "date",
          "remaining"
        ],
        "type": "object"
      },
      "ByAgent": {
        "description": "Who a write under a scope was made by: the person, by the agent for the item. Recorded on the\nactivity entry and the event.",
        "properties": {
          "item": {
            "description": "The item the scope is for.",
            "type": "string"
          },
          "role": {
            "description": "`design` or `build`.",
            "type": "string"
          },
          "scope": {
            "description": "The scope it was made under, `SC-007`.",
            "type": "string"
          }
        },
        "required": [
          "scope",
          "role",
          "item"
        ],
        "type": "object"
      },
      "Cadence": {
        "additionalProperties": true,
        "description": "A project's rhythm (FEAT-121): whether it has sprints and releases, and their defaults.",
        "properties": {
          "commit_gates": {
            "description": "The gates (`ci`, `local`, ...) a release stage needing `gate_passed` requires a passed\nresult of for the release tip (FTR-002). Empty by default.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "gate_docs": {
            "description": "The paths that count as documentation: a recorded pass of a commit gate carries across a\nchange that touches only these (DEF-031). Each entry is a directory prefix ending in `/`, a\nsuffix starting `*` (`*.md`) or an exact path. Unset: [`DEFAULT_GATE_DOCS`]; empty: nothing\ncounts as documentation.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "git_model": {
            "description": "Branching follows the derived git model (FEAT-189): where `start` branches, sprint\nbranches, and lines of integration taking merges only. Off by default, so no board changes.",
            "type": "boolean"
          },
          "has_ci": {
            "description": "The project has CI, so the recommended `tag` stage also requires a passed `ci` result for\nthe release tip (FTR-020). Off by default.",
            "type": "boolean"
          },
          "integration_branch": {
            "description": "The branch a release branch is made from. Unset: the code repository's default branch.",
            "type": "string"
          },
          "main_branch": {
            "description": "The branch production is fast-forwarded onto. Unset: the code repository's default branch.",
            "type": "string"
          },
          "release": {
            "description": "How often a release is cut: `per_sprint`, `every_n` sprints, or `on_demand`.",
            "type": "string"
          },
          "release_gates": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ReleaseGate"
            },
            "description": "Each release stage's conditions and entry actions, keyed by stage name (FEAT-212). A stage\nnot named here takes the default: read them through [`Cadence::effective_release_gates`].",
            "type": "object"
          },
          "release_prepare": {
            "$ref": "#/components/schemas/ReleasePrepare",
            "description": "What the `prepare` action writes onto `release/<V>` (FEAT-212). Empty by default."
          },
          "release_stages": {
            "description": "The environments a release moves through, in order (FEAT-183). The last one is the cut.\nEmpty means [`DEFAULT_RELEASE_STAGES`]; read it through [`Cadence::stages`].",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "releases": {
            "default": false,
            "type": "boolean"
          },
          "sprint_length_days": {
            "description": "The length `sprint add` uses when none is given.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "sprints": {
            "default": false,
            "type": "boolean"
          },
          "tag_gate": {
            "description": "The commit gate whose result judges a release's tag (FTR-026). Unset: the first of\n`commit_gates`. A result counts only when recorded after the tag was made.",
            "type": "string"
          }
        },
        "required": [
          "sprints",
          "releases"
        ],
        "type": "object"
      },
      "CardReadiness": {
        "description": "One card's readiness: its gaps, and its next stages.",
        "properties": {
          "gaps": {
            "items": {
              "$ref": "#/components/schemas/Gap"
            },
            "type": "array"
          },
          "next": {
            "items": {
              "$ref": "#/components/schemas/NextStage"
            },
            "type": "array"
          }
        },
        "required": [
          "gaps",
          "next"
        ],
        "type": "object"
      },
      "ChangedPath": {
        "description": "One uncommitted path: its repository-form blob id (what `git add` would store), absent for a\ndeleted path.",
        "properties": {
          "blob": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "Charter": {
        "additionalProperties": true,
        "description": "The reasoning root of a project.",
        "properties": {
          "adopted_at": {
            "description": "When the charter was first written. Gap reporting ignores items created before this, so\nadopting the method never floods the report with pre-existing work.",
            "type": "string"
          },
          "constraints": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "goals": {
            "default": [],
            "description": "Outcomes this project commits to. Work items link these by id.",
            "items": {
              "$ref": "#/components/schemas/Goal"
            },
            "type": "array"
          },
          "non_goals": {
            "description": "What this project deliberately will not do — often the most useful section.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "purpose": {
            "default": "",
            "description": "Why the project exists — the problem or opportunity.",
            "type": "string"
          },
          "stakeholders": {
            "items": {
              "$ref": "#/components/schemas/Stakeholder"
            },
            "type": "array"
          },
          "vision": {
            "description": "Optional one-line statement of the desired end state.",
            "type": "string"
          }
        },
        "required": [
          "purpose",
          "goals"
        ],
        "type": "object"
      },
      "Check": {
        "description": "A condition an item can be checked against. The vocabulary is closed on purpose: a workflow can\nonly require what kanbanr knows how to evaluate from the board.",
        "oneOf": [
          {
            "const": "definition",
            "description": "The item has a definition at all.",
            "type": "string"
          },
          {
            "const": "statement",
            "description": "A one-sentence statement: what, for whom, why.",
            "type": "string"
          },
          {
            "const": "zachman",
            "description": "All six Zachman dimensions answered.",
            "type": "string"
          },
          {
            "const": "goals",
            "description": "Linked to at least one charter goal.",
            "type": "string"
          },
          {
            "const": "goals_known",
            "description": "Every linked goal exists in the charter (needs the charter; an error, not a warning).",
            "type": "string"
          },
          {
            "const": "approved",
            "description": "Agreement is current: approved, or ratified after the fact.",
            "type": "string"
          },
          {
            "const": "bypass",
            "description": "A recorded bypass has been answered (approved or ratified).",
            "type": "string"
          },
          {
            "const": "requirements",
            "description": "At least one requirement.",
            "type": "string"
          },
          {
            "const": "ears",
            "description": "Every requirement is in EARS form.",
            "type": "string"
          },
          {
            "const": "tests_named",
            "description": "Every requirement names a test.",
            "type": "string"
          },
          {
            "const": "tests_green",
            "description": "Every requirement has a green test.",
            "type": "string"
          },
          {
            "const": "quality",
            "description": "Quality requirements carry a valid ISO 25010 tag and a scenario whose measure names its test.",
            "type": "string"
          },
          {
            "const": "small",
            "description": "INVEST \"Small\": not estimated above three days.",
            "type": "string"
          },
          {
            "const": "estimated",
            "description": "Estimated in the project's unit — story points or days (FEAT-121). A Definition of Ready\nusually asks for it.",
            "type": "string"
          },
          {
            "const": "in_sprint",
            "description": "Planned into the project's active sprint (FEAT-119).",
            "type": "string"
          },
          {
            "const": "in_release",
            "description": "Planned into a release (FEAT-120).",
            "type": "string"
          },
          {
            "const": "signoff",
            "description": "A named sign-off is recorded against the current definition. Asked for through a gate's\n`signoffs: [name]`, never listed on its own — it needs the name.",
            "type": "string"
          },
          {
            "const": "spec_sections",
            "description": "The spec has each named section, with content (FEAT-179). A design stage asks for the\ndesign itself, not a promise of one: `{spec_sections: [Design]}`.",
            "type": "string"
          },
          {
            "const": "docs_updated",
            "description": "Every doc the item declares in `affects_docs`, and every board doc its Design links under\n`Affects docs` (except a line marked `unchanged`), has changed since it entered its current\nstage (FEAT-180, DEF-047) — the design was folded into the docs it said it would change.",
            "type": "string"
          },
          {
            "const": "diagrams_valid",
            "description": "Every Mermaid diagram in the spec and in each `affects_docs` doc passes the diagram lint\n(FEAT-200), judged when the item moves, never cached.",
            "type": "string"
          },
          {
            "const": "docs_cover",
            "description": "The item is covered by the project's coverage rules (FEAT-197), judged as if it were already\nin the stage it is entering; `{docs_cover: [id]}` asks for only those rules.",
            "type": "string"
          }
        ]
      },
      "Checked": {
        "additionalProperties": true,
        "description": "One flagged text and how it was settled.",
        "properties": {
          "at": {
            "description": "When it was settled (RFC3339).",
            "type": "string"
          },
          "by": {
            "description": "Who settled it: `Claude` for a settlement, the signer for a check sent with the request (DEF-039).",
            "type": "string"
          },
          "correction": {
            "description": "The code of the filed correction, when the outcome is `corrected`.",
            "type": "string"
          },
          "edits": {
            "description": "The shas of the edits made to the text while it was flagged, which the check rested on\n(DEF-050); an empty sha is an edit not yet committed.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "origin": {
            "description": "Where it was settled.",
            "type": "string"
          },
          "outcome": {
            "$ref": "#/components/schemas/Outcome"
          },
          "prepared": {
            "description": "The id of the `text-check` prepared record it came from.",
            "type": "string"
          },
          "rev": {
            "description": "The newest commit of the change it was checked against.",
            "type": "string"
          },
          "target": {
            "description": "`doc:<path>`, `adr:<id>` or `item:<CODE>`.",
            "type": "string"
          },
          "text_changed_at": {
            "description": "The text's last change when it was checked.",
            "type": "string"
          },
          "why": {
            "description": "Why the text is still right, for `confirmed`.",
            "type": "string"
          }
        },
        "required": [
          "target",
          "outcome"
        ],
        "type": "object"
      },
      "CodeRepository": {
        "additionalProperties": true,
        "description": "The code repository a project tracks (DEF-053): named and linked from the board README.",
        "properties": {
          "private": {
            "description": "The person said the repository is private: the README names it and never links it.",
            "type": "boolean"
          },
          "url": {
            "description": "The git remote URL as recorded: `git@host:o/r.git`, `https://host/o/r.git`, or a path.",
            "type": "string"
          }
        },
        "required": [
          "url"
        ],
        "type": "object"
      },
      "CodesConfig": {
        "additionalProperties": true,
        "description": "Which prefix an item's code gets from its kind (FEAT-217). Absent: every item is `FEAT-`, as\nbefore, and absent stays absent on disk. Kinds sharing a prefix share its counter.",
        "properties": {
          "default": {
            "description": "The prefix of a kind with no entry; absent means `FEAT`.",
            "type": "string"
          },
          "kinds": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "Kind (lowercase) to prefix.",
            "type": "object"
          }
        },
        "type": "object"
      },
      "CommitLine": {
        "description": "One commit, as a list shows it.",
        "properties": {
          "sha": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          }
        },
        "required": [
          "sha",
          "subject"
        ],
        "type": "object"
      },
      "CommitRef": {
        "description": "A commit that changed a flagged name.",
        "properties": {
          "at": {
            "type": "string"
          },
          "item": {
            "type": "string"
          },
          "names": {
            "description": "The names this commit changed that the text holds.",
            "items": {
              "$ref": "#/components/schemas/Name"
            },
            "type": "array"
          },
          "sha": {
            "type": "string"
          }
        },
        "required": [
          "sha",
          "at",
          "item",
          "names"
        ],
        "type": "object"
      },
      "Condition": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/Check"
          },
          {
            "properties": {
              "zachman": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "zachman"
            ],
            "type": "object"
          },
          {
            "properties": {
              "spec_sections": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "spec_sections"
            ],
            "type": "object"
          },
          {
            "description": "The coverage check narrowed to some of the project's rules (FEAT-197).",
            "properties": {
              "docs_cover": {
                "items": {
                  "type": "string"
                },
                "type": "array"
              }
            },
            "required": [
              "docs_cover"
            ],
            "type": "object"
          }
        ],
        "description": "One condition a gate can name: a check, or the Zachman check narrowed to some columns\n(`{zachman: [what, who, why]}`), which is how a process asks for the six dimensions a stage at a\ntime rather than all at once."
      },
      "Counts": {
        "description": "Feature-completion counts + a derived percentage. Completion is **status-aware**: a feature in a\nterminal status (Completed / no-op) counts as fully done even if it tracks no tasks (many\nfeatures are completed by a status move, not by checking off tasks); a non-terminal feature with\ntasks gets partial credit (`done/total`); otherwise it's 0. `percent` is the mean per-feature\ncompletion across the group (rounded), or `0` when there are no features. `tasks_*` are retained\nfor display (how many checklist items exist/are done) but no longer drive the percentage.",
        "properties": {
          "features": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "percent": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "tasks_done": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "tasks_total": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "features",
          "tasks_total",
          "tasks_done",
          "percent"
        ],
        "type": "object"
      },
      "CoverageRule": {
        "additionalProperties": true,
        "description": "One coverage rule, as a project's config holds it under `coverage:`.",
        "properties": {
          "description": {
            "type": "string"
          },
          "every": {
            "$ref": "#/components/schemas/Every",
            "default": "item",
            "description": "What the subjects are; absent, items."
          },
          "except": {
            "description": "Subjects grandfathered out: item codes, ADR ids or doc paths.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "from": {
            "description": "Items only: this stage or later (a status, or `\"@<role>\"`).",
            "type": "string"
          },
          "id": {
            "description": "`^[a-z0-9][a-z0-9-]*$`, unique in the project; what `{docs_cover: [id]}` names.",
            "type": "string"
          },
          "in": {
            "description": "Items only: exactly these stages (excludes `from`).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "kinds": {
            "description": "Items only: only these kinds (an item with no kind is a `feature`).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "lists": {
            "description": "Items only, instead of `referenced_from`: the doc every subject lists in `affects_docs`.",
            "type": "string"
          },
          "referenced_from": {
            "description": "The doc, or a folder ending `/` (any doc under it), a subject must be referenced from.",
            "type": "string"
          },
          "under": {
            "description": "Docs only, required: the folder whose docs are the subjects.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "every"
        ],
        "type": "object"
      },
      "CutPreview": {
        "description": "What a cut would do with one planned item, worked out without writing anything (FEAT-183).",
        "properties": {
          "code": {
            "type": "string"
          },
          "ships": {
            "description": "It ships; otherwise it is carried over, for `why`.",
            "type": "boolean"
          },
          "to": {
            "description": "The end status it would move to, when it is not already at one.",
            "type": "string"
          },
          "why": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "ships"
        ],
        "type": "object"
      },
      "DecisionsView": {
        "description": "`GET /projects/{p}/decisions`: the mode and its history, every delegation, the delegated\ndecisions to review, and what waits for a decision where.",
        "properties": {
          "delegations": {
            "items": {
              "$ref": "#/components/schemas/DelegationView"
            },
            "type": "array"
          },
          "mode": {
            "$ref": "#/components/schemas/Mode"
          },
          "modes": {
            "items": {
              "$ref": "#/components/schemas/ModeChange"
            },
            "type": "array"
          },
          "to_review": {
            "items": {
              "$ref": "#/components/schemas/DelegatedDecision"
            },
            "type": "array"
          },
          "waiting": {
            "items": {
              "$ref": "#/components/schemas/Waiting"
            },
            "type": "array"
          }
        },
        "required": [
          "mode",
          "modes",
          "delegations",
          "to_review",
          "waiting"
        ],
        "type": "object"
      },
      "Defect": {
        "additionalProperties": true,
        "description": "What a defect cost and where it came from (FEAT-053).\n\n`escaped` is the field that earns its keep: a defect found after the work was called done is a\ndifferent animal from one caught during it, and the ratio between them is the one quality\nnumber a board can honestly produce.",
        "properties": {
          "escaped": {
            "default": false,
            "description": "Found after the work was called done.",
            "type": "boolean"
          },
          "fixed_by": {
            "description": "The commit or test that proves it is fixed.",
            "type": "string"
          },
          "found_in": {
            "description": "Where it was found: a status, an environment, or \"production\".",
            "type": "string"
          },
          "introduced_by": {
            "description": "The item or commit that introduced it. A defect caused by a fix points at that fix, which\nis how fix-induced chains become visible.",
            "type": "string"
          },
          "root_cause": {
            "type": "string"
          },
          "severity": {
            "description": "Free text, like `kind` and `priority`: low | medium | high | critical.",
            "type": "string"
          }
        },
        "required": [
          "escaped"
        ],
        "type": "object"
      },
      "DelegatedDecision": {
        "description": "A delegated decision waiting for the person to keep or undo it.",
        "properties": {
          "at": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "decision": {
            "description": "`<CODE>/<approve|ratify|signoff>/<name or ->/<record at>`.",
            "type": "string"
          },
          "delegation": {
            "type": "string"
          },
          "signoff": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "undo_route": {
            "type": "string"
          },
          "verdict": {
            "type": "string"
          }
        },
        "required": [
          "decision",
          "code",
          "title",
          "verdict",
          "delegation",
          "at",
          "status",
          "undo_route"
        ],
        "type": "object"
      },
      "DelegationState": {
        "description": "What a delegation is in, at a moment.",
        "enum": [
          "proposed",
          "granted",
          "ended",
          "revoked"
        ],
        "type": "string"
      },
      "DelegationView": {
        "additionalProperties": true,
        "description": "A delegation with where it stands now.",
        "properties": {
          "all": {
            "description": "Names no items, kinds or milestone on purpose: every item.",
            "type": "boolean"
          },
          "granted": {
            "$ref": "#/components/schemas/Stamp"
          },
          "id": {
            "type": "string"
          },
          "in_force": {
            "description": "Granted, not ended and not revoked: Claude may act under it.",
            "type": "boolean"
          },
          "items": {
            "description": "Item codes; empty is any.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "kinds": {
            "description": "Item kinds; empty is any. An item with no kind is a `feature`.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "milestone": {
            "description": "A milestone code; empty is any.",
            "type": "string"
          },
          "not_granted_through_kanbanr": {
            "description": "Granted, but not through kanbanr (T9): written into the file by hand, or not committed.\nClaude's verdicts under it are refused.",
            "type": "boolean"
          },
          "note": {
            "type": "string"
          },
          "permission_rules": {
            "description": "The Claude Code allow rules this delegation's verdicts need to run in auto mode (DEF-060),\nwhatever its state.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "permission_rules_checked": {
            "description": "The mode is delegated, the delegation is granted and the code repository is known, so\n`permission_rules_missing` says something.",
            "type": "boolean"
          },
          "permission_rules_missing": {
            "description": "The rules none of the project's or the user's Claude settings allows.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "proposed": {
            "$ref": "#/components/schemas/Stamp"
          },
          "rev": {
            "description": "What a grant is pinned to: [`Delegation::rev`], sent back with the grant.",
            "type": "string"
          },
          "revoked": {
            "$ref": "#/components/schemas/Stamp"
          },
          "state": {
            "$ref": "#/components/schemas/DelegationState"
          },
          "steps": {
            "description": "Statuses the item is in when the verdict is taken; empty is any.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "until": {
            "description": "RFC 3339; the delegation is in force until then.",
            "type": "string"
          },
          "verdicts": {
            "description": "`approve`, `ratify` or `signoff:<name>`.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "verdicts",
          "until",
          "proposed",
          "state",
          "in_force",
          "rev"
        ],
        "type": "object"
      },
      "DiagramBlock": {
        "description": "One fenced `mermaid` block of a board file, with where it is for a link.",
        "properties": {
          "block": {
            "description": "1-based index among the file's mermaid blocks.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "doc": {
            "description": "The doc key, for a link to it; `None` for a spec.",
            "type": [
              "string",
              "null"
            ]
          },
          "file": {
            "description": "What the block is in: `\"FEAT-012 spec\"` or `\"docs/<key>\"`.",
            "type": "string"
          },
          "line": {
            "description": "The file line (1-based) of the block's first source line.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "source": {
            "description": "The diagram's source, between the fences.",
            "type": "string"
          }
        },
        "required": [
          "file",
          "doc",
          "block",
          "line",
          "source"
        ],
        "type": "object"
      },
      "DiagramFinding": {
        "description": "One problem in one diagram, located in its file.",
        "properties": {
          "block": {
            "description": "1-based index among the file's mermaid blocks.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "file": {
            "type": "string"
          },
          "line": {
            "description": "The file line (1-based) the problem is on.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "rule": {
            "$ref": "#/components/schemas/LintRule"
          }
        },
        "required": [
          "file",
          "block",
          "line",
          "rule",
          "message"
        ],
        "type": "object"
      },
      "DiagramsConfig": {
        "additionalProperties": true,
        "description": "The unit a project estimates in.\nHow a project treats Mermaid diagrams the lint finds problems in (FEAT-200). Off by default:\na write succeeds and reports the problems as warnings, which keeps the tool low-friction. Strict:\na write carrying a problem is refused.",
        "properties": {
          "strict": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "strict"
        ],
        "type": "object"
      },
      "DiffLine": {
        "description": "One line of a [`line_diff`].",
        "properties": {
          "op": {
            "$ref": "#/components/schemas/DiffOp"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "op",
          "text"
        ],
        "type": "object"
      },
      "DiffOp": {
        "description": "How a line stands in a [`line_diff`].",
        "enum": [
          "same",
          "added",
          "removed"
        ],
        "type": "string"
      },
      "Disposition": {
        "description": "A project-independent lane a feature falls into, since statuses are per-project (no shared\nvocabulary). Computed from the project config + the feature's task activity.",
        "oneOf": [
          {
            "const": "done",
            "description": "Terminal: a \"Completed\"-named status OR a no-op disposition.",
            "type": "string"
          },
          {
            "const": "in-progress",
            "description": "Active and has some task activity (at least one task, not all done).",
            "type": "string"
          },
          {
            "const": "not-started",
            "description": "Active but no task activity yet.",
            "type": "string"
          }
        ]
      },
      "DocFile": {
        "description": "A documentation file leaf.",
        "properties": {
          "path": {
            "description": "Path relative to the project docs root (forward-slashed), e.g. `design/customer/overview.md`.",
            "type": "string"
          },
          "title": {
            "description": "Display title (derived from the file name).",
            "type": "string"
          }
        },
        "required": [
          "path",
          "title"
        ],
        "type": "object"
      },
      "DocFolder": {
        "description": "A documentation folder node (renders as a tile with sub-folders + documents as links).",
        "properties": {
          "description": {
            "type": "string"
          },
          "docs": {
            "items": {
              "$ref": "#/components/schemas/DocFile"
            },
            "type": "array"
          },
          "folders": {
            "items": {
              "$ref": "#/components/schemas/DocFolder"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "path": {
            "description": "Path relative to the docs root (empty string for the root), forward-slashed.",
            "type": "string"
          }
        },
        "required": [
          "path",
          "name",
          "description",
          "folders",
          "docs"
        ],
        "type": "object"
      },
      "Drift": {
        "description": "How a project's workflow stands against the saved process it was applied from (FEAT-170).",
        "properties": {
          "edited": {
            "description": "The project's workflow no longer matches what was applied: someone edited it since.",
            "type": "boolean"
          },
          "gone": {
            "description": "The saved process is no longer in its library.",
            "type": "boolean"
          },
          "newer": {
            "description": "The saved process has changed since: its current version, when it has one.",
            "format": "uint32",
            "minimum": 0,
            "type": [
              "integer",
              "null"
            ]
          },
          "source": {
            "$ref": "#/components/schemas/ProcessSource",
            "description": "What the project was given."
          }
        },
        "required": [
          "source",
          "edited",
          "newer",
          "gone"
        ],
        "type": "object"
      },
      "Edit": {
        "description": "One edit to a flagged text after the change that opened the flag (DEF-050). `sha` is empty for\nan edit not yet committed.",
        "properties": {
          "at": {
            "description": "RFC 3339.",
            "type": "string"
          },
          "sha": {
            "type": "string"
          },
          "subject": {
            "type": "string"
          }
        },
        "required": [
          "sha",
          "at",
          "subject"
        ],
        "type": "object"
      },
      "Enforce": {
        "description": "Whether a failed gate stops the move or only reports.",
        "enum": [
          "block",
          "warn"
        ],
        "type": "string"
      },
      "EstimateUnit": {
        "enum": [
          "days",
          "points"
        ],
        "type": "string"
      },
      "Every": {
        "description": "What a rule's subjects are.",
        "oneOf": [
          {
            "const": "item",
            "description": "Items in a stage range, optionally of some kinds.",
            "type": "string"
          },
          {
            "const": "adr",
            "description": "Accepted ADRs (superseded and rejected ones are not subjects).",
            "type": "string"
          },
          {
            "const": "doc",
            "description": "Docs under a folder.",
            "type": "string"
          }
        ]
      },
      "FeatureDefinition": {
        "additionalProperties": true,
        "description": "Why a work item exists, what must be true, and how that is verified (FEAT-047).\n\nThe prose case *for* the work stays in the item's specification markdown — this block holds the\nshort, checkable parts: one-line answers, ids that link to the charter, and requirements each\ncarrying the tests that verify them. Keeping it one-line-per-field is deliberate: a structured\ncopy of the spec would rot into a second, disagreeing version of the same argument.",
        "properties": {
          "affects_docs": {
            "description": "Board docs this item changes (FEAT-180), e.g. \"architecture/data.md\". Declared at the design\nstage; `docs_updated` checks each was changed before the item moves on. Declared last, so a\nboard where it is the only key an older binary does not know reads back byte for byte.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "approval": {
            "$ref": "#/components/schemas/Approval",
            "description": "Who agreed to this definition, when, and what exactly they agreed to (FEAT-048)."
          },
          "approvals": {
            "description": "Every agreement and withdrawal, oldest first (FEAT-069). `approval` is the current one, or\nabsent when the last verdict was a withdrawal.",
            "items": {
              "$ref": "#/components/schemas/ApprovalEvent"
            },
            "type": "array"
          },
          "design_doc": {
            "description": "Optional pointer into the board's doc tree (a design note), rather than an inline diagram.",
            "type": "string"
          },
          "exempt": {
            "description": "A recorded reason this item is exempt from gap reporting. An escape hatch that is visible\nbeats one that is habitual (`--no-verify` teaches itself).",
            "type": "string"
          },
          "goals": {
            "default": [],
            "description": "Charter goal ids this item serves — the link that makes \"why\" checkable rather than prose.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "requirements": {
            "items": {
              "$ref": "#/components/schemas/Requirement"
            },
            "type": "array"
          },
          "signoffs": {
            "description": "Named agreements a stage can require (FEAT-114): \"design review held\", \"release approved\".\nAppended, never overwritten — each pinned to the definition it covered.",
            "items": {
              "$ref": "#/components/schemas/Signoff"
            },
            "type": "array"
          },
          "started_unapproved": {
            "description": "A recorded reason work started without approval. An escape hatch that leaves a trace beats\none that is silent — an unrecorded bypass just teaches itself.",
            "type": "string"
          },
          "statement": {
            "default": "",
            "description": "One sentence: what, for whom, and why.",
            "type": "string"
          },
          "zachman": {
            "$ref": "#/components/schemas/Zachman",
            "default": {
              "how": "",
              "what": "",
              "when": "",
              "where": "",
              "who": "",
              "why": ""
            },
            "description": "The six completeness dimensions, one line each."
          }
        },
        "required": [
          "statement",
          "goals",
          "zachman"
        ],
        "type": "object"
      },
      "FeatureExport": {
        "additionalProperties": true,
        "description": "An item as `GET /projects/{p}/features/{code}/export?format=json` gives it: the item, and its\nmilestone resolved.",
        "properties": {
          "assignee": {
            "default": null,
            "description": "Optional assignee (the person/agent owning this feature); free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "defect": {
            "$ref": "#/components/schemas/Defect",
            "description": "For a defect: what it cost and where it came from (FEAT-053)."
          },
          "definition": {
            "$ref": "#/components/schemas/FeatureDefinition",
            "description": "Why this item exists, what must be true, and how it is verified (FEAT-047)."
          },
          "depends_on": {
            "default": [],
            "description": "Other feature codes this one is blocked by (a cross-feature DAG; cycles are rejected).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "due": {
            "default": null,
            "description": "Optional due date (e.g. an ISO date).",
            "type": [
              "string",
              "null"
            ]
          },
          "estimate_days": {
            "default": null,
            "description": "Optional estimated effort, in days (used as the task duration for scheduling/Gantt;\ndefaults to 1 day when absent). Kept as a float so half-days etc. are expressible.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "history": {
            "description": "Every status change, appended (FEAT-053). Cycle time, time-in-status, WIP aging and rework\nare all derived from this; without it the board records where work IS but never how it got\nthere.",
            "items": {
              "$ref": "#/components/schemas/Transition"
            },
            "type": "array"
          },
          "issue": {
            "$ref": "#/components/schemas/IssueLink",
            "description": "The external issue this feature is mirrored to, if any (FEAT-043)."
          },
          "kind": {
            "default": null,
            "description": "Work kind (feature / chore / bug / refactor / docs / recurring …); free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "labels": {
            "default": [],
            "description": "Free-form labels/tags.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "milestone": {
            "description": "The milestone this feature belongs to (required).",
            "type": "string"
          },
          "milestone_detail": {
            "$ref": "#/components/schemas/Milestone"
          },
          "points": {
            "description": "Optional estimate in story points (FEAT-121). Which of the two a project plans in is its\n`estimate_unit`; absent stays absent on disk.",
            "format": "double",
            "type": "number"
          },
          "priority": {
            "default": null,
            "description": "Priority (low / medium / high …); free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "release": {
            "description": "The release this item is planned into (FEAT-120), for projects that use releases.",
            "type": "string"
          },
          "release_line": {
            "description": "Which release shipped it, or will (FTR-001). Absent without releases.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source",
            "description": "Where this feature was imported from, if it was (FEAT-042)."
          },
          "specification": {
            "default": "",
            "type": "string"
          },
          "split_from": {
            "description": "The item this was sliced out of (FEAT-054). A wave grows for three reasons — a defect, a\nsplit, or newly discovered work — and only this one leaves no other trace, so a retro that\ntried to infer it would be guessing.",
            "type": "string"
          },
          "sprint": {
            "description": "The sprint this item is planned into (FEAT-119), for projects that use sprints.",
            "type": "string"
          },
          "start": {
            "default": null,
            "description": "Optional planned start date (an ISO date, e.g. \"2026-07-01\"). Used by scheduling/Gantt.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "team": {
            "default": null,
            "description": "Optional owning team; free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "todo_lists": {
            "default": [],
            "description": "Persistent todo-lists (newest-first ordering is applied by callers when displaying).",
            "items": {
              "$ref": "#/components/schemas/TodoList"
            },
            "type": "array"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "title",
          "specification",
          "status",
          "milestone",
          "kind",
          "priority",
          "start",
          "due",
          "estimate_days",
          "assignee",
          "team",
          "labels",
          "depends_on",
          "todo_lists",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "FeatureItem": {
        "additionalProperties": true,
        "description": "A feature item: the unit Claude develops. Holds the spec and its todo list.",
        "properties": {
          "assignee": {
            "default": null,
            "description": "Optional assignee (the person/agent owning this feature); free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "code": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "defect": {
            "$ref": "#/components/schemas/Defect",
            "description": "For a defect: what it cost and where it came from (FEAT-053)."
          },
          "definition": {
            "$ref": "#/components/schemas/FeatureDefinition",
            "description": "Why this item exists, what must be true, and how it is verified (FEAT-047)."
          },
          "depends_on": {
            "default": [],
            "description": "Other feature codes this one is blocked by (a cross-feature DAG; cycles are rejected).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "due": {
            "default": null,
            "description": "Optional due date (e.g. an ISO date).",
            "type": [
              "string",
              "null"
            ]
          },
          "estimate_days": {
            "default": null,
            "description": "Optional estimated effort, in days (used as the task duration for scheduling/Gantt;\ndefaults to 1 day when absent). Kept as a float so half-days etc. are expressible.",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          },
          "history": {
            "description": "Every status change, appended (FEAT-053). Cycle time, time-in-status, WIP aging and rework\nare all derived from this; without it the board records where work IS but never how it got\nthere.",
            "items": {
              "$ref": "#/components/schemas/Transition"
            },
            "type": "array"
          },
          "issue": {
            "$ref": "#/components/schemas/IssueLink",
            "description": "The external issue this feature is mirrored to, if any (FEAT-043)."
          },
          "kind": {
            "default": null,
            "description": "Work kind (feature / chore / bug / refactor / docs / recurring …); free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "labels": {
            "default": [],
            "description": "Free-form labels/tags.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "milestone": {
            "description": "The milestone this feature belongs to (required).",
            "type": "string"
          },
          "points": {
            "description": "Optional estimate in story points (FEAT-121). Which of the two a project plans in is its\n`estimate_unit`; absent stays absent on disk.",
            "format": "double",
            "type": "number"
          },
          "priority": {
            "default": null,
            "description": "Priority (low / medium / high …); free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "release": {
            "description": "The release this item is planned into (FEAT-120), for projects that use releases.",
            "type": "string"
          },
          "source": {
            "$ref": "#/components/schemas/Source",
            "description": "Where this feature was imported from, if it was (FEAT-042)."
          },
          "specification": {
            "default": "",
            "type": "string"
          },
          "split_from": {
            "description": "The item this was sliced out of (FEAT-054). A wave grows for three reasons — a defect, a\nsplit, or newly discovered work — and only this one leaves no other trace, so a retro that\ntried to infer it would be guessing.",
            "type": "string"
          },
          "sprint": {
            "description": "The sprint this item is planned into (FEAT-119), for projects that use sprints.",
            "type": "string"
          },
          "start": {
            "default": null,
            "description": "Optional planned start date (an ISO date, e.g. \"2026-07-01\"). Used by scheduling/Gantt.",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": "string"
          },
          "team": {
            "default": null,
            "description": "Optional owning team; free text.",
            "type": [
              "string",
              "null"
            ]
          },
          "title": {
            "type": "string"
          },
          "todo_lists": {
            "default": [],
            "description": "Persistent todo-lists (newest-first ordering is applied by callers when displaying).",
            "items": {
              "$ref": "#/components/schemas/TodoList"
            },
            "type": "array"
          },
          "updated_at": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "title",
          "specification",
          "status",
          "milestone",
          "kind",
          "priority",
          "start",
          "due",
          "estimate_days",
          "assignee",
          "team",
          "labels",
          "depends_on",
          "todo_lists",
          "created_at",
          "updated_at"
        ],
        "type": "object"
      },
      "FieldChange": {
        "additionalProperties": true,
        "description": "One field the person changed before confirming: both values are kept.",
        "properties": {
          "confirmed": true,
          "field": {
            "type": "string"
          },
          "prepared": true
        },
        "required": [
          "field",
          "prepared",
          "confirmed"
        ],
        "type": "object"
      },
      "Flag": {
        "description": "A linked text that names something changed in the code. A flag says which text names which\nchanged name, never that the text is wrong. It stays open after the text is edited, until a\ncheck settles it (DEF-050).",
        "properties": {
          "commits": {
            "items": {
              "$ref": "#/components/schemas/CommitRef"
            },
            "type": "array"
          },
          "diff": {
            "description": "Unified diff from the text as it stood when the flag opened to the text now.",
            "type": "string"
          },
          "diff_truncated": {
            "type": "boolean"
          },
          "edits": {
            "description": "Edits to the text since the first change that opened the flag, oldest first.",
            "items": {
              "$ref": "#/components/schemas/Edit"
            },
            "type": "array"
          },
          "hits": {
            "items": {
              "$ref": "#/components/schemas/Hit"
            },
            "type": "array"
          },
          "target": {
            "$ref": "#/components/schemas/Target"
          },
          "target_changed_at": {
            "description": "When the text last changed, RFC 3339.",
            "type": "string"
          },
          "via": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "target",
          "via",
          "hits",
          "commits",
          "target_changed_at"
        ],
        "type": "object"
      },
      "Gap": {
        "description": "One thing an item is missing.",
        "properties": {
          "check": {
            "$ref": "#/components/schemas/Check"
          },
          "label": {
            "description": "Short form, for a one-line list (`[MISSING: What]`, `no goal link`).",
            "type": "string"
          },
          "level": {
            "$ref": "#/components/schemas/Level"
          },
          "message": {
            "description": "What is missing and what to do about it.",
            "type": "string"
          },
          "requirement": {
            "description": "The requirement the gap is about, for per-requirement checks.",
            "type": "string"
          }
        },
        "required": [
          "check",
          "level",
          "label",
          "message"
        ],
        "type": "object"
      },
      "Gate": {
        "additionalProperties": true,
        "description": "The entry criteria of one status. Every field is optional; an empty gate asks nothing.",
        "properties": {
          "affects_docs": {
            "description": "The docs every item entering this stage must list in `affects_docs` (FEAT-197): the move\nadds them, so the cross-cutting views are part of every fold-in and `docs_updated` checks\nthem. Travels with the process; paths are board doc paths.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "done": {
            "description": "Reaching this stage finishes an item for the cadence views — the sprint burndown, its done\ntotal, what a closing sprint carries over (FEAT-137). Scrum's Definition of Done is the Done\ncolumn, not the release that ships it, and a burndown that waited for the release dropped in\none step on release day.",
            "type": "boolean"
          },
          "enforce": {
            "$ref": "#/components/schemas/Enforce",
            "description": "`block` (the default) refuses the move; `warn` allows it and reports what `requires` lacks."
          },
          "kinds": {
            "description": "When set, the gate applies only to items of these kinds (an item with no kind is a\n`feature`).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "on_enter": {
            "items": {
              "$ref": "#/components/schemas/Action"
            },
            "type": "array"
          },
          "purpose": {
            "description": "What this stage is for, in a sentence — shown to Claude and in the monitor.",
            "type": "string"
          },
          "requires": {
            "description": "Conditions that must hold to enter.",
            "items": {
              "$ref": "#/components/schemas/Condition"
            },
            "type": "array"
          },
          "roles": {
            "description": "The stage roles this status holds (FEAT-188): `design`, `build`, `integrate`, `release`. The\nmethod and git automation find their stage by role, so they behave the same in every\nprocess. Kept as names, so an unknown one is a reported problem, not a parse failure.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "signoffs": {
            "description": "Named sign-offs that must be recorded against the current definition (FEAT-114).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "warns": {
            "description": "Conditions reported, never enforced.",
            "items": {
              "$ref": "#/components/schemas/Condition"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "GateResult": {
        "properties": {
          "at": {
            "description": "RFC 3339, UTC.",
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "commit": {
            "description": "The full commit the result is about.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "origin": {
            "description": "Where it was recorded (DEF-028, FTR-034): `monitor`, `conversation` or `terminal`; empty\nfor a result recorded before kanbanr stamped one.",
            "type": "string"
          },
          "passed": {
            "type": "boolean"
          },
          "source": {
            "description": "`person` or `local`.",
            "type": "string"
          },
          "url": {
            "description": "A link to the run, `http(s)` only.",
            "type": "string"
          }
        },
        "required": [
          "name",
          "commit",
          "passed",
          "by",
          "at",
          "source"
        ],
        "type": "object"
      },
      "Goal": {
        "additionalProperties": true,
        "description": "An outcome the project commits to, not an output it produces.",
        "properties": {
          "horizon": {
            "type": "string"
          },
          "id": {
            "default": "",
            "description": "`G-1`, `G-2`, … Assigned on save when left blank.",
            "type": "string"
          },
          "measure": {
            "description": "How we would know it happened.",
            "type": "string"
          },
          "statement": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "statement"
        ],
        "type": "object"
      },
      "GraphEdge": {
        "properties": {
          "from": {
            "type": "string"
          },
          "kind": {
            "description": "\"holds\".",
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "from",
          "kind",
          "to"
        ],
        "type": "object"
      },
      "GraphNode": {
        "properties": {
          "blob": {
            "type": "string"
          },
          "bytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "diagrams": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "kind": {
            "description": "\"folder\" or \"doc\".",
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "label",
          "name",
          "path"
        ],
        "type": "object"
      },
      "Health": {
        "description": "The liveness probe's answer: `GET /healthz`.",
        "properties": {
          "status": {
            "description": "Always `ok`.",
            "type": "string"
          }
        },
        "required": [
          "status"
        ],
        "type": "object"
      },
      "Hit": {
        "description": "A name a text holds, with the lines it is on (1-based).",
        "properties": {
          "lines": {
            "items": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "name": {
            "$ref": "#/components/schemas/Name"
          }
        },
        "required": [
          "name",
          "lines"
        ],
        "type": "object"
      },
      "Identity": {
        "description": "A git identity.",
        "properties": {
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "name",
          "email"
        ],
        "type": "object"
      },
      "IssueLink": {
        "additionalProperties": true,
        "description": "A link from a feature to the external issue it is mirrored to (FEAT-043).",
        "properties": {
          "number": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "repo": {
            "description": "`owner/repo`.",
            "type": "string"
          },
          "synced_at": {
            "type": "string"
          },
          "synced_hash": {
            "description": "Hash of the issue content kanbanr last pushed; `None` until the first push.",
            "type": "string"
          },
          "system": {
            "description": "Tracker kind; currently `github`.",
            "type": "string"
          },
          "url": {
            "default": "",
            "type": "string"
          }
        },
        "required": [
          "system",
          "repo",
          "number",
          "url"
        ],
        "type": "object"
      },
      "ItemDiagrams": {
        "description": "The diagrams of one item — every block of its spec and of each doc it names in `affects_docs` —\nwith the lint's findings (FEAT-200). The review page parses each block with Pele and keeps\nApprove disabled until all of them draw.",
        "properties": {
          "blocks": {
            "items": {
              "$ref": "#/components/schemas/DiagramBlock"
            },
            "type": "array"
          },
          "code": {
            "type": "string"
          },
          "findings": {
            "items": {
              "$ref": "#/components/schemas/DiagramFinding"
            },
            "type": "array"
          }
        },
        "required": [
          "code",
          "blocks",
          "findings"
        ],
        "type": "object"
      },
      "Judgement": {
        "properties": {
          "at": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "verdict": {
            "description": "`affirmed` | `contradicted`.",
            "type": "string"
          }
        },
        "required": [
          "at",
          "verdict"
        ],
        "type": "object"
      },
      "KindPath": {
        "description": "The path an item of one kind takes through a process (FTR-019): the stages it passes, what its\nfirst move asks, and the method parts that do not apply to it. A subset of the workflow's own\nstages in its own order, so no stage is invented and the board's columns do not change.",
        "properties": {
          "method_off": {
            "description": "Method parts not asked of this kind. Approvals and sign-offs the stage itself names stay.",
            "items": {
              "$ref": "#/components/schemas/Part"
            },
            "type": "array"
          },
          "requires": {
            "description": "Asked, in addition to the entered stage's gate, of the first move off the starting stage:\nwhere an item of this kind records why it exists and how it is verified.",
            "items": {
              "$ref": "#/components/schemas/Condition"
            },
            "type": "array"
          },
          "stages": {
            "description": "At least two statuses, no no-op status, none twice, in the workflow's order, the first the\ndefault state. Neighbours on the path may move to each other whatever `transitions` says.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "stages"
        ],
        "type": "object"
      },
      "Lesson": {
        "properties": {
          "at": {
            "default": "",
            "type": "string"
          },
          "confidence": {
            "default": 0.0,
            "description": "How much it was believed at `last_affirmed`. What is *reported* decays from here.",
            "format": "double",
            "type": "number"
          },
          "evidence": {
            "description": "What actually happened — the part that makes it a lesson rather than an opinion.",
            "type": "string"
          },
          "from_item": {
            "description": "The item that taught it.",
            "type": "string"
          },
          "from_retro": {
            "description": "The retrospective that promoted it.",
            "type": "string"
          },
          "goals": {
            "description": "Charter goals it bears on.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "history": {
            "description": "Every affirmation and contradiction, so the number can be explained rather than trusted.",
            "items": {
              "$ref": "#/components/schemas/Judgement"
            },
            "type": "array"
          },
          "id": {
            "default": "",
            "description": "`L-1`, `L-2`, … assigned on save.",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/LessonKind",
            "default": "pitfall"
          },
          "last_affirmed": {
            "type": "string"
          },
          "lesson": {
            "description": "The lesson itself, in one sentence a person can act on.",
            "type": "string"
          },
          "status": {
            "$ref": "#/components/schemas/LessonStatus",
            "default": "candidate"
          },
          "tags": {
            "description": "Labels it applies to, so it can be offered to the right work.",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "lesson",
          "kind",
          "at",
          "confidence",
          "status"
        ],
        "type": "object"
      },
      "LessonKind": {
        "oneOf": [
          {
            "const": "practice",
            "description": "Something that worked and is worth repeating.",
            "type": "string"
          },
          {
            "const": "pitfall",
            "description": "Something that cost us, and how to avoid it.",
            "type": "string"
          },
          {
            "const": "decision",
            "description": "A choice made once that later work should not relitigate.",
            "type": "string"
          }
        ]
      },
      "LessonStatus": {
        "oneOf": [
          {
            "const": "candidate",
            "description": "Recorded, not yet confirmed by anything else.",
            "type": "string"
          },
          {
            "const": "active",
            "description": "Confirmed at least once.",
            "type": "string"
          },
          {
            "const": "retired",
            "description": "Fell below the threshold, or was contradicted. Kept, not surfaced.",
            "type": "string"
          }
        ]
      },
      "Level": {
        "oneOf": [
          {
            "enum": [
              "warning"
            ],
            "type": "string"
          },
          {
            "const": "error",
            "description": "A broken reference, not a judgement: someone can fix it by editing a name.",
            "type": "string"
          }
        ]
      },
      "Library": {
        "description": "Where a saved process lives (FEAT-169), in the order a name is looked up.",
        "oneOf": [
          {
            "const": "board",
            "description": "`<board>/processes/`: shared with everyone who has the board, through its remote.",
            "type": "string"
          },
          {
            "const": "personal",
            "description": "`~/.kanbanr/processes/`: this user's, on any board.",
            "type": "string"
          },
          {
            "const": "builtin",
            "description": "Carried by the binary.",
            "type": "string"
          }
        ]
      },
      "LintRule": {
        "description": "What the lint found wrong.",
        "enum": [
          "empty_block",
          "unknown_type",
          "semicolon_in_text",
          "label_punctuation",
          "unbalanced_label",
          "end_as_id",
          "unbalanced_block",
          "unknown_statement"
        ],
        "type": "string"
      },
      "ManualResult": {
        "additionalProperties": true,
        "description": "One kept result.",
        "properties": {
          "at": {
            "description": "RFC 3339, UTC.",
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "checked_rev": {
            "description": "The code commit it was checked at, when known.",
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "origin": {
            "description": "`monitor` or `terminal`.",
            "type": "string"
          },
          "prepared": {
            "description": "The prepared record's id, when confirmed from one.",
            "type": "string"
          },
          "requirement": {
            "type": "string"
          },
          "state": {
            "description": "`green` or `red`.",
            "type": "string"
          },
          "test": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "requirement",
          "test",
          "state",
          "by",
          "at"
        ],
        "type": "object"
      },
      "ManualWaiting": {
        "description": "A manual test that is not green, with what a person needs to make the check.",
        "properties": {
          "checked_rev": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "last": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ManualResult"
              },
              {
                "type": "null"
              }
            ],
            "description": "The newest kept result for this test, so a failed check shows who failed it."
          },
          "requirement": {
            "type": "string"
          },
          "requirement_text": {
            "type": "string"
          },
          "state": {
            "description": "`planned` or `red`.",
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "test": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "title",
          "status",
          "requirement",
          "requirement_text",
          "test",
          "state",
          "checked_rev",
          "last"
        ],
        "type": "object"
      },
      "Meta": {
        "description": "What this daemon can do: `GET /api/meta`. The monitor asks before offering an action.",
        "properties": {
          "board_writer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BoardWriter"
              },
              {
                "type": "null"
              }
            ],
            "description": "The newest kanbanr that wrote the board, from its `writer.yaml`; null when none is recorded."
          },
          "commit": {
            "description": "The commit this daemon was built from, or `unknown`.",
            "type": "string"
          },
          "dirty": {
            "description": "Whether this daemon was built from a modified tree.",
            "type": "boolean"
          },
          "identity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Identity"
              },
              {
                "type": "null"
              }
            ],
            "description": "Who an approval recorded here would be attributed to (FEAT-077): the board's git\nidentity. Null when there is none, and the monitor then refuses to offer the action."
          },
          "schema_version": {
            "description": "The board schema this build understands (FEAT-072).",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "version": {
            "description": "The kanbanr version this daemon runs (FTR-036).",
            "type": "string"
          },
          "writer_newer": {
            "description": "Whether that writer is newer than this daemon: the monitor then warns.",
            "type": "boolean"
          },
          "writes": {
            "description": "Whether the write routes are mounted (`serve --allow-writes`, FEAT-034).",
            "type": "boolean"
          }
        },
        "required": [
          "writes",
          "identity",
          "schema_version",
          "version",
          "commit",
          "dirty",
          "board_writer",
          "writer_newer"
        ],
        "type": "object"
      },
      "MethodChoice": {
        "description": "What a project chose. Absent on disk means never chosen: everything on.",
        "properties": {
          "chosen_at": {
            "description": "When the project last chose (RFC 3339); empty when it never has.",
            "type": "string"
          },
          "off": {
            "description": "The parts switched off, sorted and unique.",
            "items": {
              "$ref": "#/components/schemas/Part"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "Milestone": {
        "additionalProperties": true,
        "description": "A milestone groups feature items and may depend on other milestones (the DAG).",
        "properties": {
          "code": {
            "type": "string"
          },
          "depends_on": {
            "default": [],
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "description": {
            "default": "",
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "description",
          "depends_on"
        ],
        "type": "object"
      },
      "MilestoneRollup": {
        "properties": {
          "code": {
            "type": "string"
          },
          "counts": {
            "$ref": "#/components/schemas/Counts"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "name",
          "counts"
        ],
        "type": "object"
      },
      "Mode": {
        "description": "Where a project's decisions are taken.",
        "oneOf": [
          {
            "const": "monitor",
            "description": "On the monitor, by the person: today's behaviour, and the default.",
            "type": "string"
          },
          {
            "const": "delegated",
            "description": "On the monitor, and by Claude within a granted delegation.",
            "type": "string"
          },
          {
            "const": "conversation",
            "description": "In the conversation (FTR-035; recording it is refused until that is built).",
            "type": "string"
          }
        ]
      },
      "ModeChange": {
        "additionalProperties": true,
        "description": "One entry of the mode history.",
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "mode": {
            "$ref": "#/components/schemas/Mode"
          },
          "origin": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "mode",
          "by",
          "at",
          "origin"
        ],
        "type": "object"
      },
      "Name": {
        "description": "Something a change put in the code that a text may describe.",
        "properties": {
          "kind": {
            "$ref": "#/components/schemas/NameKind"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "text"
        ],
        "type": "object"
      },
      "NameKind": {
        "description": "What kind of thing a [`Name`] is; it decides how a text must hold it to match (see [`scan`]).",
        "enum": [
          "flag",
          "command",
          "env",
          "route",
          "config_key",
          "name",
          "file"
        ],
        "type": "string"
      },
      "NextGate": {
        "description": "What moving an item on to one next status would ask, and what it still lacks (FEAT-117).",
        "properties": {
          "enforce": {
            "$ref": "#/components/schemas/Enforce"
          },
          "gaps": {
            "description": "What `requires` and `signoffs` still lack.",
            "items": {
              "$ref": "#/components/schemas/Gap"
            },
            "type": "array"
          },
          "purpose": {
            "type": "string"
          },
          "requires_gaps": {
            "description": "What `requires` alone still lacks, without the sign-offs (FEAT-182): a sign-off is offered\nonly once this is empty, so nobody signs off work that has not happened yet.",
            "items": {
              "$ref": "#/components/schemas/Gap"
            },
            "type": "array"
          },
          "signoffs_held": {
            "description": "Sign-offs withheld because the work they confirm is not built (DEF-033): one gap per\nunbuilt document. Only Claude can build them, so they are not \"for you\".",
            "items": {
              "$ref": "#/components/schemas/Gap"
            },
            "type": "array"
          },
          "signoffs_needed": {
            "description": "The sign-offs this gate still needs, by name, so a surface can offer to record them.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          },
          "warnings": {
            "description": "What `warns` lacks — said, never enforced.",
            "items": {
              "$ref": "#/components/schemas/Gap"
            },
            "type": "array"
          }
        },
        "required": [
          "status",
          "enforce",
          "gaps",
          "requires_gaps",
          "warnings",
          "signoffs_needed"
        ],
        "type": "object"
      },
      "NextStage": {
        "description": "A next stage on a card: its status, how many things it still lacks, which of those are\nsign-offs, and how many of the item's tasks are open (FEAT-205) — so a card never reads as\nready while a sign-off or work is outstanding.",
        "properties": {
          "ends": {
            "description": "The stage ends the work (an end status that is not a no-op): \"ready to complete\".",
            "type": "boolean"
          },
          "for_you": {
            "description": "How many of `missing` the user settles: sign-offs and the `approved` check (DEF-020).",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "immediate": {
            "description": "The stage the item reaches next in the workflow's order, the one the Review page asks\nsign-offs for (DEF-020). A card speaks only of this one.",
            "type": "boolean"
          },
          "missing": {
            "description": "Everything the stage still lacks, its sign-offs included (as before FEAT-205).",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "signoffs": {
            "description": "The sign-offs among `missing`.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "status": {
            "type": "string"
          },
          "tasks_open": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "status",
          "missing",
          "signoffs",
          "tasks_open",
          "ends",
          "immediate",
          "for_you"
        ],
        "type": "object"
      },
      "NotesListing": {
        "additionalProperties": true,
        "description": "Where the notes draft is listed: `entry` goes directly below the first line equal to `after`.",
        "properties": {
          "after": {
            "type": "string"
          },
          "entry": {
            "type": "string"
          },
          "path": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "after",
          "entry"
        ],
        "type": "object"
      },
      "OriginState": {
        "description": "The remote-tracking branch `pushed` was judged against, and whether it was fetched first.",
        "properties": {
          "fetch_error": {
            "type": "string"
          },
          "fetched": {
            "type": "boolean"
          },
          "tracking": {
            "type": "string"
          }
        },
        "required": [
          "tracking",
          "fetched"
        ],
        "type": "object"
      },
      "Outcome": {
        "description": "How a flagged text was settled at the sign-off (FTR-013).",
        "oneOf": [
          {
            "const": "confirmed",
            "description": "Someone read it and it is still right.",
            "type": "string"
          },
          {
            "const": "corrected",
            "description": "A correction was filed (its code is on the record).",
            "type": "string"
          }
        ]
      },
      "OverrideView": {
        "description": "One override Claude made, as the Review page shows it (DEF-043).",
        "properties": {
          "at": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "at",
          "from",
          "to",
          "reason",
          "origin"
        ],
        "type": "object"
      },
      "Part": {
        "description": "One part of the method.",
        "oneOf": [
          {
            "const": "design",
            "description": "The spec has a Design section before build.",
            "type": "string"
          },
          {
            "const": "design-review",
            "description": "A person signs off the design before build.",
            "type": "string"
          },
          {
            "const": "docs",
            "description": "The docs the item names were updated before it integrates.",
            "type": "string"
          },
          {
            "const": "docs-folded",
            "description": "A person signs off that the design was folded into the docs.",
            "type": "string"
          },
          {
            "const": "links",
            "description": "Doctor reports references to things the board does not have.",
            "type": "string"
          }
        ]
      },
      "PartChanges": {
        "description": "What differs between the parts a decision covered and the definition now (FTR-018). Keys are\nthose of [`FeatureDefinition::part_revs`], sorted.",
        "properties": {
          "added": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "changed": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "removed": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "added",
          "changed",
          "removed"
        ],
        "type": "object"
      },
      "Place": {
        "description": "A decision waiting for someone, and where.",
        "enum": [
          "monitor",
          "conversation",
          "delegated"
        ],
        "type": "string"
      },
      "PlanCondition": {
        "description": "One condition of a stage entered or passed, and whether it holds (FEAT-212).",
        "properties": {
          "check": {
            "$ref": "#/components/schemas/ReleaseCheck"
          },
          "detail": {
            "description": "What was found.",
            "type": "string"
          },
          "fix": {
            "description": "What to do about it, when it does not hold.",
            "type": "string"
          },
          "holds": {
            "type": "boolean"
          },
          "refs": {
            "description": "The requirements it names, as `CODE/R-n` (DEF-043): for `untested_accepted`, exactly what\nthe person accepts; for `later_tests_green`, what is not green yet.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "stage": {
            "description": "The stage that requires it.",
            "type": "string"
          }
        },
        "required": [
          "check",
          "stage",
          "holds",
          "detail"
        ],
        "type": "object"
      },
      "PlanStep": {
        "description": "One step a promotion takes, and what it will do (FEAT-212).",
        "properties": {
          "action": {
            "$ref": "#/components/schemas/ReleaseAction"
          },
          "blocked": {
            "description": "Why it cannot be taken, when it cannot.",
            "type": "string"
          },
          "does": {
            "description": "What it will do, in a sentence.",
            "type": "string"
          },
          "noop": {
            "description": "It changes nothing (already done, or nothing to do).",
            "type": "boolean"
          },
          "stage": {
            "description": "The stage whose entry does it.",
            "type": "string"
          }
        },
        "required": [
          "action",
          "stage",
          "does",
          "noop"
        ],
        "type": "object"
      },
      "PortfolioView": {
        "description": "The portfolio index as a serializable view: the workspace metadata + programs, with the implicit\ndefault program materialized when none are declared (so callers always see a consistent shape).",
        "properties": {
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "programs": {
            "items": {
              "$ref": "#/components/schemas/ProgramView"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "description",
          "programs"
        ],
        "type": "object"
      },
      "PositionAnswer": {
        "description": "What `kanbanr position --json` prints and `GET /projects/{p}/position` returns (FTR-003).",
        "properties": {
          "changed": {
            "description": "The dirty part, sorted by path.",
            "items": {
              "$ref": "#/components/schemas/ChangedPath"
            },
            "type": "array"
          },
          "live": {
            "$ref": "#/components/schemas/PositionRef"
          },
          "schema": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "text": {
            "description": "`live.text()`.",
            "type": "string"
          }
        },
        "required": [
          "schema",
          "live",
          "text",
          "changed"
        ],
        "type": "object"
      },
      "PositionRef": {
        "description": "One repository's position (CD-2). Serialises as `{\"repo\",\"commit\",\"dirty\"}`, absent parts null.",
        "properties": {
          "commit": {
            "description": "40 lower-case hex, or None for a directory with no commit.",
            "type": [
              "string",
              "null"
            ]
          },
          "dirty": {
            "description": "64 lower-case hex, or None when the checkout is clean.",
            "type": [
              "string",
              "null"
            ]
          },
          "repo": {
            "type": "string"
          }
        },
        "required": [
          "repo",
          "commit",
          "dirty"
        ],
        "type": "object"
      },
      "PreparedSource": {
        "additionalProperties": true,
        "description": "Where a piece of evidence came from: a link or a board reference.",
        "properties": {
          "label": {
            "type": "string"
          },
          "url": {
            "description": "Empty, `http(s)://…` with no user info, `doc:<path>`, `item:<CODE>` or `commit:<sha>`.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "PreparedState": {
        "description": "Where a prepared record stands, derived when it is listed.",
        "oneOf": [
          {
            "enum": [
              "confirmed",
              "rejected"
            ],
            "type": "string"
          },
          {
            "const": "open",
            "description": "Waiting for the person.",
            "type": "string"
          },
          {
            "const": "superseded",
            "description": "A newer record for the same decision replaces it.",
            "type": "string"
          },
          {
            "const": "stale",
            "description": "The decision no longer waits, or moved on since it was prepared.",
            "type": "string"
          },
          {
            "const": "unknown_kind",
            "description": "A kind this version of kanbanr does not know.",
            "type": "string"
          }
        ]
      },
      "PreparedSubject": {
        "additionalProperties": true,
        "description": "What a decision is about. Which keys a kind needs is in [`KINDS`].",
        "properties": {
          "commit": {
            "type": "string"
          },
          "gate": {
            "type": "string"
          },
          "item": {
            "type": "string"
          },
          "release": {
            "type": "string"
          },
          "requirement": {
            "type": "string"
          },
          "signoff": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          },
          "target": {
            "type": "string"
          },
          "test": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "PreparedView": {
        "additionalProperties": true,
        "description": "A prepared record as the monitor lists it: the record, where it stands, the answer if any, and\nwhat the person would type in their own terminal instead.",
        "properties": {
          "at": {
            "description": "RFC 3339, UTC.",
            "type": "string"
          },
          "batch": {
            "description": "The batch it belongs to (FTR-037): a walkthrough run prepares its checks as one batch, named\nfor the run, which the Review page confirms or rejects with one click. None for a record\nprepared alone; an older kanbanr keeps the key through `extra`.",
            "type": "string"
          },
          "by": {
            "description": "`Claude` when prepared in the conversation; else the preparer's name.",
            "type": "string"
          },
          "command": {
            "description": "The equivalent verdict command, for a person's own terminal.",
            "type": "string"
          },
          "fields": {
            "additionalProperties": true,
            "description": "What the verdict will carry; keys per kind.",
            "type": "object"
          },
          "id": {
            "description": "`<YYYYMMDDTHHMMSSZ>-<kind>`, with `-2`, `-3` … when taken.",
            "type": "string"
          },
          "kind": {
            "description": "`signoff`, `promotion`, `gate-result`, `ratification`, … A string, so a kind a newer\nkanbanr adds is listed by an older one rather than failing to parse.",
            "type": "string"
          },
          "origin": {
            "description": "Stamped by the front end, never the request (DEF-028).",
            "type": "string"
          },
          "page": {
            "description": "The monitor page its decision is taken on: `review` or `releases`.",
            "type": "string"
          },
          "resolution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Resolution"
              },
              {
                "type": "null"
              }
            ]
          },
          "rev": {
            "description": "What it was prepared against: the definition's revision, the release tip or the commit.",
            "type": "string"
          },
          "sources": {
            "description": "Where the evidence came from: at least one.",
            "items": {
              "$ref": "#/components/schemas/PreparedSource"
            },
            "type": "array"
          },
          "stale_why": {
            "description": "Why it no longer waits, when stale, superseded or of an unknown kind.",
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/PreparedState"
          },
          "subject": {
            "$ref": "#/components/schemas/PreparedSubject",
            "default": {},
            "description": "What the decision is about; keys per kind."
          }
        },
        "required": [
          "subject",
          "state",
          "resolution",
          "stale_why",
          "page",
          "command"
        ],
        "type": "object"
      },
      "ProcessSource": {
        "description": "Which saved process a project's workflow came from, and which version of it (FEAT-169).",
        "properties": {
          "library": {
            "$ref": "#/components/schemas/Library"
          },
          "name": {
            "type": "string"
          },
          "rev": {
            "description": "The content rev of what was applied ([`WorkflowFile::content_rev`]).",
            "type": "string"
          },
          "version": {
            "default": 0,
            "description": "The process's version when it was applied; 0 for a built-in one.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "library",
          "version",
          "rev"
        ],
        "type": "object"
      },
      "ProcessStatus": {
        "description": "How a project stands against its saved process (FEAT-170): `GET /projects/{p}/process`.",
        "properties": {
          "drift": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Drift"
              },
              {
                "type": "null"
              }
            ],
            "description": "How it has moved apart from that process; null when there is nothing to compare, or the\nprocess is a personal one, which only the user's own kanbanr can see."
          },
          "messages": {
            "description": "[`Drift::messages`]: one sentence per thing to report.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "source": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProcessSource"
              },
              {
                "type": "null"
              }
            ],
            "description": "The process the project's workflow was applied from; null when none was."
          }
        },
        "required": [
          "source",
          "drift",
          "messages"
        ],
        "type": "object"
      },
      "ProgramRollup": {
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/Counts"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "projects": {
            "items": {
              "$ref": "#/components/schemas/ProjectRollup"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "counts",
          "projects"
        ],
        "type": "object"
      },
      "ProgramView": {
        "properties": {
          "description": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "implicit": {
            "description": "True when this is the synthesized implicit default program (no workspace.yaml programs).",
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "projects": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "projects",
          "implicit"
        ],
        "type": "object"
      },
      "Project": {
        "description": "A fully-loaded project (config + all entities).",
        "properties": {
          "config": {
            "$ref": "#/components/schemas/ProjectConfig"
          },
          "features": {
            "items": {
              "$ref": "#/components/schemas/FeatureItem"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "milestones": {
            "items": {
              "$ref": "#/components/schemas/Milestone"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "config",
          "features",
          "milestones"
        ],
        "type": "object"
      },
      "ProjectConfig": {
        "additionalProperties": true,
        "properties": {
          "branch_pattern": {
            "description": "How `kanbanr start` names a branch (FEAT-056): `{code}` and `{slug}`. Absent means the\ndefault, and absent stays absent on disk so an existing config is not rewritten.",
            "type": "string"
          },
          "cadence": {
            "$ref": "#/components/schemas/Cadence",
            "description": "Whether this project works in sprints and releases at all (FEAT-121). Off unless switched\non: many projects follow a different workflow, and data nobody asked for is clutter."
          },
          "codes": {
            "$ref": "#/components/schemas/CodesConfig",
            "description": "Which prefix an item's code gets from its kind (FEAT-217). Absent: `FEAT-` for every\nitem, and absent stays absent on disk."
          },
          "coverage": {
            "description": "Architecture coverage rules (FEAT-197): every subject of a kind — items in a stage range,\naccepted ADRs, docs under a folder — is referenced from a named doc, or lists one. They name\nthis project's doc paths, so they live here and not in a process. Absent: none, and nothing\nis read for coverage.",
            "items": {
              "$ref": "#/components/schemas/CoverageRule"
            },
            "type": "array"
          },
          "default_state": {
            "default": "",
            "description": "The status assigned to a newly-created feature item. Must be one of `statuses`.",
            "type": "string"
          },
          "description": {
            "default": "",
            "type": "string"
          },
          "diagrams": {
            "$ref": "#/components/schemas/DiagramsConfig",
            "description": "How the project treats Mermaid diagrams that fail the lint (FEAT-200). Absent: warnings\nonly, and absent stays absent on disk."
          },
          "displayed_states": {
            "default": [],
            "description": "Ordered subset of `statuses` shown on the dashboard.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "estimate_unit": {
            "$ref": "#/components/schemas/EstimateUnit",
            "description": "What this project estimates in (FEAT-121): days, or story points."
          },
          "gates": {
            "additionalProperties": {
              "$ref": "#/components/schemas/Gate"
            },
            "description": "Entry criteria per status (FEAT-113): what an item must show before it may move into that\nstatus, and what happens when it does. Absent means today's rules, synthesised by\n[`ProjectConfig::effective_gates`]; absent stays absent on disk.",
            "type": "object"
          },
          "method": {
            "$ref": "#/components/schemas/MethodChoice",
            "description": "Which parts of the method this project turned off, and when it chose (FEAT-193). Absent:\nnever chosen, everything on."
          },
          "name": {
            "default": "",
            "type": "string"
          },
          "no_op_states": {
            "default": [],
            "description": "Subset of `statuses` that are functionally inert dispositions (e.g. \"No Action\",\n\"Not Applicable\", \"Out-of-Scope\"). No-op states are always non-displayed, and a feature\nin a no-op state does not auto-advance to \"Completed\" when its tasks finish.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "paths": {
            "additionalProperties": {
              "$ref": "#/components/schemas/KindPath"
            },
            "description": "A shorter path through the workflow for some work kinds (FTR-019), keyed by kind in lower\ncase. Absent: every kind walks every stage, and absent stays absent on disk.",
            "type": "object"
          },
          "process": {
            "$ref": "#/components/schemas/ProcessSource",
            "description": "The saved process this workflow was applied from, if it was (FEAT-169): what drift is\nmeasured against. An older kanbanr keeps it through `extra`, so it needs no schema bump."
          },
          "repository": {
            "$ref": "#/components/schemas/CodeRepository",
            "description": "The code repository this project tracks (DEF-053). Absent unless recorded, and absent\nstays absent on disk."
          },
          "schema_version": {
            "default": 0,
            "description": "On-disk schema version. Absent in legacy configs (defaults to 0); forward-stamped to\n`CURRENT_SCHEMA_VERSION` whenever the config is written.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "statuses": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "terminal_states": {
            "default": [],
            "description": "Subset of `statuses` that are explicit terminal (end) states of the workflow — a feature\nhere is considered \"done\". Absent in legacy configs (defaults to empty), in which case\n`graph::is_terminal_status` falls back to its built-in heuristic (Completed / no-op).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "transitions": {
            "additionalProperties": {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "default": {},
            "description": "Map of from-status -> list of allowed to-statuses.",
            "type": "object"
          }
        },
        "required": [
          "schema_version",
          "name",
          "description",
          "statuses",
          "default_state",
          "transitions",
          "displayed_states",
          "no_op_states",
          "terminal_states"
        ],
        "type": "object"
      },
      "ProjectReadiness": {
        "additionalProperties": {
          "$ref": "#/components/schemas/CardReadiness"
        },
        "description": "The board's live cards, keyed by item code, in board order.",
        "type": "object"
      },
      "ProjectRollup": {
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/Counts"
          },
          "id": {
            "type": "string"
          },
          "milestones": {
            "items": {
              "$ref": "#/components/schemas/MilestoneRollup"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "counts",
          "milestones"
        ],
        "type": "object"
      },
      "ProjectSummary": {
        "description": "One project on the board, as the home page lists it: `GET /projects`.",
        "properties": {
          "counts": {
            "additionalProperties": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "description": "Items per status, for every status.",
            "type": "object"
          },
          "description": {
            "type": "string"
          },
          "displayed_states": {
            "description": "The statuses shown as board columns.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "has_docs": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "description": "The project's name; its id when it has none.",
            "type": "string"
          },
          "no_op_states": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "other_states": {
            "description": "The statuses that are not columns.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "total_features": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "description",
          "displayed_states",
          "other_states",
          "no_op_states",
          "counts",
          "total_features",
          "has_docs"
        ],
        "type": "object"
      },
      "QualityScenario": {
        "additionalProperties": true,
        "description": "Stimulus / environment / response / measure — what turns \"it should be fast\" into something\ncheckable. The `measure` names the test or benchmark that checks it; a number with nothing\nbehind it is reported as an unsupported claim.",
        "properties": {
          "environment": {
            "default": "",
            "type": "string"
          },
          "measure": {
            "default": "",
            "type": "string"
          },
          "response": {
            "default": "",
            "type": "string"
          },
          "stimulus": {
            "default": "",
            "type": "string"
          }
        },
        "required": [
          "stimulus",
          "environment",
          "response",
          "measure"
        ],
        "type": "object"
      },
      "ReadinessView": {
        "description": "What one item is missing, and what its next stage asks (FEAT-112, FEAT-117):\n`GET /projects/{p}/features/{code}/readiness`.",
        "properties": {
          "code": {
            "type": "string"
          },
          "gaps": {
            "description": "What `kanbanr check` reports.",
            "items": {
              "$ref": "#/components/schemas/Gap"
            },
            "type": "array"
          },
          "next": {
            "description": "What each next stage asks, and what it still lacks.",
            "items": {
              "$ref": "#/components/schemas/NextGate"
            },
            "type": "array"
          },
          "rev": {
            "description": "The definition's revision: a verdict given with `rev` is refused if it moved on\n(FEAT-159). Null when the item has no definition.",
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "code",
          "rev",
          "gaps",
          "next"
        ],
        "type": "object"
      },
      "ReleaseAction": {
        "description": "What entering a release stage does. The order of the variants is the order a promotion applies\nthem in, whichever stages hold them.",
        "oneOf": [
          {
            "const": "branch",
            "description": "Make `release/<V>` from the line of integration, without checking it out.",
            "type": "string"
          },
          {
            "const": "prepare",
            "description": "Commit the version files, the changelog heading, the notes draft and its listings onto\n`release/<V>`, without checking anything out.",
            "type": "string"
          },
          {
            "const": "move_main",
            "description": "Fast-forward main to the release tip, refused if main has commits the release lacks.",
            "type": "string"
          },
          {
            "const": "tag",
            "description": "Tag the release tip with the version (an annotated tag, `Release <V>`).",
            "type": "string"
          }
        ]
      },
      "ReleaseCarry": {
        "description": "A planned item that did not ship, and where it went.",
        "properties": {
          "code": {
            "type": "string"
          },
          "to": {
            "description": "The release it moved to, or `unplanned`.",
            "type": "string"
          },
          "why": {
            "description": "Why it did not ship.",
            "type": "string"
          }
        },
        "required": [
          "code",
          "to"
        ],
        "type": "object"
      },
      "ReleaseCheck": {
        "description": "A condition a release stage can require before a release enters it.",
        "oneOf": [
          {
            "const": "items_finished",
            "description": "Nothing planned into the release would be carried over by the cut.",
            "type": "string"
          },
          {
            "const": "prepared",
            "description": "The release tip carries the version, the dated changelog heading and the notes.",
            "type": "string"
          },
          {
            "const": "main_at_release",
            "description": "Main is at the release tip.",
            "type": "string"
          },
          {
            "const": "pushed",
            "description": "The release tip is on main's remote-tracking branch.",
            "type": "string"
          },
          {
            "const": "gate_passed",
            "description": "Every gate in `cadence.commit_gates` has a passed result recorded for the release tip.",
            "type": "string"
          },
          {
            "const": "tag_passed",
            "description": "The newest result of the tag gate for the tag commit, recorded since the tag, is passed\n(FTR-026). Only a stage after the tag can require it.",
            "type": "string"
          },
          {
            "const": "items_merged",
            "description": "Every item planned into the release is at the integrate stage or later.",
            "type": "string"
          },
          {
            "const": "stage_passed",
            "description": "The release has been promoted into a stage a gate names in `after`. Only a plan names it\n(a gate lists `after`, not this), so it is not in `ALL`.",
            "type": "string"
          },
          {
            "const": "merged_items_ship",
            "description": "Every item planned into the release whose code is merged can ship: the cut would not carry\nmerged work away (DEF-029). Only a plan names it, so it is not in `ALL`.",
            "type": "string"
          },
          {
            "const": "later_tests_green",
            "description": "Every test of the release's items checked at this stage or before it is green (DEF-043).\nOnly a plan names it, so it is not in `ALL`.",
            "type": "string"
          },
          {
            "const": "untested_accepted",
            "description": "The person accepted shipping exactly the requirements whose tests were not run (DEF-043).\nOnly a plan names it, at the cut, so it is not in `ALL`.",
            "type": "string"
          }
        ]
      },
      "ReleaseGate": {
        "additionalProperties": true,
        "description": "One release stage's rules: what it is for, what must hold to enter it, and what entering it\ndoes.",
        "properties": {
          "after": {
            "description": "Earlier stages the release must have been promoted into before it enters this one.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "on_enter": {
            "items": {
              "$ref": "#/components/schemas/ReleaseAction"
            },
            "type": "array"
          },
          "purpose": {
            "type": "string"
          },
          "requires": {
            "items": {
              "$ref": "#/components/schemas/ReleaseCheck"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "ReleasePlan": {
        "description": "What promoting a release would do, worked out with nothing changed (FEAT-212): what the button\nsays, each step and condition, and — for the cut — what ships.",
        "properties": {
          "after": {
            "description": "What comes after this promotion, e.g. \"push main, wait for CI, then Cut v0.2.1\".",
            "type": "string"
          },
          "again": {
            "$ref": "#/components/schemas/AgainOffer",
            "description": "The stage it is at can be entered again and would redo something (DEF-057). Only on the\ndefault plan (no stage asked for), for a stage before the cut whose gate prepares."
          },
          "awaiting": {
            "description": "This plan is the release waiting at the last stage for its tag workflow's result: it\nships once that is recorded as passed (DEF-049).",
            "type": "boolean"
          },
          "button": {
            "description": "What the one button says: \"Promote to main\", \"Cut v0.2.1\", \"Promote to main again\".",
            "type": "string"
          },
          "conditions": {
            "items": {
              "$ref": "#/components/schemas/PlanCondition"
            },
            "type": "array"
          },
          "confirm": {
            "description": "This promotion enters a stage after the cut: a confirmation by the user (FTR-026).",
            "type": "boolean"
          },
          "cut": {
            "description": "This promotion enters the stage that tags: the cut.",
            "type": "boolean"
          },
          "direction": {
            "description": "`forward`, `back` or `again`.",
            "type": "string"
          },
          "empty": {
            "description": "Nothing is planned into the release, so it cannot be promoted (R-17).",
            "type": "boolean"
          },
          "from": {
            "description": "The stage it is at; empty when it has none yet.",
            "type": "string"
          },
          "missing": {
            "description": "Each thing missing before it can go, as what to do about it.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "needs_reason": {
            "description": "A move back, which needs a reason.",
            "type": "boolean"
          },
          "origin": {
            "$ref": "#/components/schemas/OriginState"
          },
          "preview": {
            "description": "The cut only: what ships and what is carried over.",
            "items": {
              "$ref": "#/components/schemas/CutPreview"
            },
            "type": "array"
          },
          "ready": {
            "type": "boolean"
          },
          "release_tip": {
            "description": "The release branch's tip now (empty while it does not exist): `expect` on promote.",
            "type": "string"
          },
          "repo": {
            "description": "Whether the code repository was there to read.",
            "type": "boolean"
          },
          "returned": {
            "$ref": "#/components/schemas/Returned",
            "description": "The merge that sent the release back and the steps from there, until it is cut (DEF-031)."
          },
          "ships": {
            "description": "This promotion enters the last stage: it ships the release (FTR-026).",
            "type": "boolean"
          },
          "steps": {
            "items": {
              "$ref": "#/components/schemas/PlanStep"
            },
            "type": "array"
          },
          "tag": {
            "$ref": "#/components/schemas/TagResult",
            "description": "The recorded CI result for the tag, once the release is tagged and not shipped (FTR-026)."
          },
          "tag_commit": {
            "$ref": "#/components/schemas/CommitLine",
            "description": "The commit the tag will name, when this promotion tags."
          },
          "to": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "warnings": {
            "description": "Things worth knowing that do not stop the promotion, e.g. a stale release date (DEF-001).",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "version",
          "from",
          "to",
          "direction",
          "cut",
          "confirm",
          "ships",
          "button",
          "conditions",
          "steps",
          "release_tip",
          "missing",
          "ready",
          "needs_reason",
          "repo",
          "empty"
        ],
        "type": "object"
      },
      "ReleasePrepare": {
        "additionalProperties": true,
        "description": "What the `prepare` action writes onto `release/<V>`. Empty by default: `prepare` is then a\nno-op the plan names.",
        "properties": {
          "changelog": {
            "type": "string"
          },
          "changelog_copies": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "notes": {
            "description": "A path template naming `{version}` or `{number}`, e.g. `docs/src/releases/{version}.md`.",
            "type": "string"
          },
          "notes_listings": {
            "items": {
              "$ref": "#/components/schemas/NotesListing"
            },
            "type": "array"
          },
          "version_files": {
            "items": {
              "$ref": "#/components/schemas/VersionFile"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "ReleaseReport": {
        "additionalProperties": true,
        "description": "A release with what it holds and how much of that is finished, as the monitor shows it\n(FEAT-138). Derived, never stored.",
        "properties": {
          "branch": {
            "description": "The code branch, set when promoted to the first stage (`release/<V>`).",
            "type": "string"
          },
          "carried": {
            "items": {
              "$ref": "#/components/schemas/ReleaseCarry"
            },
            "type": "array"
          },
          "finished": {
            "description": "How many of `items` are finished, by the same rule as the sprint's: an end status, or a stage\nmarked `done` (FEAT-137). The page used to keep its own copy of the rule, counting only the\nend status — a Done item in a planned scrum release read as unfinished.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "included": {
            "description": "For a patch: what its parent shipped, which the patch keeps (FEAT-184).",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "items": {
            "description": "Planned into it, or shipped in it.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "notes_doc": {
            "description": "The board doc holding its release notes.",
            "type": "string"
          },
          "notes_path": {
            "description": "The repository path the release's notes were first written to, already expanded (DEF-036).\nSet once; empty on a release whose notes were written before it was recorded.",
            "type": "string"
          },
          "parent": {
            "description": "The cut release this patches (FEAT-184); empty for an ordinary release.",
            "type": "string"
          },
          "shipped": {
            "description": "What shipped in it.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "shipped_at": {
            "type": "string"
          },
          "shipped_by": {
            "description": "Who cut the release, and from where (DEF-028). Empty on a release cut before origin existed.",
            "type": "string"
          },
          "shipped_origin": {
            "type": "string"
          },
          "stage": {
            "description": "Where the release is now, from `cadence.release_stages` (FEAT-183). Empty until first\npromoted: a release added before stages existed reads as \"not yet a candidate\".",
            "type": "string"
          },
          "stages": {
            "description": "Every stage change, oldest first.",
            "items": {
              "$ref": "#/components/schemas/StageChange"
            },
            "type": "array"
          },
          "state": {
            "$ref": "#/components/schemas/ReleaseState",
            "default": "planned"
          },
          "superseded_by": {
            "description": "The patch release that replaced this one after its tag's CI run failed (FTR-026). The tag\nstays in git; the release never ships.",
            "type": "string"
          },
          "tag_commit": {
            "description": "The full sha the tag names (FTR-026).",
            "type": "string"
          },
          "tagged_at": {
            "description": "When the stage holding the tag action was entered (FTR-026), RFC 3339. A release that is\ntagged and still `Planned` is waiting for the stages after the tag.",
            "type": "string"
          },
          "target": {
            "description": "Target date, `YYYY-MM-DD`.",
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "state",
          "items",
          "finished"
        ],
        "type": "object"
      },
      "ReleaseState": {
        "enum": [
          "planned",
          "shipped"
        ],
        "type": "string"
      },
      "Requirement": {
        "additionalProperties": true,
        "description": "One requirement: a single behaviour, stated so it can be tested.",
        "properties": {
          "id": {
            "default": "",
            "description": "`R-1`, `R-2`, … assigned when left blank.",
            "type": "string"
          },
          "iso25010": {
            "description": "ISO/IEC 25010 characteristics, for NFRs.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "kind": {
            "$ref": "#/components/schemas/RequirementKind",
            "default": "functional"
          },
          "scenario": {
            "$ref": "#/components/schemas/QualityScenario",
            "description": "The quality attribute scenario behind an NFR."
          },
          "tests": {
            "description": "How this requirement is verified. A requirement with no test is not ready.",
            "items": {
              "$ref": "#/components/schemas/TestRef"
            },
            "type": "array"
          },
          "text": {
            "description": "The requirement itself, ideally in EARS form. Stored verbatim: the EARS pattern is derived\nwhen rendering or checking, never persisted, so stored text cannot disagree with the\nclassifier.",
            "type": "string"
          },
          "violates": {
            "description": "For a defect: the requirement it violates (`FEAT-046/R-2`), or blank when the defect\nreveals that no requirement covered the case — which is itself the finding.",
            "type": "string"
          }
        },
        "required": [
          "id",
          "kind",
          "text"
        ],
        "type": "object"
      },
      "RequirementKind": {
        "description": "Functional behaviour, or a quality the system must exhibit.",
        "enum": [
          "functional",
          "nfr"
        ],
        "type": "string"
      },
      "Resolution": {
        "additionalProperties": true,
        "description": "The person's answer to a prepared record.",
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "changed": {
            "description": "Each field the person edited; empty when confirmed as prepared.",
            "items": {
              "$ref": "#/components/schemas/FieldChange"
            },
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "made": {
            "description": "The verdict route it made, `POST /projects/…`; empty on a rejection.",
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "reason": {
            "description": "A rejection's reason, optional.",
            "type": "string"
          },
          "verdict": {
            "$ref": "#/components/schemas/Answer"
          }
        },
        "required": [
          "verdict"
        ],
        "type": "object"
      },
      "Returned": {
        "description": "A release sent back by a merge that has not been cut yet, as the plan shows it (DEF-031).\nDerived, never stored.",
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "from": {
            "description": "The stage it was at before.",
            "type": "string"
          },
          "item": {
            "description": "The item whose merge sent it back.",
            "type": "string"
          },
          "steps": {
            "description": "What to do from the first stage, in order (`returned_steps`).",
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "item",
          "by",
          "at",
          "from",
          "steps"
        ],
        "type": "object"
      },
      "ReviewEntry": {
        "properties": {
          "approval": {
            "$ref": "#/components/schemas/ApprovalKind",
            "description": "What is being asked."
          },
          "changes": {
            "$ref": "#/components/schemas/PartChanges",
            "description": "The parts added, changed and removed since the last decision (FTR-018); present on\n`lapsed`, `added` and `signoff` entries that have a baseline to compare with."
          },
          "changes_no_documents": {
            "description": "`docs-folded` is among them and the item lists no documents: the sign-off confirms that it\nchanges none (DEF-033).",
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "definition": {
            "$ref": "#/components/schemas/FeatureDefinition"
          },
          "drift_skipped": {
            "description": "Why the drift check did not run: no code repository is attached. The sign-off is offered\nall the same, and this is never read as \"no drift\" (FTR-013).",
            "type": "string"
          },
          "finished": {
            "description": "The item is finished work (DEF-013): listed only because its approval lapsed.",
            "type": "boolean"
          },
          "in_progress": {
            "description": "What the ordering keys on, and useful to a client besides.",
            "type": "boolean"
          },
          "overrides": {
            "description": "Claude's overrides on the item that wait for the person to ratify (DEF-043), oldest first.",
            "items": {
              "$ref": "#/components/schemas/OverrideView"
            },
            "type": "array"
          },
          "release_choices": {
            "description": "The planned releases it could ship in, in file order (FEAT-185). Present whenever the\nrelease question is due, so a surface asking another question first can ask this one too.\nEmpty: only a new release to choose.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "rev": {
            "description": "What a verdict given from this brief is pinned to (FEAT-159).",
            "type": "string"
          },
          "settled": {
            "description": "The flagged texts Claude settled, with what it recorded, for the page to show (DEF-039).",
            "items": {
              "$ref": "#/components/schemas/SettledText"
            },
            "type": "array"
          },
          "signoff_lapsed": {
            "description": "`docs-folded` is asked again because the item's branch got a commit after the earlier one\n(DEF-046): why, naming the branch.",
            "type": "string"
          },
          "signoffs_needed": {
            "description": "The sign-offs the next stage still needs, by name; empty unless `approval` is `signoff`.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "spec": {
            "$ref": "#/components/schemas/SpecBrief",
            "description": "The spec the sign-off asked pins, with what changed since the last sign-off (FTR-023)."
          },
          "spec_rev": {
            "description": "The hash of the spec's current text, when the sign-off asked pins the spec (FTR-023): what\nthe verdict is pinned to, sent back with it.",
            "type": "string"
          },
          "started_unapproved": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "to_check": {
            "description": "`docs-folded` is among them: the texts that name something the item changed since they\nlast changed and that Claude has not yet settled (FTR-013, DEF-039). The sign-off is not\noffered while any is left. `None` when the check was skipped (see `drift_skipped`) or the\nsign-off is not asked.",
            "items": {
              "$ref": "#/components/schemas/Flag"
            },
            "type": "array"
          }
        },
        "required": [
          "code",
          "title",
          "status",
          "approval",
          "signoffs_needed",
          "started_unapproved",
          "definition",
          "rev",
          "in_progress",
          "finished"
        ],
        "type": "object"
      },
      "RollupReport": {
        "description": "The full rollup tree: milestone% → project% → program% → portfolio%.",
        "properties": {
          "counts": {
            "$ref": "#/components/schemas/Counts"
          },
          "portfolio": {
            "type": "string"
          },
          "programs": {
            "items": {
              "$ref": "#/components/schemas/ProgramRollup"
            },
            "type": "array"
          }
        },
        "required": [
          "portfolio",
          "counts",
          "programs"
        ],
        "type": "object"
      },
      "SettledText": {
        "properties": {
          "check": {
            "$ref": "#/components/schemas/Checked"
          },
          "flag": {
            "$ref": "#/components/schemas/Flag"
          }
        },
        "required": [
          "flag",
          "check"
        ],
        "type": "object"
      },
      "Signoff": {
        "additionalProperties": true,
        "description": "A named agreement, recorded by a person against the definition as it stood (FEAT-114).\n\nLike an approval it carries the definition's `rev`, so changing the definition afterwards lapses\nit: a design review of a different design is not a review of this one.",
        "properties": {
          "at": {
            "type": "string"
          },
          "branch_heads": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "The item's branches and their tips when `docs-folded` was given (DEF-046): a later commit on\nany of them lapses it. Empty on a record an older kanbanr wrote, or one given without the code\nrepository: such a record is not judged by its branches.",
            "type": "object"
          },
          "by": {
            "type": "string"
          },
          "checked": {
            "description": "What the person checked when giving `docs-folded` (FTR-013): each text flagged as naming\nsomething the item changed, with whether they confirmed it is still right or filed a\ncorrection. Absent on a record without flags, or one an older kanbanr wrote.",
            "items": {
              "$ref": "#/components/schemas/Checked"
            },
            "type": "array"
          },
          "delegation": {
            "description": "The delegation a record was taken under, such as `DLG-001`, when `origin` is `delegated`\n(FTR-028). Absent otherwise; an older kanbanr keeps it in `extra`.",
            "type": "string"
          },
          "doc": {
            "description": "A board doc holding the record — minutes, a checklist.",
            "type": "string"
          },
          "id": {
            "description": "The name a gate asks for (`design-review`).",
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "origin": {
            "description": "Where it was taken: `monitor`, `conversation`, `terminal` or `delegated` (DEF-028). Absent on a\nrecord written before origin existed, which reads as unknown; kept as a string so a newer\nkanbanr's value survives.",
            "type": "string"
          },
          "parts": {
            "additionalProperties": {
              "type": "string"
            },
            "description": "A hash of each part of the definition it covered (FTR-018), keyed as\n[`FeatureDefinition::part_revs`]. Empty on a record an older kanbanr wrote: such a record is\nno baseline, and any change to the definition lapses it.",
            "type": "object"
          },
          "reason": {
            "description": "Why it was withdrawn. Giving a sign-off needs no reason; taking one back does.",
            "type": "string"
          },
          "rev": {
            "description": "The definition content it covered.",
            "type": "string"
          },
          "spec_rev": {
            "description": "A hash of the whole normalised spec it covered (FTR-023), when a gate that lists this\nsign-off also asks for spec sections. Empty on a record an older kanbanr wrote, or one no\ngate pins: such a sign-off is judged by the definition alone.",
            "type": "string"
          },
          "status": {
            "description": "The status the item was in when it was given.",
            "type": "string"
          },
          "verdict": {
            "$ref": "#/components/schemas/SignoffVerdict",
            "description": "`given`, or `withdrawn` (FEAT-182). A withdrawal is its own entry, appended like any other,\nwith an empty `rev`: an older kanbanr, which does not know this field, then reads the\nlatest entry as lapsed and stops counting the sign-off too."
          }
        },
        "required": [
          "id",
          "by",
          "at",
          "rev"
        ],
        "type": "object"
      },
      "SignoffVerdict": {
        "description": "Whether a sign-off entry gives the sign-off or takes it back (FEAT-182).",
        "enum": [
          "given",
          "withdrawn"
        ],
        "type": "string"
      },
      "Source": {
        "additionalProperties": true,
        "description": "Where an imported feature came from (FEAT-042). This is a record of history, not a live\npointer: the original text is preserved in the feature's spec, so nothing depends on the\nsource still existing (a deleted file, rewritten git history, a removed issue).",
        "properties": {
          "imported_at": {
            "default": "",
            "description": "When it was imported (RFC 3339); stamped by kanbanr.",
            "type": "string"
          },
          "key": {
            "default": "",
            "description": "Stable identity used to skip re-imports; derived by kanbanr when not given.",
            "type": "string"
          },
          "missing_since": {
            "description": "When the source was found to be gone (set by `kanbanr sources --write`).",
            "type": "string"
          },
          "ref": {
            "default": "",
            "description": "Location in that tracker, for humans: `TODO.md:14`, `owner/repo#123`, `PROJ-45`.",
            "type": "string"
          },
          "revision": {
            "description": "Project repo commit at import time (file sources).",
            "type": "string"
          },
          "system": {
            "description": "Tracker kind: `file`, `github`, `gitlab`, `jira`, `linear`, …",
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "system",
          "ref",
          "imported_at",
          "key"
        ],
        "type": "object"
      },
      "SpecBrief": {
        "description": "The spec a sign-off pins, as the person is shown it (FTR-023).",
        "properties": {
          "diff": {
            "description": "The current text against the kept one; empty on a first sign-off, when the earlier text\nwas not kept, or when nothing differs.",
            "items": {
              "$ref": "#/components/schemas/DiffLine"
            },
            "type": "array"
          },
          "previous_kept": {
            "description": "False when an earlier sign-off pinned the spec but its text is missing from the board.\nTrue otherwise, including a first sign-off with nothing earlier to keep.",
            "type": "boolean"
          },
          "signed_at": {
            "type": "string"
          },
          "signed_by": {
            "description": "Who gave the earlier sign-off, and when; empty on a first sign-off.",
            "type": "string"
          },
          "signoff": {
            "description": "The sign-off that pins it.",
            "type": "string"
          },
          "text": {
            "description": "The spec's current text, normalised as it is pinned.",
            "type": "string"
          }
        },
        "required": [
          "signoff",
          "text",
          "previous_kept",
          "signed_by",
          "signed_at",
          "diff"
        ],
        "type": "object"
      },
      "Sprint": {
        "properties": {
          "capacity": {
            "description": "What the sprint can take, in the project's estimate unit.",
            "format": "double",
            "type": "number"
          },
          "carried": {
            "description": "What left unfinished, and where it went — the record a retro reads.",
            "items": {
              "$ref": "#/components/schemas/SprintCarry"
            },
            "type": "array"
          },
          "closed_at": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "end": {
            "description": "Last day, `YYYY-MM-DD`, inclusive.",
            "type": "string"
          },
          "goal": {
            "description": "What this sprint is for, in a sentence.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "start": {
            "description": "First day, `YYYY-MM-DD`.",
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/SprintState",
            "default": "planned"
          }
        },
        "required": [
          "code",
          "start",
          "end",
          "state"
        ],
        "type": "object"
      },
      "SprintCarry": {
        "description": "An item that left a sprint unfinished, and where it went.",
        "properties": {
          "code": {
            "type": "string"
          },
          "to": {
            "description": "The sprint it moved to, or `backlog`.",
            "type": "string"
          }
        },
        "required": [
          "code",
          "to"
        ],
        "type": "object"
      },
      "SprintReport": {
        "description": "A sprint as a report: its record, what it holds, and how it burned down.",
        "properties": {
          "burndown": {
            "items": {
              "$ref": "#/components/schemas/BurndownDay"
            },
            "type": "array"
          },
          "capacity": {
            "description": "What the sprint can take, in the project's estimate unit.",
            "format": "double",
            "type": "number"
          },
          "carried": {
            "description": "What left unfinished, and where it went — the record a retro reads.",
            "items": {
              "$ref": "#/components/schemas/SprintCarry"
            },
            "type": "array"
          },
          "closed_at": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "committed": {
            "format": "double",
            "type": "number"
          },
          "days_left": {
            "description": "Days left, counting today; 0 once the sprint is over.",
            "format": "int64",
            "type": "integer"
          },
          "done": {
            "format": "double",
            "type": "number"
          },
          "end": {
            "description": "Last day, `YYYY-MM-DD`, inclusive.",
            "type": "string"
          },
          "goal": {
            "description": "What this sprint is for, in a sentence.",
            "type": "string"
          },
          "items": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "start": {
            "description": "First day, `YYYY-MM-DD`.",
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/SprintState",
            "default": "planned"
          },
          "unestimated": {
            "description": "Items with no estimate in the project's unit: they count as nothing, which is said, not hidden.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "start",
          "end",
          "state",
          "unit",
          "items",
          "committed",
          "done",
          "unestimated",
          "days_left",
          "burndown"
        ],
        "type": "object"
      },
      "SprintState": {
        "description": "Where a sprint is in its life.",
        "enum": [
          "planned",
          "active",
          "closed"
        ],
        "type": "string"
      },
      "StageChange": {
        "additionalProperties": true,
        "description": "One move of a release between stages: where to, who moved it, and when (FEAT-183). A move back\ncarries the reason it was made.",
        "properties": {
          "accepted_untested": {
            "description": "The requirements the person accepted shipping untested at the cut, as `CODE/R-n`\n(DEF-043). Empty on every other change.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "at": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "item": {
            "description": "The item whose merge into the release's branch caused this change (DEF-031); empty for\nevery other change.",
            "type": "string"
          },
          "origin": {
            "description": "Where it was made: `monitor`, `conversation`, `terminal` or `delegated` (DEF-028). Empty on a\nrecord written before origin existed.",
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "stage": {
            "type": "string"
          }
        },
        "required": [
          "stage",
          "by",
          "at"
        ],
        "type": "object"
      },
      "Stakeholder": {
        "additionalProperties": true,
        "properties": {
          "interest": {
            "description": "What they need from this project, and why they care.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "type": "object"
      },
      "Stamp": {
        "additionalProperties": true,
        "description": "Who did something, when, and from where; a grant also pins the revision it granted.",
        "properties": {
          "at": {
            "type": "string"
          },
          "by": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          },
          "rev": {
            "type": "string"
          }
        },
        "required": [
          "by",
          "at",
          "origin"
        ],
        "type": "object"
      },
      "TagResult": {
        "description": "The newest result recorded for a release's tag (FTR-026), read from the board only.",
        "properties": {
          "commit": {
            "description": "The commit the tag names.",
            "type": "string"
          },
          "gate": {
            "description": "The gate that judges it (`cadence.tag_gate`, else the first commit gate).",
            "type": "string"
          },
          "result": {
            "$ref": "#/components/schemas/GateResult"
          },
          "state": {
            "description": "`passed`, `failed` or `none`.",
            "type": "string"
          }
        },
        "required": [
          "commit",
          "gate",
          "state"
        ],
        "type": "object"
      },
      "Target": {
        "description": "A text linked to an item.",
        "properties": {
          "id": {
            "description": "The doc path, the ADR id or the item code.",
            "type": "string"
          },
          "kind": {
            "$ref": "#/components/schemas/TargetKind"
          },
          "path": {
            "description": "The doc path under the board's `docs/`, for a doc or an ADR; empty for an item.",
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "required": [
          "kind",
          "id",
          "title"
        ],
        "type": "object"
      },
      "TargetKind": {
        "description": "What kind of text a flag points at.",
        "enum": [
          "doc",
          "adr",
          "item"
        ],
        "type": "string"
      },
      "Task": {
        "additionalProperties": true,
        "description": "A todo item belonging to a todo-list. `key` is short and unique within its todo-list.",
        "properties": {
          "changed_at": {
            "description": "When the task's state last changed (RFC3339; FEAT-214): what agent drift is measured from.\nAbsent on tasks no kanbanr since FEAT-214 has changed.",
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/TaskState"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "key",
          "text",
          "state"
        ],
        "type": "object"
      },
      "TaskState": {
        "description": "Tri-state for a feature's todo items.",
        "enum": [
          "NotStarted",
          "InProgress",
          "Completed"
        ],
        "type": "string"
      },
      "TestRef": {
        "additionalProperties": true,
        "description": "A test that verifies a requirement, and where it currently stands.",
        "properties": {
          "at": {
            "description": "When it can be checked (DEF-043): empty at the item's gates, `pushed` after main is pushed,\n`cut` at the cut, or a release stage's name. The item's gate doesn't wait for a test with\nan `at`; the release stage it names does. Part of the definition, so changing it lapses an\napproval.",
            "type": "string"
          },
          "checked_rev": {
            "description": "The project revision at which this was last observed green. A green older than HEAD is\nstale rather than trustworthy.",
            "type": "string"
          },
          "kind": {
            "description": "unit | integration | e2e | manual | property — free text, like `kind` elsewhere.",
            "type": "string"
          },
          "name": {
            "description": "The test's name as it appears in the codebase, so it can be checked for existence.",
            "type": "string"
          },
          "state": {
            "$ref": "#/components/schemas/TestState",
            "default": "planned"
          }
        },
        "required": [
          "name",
          "state"
        ],
        "type": "object"
      },
      "TestState": {
        "description": "The TDD lifecycle of a test: written but not yet run, failing, passing.\n\nSerialized lowercase (`state: green`) because that is how it is written in definition files and\non the command line; the aliases keep hand-written YAML forgiving.",
        "enum": [
          "planned",
          "red",
          "green"
        ],
        "type": "string"
      },
      "TodoList": {
        "additionalProperties": true,
        "description": "A persistent todo-list attached to a feature item. A feature (acting as an epic) can hold\nmany of these — e.g. one added per working session — so the work survives across sessions.",
        "properties": {
          "code": {
            "type": "string"
          },
          "created_at": {
            "type": "string"
          },
          "description": {
            "default": "",
            "type": "string"
          },
          "tasks": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Task"
            },
            "type": "array"
          }
        },
        "required": [
          "code",
          "description",
          "tasks",
          "created_at"
        ],
        "type": "object"
      },
      "TradeOff": {
        "properties": {
          "cost": {
            "description": "The quality spent for it. A decision with no cost is usually one nobody examined.",
            "type": "string"
          },
          "gain": {
            "description": "The quality bought.",
            "type": "string"
          }
        },
        "required": [
          "gain",
          "cost"
        ],
        "type": "object"
      },
      "Transition": {
        "additionalProperties": true,
        "description": "One status change. Append-only: the board's memory of how work actually moved.",
        "properties": {
          "at": {
            "type": "string"
          },
          "from": {
            "type": "string"
          },
          "origin": {
            "description": "Where a move with an override was made: `monitor`, `conversation`, `terminal` or\n`delegated` (DEF-043). Set only on a transition with an override; empty on every move\nbefore this version.",
            "type": "string"
          },
          "override": {
            "description": "Why a gate was passed over, when it was (FEAT-113). Absent on an ordinary move.",
            "type": "string"
          },
          "to": {
            "type": "string"
          }
        },
        "required": [
          "at",
          "from",
          "to"
        ],
        "type": "object"
      },
      "VersionFile": {
        "additionalProperties": true,
        "description": "A file whose version `prepare` sets.",
        "properties": {
          "match": {
            "description": "A template with exactly one `{version}`. Absent: `^version = \"{version}\"` for `*.toml`,\n`\"version\": \"{version}\"` for `*.json`, first match only. Given: every match.",
            "type": "string"
          },
          "path": {
            "description": "Relative to the repository root.",
            "type": "string"
          }
        },
        "required": [
          "path"
        ],
        "type": "object"
      },
      "ViewAnswer": {
        "description": "What a view answers with: the same shape as katalogr's ViewAnswer, so one renderer draws both.\nField order is the wire order; no `serde_json::Value` is in it (its key order would follow the\nbuild's `preserve_order` feature and break \"same bytes\").",
        "properties": {
          "exact": {
            "type": "boolean"
          },
          "graph": {
            "$ref": "#/components/schemas/ViewGraph"
          },
          "mermaid": {
            "type": "string"
          },
          "positions": {
            "items": {
              "$ref": "#/components/schemas/PositionRef"
            },
            "type": "array"
          },
          "query": {
            "$ref": "#/components/schemas/ViewQueryJson"
          },
          "schema": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "view_format": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "view_id": {
            "type": "string"
          },
          "warnings": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "schema",
          "view_format",
          "exact",
          "positions",
          "query",
          "mermaid",
          "graph"
        ],
        "type": "object"
      },
      "ViewGraph": {
        "properties": {
          "edges": {
            "items": {
              "$ref": "#/components/schemas/GraphEdge"
            },
            "type": "array"
          },
          "nodes": {
            "items": {
              "$ref": "#/components/schemas/GraphNode"
            },
            "type": "array"
          },
          "shown": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "total": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "edges",
          "nodes",
          "shown",
          "title",
          "total"
        ],
        "type": "object"
      },
      "ViewQueryJson": {
        "properties": {
          "args": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          },
          "op": {
            "type": "string"
          }
        },
        "required": [
          "op",
          "args"
        ],
        "type": "object"
      },
      "Waiting": {
        "properties": {
          "code": {
            "type": "string"
          },
          "delegation": {
            "type": "string"
          },
          "place": {
            "$ref": "#/components/schemas/Place"
          },
          "url": {
            "type": "string"
          },
          "what": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "what",
          "place"
        ],
        "type": "object"
      },
      "Zachman": {
        "additionalProperties": true,
        "description": "The six completeness dimensions. Answers are one line; anything longer belongs in the spec.",
        "properties": {
          "how": {
            "default": "",
            "type": "string"
          },
          "what": {
            "default": "",
            "type": "string"
          },
          "when": {
            "default": "",
            "type": "string"
          },
          "where": {
            "default": "",
            "type": "string"
          },
          "who": {
            "default": "",
            "type": "string"
          },
          "why": {
            "default": "",
            "type": "string"
          }
        },
        "required": [
          "what",
          "how",
          "where",
          "when",
          "who",
          "why"
        ],
        "type": "object"
      }
    }
  },
  "info": {
    "description": "The read-only routes `kanbanr serve` answers for the monitor and for tools built on the board. Version 1 stays at `/api/...`; a breaking change would be published as v2 under `/api/v2/...`, with v1 kept for a deprecation period. Routes the daemon serves that are not listed here are internal and may change. Write routes (`serve --allow-writes`) are not part of this contract. Errors are `text/plain`. The daemon answers only for its own host names and grants no cross-origin access; there is no authentication.",
    "license": {
      "identifier": "MIT OR Apache-2.0",
      "name": "MIT OR Apache-2.0"
    },
    "summary": "The view daemon's public read routes.",
    "title": "kanbanr read API",
    "version": "1"
  },
  "jsonSchemaDialect": "https://json-schema.org/draft/2020-12/schema",
  "openapi": "3.1.0",
  "paths": {
    "/api/events": {
      "get": {
        "operationId": "getEvents",
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "A stream of server-sent events. Each is `event: changed`, with `data:` the id of the project that changed, or `*` for a change to the board as a whole."
          }
        },
        "summary": "Server-sent events: `changed` whenever anything on the board changes"
      }
    },
    "/api/meta": {
      "get": {
        "operationId": "getMeta",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Meta"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "What this daemon can do, and who an approval here would be attributed to"
      }
    },
    "/api/openapi.json": {
      "get": {
        "operationId": "getOpenapiJson",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "description": "An OpenAPI 3.1 document: this one.",
                  "type": "object"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "This description of the public read API"
      }
    },
    "/api/portfolio": {
      "get": {
        "operationId": "getPortfolio",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PortfolioView"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The workspace: its programs and their projects"
      }
    },
    "/api/portfolio/board": {
      "get": {
        "operationId": "getPortfolioBoard",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BoardReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "Every project's items on one board, in normalized lanes"
      }
    },
    "/api/portfolio/rollups": {
      "get": {
        "operationId": "getPortfolioRollups",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RollupReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "Progress rolled up by program and project"
      }
    },
    "/api/projects": {
      "get": {
        "operationId": "getProjects",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ProjectSummary"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "The projects on the board"
      }
    },
    "/api/projects/{project}": {
      "get": {
        "operationId": "getProjectsOne",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Project"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "A project: its configuration, milestones and items"
      }
    },
    "/api/projects/{project}/activity": {
      "get": {
        "operationId": "getProjectsActivity",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only the changes to this item.",
            "in": "query",
            "name": "ref",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only changes to items in a status that is not a board column.",
            "in": "query",
            "name": "ongoing",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "At most this many entries; 25 when absent.",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Activity"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "Recent changes to the project, newest first"
      }
    },
    "/api/projects/{project}/adrs": {
      "get": {
        "operationId": "getProjectsAdrs",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Adr"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The project's architecture decision records"
      }
    },
    "/api/projects/{project}/charter": {
      "get": {
        "operationId": "getProjectsCharter",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Charter"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The project's charter: purpose, goals, scope and constraints"
      }
    },
    "/api/projects/{project}/decisions": {
      "get": {
        "operationId": "getProjectsDecisions",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DecisionsView"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "Where the project's decisions are taken (FTR-028): the mode and its history, every delegation with where it stands, the decisions Claude took under one for the person to keep or undo, and what waits for a decision where"
      }
    },
    "/api/projects/{project}/docs": {
      "get": {
        "operationId": "getProjectsDocs",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocFolder"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The project's documentation tree"
      }
    },
    "/api/projects/{project}/docs/content": {
      "get": {
        "operationId": "getProjectsDocsContent",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The document's path under the project's docs, forward-slashed.",
            "in": "query",
            "name": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/markdown; charset=utf-8": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "A document's text"
      }
    },
    "/api/projects/{project}/docs/raw": {
      "get": {
        "operationId": "getProjectsDocsRaw",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The document's path under the project's docs, forward-slashed.",
            "in": "query",
            "name": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "*/*": {
                "schema": {
                  "contentMediaType": "application/octet-stream",
                  "type": "string"
                }
              }
            },
            "description": "The file's bytes; the media type follows its extension (png, jpg, gif, svg, webp, pdf; md and txt as text/plain), application/octet-stream otherwise."
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "A documentation file's bytes, such as an image"
      }
    },
    "/api/projects/{project}/events": {
      "get": {
        "operationId": "getProjectsEvents",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "A stream of server-sent events. Each is `event: changed`, with `data:` the id of the project that changed, or `*` for a change to the board as a whole."
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "Server-sent events: `changed` whenever this project changes"
      }
    },
    "/api/projects/{project}/features/{code}/diagrams": {
      "get": {
        "operationId": "getProjectsFeaturesDiagrams",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The item's code, such as FEAT-001.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ItemDiagrams"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The Mermaid blocks of an item's spec and affects_docs, with the lint's findings"
      }
    },
    "/api/projects/{project}/features/{code}/export": {
      "get": {
        "operationId": "getProjectsFeaturesExport",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The item's code, such as FEAT-001.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "`json` for JSON; `md`, or none, for Markdown.",
            "in": "query",
            "name": "format",
            "required": false,
            "schema": {
              "enum": [
                "md",
                "json"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FeatureExport"
                }
              },
              "text/markdown; charset=utf-8": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK: Markdown, or JSON with `?format=json`."
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "One item, as Markdown, or as JSON with `?format=json`"
      }
    },
    "/api/projects/{project}/features/{code}/readiness": {
      "get": {
        "operationId": "getProjectsFeaturesReadiness",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The item's code, such as FEAT-001.",
            "in": "path",
            "name": "code",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReadinessView"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "What one item is missing, and what its next stages ask"
      }
    },
    "/api/projects/{project}/gantt": {
      "get": {
        "operationId": "getProjectsGantt",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/plain; charset=utf-8": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The schedule as a Mermaid gantt diagram, by milestone"
      }
    },
    "/api/projects/{project}/gate-results": {
      "get": {
        "operationId": "getProjectsGateResults",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only this gate's results.",
            "in": "query",
            "name": "name",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only results for the commit with this hash (or prefix).",
            "in": "query",
            "name": "commit",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/GateResult"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The gate results recorded for the project, oldest first: which gate, which commit, passed or failed, who and when"
      }
    },
    "/api/projects/{project}/gates": {
      "get": {
        "operationId": "getProjectsGates",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "additionalProperties": {
                    "$ref": "#/components/schemas/Gate"
                  },
                  "type": "object"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The gate each status's moves are judged by, keyed by status: role-addressed gates resolved, the built-in rule included"
      }
    },
    "/api/projects/{project}/lessons": {
      "get": {
        "operationId": "getProjectsLessons",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only the lessons that bear on this item.",
            "in": "query",
            "name": "for",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Present: every lesson, retired ones included.",
            "in": "query",
            "name": "all",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Lesson"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The lessons worth showing, most believed first"
      }
    },
    "/api/projects/{project}/manual-tests": {
      "get": {
        "operationId": "getProjectsManualTests",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ManualWaiting"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The manual tests waiting for a person: each one not yet green, with its requirement and the check to make, live work first, then finished work"
      }
    },
    "/api/projects/{project}/position": {
      "get": {
        "operationId": "getProjectsPosition",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PositionAnswer"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The live position of the code repository the daemon was started in: its commit plus a hash of the uncommitted changes, and the changed paths"
      }
    },
    "/api/projects/{project}/prepared": {
      "get": {
        "operationId": "getProjectsPrepared",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "open (the default): only those waiting; all: every record.",
            "in": "query",
            "name": "state",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only records about this item.",
            "in": "query",
            "name": "item",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Only records about this release.",
            "in": "query",
            "name": "release",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/PreparedView"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The records Claude prepared for the person to confirm (FTR-034), newest first: each with its sources, where it stands, the person's answer and the equivalent verdict command"
      }
    },
    "/api/projects/{project}/process": {
      "get": {
        "operationId": "getProjectsProcess",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProcessStatus"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "How the project's workflow stands against the process it was applied from"
      }
    },
    "/api/projects/{project}/readiness": {
      "get": {
        "operationId": "getProjectsReadiness",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectReadiness"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "What each live item is missing, and its next stages, keyed by code"
      }
    },
    "/api/projects/{project}/releases": {
      "get": {
        "operationId": "getProjectsReleases",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReleaseReport"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The project's releases, each with what it ships"
      }
    },
    "/api/projects/{project}/releases/{version}/cut-preview": {
      "get": {
        "operationId": "getProjectsReleasesCutPreview",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The release's version, such as 1.0.",
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/CutPreview"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "What cutting a release now would ship and carry over, with nothing written"
      }
    },
    "/api/projects/{project}/releases/{version}/plan": {
      "get": {
        "operationId": "getProjectsReleasesPlan",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The release's version, such as 1.0.",
            "in": "path",
            "name": "version",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The stage to plan a move to; the next one when absent.",
            "in": "query",
            "name": "stage",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Why the release moves back, for a move to an earlier stage.",
            "in": "query",
            "name": "reason",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReleasePlan"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "What promoting a release would do, with nothing changed: the button, each step and condition, what is missing and, for the cut, what ships. The monitor reads the code repository only when started in the project folder"
      }
    },
    "/api/projects/{project}/review": {
      "get": {
        "operationId": "getProjectsReview",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/ReviewEntry"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "What is waiting for a person's agreement, in the order to ask it"
      }
    },
    "/api/projects/{project}/sprints": {
      "get": {
        "operationId": "getProjectsSprints",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "items": {
                    "$ref": "#/components/schemas/Sprint"
                  },
                  "type": "array"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The project's sprints"
      }
    },
    "/api/projects/{project}/sprints/{sprint}": {
      "get": {
        "operationId": "getProjectsSprintsOne",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The sprint's code, or `active` for the sprint in progress.",
            "in": "path",
            "name": "sprint",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SprintReport"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "One sprint's report"
      }
    },
    "/api/projects/{project}/views/docs": {
      "get": {
        "operationId": "getProjectsViewsDocs",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The folder whose markdown files are drawn (default docs).",
            "in": "query",
            "name": "root",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The most files drawn (default 60).",
            "in": "query",
            "name": "max-nodes",
            "required": false,
            "schema": {
              "minimum": 0,
              "type": "integer"
            }
          },
          {
            "description": "A position text: a commit, or a commit plus `+` and a dirty hash. A clean commit is read from the repository; a dirty position only while the checkout is at it, else a 409.",
            "in": "query",
            "name": "at",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ViewAnswer"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The markdown docs under a folder, drawn at the live position or at `at`, with an ID that repeats while the position, the board and the question repeat; an ID only when the answer is exact"
      }
    },
    "/api/projects/{project}/workflow": {
      "get": {
        "operationId": "getProjectsWorkflow",
        "parameters": [
          {
            "description": "The project's id.",
            "in": "path",
            "name": "project",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "The diagram language; only `mermaid`.",
            "in": "query",
            "name": "format",
            "required": true,
            "schema": {
              "enum": [
                "mermaid"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "text/plain; charset=utf-8": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "OK"
          },
          "400": {
            "$ref": "#/components/responses/E400"
          },
          "404": {
            "$ref": "#/components/responses/E404"
          },
          "409": {
            "$ref": "#/components/responses/E409"
          },
          "500": {
            "$ref": "#/components/responses/E500"
          }
        },
        "summary": "The workflow as a Mermaid state diagram"
      }
    },
    "/healthz": {
      "get": {
        "operationId": "getHealthz",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Health"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Liveness probe"
      }
    }
  }
}

Architecture overview

Goals & principles

  • YAML/markdown files only — no database; human-readable and version-controllable.
  • The CLI is the single writer — it edits the local data folder directly (store + dispatch + git). There is no server in the write path, no login, no accounts.
  • The view is a read-only, localhost monitor — kanbanr serve serves the read API + live SSE + the SPA over the same folder. No auth (expose beyond localhost only behind a reverse proxy). The viewer is pluggable: the React monitor, and a VS Code extension that frames it and drives the CLI.
  • Git is the sharing/centralization boundary — the data folder is a git repo; every write is a commit by the configured identity (kanbanr identity); optional remotes are pulled + pushed after each commit. Merge conflicts are left for normal git resolution — kanbanr never auto-resolves.
  • One runtime, no Docker required — a single kanbanr binary is both the writer and (via kanbanr serve) the view daemon. Docker is just one optional packaging.
  • On-disk layout mirrors the board — feature items live in a folder named after their status.
  • Multi-project — one data dir with a folder per project.

Components

flowchart LR
  subgraph dev["Developer in VS Code"]
    Claude["Claude + kanbanr skill"]
  end
  CLI["kanbanr (CLI)<br/>local writer + 'serve'"]
  Core["kanbanr-core<br/>store · dispatch · git · activity · export"]
  FS[("the board — its own git repo<br/>YAML + markdown")]
  Daemon["kanbanr serve<br/>view daemon (read API + SSE + SPA)"]
  Browser["React monitor (view-only)"]

  Claude -->|"runs commands"| CLI
  CLI --> Core
  Core <-->|"read/write (the writer)"| FS
  CLI -->|"commit + pull/push"| Remote[("git remote<br/>(sharing)")]
  Daemon --> Core
  FS -. "file change events" .-> Daemon
  Daemon -->|"JSON + SSE /api/*"| Browser
  Daemon -->|"serves built SPA"| Browser

kanbanr-core is the engine (models, store, validation, git, the activity changelog, and a dispatch router that maps (method, path, body) onto store calls — the single source of truth for data operations). The CLI links it to write the folder directly; the view daemon (kanbanr-server, a library run by kanbanr serve) links it to read. Both go through dispatch, so they agree by construction. It’s all one binary.

Core decides, the front ends act (FEAT-176). Every rule about the board lives in kanbanr-core’s public API, as functions over plain inputs, so the CLI and the daemon call the same code:

ConcernIn core
The write recipe (lock, dispatch, activity, events, commit, push)write::apply
Code-repository gitcoderepo
Commit and branch policyscm::{commit_verdict, message_verdict, branch_verdict, validate_trailers} over RepoFacts
Moving through the workflowflow::{plan_start, plan_finish}, ProjectConfig::{first_active_status, path_between, finish_target}
Test evidenceevidence::{parse_results, plan_capture, plan_stale_tests, plan_sources}
The process librarylibrary::{resolve, list, behind}, Store::process_drift, WorkflowFile::{to_request, to_yaml}
Issue-tracker mirrormirror::{enable, status, sync, link, pull} over an IssueTracker trait
checkreadiness::{check_board, check_definition_text}
Mermaid diagrams (FEAT-200)diagrams::{guard, item_findings, ItemDiagrams}, over the standalone mermaid-lint crate
Errors as HTTP statusesCoreError::status()

The front ends keep argument parsing and output, process concerns (install, self-update, the skill, the editor extension, Claude Code hooks), the gh adapter, the commit guard’s shell-line parsing, and collecting facts from outside the board — the code repository’s state, a test run’s output, git grep — which they hand to core to decide on. A test, architecture::front_ends_are_thin, fails naming the file and the rule when a front end parses board YAML, depends on git2, serde-saphyr or ears-classifier, builds a domain value by hand, or calls dispatch outside its one entry point. Every board file is read and written through kanbanr_core::yaml, which sets the YAML library’s options in one place (FEAT-187).

Two pieces have no kanbanr in them and live in standalone crates beside the engine: ears-classifier (EARS patterns and the ISO 25010 vocabulary) and mermaid-lint (FEAT-200), a dependency-free line scanner that finds the Mermaid mistakes Pele rejects — it flags only what Pele’s parse rejects, held there by a fixture checked from both sides. Core adds what is kanbanr’s: board file names, the project’s strict setting, an item’s spec and affects_docs.

The daemon’s public read routes are a versioned contract, v1 (FEAT-177). Their response types live in kanbanr-core and derive a JSON Schema behind the crate’s schema feature, which the shipped binary does not enable; kanbanr_core::openapi lists the public routes and builds an OpenAPI 3.1 document from those schemas. The document is generated into docs/src/reference/openapi.json, committed, and served as those bytes at /api/openapi.json. A contract test runs a daemon on a fixture board and validates every public route against it, and fails when the committed document and the code disagree; the monitor’s TypeScript types are checked against the same document. Every other read route is internal. See HTTP API.

Positions and views

A position names what a repository holds: a commit plus a hash of the uncommitted changes (position.rs; the text and the hash are chain decisions CD-2 of katalogr FEAT-043, and kanbanr and katalogr compute them byte for byte against one shared file, fixtures/contract/position-v1.json). It is read with git plumbing and raw blob ids, never git status: the tree, the untracked and the staged-new paths are listed by git, and the raw bytes are hashed in-process. A view (views.rs) is a function of its position, the board and the project’s facts alone, so two exact answers to one question are byte-identical; only an exact answer carries an ID (v1- and 32 hex digits, CD-3), whose facts part is the SHA-256 of the board’s HEAD commit and the project’s facts revision. The binary’s version takes no part. --at answers a clean commit from the repository’s objects with nothing checked out, and a dirty position only while the checkout is still at it; any other position is exit 6 (HTTP 409). If a file changes while a view is read, the position is read once more, and failing that the answer is not exact, has no ID, and says so in a warning.

Two facts shape what a position can see. A submodule’s own state does not move the position (its gitlink is skipped, as katalogr’s code skips it; committing a new submodule pointer does move it). Each working file is compared in its repository form, after git’s to-git conversion (core.autocrlf, core.eol, the text, eol, crlf and ident attributes), so a checkout whose line endings git converts reads clean, as katalogr reads it. Driver filters such as LFS are never run, and working-tree-encoding is not applied. Measured in a release build: one read of a clean checkout of 10,000 tracked files takes 110.7 ms (median of three, machine load about 7; SPK-001 measured 141.8 ms on a busier machine), against a budget of 200 ms; a view ID takes about 6 µs against a budget of 100 µs. A debug build is slower (224 ms) and its test prints the figure and asserts nothing.

Runtime: one writer, a read-only view, git

sequenceDiagram
  participant C as Claude (skill)
  participant K as kanbanr (CLI, writer)
  participant R as board repo (sibling)
  participant D as kanbanr serve (view)
  participant B as Browser (monitor)

  B->>D: GET /api/projects/:p   (no auth)
  B->>D: open SSE /api/projects/:p/events
  C->>K: edit (add feature / move / task …)
  K->>R: dispatch → write YAML/md, append today's activity file, git commit
  K->>R: pull + push remotes — best-effort, conflicts left for normal git
  R-->>D: file change event (notify)
  D-->>B: SSE changed event → refetch live
  • No accounts, no JWT. The writer is you on your machine; the view is a localhost read-only window onto your files. Access control for sharing is the git remote’s job (e.g. GitHub decides who can pull/push the data repo).
  • Identity for commits comes from the data repo’s git config (kanbanr identity --name --email), else the user’s own git identity, the same in every write — the first commit included. With neither, kanbanr refuses the write rather than commit as a placeholder.
  • Git uses git2/libgit2, statically linked — no external git binary. Sync is best-effort and never blocks a write; a conflict aborts the merge cleanly and is resolved with normal git in the folder.
  • Exposure. kanbanr serve binds 127.0.0.1 by default and has no TLS/auth by design. To reach it from another machine, leave the bind alone and put it behind a reverse proxy that terminates TLS and adds auth (Caddy/nginx examples in the monitor chapter).

Agent scopes on the write path

Every board write, from the CLI and the writes-enabled daemon alike, goes through write::apply, which first resolves the agent scope of the folder the process runs in (FEAT-214): the main checkout and a board with no scopes are unscoped and behave as before; an agent’s worktree with a valid scope bound to it is scoped; an agent’s worktree without one is refused. Under the write lock and before dispatch, a scoped write must be one of the scope’s operations, on its item, on a board with no changes made outside kanbanr; a task change holds the item’s auto-advance. After dispatch it is recorded as the person, by the agent: on the activity entry, the events and the board commit’s Agent-Scope: trailer, and the board is not pushed.

The same scope is checked where writes do not go through write::apply: the CLI’s command gate classifies every command (an exhaustive match) and refuses, in an agent’s worktree, those that change kanbanr itself or write outside the board’s write path; the commit-msg and pre-commit hooks and the Claude Code guard hold commits to the scope’s branch and item; the pre-push hook, the guard and the board sync refuse every push. A board that holds scopes is always governed, wherever it is; only a board in the system temporary directory that holds none is exempt, so the test suite runs in an agent’s worktree as anywhere else, and pointing TMPDIR at the real board does not lift its scopes.

The rules: one engine for what is missing

Whether an item may move, what kanbanr check reports, what doctor warns about, what check --file holds a pull request to, what query --gap finds and what the monitor’s chips say are all one question: what does this item lack against a list of conditions? readiness.rs answers it, once, for every surface — they used to carry five copies of the rule, and the copies had drifted apart.

  • Checks are a closed vocabulary kanbanr can evaluate from the board alone: definition, statement, goals, zachman (optionally named dimensions), requirements, ears, tests_named, tests_green, approved, estimated, in_sprint, in_release, and named sign-offs. No process semantics are hard-coded and no user code runs (ADR-0010).
  • Gates (config.yaml → gates) say which checks a stage asks of an item entering it, whether a gap blocks or only warns, which sign-offs it needs, whether it makes the branch, and whether reaching it counts as done for the sprint. A board with no gates gets the old rule synthesised — approval to start, the readiness list to finish — so it behaves exactly as before, and is stamped schema 3 only once it declares any, so an older binary refuses it instead of ignoring its gates.
  • Agreement is pinned to content. An approval or a sign-off records the definition’s revision; changing or removing approved text lapses it, and adding to the definition keeps it until the next decision. A move made past a gate with --override records why, and ratify agrees to it afterwards.
flowchart LR
  G["gates (config.yaml)"] --> E["readiness engine"]
  F["item: definition, tests, sign-offs, sprint, release"] --> E
  E --> M["move / start / finish"]
  E --> CK["check · doctor · check --file · query --gap"]
  E --> UI["monitor chips · review queue"]

Cadence: sprints, releases and the burndown

Sprints and releases are off unless a project switches them on (config cadence). Sprints live in sprints.yaml and releases in releases.yaml, beside the project; an item records the sprint and release it is planned into. Nothing about progress is stored: the burndown is derived from the moves items recorded — each day’s remaining is the sprint’s scope less what had reached a stage counting as done (an end status, or one whose gate says done, like Scrum’s Done) — and velocity from the sprints that closed. release cut ships what is finished, writes the notes as a board document, and carries the rest to the next release, recording that it did.

A release also has a stage (cadence.release_stages, by default candidate → test → staging → production) and the history of its moves, each with who and when. release promote moves it (releases::promote). The first and last stages act on the project’s code repository through coderepo, which shells out to the developer’s own git: the first makes release/<VERSION>, the last is the cut. The cut checks everything it can first — no uncommitted changes, the branch present, the tag absent, main an ancestor of the release — then tags the release tip and fast-forwards main to it, then cuts the board; if the board step fails, the tag is deleted and main put back. The CLI passes the repository it runs in, the daemon the one it was started in when that folder’s marker names the project; without one, those two stages are refused. Nothing is pushed.

The data model

Data model

erDiagram
  PROJECT ||--o{ MILESTONE : has
  PROJECT ||--o{ FEATURE : has
  PROJECT ||--o{ DOC_FOLDER : has
  MILESTONE ||--o{ MILESTONE : "depends_on (DAG)"
  MILESTONE ||--o{ FEATURE : "groups (required)"
  FEATURE ||--o{ TODO_LIST : "todo-lists (epic)"
  TODO_LIST ||--o{ TASK : tasks
  DOC_FOLDER ||--o{ DOC_FOLDER : "nested"
  DOC_FOLDER ||--o{ DOC_FILE : contains

  PROJECT {
    string name
    string description
    list statuses
    string default_state
    map transitions
    list displayed_states
    list no_op_states
  }
  FEATURE {
    string code
    string title
    string status
    string milestone
    string specification
  }
  TODO_LIST {
    string code
    string description
    string created_at
  }
  TASK {
    string key
    string text
    enum state
  }
  MILESTONE {
    string code
    string name
    list depends_on
  }
  DOC_FOLDER {
    string path
    string name
    string description
  }
  DOC_FILE {
    string path
    string title
  }
  • Status is a configurable label; transitions is a map from → [allowed to]; displayed_states is the ordered subset the dashboard shows; default_state is the status a new feature starts in. no_op_states flags statuses that are inert dispositions (e.g. “No Action”, “Not Applicable”, “Out-of-Scope”): always non-displayed (kept disjoint from displayed_states), and a feature in a no-op state does not auto-advance to Completed.
  • Permanence / referential integrity: feature items are never deletable (the work is permanent). A milestone can be deleted only when unreferenced; a status removed only when no feature is in it; a project deleted only when it has no features and no milestones — so any project with work is locked from deletion.
  • A feature’s milestone is required. A feature acts as an epic: it holds many persistent todo-lists (one added per work session), each with its own tasks (keys unique per list). TASK.state is NotStarted | InProgress | Completed; when every task across ALL the feature’s todo-lists is Completed, the feature auto-advances to a “Completed” status when allowed. Todo-lists are displayed newest-first; the status page shows only the not-fully-completed ones.
  • There is no Schedule entity. A “schedule” is derived: for a status, the milestones holding features in that status (dependency-ordered).
  • A FEATURE’s code is its identity and filename. Where the project’s codes map kinds to prefixes (FEAT-217), a new item’s code takes its kind’s prefix (DEF-001, MNT-001), with a counter per prefix — kinds sharing a prefix share its counter; otherwise it is FEAT-<n>. A code is never renamed when the item’s kind changes: it is in branches, trailers and links.

Agent scopes

A scope (FEAT-214, agentscope.rs) says what one sub-agent may do: a role (design reads only; build may set its item’s task states and test evidence, and commit on its item’s branch), the item, the operations the role carries (task.state, test.state, commit), the build item’s branch and its base at issue, who issued it and when, when it expires (8 hours by default, 72 at most), and, once claimed, the worktree it is bound to. Revoking it records who, when and why. Its state is derived from those fields and the clock: issued, active, expired or revoked (revoked wins). Scopes are kept in projects/<id>/scopes.yaml; the worktree keeps only a pointer to its scope.

A task records changed_at, when its state last changed: a build scope’s own non-merge commits newer than its item’s last change, that no line already holds, are its drift. An activity entry and an event made under a scope carry by_agent: {scope, role, item}. All three fields are optional, so an older board reads unchanged and an older binary keeps changed_at through its unknown keys.

Activity changelog

Each write appends an entry to projects/<id>/activity/<YYYY-MM-DD>.yaml — {time, actor, message, item}, where actor is the commit identity and message a short description of the change. Events (FEAT-036) are stored the same way under events/.

Nothing is ever trimmed (FEAT-066). An earlier version kept one capped file, which meant the log quietly discarded its own oldest entries — and a retrospective reading a wave that had aged out reported “no recorded moves”, which reads as nothing happened rather than the evidence was deleted. One file per day instead: a read walks the days newest-first and stops once it has enough, so bounding the read costs nothing while the raw record stays complete. Summaries are derived from it; it is never derived from them.

The view daemon serves it at GET /api/projects/:p/activity, and the monitor renders a “Recent activity” panel. It is plain data in the folder (no git plumbing needed to read it) and works the same with or without a remote. (The full audit trail still lives in git history.)

Reasoning, evidence and traceability

Reasoning, evidence and traceability (MS-006)

The board above records what is being built. This layer records why it exists, what must be true, and what proves it — and, deliberately, records nothing it cannot derive.

The graph

charter.purpose
  └── G-2  goal
       └── FEAT-046  item              definition.goals: [G-2]
            ├── R-2  requirement        (EARS text, ISO tag, measured scenario)
            │    └── test               (planned → red → green, stamped with checked_rev)
            ├── FEAT-058  defect        violates: FEAT-046/R-2   introduced_by: FEAT-046
            ├── design/mirror.md        refs: [FEAT-046, R-2, G-2]
            ├── ADR-0003                affects: [FEAT-046]  driven_by: [FEAT-046/R-2]
            └── code / commits          // … (FEAT-046 R-2)  ·  Refs: kanbanr:FEAT-046/R-2

Three rules keep it from rotting:

  1. The manifest is canonical — board yaml, document front-matter, and the commit trailer. An id that does not resolve is an error, like a dangling dependency.
  2. Inline annotations are a derived convenience — (FEAT-046 R-2) on the module or function that owns the behaviour. They survive the refactors that destroy git blame; they are never the only record.
  3. Views are derived, never stored (ADR-0002). kanbanr trace --json generates the traceability manifest for CI or an audit; nothing writes it back. A stored manifest would be a third copy of links that already exist, and the copy that goes stale first.

Modules

ModuleWhat it owns
charterthe project’s purpose and goals — a side file, absent by default
earsthe five EARS patterns and the nine ISO/IEC 25010 characteristics; classifies, never rejects
doctorevery structural check, all warnings except broken references; scoped so it stays readable
reportflow and quality derived from history, defects and test states
retroa wave’s account, with changelog-derived spans reported apart from measured ones
lessonswhat was learned, with confidence that decays unless reaffirmed
scmthe trailer grammar, branch naming and reference validation
adrdecisions as documents with front-matter; supersede is the one two-sided link
tracethe downward chain and its gaps, and the derived Zachman view
query, graph, gantt, portfolio, mirror, eventingsearch, dependencies, scheduling, rollups, the GitHub mirror, notifications
validate, hash, error, docsid generation, stable hashing, error taxonomy, the doc tree

Two deliberate asymmetries

Approval is pinned to content, not to time. definition.approval.rev is a stable hash of the definition with the approval itself and the test states excluded — recording evidence must not lapse an approval, but changing scope must. Changing or removing approved text after a yes therefore reports “approval lapsed”, which is a different thing from “never approved”. Adding to the definition does not lapse it: the approval also records a hash per part, and when every approved part is unchanged and only new ones were added, the approval is extended and the additions are reviewed at the next decision (FTR-018).

The gates refuse two things and warn about everything else. A reference that names something the board does not have, and a commit that names nothing, are refused — both fixable in the message the author is already writing. Everything else warns, because a check that blocks legitimate work gets bypassed wholesale (ADR-0004), and a check that fires on everything gets ignored.

Workflow contract (how Claude uses it)

kanbanr is designed to be the single system of record for a project’s activity — the only project information that stays outside it is the raw conversation transcript. The skill (skill/kanbanr/SKILL.md) encodes the behavioral contract: adopt kanbanr for the whole project on one trigger phrase (“start using kanbanr for this project”); never track work in an ephemeral/in-session list (use persistent todo-lists on feature items); recover/resume state from kanbanr at the start of each session; keep it updated before and after every task; review a feature’s spec for staleness when moving it out of Deferred; never delete feature items (move them, e.g. to a no-op state); model every kind of work as a work item (feature/chore/recurring, ongoing items in a non-displayed status); and prefer one batch call to bundle changes. The durable, file-backed data model makes the project resumable across sessions by design.

The monitor’s navigation map

Web navigation map

flowchart TD
  Home["/  Home — project tiles (dashboard + status + docs links)"]
  Board["/p/:project  Board (columns = displayed states)"]
  Status["/p/:project/state/:state  Status page (grouped by feature → tasks)"]
  Feature["/p/:project/feature/:code  Feature page (Specification + Tasks + export)"]
  Ms["/p/:project/milestones  Milestones list"]
  MsOne["/p/:project/milestone/:code  Milestone (depends-on + feature tiles)"]
  Sched["/p/:project/schedule  Schedule (derived: milestones per status)"]
  Docs["/p/:project/docs  Documentation tree"]

  Home --> Board --> Status --> Feature
  Board --> Feature
  Board --> Ms --> MsOne --> Feature
  Board --> Sched --> MsOne
  Home --> Docs

The meta route

GET /api/meta answers what the daemon can do (writes, identity, schema_version) and which kanbanr it is: version and commit of the running build, board_writer (the record in the board’s writer.yaml, or null) and writer_newer, true when that writer is newer than the running build (a higher version, or the same version with a commit that descends from the running one in the code repository). The page header shows the build and, when writer_newer, a warning (FTR-036). Every board write stamps writer.yaml in its own commit; the monitor never does.

Testing

Testing

Testing is two-layered:

  • Unit tests (kanbanr-core): the dispatch router, transition validation, code generation, milestone DAG cycle detection, all-tasks-done auto-complete (across todo-lists), status-folder file moves, milestone-required.
  • Layer 1 — functional integration (api/crates/kanbanr-cli/tests/): the real coverage, no Docker. local_mode.rs drives the real kanbanr CLI writing an ephemeral data dir under the build output (CARGO_TARGET_TMPDIR) — create/move/todo/task, auto-complete, init, identity, and that the data dir is a git repo committed under the configured identity. view_daemon.rs then runs kanbanr serve over that folder and asserts the read API + the activity endpoint serve it with no auth.
  • Build provenance (api/crates/kanbanr-cli/tests/build_stamp.rs): #[ignore]d; clones the repository into a scratch folder, adds a linked worktree, checks the CLI twice around an empty commit and reads the stamp the build script emitted. Run by make ci and the Linux CI leg as the step ‘Build stamp follows HEAD in a worktree’.
  • Layer 2 — packaging smoke (api/crates/kanbanr-cli/tests/integration.rs): uses the docker CLI (driven directly, no test-container crate) to confirm the real Docker image boots, scaffolds a project, and serves the read-only view (no auth). It does not re-test business logic (that’s layer 1). #[ignore]d (needs Docker + image); run with make itest.

Contributing to kanbanr

Thanks for your interest! kanbanr is a personal open-source project — maintained best-effort, friendly to contributors, no SLA. Small fixes and focused features are very welcome; please open an issue before large changes so we can agree on the approach.

What kanbanr is (so contributions fit the design)

One binary. kanbanr is the only writer — the CLI edits a git-backed data/ folder directly (driven by a Claude skill). kanbanr serve runs a read-only view daemon (localhost, no auth, no accounts) over the same folder. Sharing is delegated to git remotes. Keep this split intact:

  • All writes go through kanbanr-core (the engine: store · dispatch router · git · activity). The CLI and the daemon both call core; don’t add a second write path.
  • The web UI and the serve daemon never mutate data. They read and stream. New “actions” in the UI should be read-only (e.g. export).
  • Data is human-readable YAML/markdown; no database.

See Architecture overview for the full architecture.

Prerequisites

  • Rust stable (rustup), with rustfmt and clippy.
  • Node 22+ and npm (for the web SPA).
  • A C toolchain for the vendored libgit2 + OpenSSL build: cmake, make, perl, and a C compiler (gcc/clang). On Debian/Ubuntu: sudo apt-get install -y cmake make perl gcc. On macOS: brew install cmake (perl ships with macOS). On Windows: cmake + Strawberry Perl on PATH.

    The first build compiles vendored C from source and is slow (a few minutes); it’s cached afterward. This is expected, not a hang.

Build, test, lint

From the repo root (the Makefile wraps the common flows):

make build          # cargo build --release (api/) + web build
make test           # cargo test --workspace (unit + Docker-less integration)
make install-cli    # build the monitor, then install the CLI with it and the skill baked in
make itest          # packaging smoke: build the image + Docker smoke test (needs Docker)

Tests never touch a real board. Cargo sets KANBANR_BOARD_FENCE=temp for everything it runs in api/ (api/.cargo/config.toml), and any board outside the system temporary directory stops the process before it is read or written. Keep every test’s scratch folder in std::env::temp_dir(); the build tree is inside this repository, under its .kanbanr marker, and a test there would find the real board. make ci also checks that your board did not change while it ran — apart from approvals and sign-offs you give in the meantime, scopes you issue or revoke, and a sub-agent’s task and test updates on its own item under an active scope, which it reports and lets through; that includes the test results a sub-agent’s capture hook records from a run in its worktree, which carry the agent’s scope trailer. The fence covers cargo run in api/ too: run target/debug/kanbanr against a real board instead.

make ci builds the release image with --pull and a build argument that changes on every run, so the image’s package layer is never taken from Docker’s cache and a fixable finding is never hidden by an old one. It also refuses a tracked *.orig or *.rej file, which a merge tool leaves behind.

make ci also records its verdict as the gate local for HEAD (kanbanr gate record local): a failure always, a pass only when the working tree is clean. A project that wants its local run required adds local to kanbanr config commit-gates.

Run the same checks CI runs before opening a PR — all of them, in one command:

make ci

It copies the tracked tree to a clean folder (~/.cache/kanbanr-ci/tree, with its own build cache) and runs every CI check that can run off GitHub, reading each step’s script from the workflow file itself, plus actionlint and a check that every action the workflows use exists. It ends by listing what only GitHub can verify: the macOS and Windows legs, uploads and publishing. It needs Docker (for actionlint and PowerShell), an authenticated gh, shellcheck, and the mdbook version pinned in docs.yml, and cargo-deny, cargo-audit + cargo-cyclonedx (cargo install cargo-deny cargo-audit cargo-cyclonedx --locked). The individual checks, if you want one:

cd api && cargo fmt --all --check          # formatting
cd api && cargo clippy --locked --workspace -- -D warnings   # lints (warnings are errors)
cd api && cargo test --locked --workspace
cd web && npm ci && npm run build          # web type-check + build

Run the app locally to try your change:

make serve          # builds the SPA + serves the read-only monitor on http://localhost:8080

Diagrams

Diagrams are ```mermaid blocks, drawn by Pele in the reader’s browser: the book loads the committed docs/pele.global.js, and the monitor bundles the same version. Both colour a diagram from the current theme (docs/pele-theme.css for the book’s five themes, the .mermaid-diagram rule in web/src/styles.css for the monitor’s light and dark), so switching theme needs no re-render. npm run check:docs draws every diagram in the docs, the README and the skill with that Pele and fails on one it cannot draw.

Pele is pinned to an exact version in web/package.json. To update it, change the pin, run npm ci in web/, then tools/docs/pele.sh to copy its build into the book, and check every diagram again (npm run check:docs, and a look at the book and the monitor in light and dark). check:docs fails while the book’s copy differs from the pinned package.

Coding conventions

  • Rust: cargo fmt + clippy clean (no warnings). Match the surrounding style; comments explain why, not what, at the density of the file you’re editing.
  • TypeScript/React: the UI is read-only and plain (fetch + EventSource); no state libraries. Keep components small and typed.
  • Prefer a single kanbanr batch / dispatch route over bespoke one-off code paths.
  • Board files: read and write them through kanbanr_core::yaml (from_str, to_string), never a YAML crate directly. It sets the library’s options in one place. A stored revision hashes kanbanr_core::hash::canonical_json of the record, never its YAML text, so a change of writer never lapses an approval (FEAT-187).
  • Update tests for behavior changes; kanbanr-core is where the engine tests live.
  • Update the relevant docs (the Using kanbanr and Architecture chapters, the skill) when you change a contract.
  • A change to a surface Stability lists as stable says so in its item and its changelog entry, and never breaks it outside a major version.

The bar: say why, and show it works

kanbanr asks the same thing of a contribution that it asks of its own maintainer, because this project’s board is the demonstration that the method works — a change that skipped it would break the demonstration. The bar is one sentence long:

State why the change exists, and prove each requirement with a test that actually passed.

In practice, the PR template has a Definition block. Fill it in:

  • A statement — what the change gives whom, and why. One sentence.
  • The six dimensions — what / how / where / when / who / why, a line each.
  • Requirements in EARS form (WHEN … THE SYSTEM SHALL …), each with the test that proves it, named exactly as your test runner prints it.
  • Leave what you don’t know blank. A blank is reported and can be filled; an invented answer reads like rigour and is worse than nothing. If something is genuinely ambiguous, ask in the issue rather than guessing.

You do not need the board to do this. kanbanr check --file definition.yaml validates a definition on its own, which is what CI runs on your PR — no board access required.

Reading the project’s board

The board itself is public: https://github.com/startr-trade/kanbanr-board. Clone it beside this repository — the committed .kanbanr points at ../kanbanr-board — and the whole method is there to read:

git clone https://github.com/startr-trade/kanbanr-board ../kanbanr-board
kanbanr board                        # what is planned, in progress and done
kanbanr ready                        # what can be picked up now
kanbanr feature show FEAT-128        # why an item exists, and how it was verified
kanbanr why api/crates/kanbanr-cli/src/main.rs:120   # the item and requirement behind a line
kanbanr serve                        # the live monitor

Before you change something, kanbanr why on the lines you are touching names the requirement they serve; your definition should say whether you keep it, change it, or add one beside it. Only the maintainer writes to the board: a contribution’s definition travels in its pull request, and the maintainer records it on the board when the pull request is merged.

A worked example

A real change from this project’s own history, end to end. The defect: ticking an item’s last task auto-completed it without recording the status change, so cycle time was blind to the normal way items finish.

statement: "A recorded transition for every status change, however it happened, so that flow numbers
  describe the items that finished normally rather than only the ones moved by hand"
goals: [G-2]
zachman:
  what: "The history entry an auto-completion did not write"
  how: "The auto-complete branch appends the same Transition a manual move does"
  where: "kanbanr-core/src/store.rs, set_task_state_on"
  when: "Whenever the last open task of an item is completed"
  who: "Anyone reading cycle time, which was blind to the normal path"
  why: "Auto-completion is how most items reach a terminal status, so the measurement was missing
    precisely where it mattered"
requirements:
  - kind: functional
    text: "WHEN completing a task auto-completes its item, THE SYSTEM SHALL append the same
      transition a manual move records."
    tests:
      - name: tests::auto_completion_records_the_move_like_any_other
        kind: unit
        state: green
  - kind: functional
    text: "WHEN a status is renamed, THE SYSTEM SHALL leave the items' histories unchanged."
    tests:
      - name: tests::auto_completion_records_the_move_like_any_other
        kind: unit
        state: green

The commit that followed carried Refs: kanbanr:FEAT-061/R-1 in its trailer, and the test named above is the one that ran. That is the whole shape: a reason, a requirement, a test, a reference.

A note on this project’s own board. Items created before the method was adopted have no definition, and kanbanr doctor deliberately does not report them. The board reads as adopted, not abandoned — everything from that point on meets the bar above.

Commits & pull requests

  1. Fork, branch off main (feature/short-name or fix/short-name).
  2. Keep commits focused; write clear messages (imperative mood: “Add …”, “Fix …”).
  3. Reference what the change serves in the commit trailer: Refs: kanbanr:FEAT-046/R-2 if you know the item, or describe it in the PR if you don’t have the board.
  4. Optionally sign off your commits (git commit -s) to certify the Developer Certificate of Origin.
  5. Make sure make ci is green, and that every requirement in your definition has a green test.
  6. Open a PR; fill in the template, definition included; link any issue.

Licensing of contributions

kanbanr is dual-licensed MIT OR Apache-2.0 (see LICENSE-MIT and LICENSE-APACHE). Unless you state otherwise, any contribution you intentionally submit for inclusion is licensed under those same terms, per section 5 of the Apache-2.0 license, with no additional terms or conditions.

Reporting bugs / requesting features

Use the GitHub issue templates. For anything security-sensitive, do not open a public issue — follow SECURITY.md.

kanbanr — Roadmap

Features are frozen until 1.0. The 0.1.x line takes fixes, documentation, and the work that makes the 1.0 promise checkable. That work is milestone MS-009, “1.0.0 — General availability” on the public board: the stability policy, installers proven on every platform, old versions keeping fields they do not know, and a soak of at least three weeks after v0.1.2 with nothing stable broken. New features resume in 1.x.

The board is the roadmap. This file used to duplicate it — milestones, the features under each, and a “won’t do” list — and a duplicate of live state is a document that is wrong the moment something moves. Everything it held now lives where it is maintained:

What you wantWhere it is
What is planned, in progress and donekanbanr board — or the monitor, kanbanr serve
The milestones and their orderkanbanr milestone list (a dependency DAG) · kanbanr critical-path
What can be started right nowkanbanr ready · what is waiting: kanbanr blocked
Why the project exists, and what it will not dokanbanr charter show — the non-goals section
Why an item exists and how it will be verifiedkanbanr feature show <CODE> · kanbanr trace <CODE>
Why the architecture is the way it iskanbanr adr list
How the last wave actually wentkanbanr retro <MS-00x>

A released version’s scope is in CHANGELOG.md, which is the roadmap’s durable half: it says what shipped rather than what was hoped for.

If you are reading this in a published repository without the board beside it, the CHANGELOG is the honest summary. The board is a separate git repository (<repo>.kanbanr) because it is the project’s working memory, not part of the shipped artifact.

Stability: what 1.0 promises

From 1.0.0, kanbanr follows Semantic Versioning on the surfaces below: nothing listed as stable changes incompatibly before 2.0. This page is that promise, written down so you can rely on it and contributors can check a change against it (ADR-0012 on the board records the decision).

Until 1.0.0 nothing is promised: a release may add to any surface below, and the changelog says what changed. schema_version still guards a board: an older kanbanr refuses a board it would misread.

Stable from 1.0

SurfaceWhat is kept
The board on diskThe folder layout (projects/<id>/ with config.yaml, charter.yaml, features/<status>/<CODE>.yaml, milestones/, docs/, lessons.yaml, sprints.yaml, releases.yaml, scopes.yaml), the board’s saved processes (processes/<name>.yaml), and the meaning of every documented field. A board written by any 1.x opens in every later 1.x.
config.yamlStatuses, transitions, gates and their check vocabulary, cadence settings (including release_gates and release_prepare), codes, schema_version, and the process record of where the workflow came from. A workflow file you wrote for 1.0 loads in every 1.x.
Process filesThe workflow file format, its process: header (name, description, version), and the personal library’s place, ~/.kanbanr/processes/ (or KANBANR_PROCESSES_DIR).
The .kanbanr markerIts fields (project, data_dir) and how the board is found from it.
CLI commands and flagsEvery documented command and flag keeps its name and meaning. Exit status: 0 on success and non-zero on failure, with kanbanr check (and check --file) exiting non-zero when something is missing, so scripts and CI can rely on it.
--json outputEvery field a command’s --json prints keeps its name, type and meaning.
The read APIVersion 1 of the public read routes kanbanr serve answers: the routes, parameters, media types, fields and documented values that its OpenAPI document (GET /api/openapi.json) describes. A breaking change is published as v2 under /api/v2/…, with v1 kept for a deprecation period.
The Claude Code integrationThe commit trailers (Refs: kanbanr:FEAT-… and Agent-Scope:), the hook commands the skill and plugin register (including the pre-push hook), and kanbanr skill install / hooks install writing them where Claude Code finds them.

Experimental in 1.0, stable from 1.1

These are days old and have had no outside use, so 1.0 does not promise them. They are promised stable from 1.1 (the maintainer’s decision, 3 November 2026). Until then they may change, with the changelog saying so.

SurfaceWhat it covers
Agent scopesscopes.yaml, the kanbanr scope commands and the Agent-Scope: trailer.
Release stagesThe release_stages, release_gates and release_prepare settings, and the kanbanr release commands that use them.
Kind codesThe codes setting and the --kind flag that picks an item’s prefix.

Not covered

  • Human-readable output — the wording, layout and colour of what commands print for people. Parse --json, not the text.
  • The monitor’s look — its pages, layout and URLs other than /api/….
  • The daemon’s internal routes — the reads it answers that the OpenAPI document does not list (see HTTP API), and its write routes.
  • The skill’s wording — how SKILL.md phrases its guidance to Claude, as long as the commands it drives keep working.
  • Internal crates — kanbanr-core, kanbanr-server and kanbanr-cli are not libraries; they are not published, and their Rust API changes freely. (ears-classifier and mermaid-lint are standalone, and versioned on their own.)
  • Positions, view IDs and the katalogr contract — kanbanr position, kanbanr view, the position and view routes, and the position text and view ID formats shared with katalogr, until they are used (ADR-0014).
  • Anything marked experimental in its own documentation.
  • Undocumented behaviour, including the order of items where no order is documented.

How things change

  • Additions come in minor versions: a new command, flag, --json field, gate check or board field. An older kanbanr reads a board with fields it does not know, and when it rewrites the file (a move, a task, an edit) it writes those fields back unchanged — so machines sharing a board can run different 1.x versions without one deleting what another recorded. See the next rule for a newer format.
  • A newer board is refused, never misread. A board that needs a newer kanbanr says so with its schema_version, and an older binary refuses to open it rather than silently ignoring what it does not understand. schema_version rises only when an older binary would misread a board. Gates once stamped a board 3 and role labels 4. Schema 5 changed how every revision is computed, so every board is now stamped 5.
  • Revisions are canonical. The rev stored by an approval, a sign-off or a project’s process record is a hash of the record’s canonical JSON: compact, with every key sorted. It does not depend on how the YAML is written, so quoting, indentation or a new YAML library never lapses an approval. Schema 5 introduced this (FEAT-187). A board from before schema 5 is refused by every command until kanbanr migrate has run. The migration re-pins each revision from the board’s own history, in one commit; see Upgrading a board to schema 5.
  • Deprecation before removal. Something stable is first deprecated in a minor release — the changelog says so, and using it prints a warning naming its replacement — and is removed only in the next major version.
  • Fixes may change behaviour that was wrong. A patch release can change behaviour that contradicted this documentation; the changelog says what changed and why.
  • Security fixes come first. If keeping a surface would keep users exposed, it changes in a patch release and the changelog says so plainly.

For contributors

A change that touches a stable surface says so in its board item and in the changelog entry. If it would break one, it waits for the next major version — or it is redesigned as an addition. When unsure, ask on the item before building it.

kanbanr — Open-Sourcing & Release Guide

A concrete, checklist-style path to publishing kanbanr publicly and keeping it maintainable — sized for a personal open-source project (one maintainer, friendly to contributors), not a foundation-governed one. Pair with ROADMAP.md and the board’s own assessment (kanbanr doc show notes/assessment.md).

Status today (updated): the workspace is now relicensed MIT OR Apache-2.0 with LICENSE-MIT + LICENSE-APACHE files; CONTRIBUTING.md, SECURITY.md, CODE_OF_CONDUCT.md, CHANGELOG.md, THIRD_PARTY.md, GitHub issue/PR templates, a CI workflow and a release workflow all exist. What’s left is mostly your work: reserve names, create accounts/tokens, fill two placeholders, add screenshots, and cut the first tagged release. Checked boxes below mark what’s already in the repo.

Placeholders: filled. The GitHub owner is startr-trade (README, this file, templates, workflows, manifests), and the contact address in CODE_OF_CONDUCT.md and SECURITY.md is kanbanr-oss-support@startr.trade. The copyright line in LICENSE-MIT / LICENSE-APACHE and the authors field in api/Cargo.toml deliberately read the kanbanr authors — change it only if you want a personal name on the licence.

# Forking this under a different owner? One pass replaces every reference:
grep -rl 'startr-trade' . --exclude-dir=.git --exclude-dir=node_modules --exclude-dir=target \
  | xargs sed -i 's/startr-trade/YOUR_GITHUB_OWNER/g'

Accounts, keys & credentials you’ll need (start here if this is your first OSS project)

Open-sourcing kanbanr means publishing to a few different services. Each needs an account and usually a token — a long secret string that proves you’re allowed to publish. You create the token once on the service’s website, then either paste it into your terminal (for a one-off manual publish) or store it as a GitHub Actions secret (so the automated release workflow can publish for you). Never paste a token into a file that gets committed.

The golden rules (these are the “measures” to take):

  • Turn on 2FA (two-factor auth) on every account below. crates.io and npm now require it to publish.
  • Use a password manager for accounts + tokens.
  • Scope tokens narrowly and give them an expiry. A publish token should only be able to publish.
  • Prefer “Trusted Publishing” where offered (crates.io and npm support it): instead of a long-lived token, GitHub Actions proves its identity to the registry over OIDC at publish time, so there’s no secret to leak. You set it up on the registry’s website by naming your GitHub repo + workflow. This is the modern best practice — use it if you can; the token method below is the fallback.
  • Store automation tokens only in GitHub → your repo → Settings → Secrets and variables → Actions → New repository secret. Workflows read them as ${{ secrets.NAME }}; they’re masked in logs and never shared with pull requests from forks.
  • Rotate (regenerate) a token immediately if it ever leaks, and treat anything that touched a commit as already leaked.

What each destination needs

DestinationWhat it’s forAccountCredential to createWhere it lives
GitHubHosts the repo, runs CI, stores release binaries, serves the plugin marketplacegithub.com (free) + 2FAan SSH key for git push; CI’s GITHUB_TOKEN is automaticSSH key on your laptop (~/.ssh); GITHUB_TOKEN is injected into Actions — nothing to store
crates.ioPublishes the standalone ears-classifier and mermaid-lint libraries — the only crates that are published. kanbanr itself is not on crates.io (see §5)crates.io (log in with GitHub) + 2FAan API token, or set up Trusted PublishingCARGO_REGISTRY_TOKEN secret, or none (Trusted Publishing)
GHCR (GitHub Container Registry)Publishes the Docker image so docker run ghcr.io/startr-trade/kanbanr worksyour GitHub accountnone — Actions uses the automatic GITHUB_TOKEN (packages: write)nothing to store; locally use a PAT with write:packages
Claude Code plugin marketplaceLets users claude plugin install kanbanryour GitHub accountnone — it’s just your public git reponothing — users add the repo URL
VS Code Marketplace (only when you ship the extension — editor/vscode/)Publishes the VS Code extensionAzure DevOps account (free) + a publisher at marketplace.visualstudio.com/managea Personal Access Token scoped Marketplace → ManageVSCE_PAT secret
Open VSX (optional, open-source VS Code registry)Same extension for VSCodium/Cursor/etc.open-vsx.org (log in with GitHub), and claim the kanbanr namespacean access tokenOVSX_PAT secret + PUBLISH_OPENVSX=true variable
npm (probably NOT needed)Only if you ever publish the web UI as a reusable package — kanbanr bundles it into the binary, so you likely just reserve the namenpmjs.com + 2FAan Automation tokenNPM_TOKEN secret

You don’t need every row. For a first release the essentials are GitHub (always: it hosts the release archives and the installers) and GHCR (for docker run). crates.io is only for ears-classifier. The Claude plugin needs nothing beyond a public repo. VS Code / Open VSX / npm can come later.

Step-by-step: creating each credential

GitHub SSH key (to push code) — on your laptop:

ssh-keygen -t ed25519 -C "you@example.com"   # press Enter for defaults; set a passphrase
cat ~/.ssh/id_ed25519.pub                     # copy this line

Paste it at GitHub → Settings → SSH and GPG keys → New SSH key. Test: ssh -T git@github.com.

crates.io API token (to publish ears-classifier and mermaid-lint):

  1. Sign in at crates.io with GitHub; enable 2FA.
  2. Account Settings → API Tokens → New Token. Name it kanbanr-release; scope to publish-update (plus publish-new for the very first publish); set an expiry.
  3. Manual publish: cargo login then paste it (stored in ~/.cargo/credentials.toml — never commit).
  4. Automated publish: add it as the CARGO_REGISTRY_TOKEN secret and set repo variable PUBLISH_CRATES=true (the release workflow’s crates job is guarded on that). It must be a variable, not a secret: vars.PUBLISH_CRATES cannot read a secret, and the job is then skipped without a word — gh variable set PUBLISH_CRATES --body true. make ci fails when a name the workflows read with vars. exists only as a secret. Better: skip the token and set up Trusted Publishing on crates.io (your crate → Settings → Trusted Publishing → add startr-trade/kanbanr + the release.yml workflow), then delete the token line. The job publishes ears-classifier and mermaid-lint only; every kanbanr crate declares publish = false, so a stray cargo publish of one of them is refused.
  5. ⚠️ A published version is permanent — you can cargo yank a bad version but never delete or reuse it. Double-check before cargo publish.

GHCR (Docker image): nothing to create — the release workflow logs in with the built-in GITHUB_TOKEN. To push from your laptop instead, make a GitHub Personal Access Token (Settings → Developer settings → PATs) with write:packages, then echo $PAT | docker login ghcr.io -u startr-trade --password-stdin.

VS Code Marketplace PAT (when you publish the extension):

  1. Create a free Azure DevOps account at dev.azure.com (Microsoft runs the VS Code Marketplace on it — counter-intuitive but required).
  2. Create a publisher at https://marketplace.visualstudio.com/manage.
  3. Azure DevOps → User settings → Personal Access Tokens → New: Organization All accessible organizations, Scopes Custom defined → Marketplace → Manage, set an expiry.
  4. Publish: npx vsce publish -p <PAT>, or store it as the VSCE_PAT secret and let CI run it. Open VSX instead (no Microsoft account): see the release checklist below — the release workflow publishes there once OVSX_PAT and PUBLISH_OPENVSX are set.

Where the automation secrets go: GitHub repo → Settings → Secrets and variables → Actions → New repository secret: CARGO_REGISTRY_TOKEN, VSCE_PAT, etc. (and the PUBLISH_CRATES variable under the same page’s “Variables” tab). The workflows reference them as ${{ secrets.NAME }} / ${{ vars.NAME }}; they never appear in logs.


0. Before you make the repo public — a safety sweep

Do this first; making a repo public (and pushing its history) is hard to undo.

kanbanr has no accounts, passwords, or tokens of its own (single-writer CLI + read-only viewer — see the architecture overview), so there are no app secrets to leak. The real risks are your own content and your publish credentials:

  • Nothing of the board ships with the source. kanbanr’s own board lives in a sibling repository beside this one (../<name>.kanbanr), which is the layout the tool recommends to everyone (FEAT-041): a board inside a checkout is one git add -A away from being committed, and a sibling cannot be. Publishing it, if you ever want to, is a separate git remote add on that repository — not a decision about this one.
  • The legacy security.yaml is gone — an inert leftover from the removed auth model (ADR-0001). It was never tracked (git ls-files | grep security.yaml prints nothing in both repositories) and the file itself has been deleted.
  • Check git remotes for embedded credentials. A remote like https://user:token@host/repo.git leaks the token — use SSH remotes; run git remote -v to confirm.
  • Grep the tree and history for anything sensitive: git grep -niE "secret|token|password|api[_-]?key|@.*\.(com|net)" $(git rev-list --all).
  • If anything sensitive was ever committed, rewrite history (git filter-repo --invert-paths --path <file>) or, simplest, start a fresh repo from a clean checkout with no prior history — then rotate the leaked credential (treat anything that touched a commit as burned).
  • Dual-licensed MIT OR Apache-2.0 — done: LICENSE-MIT + LICENSE-APACHE added and license = "MIT OR Apache-2.0" set in api/Cargo.toml (workspace). (Replace the copyright holder the kanbanr authors with your legal name/handle if you prefer; if you’d rather stay MIT-only, delete LICENSE-APACHE and set license = "MIT".)
  • (Optional) Add # SPDX-License-Identifier: MIT OR Apache-2.0 headers where convenient.
  • Name check: ears-classifier is confirmed free on crates.io — the only crate name kanbanr needs, since kanbanr itself is not published there. Its first publish claims it. (Check npm too if you’ll reserve it, plus a domain if you want one.)
  • Third-party notices documented in THIRD_PARTY.md (vendored libgit2 GPL-2.0-WITH-linking-exception + OpenSSL Apache-2.0, statically linked — fine for MIT/Apache distribution). Still to do: run cargo deny check licenses (and add it to CI) to verify nothing incompatible slipped in.

2. Repo presentation (the “front page”)

  • README polish: one-line pitch, a screenshot or short GIF of the live monitor, the 60-second quickstart, the architecture diagram (reuse the architecture overview), and a clear “is this for me?” (personal, git-backed, Claude-driven).
  • Badges: CI status, license, latest release.
  • A docs/ index linking USER_GUIDE, DESIGN, ROADMAP, this file.
  • Capture screenshots in docs/src/images/ (make screenshots) (board, feature page, status page, milestones, docs). A reproducible Selenium-Grid-in-Docker screenshot tool lives in ../tools/screenshots/ — make screenshots regenerates them all against a locally-running kanbanr serve. (No more “login” screen to capture — the monitor has no auth.)

3. Contributor & community files

  • CONTRIBUTING.md — build/test/lint commands, the design constraints (CLI is the only writer), code style, PR flow, inbound=outbound licensing.
  • CODE_OF_CONDUCT.md — Contributor Covenant 2.1. (Fill in the contact method placeholder it ships with.)
  • SECURITY.md — private reporting (GitHub advisory / email) and the actual security model: no accounts/auth, the serve daemon is read-only on 127.0.0.1, and exposing it is the operator’s job (reverse proxy + TLS). Reports go to a GitHub private security advisory or kanbanr-oss-support@startr.trade.
  • Issue + PR templates under ../.github/ (ISSUE_TEMPLATE/bug_report.yml, feature_request.yml, config.yml, PULL_REQUEST_TEMPLATE.md).
  • Support promise stated as “personal project, best-effort, no SLA” (in CONTRIBUTING/SECURITY).
  • CODEOWNERS asks the startr-trade/kanbanr-maintainers team to review every pull request. Give that team the Maintain role on the repository (Settings → Collaborators and teams): GitHub only requests a review from a team with write access or more. Requiring a code-owner review in branch protection is optional — with a single maintainer it would block your own pull requests unless admins may bypass it.
  • (Optional) Enable GitHub Discussions for Q&A (the issue config.yml links to it).

4. CI (GitHub Actions)

  • ci.yml on a push to main and on pull requests (one run per change; a newer run cancels an older one): cargo fmt --check, cargo clippy -- -D warnings, cargo test --workspace, and npm ci && npm run build for the web, with cargo + vendored-libgit2/openssl caching.
  • Run everything locally first: make ci. It runs every CI check that can run off GitHub, reading each step from the workflow files, and lists what only GitHub can verify (the macOS and Windows legs, uploads, publishing). Nothing should reach the public repository that make ci has not passed.
  • Security scanning (FEAT-130): codeql.yml (Rust, TypeScript and the workflows themselves) and trivy.yml (dependencies, committed secrets, the Dockerfile) on main, on pull requests and weekly, reporting to the Security tab; release.yml scans the image before pushing it and stops on a fixable HIGH or CRITICAL finding; ci.yml’s supply-chain job fails on a disallowed licence or a known vulnerability (cargo deny, cargo audit, npm audit). Locally: make audit, make scan-deps, make scan-image, make codeql. Code-scanning uploads need a public repository on the free plan, so they are skipped until it is public.
  • Suppressions are time-boxed. A scanner finding with no reachable fix goes in .trivyignore.yaml with its reason and an expiry date; CI refuses an entry without both, and one past its date.
  • Actions and runners are pinned. Every third-party action is pinned to a commit SHA with its version in a comment (CI refuses one that is not), and runners name an image (ubuntu-24.04, macos-15, windows-2025), not -latest, so neither changes under the project on the provider’s schedule. Both are updated deliberately — there is no Dependabot.
  • Once public: Settings → Actions → General → “Require approval for fork pull request workflows” (all outside collaborators), so no workflow runs on an outsider’s pull request until a maintainer has read it; and consider requiring code-scanning results in the main ruleset once the first scans are clean.
  • Cross-platform matrix (ubuntu/macos/windows) for cargo test — already in ci.yml.
  • Image build + GHCR push on tags — handled by release.yml (see §5), so a separate docker.yml isn’t needed.
  • (Optional) Add the #[ignore]d Docker smoke test (make itest) to CI.

5. Versioning & releases

  • SemVer + CHANGELOG.md (Keep a Changelog format) in place.
  • release.yml triggered on v* tags does it all: builds cross-platform kanbanr binaries (linux/macos-arm/macos-x86/windows) and attaches them to a GitHub Release, and pushes the Docker image to GHCR (ghcr.io/startr-trade/kanbanr).
  • kanbanr is not published to crates.io. A published crate cannot carry the built monitor (ADR-0009), so kanbanr ships only as the release archives, the install.sh / install.ps1 installers and the GHCR image; from source, make install builds the web assets first. kanbanr-cli, kanbanr-core and kanbanr-server declare publish = false.
  • Publish ears-classifier to crates.io. The workflow’s crates job publishes it — and only it — on a tag once repo variable PUBLISH_CRATES=true and the CARGO_REGISTRY_TOKEN secret (or Trusted Publishing) are set. See the credentials section above.
  • Releases come from main only. The release workflow refuses a tag whose commit is not on main, so merge first, then tag the merged commit. The docs site deploys only from main as well. Once the repository is public, add a tag ruleset for v* that lets only kanbanr-maintainers create or delete release tags.
  • Cut the first release: git tag v0.1.0 && git push origin v0.1.0, then verify the Release assets + the GHCR image appear. Move the [0.1.0] section in the changelog from Unreleased to dated.
  • Ship the VS Code extension (../editor/vscode/): every release attaches kanbanr-vscode-<version>.vsix; its version must equal the workspace’s (CI and the tag check refuse a mismatch). Open VSX: once the kanbanr namespace is granted, create a token there, then gh secret set OVSX_PAT and gh variable set PUBLISH_OPENVSX --body true — the next release publishes it. The VS Code Marketplace needs a Microsoft account and is not set up.

6. Distributing the skill

The skill is the product surface for Claude users — make it trivial to install:

  • Document manual install (symlink/copy skill/kanbanr → ~/.claude/skills/kanbanr) — already in the guide; keep it front-and-center.
  • Provide an install script / make install-skill that does the copy and verifies the CLI is on PATH.
  • Investigate publishing via the Claude plugin/skill marketplace (the lowest-friction path for users) and link it from the README once available.
  • If the MCP direction is taken (ADR-0006 on the board), document the MCP server install alongside the skill.

Distribution as a Claude Code plugin (FEAT-023)

The lowest-friction install path: package the skill and the enforcement hooks together as a Claude Code plugin, so users get both in one step instead of copying the skill and hand-editing their settings.json. The plugin files live at the repo root:

  • .claude-plugin/plugin.json — the plugin manifest. It references the existing skill via "skills": ["${CLAUDE_PLUGIN_ROOT}/skill"] (Claude Code discovers skill/kanbanr/SKILL.md) and registers the two hooks inline (SessionStart → session-start, Stop → stop-check) with ${CLAUDE_PLUGIN_ROOT}-relative command paths — never hardcoded absolute paths, since the plugin is copied into a cache dir on install.
  • .claude-plugin/marketplace.json — a one-plugin marketplace catalog (the plugin’s source is "./", the repo root). Relative-path sources resolve only when the marketplace is added via git, which is the intended distribution channel.

Users install with:

claude plugin marketplace add startr-trade/kanbanr     # add this repo as a marketplace
claude plugin install kanbanr@kanbanr                  # install the plugin (skill + hooks)

(or the in-app /plugin marketplace add + /plugin install equivalents). Validate before publishing with claude plugin validate ..

Cross-platform hooks ship in two flavors: Linux/macOS use the .sh scripts; Windows uses the .ps1 equivalents (session-start.ps1, stop-check.ps1) via a hook entry with "shell": "powershell". Both have the same best-effort, never-block semantics. See ../skill/kanbanr/hooks/README.md.

The plugin carries only the integration, not the program. The kanbanr binary still ships separately (the GitHub Release archives and installers, or GHCR, per §5 — not crates.io) and must be on PATH; the hooks are best-effort and stay silent if it isn’t installed. Keep the manifest’s version in step with releases (or omit it to let the git SHA version the plugin).

  • Reserve the marketplace/plugin name and confirm it isn’t an Anthropic-reserved name.
  • Run claude plugin validate . in CI; verify install + the two hooks fire on a clean machine.
  • Link the claude plugin install one-liner from the README once the repo is public.

7. Pre-announcement checklist

  • Fresh clone → follow the README quickstart on a clean machine → you reach a populated board with no undocumented step. (Ideally on macOS/Windows too.)
  • make / cargo test / web build all green in CI.
  • LICENSE(s), CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, CHANGELOG, THIRD_PARTY present.
  • Owner slug (startr-trade) + copyright/email placeholders filled (see the top of this file).
  • Names reserved (GitHub, and ears-classifier on crates.io); image + binaries published for the first tagged release.
  • Discussions enabled (optional), release.yml secrets/variables set if publishing.
  • Secrets sweep (§0) re-confirmed on the exact commit you’ll make public.
  • Screenshots (make screenshots) + a couple of example projects under data/projects/ (non-sensitive).

8. After launch (keep it alive without burning out)

  • Triage with labels; be explicit that it’s a personal project (best-effort).
  • Keep the board current so contributors know where to help — kanbanr ready is the answer to “what can I pick up?”.
  • Dependency updates are deliberate, not automatic: there is no Dependabot version-update config (it opened one pull request per major bump across four ecosystems). Update on your own cadence with cargo update / npm update and npm audit, plan major upgrades as board items, and re-run cargo deny. Dependabot alerts and security updates are repository settings, independent of any file, if you want to be told about vulnerabilities.
  • Cut releases from CHANGELOG.md; don’t let main drift far ahead of a tagged release.

Minimal first-pass (the smallest credible public release)

Most of the scaffolding now exists in the repo. The shortest path to a public v0.1.0 is just the manual steps only you can do:

  1. Create the startr-trade/kanbanr repository on GitHub (the owner slug is already filled in throughout).
  2. Run the secrets sweep (§0); remove data/security.yaml; decide what data/ to publish.
  3. git init (if needed), commit, push, make the repo public.
  4. Set up crates.io publishing for ears-classifier (token or Trusted Publishing, plus the PUBLISH_CRATES=true variable); its first publish reserves the name. kanbanr itself is not published there.
  5. git tag v0.1.0 && git push origin v0.1.0 → the release workflow builds binaries + the GHCR image. Tag only after CI is green on that commit; the release checks this itself and refuses a commit whose CI failed or never ran, waiting while it is still running (FEAT-163). A failed run is fixed on main, never by re-running its jobs: a re-run uses the workflow file of the tagged commit, so it repeats the failure. Move the tag onto the fix instead — git tag -d v0.1.0 && git push origin :refs/tags/v0.1.0, then tag and push again; the release step updates the existing release and replaces its assets.
  6. Add screenshots to the README (make screenshots), then announce.

Everything else (Open VSX, npm reservation, MCP, badges polish) can follow.

Walkthroughs that run themselves

A walkthrough follows one of the process guides from an empty folder to a cut release, so that what the guide says is seen working on the installed kanbanr before a release is accepted. Two such walkthroughs cost the maintainer three to four hours each; kanbanr walkthrough run does the same without a person present, and leaves the person a short check of what only a person can judge.

What a run does

kanbanr walkthrough run walkthroughs/togaf.md reads a runbook (a board doc) and:

  1. Refuses to start unless everything it will touch is inside a fence (KANBANR_BOARD_FENCE, or the runs folder), its remotes are its own, your board is outside the run, and the kanbanr the session will find on its PATH is the run’s own binary (the same version line). It writes setup.log naming what is under test: the kanbanr binary and the one the session runs, the skill’s checksum and where it came from (and a note when your installed skill differs), the Claude Code version, the model and the checksums of your rules file and its imports.
  2. Makes a scratch project with its own two remotes (two bare repositories under the run folder, or two private repositories on the remote server with --remotes <prefix>, made with gh), a copy of your Claude Code configuration (rules, settings, credentials, and the skill this kanbanr binary carries, installed as kanbanr skill install writes it), a bin/ folder holding a link to the run’s binary, first on the session’s PATH so the session and every hook use it, and a monitor with writes on over the scratch board, started once the first step has made it.
  3. Drives a Claude Code session headlessly (claude -p over stream-json), saying what the guide says, step by step. Under claude -p a question arrives in Claude’s final text (with “(recommended)” after the recommended option); the run answers it, as the next turn, from the first of: a runbook rule matching the question, the recommended option, a rule matching the whole message (only for a question with no options), the first option, the free-text pick. It logs every question, its options, the pick and which rule chose it in questions.tsv. A question never stops a run; one still asked after three answers, or twenty answers in one step, is the finding question-unanswered. Each step starts on an idle session: a turn that started a background agent or build waits for it to finish and the stream to go quiet, within the run’s time, else the finding agents-still-running.
  4. Takes each decision as the scripted person: it first checks that the button the guide names is offered on the Review or Releases page (reading what the page reads), then posts what the page would post, with nothing typed. With a browser on the machine, a press step clicks the button on the rendered page instead, and a page claim reads the rendered text. A title selects an item by exact title, then whole word, then substring; several equal fits are the finding ambiguous-selector, and nothing is acted on. A sign-off on an item whose approval lapsed is preceded by approving it again, as the guide says, and recorded as the finding reapproved. A missing offer, a board claim that fails, or a mismatch between the board and the remote is a finding, not a stop. Findings name the line of the transcript file they come from.
  5. Pushes only to its own remotes, and refuses any other.
  6. Checks the truth: a shipped release’s tag on the remote and its CI run, the git doctor and the board doctor. A doctor’s errors are a MISMATCH; its warnings are listed beside an OK, for information.
  7. Keeps everything: the transcript, both repositories as bundles, a copy of the board, the monitor’s log, screenshots, the remotes’ refs and tags, CI results (with gh), the questions, the prepared records it confirmed, the truth checks and the findings, under MANIFEST.sha256; kanbanr walkthrough verify <run> re-checks it.
  8. Derives the tables (decisions.tsv, metrics.md) from the captures alone, so kanbanr walkthrough derive <run> gives the same bytes again.
  9. Puts the run’s checks on your board. A check whose test is walkthrough: kind is something the run proves, so it is recorded green or red directly, at the commit of the run’s binary, as kanbanr test records any automated result. A manual: check is prepared, and all of them form one batch: the Review page offers Confirm all N and Reject all N beside the single buttons; one click records them all. A check that measured nothing goes nowhere, and a run that never made its board (setup-incomplete) puts nothing on yours.

A run stops early only at its budget (--budget-usd), its wall time (--max-minutes) or when the session ends; the stop is a finding, and the captures are made all the same.

The runbook

A runbook is a board doc under walkthroughs/ whose first fenced yaml block holds the steps:

runbook: togaf
process: togaf
model: sonnet
budget_usd: 40
max_minutes: 180
checks:
  MT-1: {item: FTR-034, requirement: R-5, test: "manual: in a walkthrough, every sign-off, promotion and CI result is taken with one click and nothing typed"}
answers:
  - {match: "where .*board", pick: "In ../board. Its remote is {board_remote}."}
steps:
  - id: "1.1"
    say: "Start using kanbanr for this project. Use TOGAF, with sprints and releases."
    expect: {board: {project: exists}}
  - id: "4.2"
    decide: {approve: {item: newest}}
    offer: {page: review, button: Approve, subject: {item: newest}}
    check: MT-2
  - id: "5.8"
    push: {repo: code, refspec: main}
  - id: "5.9"
    say: "CI on main passed."
    decide: {confirm_prepared: {kind: gate-result}}
    offer: {page: releases, button: "Record ci passed"}
    expect: {board: {release: {version: v0.1.0, stage: main}}, truth: {ci: {release: v0.1.0, passed: true}}}
  • say is what the person says to Claude; {board_remote}, {code_remote}, {monitor_url} and {today} are filled in by the run. answers are rules (match is a case-insensitive pattern over the question’s text) on a step or shared; the current step’s are tried first.
  • decide is one of approve, signoff, ratify, adr, promote, gate_result, confirm_prepared, grant_delegation, set_mode, record_manual; an item is newest, a code {title_contains: …} or {title_matches: …} (a case-insensitive pattern). Every decide names the offer the guide promises (page and button), checked first. press clicks the button on the rendered page instead.
  • expect holds a board claim (project: exists, release: {version, stage}, item: {title_contains} or {title_matches}, item: {item, status}, config: {release_prepare: configured}, sprint: active), a truth claim (tag, ci, merged, doctor: clean), a page claim (url, contains, absent) or a talk claim (asked, not_asked, said: patterns over what Claude asked and said in the step).
  • only_if: {board: …} runs the step only when that board claim holds, such as {release: {version: v0.1.0, stage: candidate}} for a defect found on a candidate; otherwise the step is skipped with the finding skipped.
  • check: MT-n names a check from checks: it passes when the step checked something (a decision, a press, a push or an expectation) and produced no finding. A check on a step that only says something, or that was skipped, is not measured: never passed, and not put on your board. A marker named on several steps is one check, passed only if each measured step passed.

kanbanr walkthrough lint walkthroughs/togaf.md says what a run would stumble on before one starts.

What you do

Start a run, read findings.md and the tables, confirm or reject the batch on the Review page with one click, and check what only a person can judge: whether the guide’s words were confusing, and whether what Claude wrote reads well. --pause-at-decisions leaves each click to you and changes nothing else.

Two runbooks ship on this board: walkthroughs/togaf.md and walkthroughs/agile.md, for the two guides. Other projects on a board bring their own.

Options

FlagDoes
--modelThe model for the session (default: the runbook’s, sonnet)
--budget-usdStop the session at this spend (default: the runbook’s)
--max-minutesStop the run after this long (default: the runbook’s)
--remotes <prefix>Two private repositories on the remote server through gh, instead of bare ones under the run; kanbanr walkthrough remotes list and remotes clean find and delete them
--pause-at-decisionsWait at each decision for you to act on the monitor
--screenshot-cmdThe command that takes a page screenshot (default: a headless Chromium or Chrome on PATH)
--runs <dir>Where runs are kept (default: ~/.cache/kanbanr-walkthroughs, or KANBANR_WALKTHROUGH_RUNS)
--nameThe run’s name, and the batch’s
--no-browserNever open a browser: press and page steps are findings

A run writes nothing outside its folder, its scratch board, its own remotes and your board’s prepared records.

Release notes

What each release means for you, newest first. The changelog is the complete record of every change; these pages are the story of each release — its highlights, what is new, changed and fixed, what does not work yet, and what to do when you upgrade.

Features are frozen until 1.0, apart from the work agreed for it: 0.2.0 carries that work, and needs a one-time board migration. Later releases before 1.0 take fixes, documentation, and the work toward 1.0’s stability promise.

  • 0.2.1 — fixes after 0.2.0: the book’s diagram popup, the release’s install check; mermaid-lint on crates.io.
  • 0.2.0 — one method for every process, and a board format that will last. Every board is migrated once: upgrading a board to schema 5.
  • 0.1.7 — your own process, designed with Claude and shared on the board.
  • 0.1.6 — timestamps compared as instants; the release waits for CI.
  • 0.1.5 — scope and decide work inside Claude Code, with your workflow deciding what is asked.
  • 0.1.4 — Completed means proven, however an item finishes; the installers can install the VS Code extension.
  • 0.1.3 — architecture decisions are accepted or rejected from the CLI and the Review page; every release carries notes.
  • 0.1.2 — features frozen until 1.0; the stability policy; boards safe to share across versions; the VS Code extension ships with every release.
  • 0.1.1 — the container image names its build and carries the skill.
  • 0.1.0 — the first public release.

v0.7.0 — Walkthroughs that run themselves

Released 2026-11-16.

This release makes a guide’s whole path something kanbanr can run and check on its own. It also gives kanbanr and katalogr one shared idea of “where the code is”, and fixes the rough edges found while running the TOGAF and agile guides end to end. 28 items shipped.

Highlights

Walkthroughs that run themselves

kanbanr walkthrough run <runbook> follows a guide from an empty folder to a cut release with no one at the keyboard. It drives a Claude Code session on a scratch project, answers Claude’s questions from the runbook, and takes each decision on the scratch board as a scripted person, but only after checking that the page offers the button the guide names. It pushes only to its own scratch remotes, and it keeps every capture with a checksum manifest.

A run never stops on a finding. A missing button, a board that disagrees, or a remote that doesn’t match is written down, and the run carries on. At the end, its results wait on your Review page as one batch, with Confirm all and Reject all beside the single buttons. Two runbooks ship on the board, for the TOGAF and the agile guide. kanbanr walkthrough lint checks a runbook before you spend a run on it.

A test of kind walkthrough is now automated evidence that such a run proves, never a manual check.

A shared position and a view ID

kanbanr position prints where the checkout is: the commit, plus a hash of any uncommitted changes. kanbanr computes it byte for byte as katalogr does. kanbanr view docs is the first answer given for a position, with an ID that repeats whenever the position, the board and the question repeat. A checkout with line-ending conversion, such as Windows or core.autocrlf, now reads as clean, so both tools agree on it.

Delegations that work under auto mode

A delegation you grant now comes with the Claude Code permission rule its command needs, so Claude can use it when Claude Code runs in auto mode. kanbanr claude permissions --write adds the missing rules, after Claude has asked you once.

Releases and the monitor

  • A release whose last stage is the tag reads as tagged until its tag workflow’s result is recorded as passed. Only then does it read as shipped.
  • The Releases page offers Promote to candidate again when a candidate’s release files changed after it was prepared.
  • The monitor shows which kanbanr version and commit it runs, and warns when the board was last written by a newer kanbanr.
  • Milestones are listed newest first, in kanbanr milestone list and on the Milestones page.
  • On the Review page, a disabled Approve or Ratify button says beneath it what is missing and who provides it.
  • A board’s README leads with the project it tracks and links its code repository. kanbanr is named below, as the tool that keeps the plan.

Fixed

  • Ratifying an override. Ratifying an override at a definition you had already ratified now records it and closes the override.
  • Charter after setup. Agreeing or changing the charter no longer leaves CLAUDE.md modified on the default branch, which used to make Promote to main refuse the dirty checkout.
  • Sprint close. Closing a sprint no longer asks about each merged branch. kanbanr git tidy deletes merged branches locally after one confirmation, and never touches the remote.
  • Agent catch-up merges. A sprint catch-up merge on a build agent’s branch is no longer counted as agent work ahead of the board.
  • Docs that were changed. The docs_updated gate also requires the board docs a design links under Affects docs to have changed. doctor judges that gate as the move did, so it no longer warns about a doc folded just before a move.
  • Edits to flagged texts. A flagged text stays flagged after an edit, and the Review page shows the edit and its diff. A sign-off can’t rest on a text changed only to clear its flag.
  • Chores in doctor. doctor no longer warns that a chore has no Design section.
  • Version in a worktree. A build in a git worktree is stamped with the commit it was built from.
  • More test runners captured. kanbanr capture reads Vitest 5, pytest -v, Playwright’s list reporter and python -m unittest -v. It says so when a run printed nothing it can read.
  • Docs guard in worktrees. The Claude docs guard no longer refuses the book, the changelog or the skill inside a linked worktree.
  • Windows fence check. A walkthrough run is no longer refused on Windows: the fence check accepts a folder in Windows’ verbatim path form.

How Claude works with you

  • Claude prepares a project’s first release before it asks you to promote it: the release files, a CHANGELOG chore and the pipeline item.
  • Claude keeps a test you named with the kind and name you gave it, and settles test names before asking for approval.
  • Claude asks how a screen should look even after you’ve described it, has build agents run the formatter and linter before each commit, and checks the queue before telling you what waits.
  • The guides recommend agile for a new project, and say that a patch release starts at candidate.

Upgrading

Run kanbanr self-update, then restart any running monitor so it serves the new pages. Nothing on your board needs migrating.

The full list of changes is in the changelog.

v0.6.1 — Setup in an existing repository

Released 2026-11-16.

A patch of v0.6.0. It contains everything in v0.6.0, plus one fix.

Fixed

DEF-067 — Setup can’t commit its marker in a repository that already has a commit

Setting up kanbanr in a repository with history used to stop at the setup commit: the git guard and the git hooks refused setup’s own [no-ref] commit on the default branch, whether the git model was on or off, so the .kanbanr marker never reached it. Now that one commit goes through, as long as it stages only .kanbanr, CLAUDE.md and .gitignore and the marker is not committed yet. Any other commit on the default branch is still refused, and the refusal says what the setup commit may hold.

Upgrading

Run kanbanr self-update. The installed git hooks call kanbanr from your PATH, so the fix applies as soon as the new binary is installed. Nothing on your board changes.

kanbanr 0.6.0 — Claude prepares, you confirm; delegated decisions; docs that stay true

Released 14 November 2026.

Claude now prepares the evidence for each decision, and you confirm it with one click on the monitor. You can also delegate chosen sign-offs to Claude for a time and review them afterwards. Manual tests and texts to check no longer send you to the terminal, and the release path asks fewer questions.

A board written by 0.6.0 is read by 0.5.x with some limits. See Upgrading.

What’s new

Deciding

  • Claude prepares each decision’s evidence; you confirm. kanbanr prepare fills in a sign-off’s note, a promotion’s “what you checked”, a CI result with its run link, or a ratification’s reason. The monitor shows it filled in beside one button. You confirm, edit or reject it, and both the prepared record and your answer are kept. (FTR-034)
  • Delegate chosen decisions to Claude, then review them. A project picks where decisions are taken. You can grant Claude a delegation for named verdicts, for up to 90 days (14 by default). Every delegated decision returns to the Review page to keep or undo. (FTR-028)
    • Delegations cover forward moves only. If an item has moved back, Claude asks you before it decides or changes anything for it.
    • Only you set the mode, grant a delegation or review one. Release verdicts, withdrawals and ADR verdicts cannot be delegated.
    • Commands: kanbanr decisions show|mode|propose|grant|revoke|review, and --under DLG-n on approve, ratify and signoff.
    • A release plan warns of delegated decisions you have not yet kept or undone. It does not hold the release.
  • Every decision records where it was taken. monitor, conversation, terminal or delegated. feature show and --json carry it. Repeating the same decision on unchanged text records nothing and says who recorded it first. (DEF-028)
  • A verdict command run inside a Claude session is refused by kanbanr itself, not only by the hook. (FTR-028)

Review page

  • Manual tests are settled on the Review page. Each manual test not yet green is listed with its requirement and the check to make. You record Passed or Failed there. The board keeps who checked, when, from where and any note. Claude is refused; it can prepare a result you stated, for you to confirm. (DEF-040)
  • Texts to check are settled by Claude. The docs-folded sign-off no longer asks you to tick each text or type a defect code. Claude settles each one, with why and the revision it checked, and the sign-off appears once none is left. (DEF-039)
  • Docs-folded is offered only when it is true. It waits until every task is done and every document the Design links is folded. It lapses if the item’s branch gets a later commit, and the Review page says which branch moved. (DEF-046, DEF-033)
  • Docs and items that fell behind the code are found. When docs-folded is offered, the Review page lists linked docs and items that name something the item changed (a flag, route, setting, stage, file) and have not changed since. Each is confirmed or corrected first. kanbanr drift [--since DATE] [--item CODE] [--json] lists them for the whole board. It flags what to read and never judges prose. (FTR-013)

Sprints and setup

  • Work waits for a started sprint. The first move into a working stage needs the item in a sprint that has started. kanbanr sprint start on a later-dated sprint starts it today. doctor names a sprint an older version started early. (DEF-041)
  • Setup turns the git model on when you choose sprints or releases. The built-in agile and design-control processes send a chore through their integrate stage, so every chore path reaches Review. Re-apply the process to take the new path. (DEF-042)
  • Setup asks less and creates less. Sprints and releases are one question and neither is created until you ask. It reads the name and description from your README or manifest. An unstarted sprint can be edited or removed, and so can an empty release. (FTR-022)
  • kanbanr sprint unplan ITEM... takes items out of their sprint. The board’s Sprint filter offers Unscheduled. (DEF-018, FTR-032)
  • Chores take a lighter path through TOGAF, Scrum, agile and design-control. A chore still records why it exists and how it is verified. (FTR-019)
  • TOGAF fits sprints and releases without becoming a different process. (FTR-025)

Releasing

  • Checks that need a push no longer block Promote to main. A test can say at: pushed, at: cut or at: <stage>. The item’s gate does not wait for it; that stage does. (DEF-043)
  • Claude’s overrides wait for you. An override Claude makes sits on the Review page until you ratify it, and the item does not ship until you do. The cut names requirements whose tests were not run and waits for you to accept them. release promote and release cut take --accept-untested. (DEF-043)
  • Promote to candidate fills the changelog section from what the release ships, or says why it cannot. kanbanr release notes <V> --changelog <file> updates it with the notes. (DEF-044)
  • Claude runs git forward itself. After a fix merges into a release branch, kanbanr names kanbanr git forward as Claude’s next step. A forward that would conflict changes nothing. Pushing stays yours. (DEF-045)
  • Merged work cannot be carried out of its release. A promotion is held while a merged item would be carried over for a failed end gate, usually a missing release sign-off. doctor names what a release left behind. (DEF-029)
  • A change merged into a promoted release sends it back to candidate, and the Releases page shows the steps in order. A gate pass carries to a later commit when only docs changed. (DEF-031)
  • Supply chain. Release and install builds are locked, and each release carries two SBOMs and build attestations. (MNT-004)

Guides

  • The guides ask about style before a screen is built. They give one order for a release (promote to main, push main, CI, record the result, cut, push the tag) and design a staged pipeline whose stages rerun alone, with caches for your stack. (DOC-008)
  • New page: Designing CI and the release workflow. It lists what to settle before a first release. (DOC-007)
  • New guide: TOGAF, sprints and releases with Claude. It walks through a project in conversation, and names the page and button for every decision: when to approve, how to grant a delegation and set the mode to delegated, and what to set up before the first release. Under Claude Code’s auto mode, a delegated sign-off also needs a permission rule for kanbanr signoff. (DOC-001)

Fixed

  • The monitor updates live for a board under a linked folder on macOS. macOS reports a change under the folder’s resolved path, which the watcher did not recognise. (DEF-062)
  • A sprint’s release is made from that sprint, even after an earlier release was brought forward into the previous sprint. Before, the second sprint’s release could be branched from the closed sprint and ship without its items. (DEF-059)
  • A crash can no longer leave a board file half-written. Every file is written to a temporary file and renamed. A leftover .tmp file is named by doctor after an hour. (DEF-025)
  • A scope binds the agent it was issued to, not whoever stands in its folder. Revoking a scope no longer traps your own shell. (DEF-027)
  • A scope issued with --worktree no longer tells its agent to claim it. (DEF-023)
  • The monitor refuses to start with writes on at an address other machines can reach, unless you pass --allow-remote-writes. (DEF-026)
  • A batch refuses a field its operation does not take, instead of ignoring it and reporting success. A bundle that sent such a field now fails; remove the field. (DEF-018)
  • Agents can use a temporary board for walkthroughs; a real board stays refused. (DEF-015)
  • A release’s notes are found after the notes path changes, and a missing file names every place looked. (DEF-036)
  • The docs gate no longer passes an item when two board commits share a second. (DEF-035)
  • drift --since DATE starts at the beginning of that day (UTC). (DEF-037)
  • doctor no longer calls gates/, prepared/ or manual/ stray folders. (DEF-038)
  • The local release gate is no longer fooled by a cached image layer or by a build agent’s records. (MNT-006)

Does not meet yet

So that you can judge 0.6.0 against the risk you can accept:

  • Walkthrough checks not yet run by a person. Automated tests pass for each. These manual checks are still open:
    • FTR-034: every sign-off, promotion and CI result is taken with one click and nothing typed.
    • FTR-028: setup proposes delegations for the process and you accept them.
    • DEF-039: an item with drifted docs reaches docs-folded with nothing for you to fill in.
    • DEF-040: a manual test is recorded on the Review page.
    • DEF-045: a release fix reaches the line with no command run by you.
    • DOC-008: the agile walkthrough gets a style question, reaches its cut without a question about push order, and proposes a staged pipeline with caching.
  • Conversation decision mode is not built. Setting it is refused. Planned in FTR-035.
  • The dry-run move cannot yet see a lapsed docs-folded sign-off. The real move refuses it.
  • The docs gate does not read docs linked under a design’s Affects docs. Planned in DEF-047.
  • The monitor does not say which kanbanr it runs. Planned in FTR-036.
  • The guard on who may take a decision is not a security boundary. kanbanr keeps Claude to your delegations through its own commands and hooks, and makes every departure visible: the recorded origin, commit trailers and the Review list. A hand-written grant is not honoured. But Claude runs as the same user as you and kanbanr has no accounts, so a process that deliberately forges a commit or a file is not stopped.

Upgrading

  1. Update with kanbanr self-update (macOS, Linux) or rerun the installer (Windows).
  2. Restart kanbanr serve.
  3. Re-apply your process to give chores the new path (see DEF-042).

A board written by 0.6.0 gains prepared/, manual/ and decisions.yaml, and records an origin on decisions. What the changelog states about older versions:

  • 0.5.x never reads decisions.yaml and acts as the monitor mode, which refuses Claude more, not less.
  • A 0.5.x that rewrites releases.yaml drops the origin from release stage changes.
  • A process file with paths needs 0.6.0; an older kanbanr does not know the key.

The changelog says nothing more on how 0.5.x treats the other new files and fields.

kanbanr 0.5.1 — the monitor works on a published port again

Released 11 November 2026.

A patch of 0.5.0 with one fix. Upgrade if you run the monitor in a container, or anywhere its port is published as a different one.

What’s fixed

  • The monitor answers its own page on a published port. 0.5.0 started answering only its own host names, but it counted localhost, 127.0.0.1 and [::1] only on the port it is bound to. In a container the monitor binds 8080, and that port is usually published as another one. kanbanr’s own docker-compose.yml and make docker-up publish it as localhost:18080, so every page got a 403. Those three names are now answered on any port. Every other host name is still checked exactly as before, and writes still need the token only the monitor’s own page receives.

What this release does not meet

The four points in 0.5.0’s notes still stand: two checks not yet made by a person on the monitor, the TOGAF guide not yet confirmed end to end, writes behind an HTTPS proxy, and one test-only dependency that is unmaintained. 0.6.0 is planned to close the last three.

Upgrade notes

  1. Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows).
  2. Restart kanbanr serve, or pull and restart the container.
  3. If you stay on 0.5.0 in a container, set KANBANR_ALLOWED_HOSTS=localhost:18080 (your published host and port) instead.

Boards need nothing.

kanbanr 0.5.0 — a safer monitor, honest release dates, and a guide for every process

Released 7 November 2026.

The monitor now answers only its own page, a release is dated the day it reaches main, and an item tells you which release shipped it. The book gains a guide for every built-in process, and a long list of small fixes makes the commands say what is true.

If you run the monitor with writes on, upgrade.

What’s new

  • An item says which release shipped it. On a project that works in releases, an item’s page and kanbanr feature show now say “Released in v0.4.0”, “Planned for v0.5.0, not released yet” or “Not in a release”, so a Completed item is not mistaken for a released one.
    • Projects that do not work in releases show no such line.
    • The JSON export gains an optional release_line field.
  • The Review page lists finished items whose approval lapsed. A Completed item whose definition changed after it was approved now appears in the review queue, after live work and labelled with its status, with the Approve button. Re-approving finished work no longer needs a terminal.
    • Items never approved, and items in a no-op status, stay out.
  • kanbanr release redate. If main has already moved when you notice a release carries an old date, kanbanr release redate dates its notes and changelog heading today, moves main with them if main holds the release, and tells you to push again. After the release ships it refuses.
  • Gates tell you when there is no charter. On a project with no charter, a move a gate would have refused still goes through, but it now warns what the gate would have needed and that kanbanr charter set turns the gates on. A move the gate would have passed says nothing.
  • kanbanr check names a manual test nobody ran. A manual test that is not green is listed under its item as manual test not run: R-4: <name>, and as open_manual in --json. It is a note, not a gap: readiness and the exit status are unchanged.
  • The retro reads as it means. requirements proven by a green test: 56/56 now adds (1 with a test still open) when a proven requirement also has a test that is not green; --json gains evidence.proven_with_open_test. The two defect lines are worded apart: added as defect items and defects recorded with their cause.
  • kanbanr why explains a line not yet committed. Instead of “Nothing on the board explains this code”, it says the line is not committed yet and names the item your branch belongs to, or says the branch names none.

What’s fixed

  • The monitor answers only its own page and hosts. It now serves and accepts requests only for its own page and the hosts it is bound to. A write needs a token that is made at each start and given only to the monitor’s own page.
    • A copy of the monitor page hosted on another site can no longer read the board: use the page kanbanr serve serves.
    • Behind a reverse proxy, name its host in KANBANR_ALLOWED_HOSTS (comma-separated name[:port]). Behind an HTTPS proxy, treat the monitor as for reading.
    • SECURITY.md now describes write mode and how it is limited.
  • Release dates and notes. A release cut later no longer ships the date of its candidate: v0.4.0 was prepared on 22 October and cut on 1 November, and shipped saying 22 October. The stage that moves main now dates the notes and changelog heading today, in one commit, before main moves. If main moved already, the cut’s plan warns and names the dates. Also, the board’s copy of a release’s notes (releases/<V>.md) now holds the notes file that shipped, at the tagged commit, when the project configures one, instead of the generated requirements list.
  • JSON output. --json now works on feature show, why and board. They printed text despite the flag, and a failed parse of that text is how an item’s spec got blanked. Each prints one JSON document; feature show matches export --format json.
  • Specs are not blanked by an empty file. --spec-file on feature add and feature edit refuses a file that is empty or only whitespace, names it, and changes nothing. To clear a spec on purpose, pass --spec "".
  • Redefining an item keeps its record. kanbanr feature define from a file with no history used to drop the item’s approval history and sign-offs. Both are now kept in order, each entry once, and read as lapsed if the content changed.
  • kanbanr start leaves your checkout alone when the gate refuses. It asks the gate first and makes or switches branches only once the move would pass. A refused start says what is missing. --override still branches and moves the item.
  • git doctor and doctor.
    • git doctor no longer calls merged work not integrated when the workflow has no integrate stage. Items at or before build, and workflows with an integrate stage, are judged as before.
    • doctor no longer reports a shipped release’s book links as broken. Unknown items, requirements, milestones and goals there, and broken links in every other doc, are still reported.
  • Worktrees under .claude/worktrees can commit. A worktree you or a coordinator make there, for example to resolve a merge, was refused as if it were an agent’s. Now only a worktree named agent-*, the name Claude Code gives an agent’s, is refused without a scope. A scope bound to a worktree still holds it whatever it is called.
  • scripts/ci_local.py --help no longer starts the whole gate. -h and --help print the usage and exit 0. Any other argument is named, refused with exit 2, and runs no check. make ci is unchanged.
  • Dependencies with no open advisory. libz-sys, tokio and DOMPurify (in the monitor’s page) are updated past advisories published since 0.4.0. One test-only dependency, astral-tokio-tar, has no maintained replacement yet. It isn’t in the binary you install (see below).
  • kanbanr’s own tests pass on Windows. Five tests failed on Windows because they compared a temporary folder’s short name with its long name. The binary was not affected.

Docs

  • A guide for every built-in process. The book has a Process guides section covering TOGAF, default, scheduled, PDCA, design control, Scrum and agile, and sprints and releases. Each has one guide you follow by talking to Claude and deciding on the monitor, and one from the command line. They say what surprises people: gates need a charter, an item merged but not yet released carries over at a sprint close, and each item needs its release sign-off before main. Working with Claude links them from each process’s row.
  • The stability page matches 0.4. It no longer says the feature set is frozen: until 1.0 nothing is promised and releases may add. It lists scopes.yaml, the codes, release_gates and release_prepare settings, and the Agent-Scope: trailer and pre-push hook, and names agent scopes, release stages and kind codes as experimental in 1.0, stable from 1.1.
  • The book and the skill match this release. The no-charter warning, the date set when main moves, why on an uncommitted line, git doctor with no integrate stage and lapsed approvals on finished items are described as they now behave, and the skill tells Claude about them.
  • The extension’s README links the getting-started video. The 2-minute video, linked from a thumbnail before the feature list, shows kanbanr working before you install the extension.

What this release does not meet

So that you can judge 0.5.0 against the risk you can accept, these are the commitments it does not yet prove or keep:

  • Checks not yet made by a person. On the Review page, re-approving a Completed item whose approval lapsed, and seeing that item listed below the live work, are covered by automated tests, but no one has yet checked them by hand on the monitor.
  • The TOGAF guide is not yet confirmed end to end. A second full walkthrough of TOGAF, sprints and releases with Claude reached a release, but some decisions the guide puts on the monitor were taken in the conversation instead. 0.6.0 sends every decision one way.
  • Writes behind an HTTPS proxy. Behind a proxy that adds HTTPS, the monitor takes no decisions; use it for reading and decide on your own machine. 0.6.0 is planned to settle this.
  • One test-only dependency is unmaintained. astral-tokio-tar, reached only through testcontainers in kanbanr’s own tests, is marked unmaintained (RUSTSEC-2026-0440) and has no maintained replacement yet. It is not in the binary you install. It is listed as an exception in deny.toml, and 0.6.0 is planned to replace it.

Upgrade notes

  1. Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows).
  2. Restart kanbanr serve.
  3. If the monitor sits behind a reverse proxy, set KANBANR_ALLOWED_HOSTS to the proxy’s host.

Boards need nothing.

kanbanr 0.4.0 — codes that say what kind of work, and notes edited from the release

Released 22 October 2026.

An item’s code can now tell you what kind of work it is before you open it, and a release’s notes can be read and edited where the release is, without switching branches or opening an item to do it.

No board migration is needed: 0.4.0 reads the schema-5 boards 0.3.0 left.

What’s new

  • Codes that say what kind of work an item is. Map kinds to prefixes once, and each new item takes its kind’s prefix, with a counter per prefix: kanbanr config codes --set feature=FTR,defect=DEF,bug=DEF,chore=MNT,docs=DOC,spike=SPK. A new defect is then DEF-001, a chore MNT-001, a feature FTR-001.
    • Pass --kind at feature add, or kind in a batch.
    • kanbanr config codes on its own shows each kind’s prefix, the default and the next code for each prefix. --unset, --default and --clear change them.
    • Existing codes are kept, and changing an item’s kind never renames it.
    • Branches, commit trailers, the hooks, git doctor and kanbanr why all understand the new codes: kanbanr start DEF-001 makes fix/DEF-001-….
    • Only this board’s own prefixes count as item references, so SHA-256 or RFC-3339 in a spec is never taken for an item, in the monitor or in doctor.
    • A project that sets nothing keeps FEAT- for everything, as before.
  • A release’s notes, read and edited from the release. The notes a release prepares live on release/<V>, not in your checkout. Now you can reach them from the release itself.
    • kanbanr release notes v0.4.0 shows them and where they are (release/v0.4.0 @ 8c22bb1: docs/src/releases/v0.4.0.md).
    • --edit opens them in your editor, and --file F saves a file’s text. Either way the change is one commit onto the release branch, with nothing checked out.
    • The Releases page has a Release notes section on each release with a branch, with Edit notes and Save on a write-enabled monitor.
    • Notes saved after main has moved to the release move main with them, and say to push main again before the cut. If main has commits past the release, nothing is saved.
    • Once the release is cut, its notes read as shipped and are no longer edited.
    • No separate item is needed to change a candidate’s notes.

What’s fixed

  • make ci no longer fails because a sub-agent was at work. Its check that the real board did not move during the run now lets through a build agent’s task and test updates made under an active scope on its own item, and the scopes you issue, claim or revoke, as it already did your approvals and sign-offs. It lists each one by its scope. Anything else still fails the check.

Upgrade notes

  1. Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows).
  2. Restart kanbanr serve.
  3. If you want kind codes, set them with kanbanr config codes --set … in each project.

Boards need nothing.

kanbanr 0.3.0 — releases that run themselves, and sub-agents that stay in bounds

Released 21 October 2026.

Two things this release changes about how work leaves your hands. A release now moves through its stages doing what each stage is for: it prepares its own version and notes, moves main, and is tagged only once main has been pushed and CI has seen it. And when Claude hands work to a sub-agent, kanbanr now enforces what that agent may do, instead of leaving it to the brief.

No board migration is needed: 0.3.0 reads the schema-5 boards 0.2.x left.

What’s new

  • Release stages that act. Each release stage can say what must be true before a release enters it and what happens when it does: make the release branch, prepare the release, move main, tag it.
    • A release prepares itself. Entering the first stage commits the version bump in every file you name, the dated changelog heading, and draft notes from the release’s items onto release/<V>, without checking anything out. No separate item is needed to get a release ready.
    • Main moves before the tag. A stage can fast-forward main to the release without tagging, so you push main and let CI run on exactly the commit that will be tagged.
    • The cut waits for your push. The last stage can require that main is at the release and that commit is on origin/main. Until then, the Releases page shows Cut v0.3.0 greyed out and says what is missing: “push main, then wait for CI”.
    • One button per release, named for its next step, showing what it will do. The cut is one click, with its preview beside it: the commit it tags, what ships, what carries over.
    • A release with nothing in it can’t be promoted. The page says how to plan items in.
    • Set it up with kanbanr config release-stage and kanbanr config release-prepare; see what each stage does with kanbanr release stages, and what a promotion would do with kanbanr release promote <V> --plan. Projects that set nothing keep the stages they had.
    • See Processes.
  • Agent scopes: what a sub-agent may do, enforced. Before Claude starts a sub-agent, it issues a scope with one command (kanbanr scope issue build <CODE>), and puts the brief kanbanr prints at the top of the agent’s instructions.
    • The agent claims the scope in its own worktree. From then on, every board write, commit and push from there is checked against it: a build agent may record its own item’s task states and test results and commit on its item’s branch; a design agent may only read. Anything else is refused, and the refusal names the boundary it crossed.
    • Agents never push; the new pre-push hook and the commit guard refuse it.
    • What an agent records is attributed to you, “by the agent for FEAT-…”, in the activity, the events and the commit trailers.
    • If an agent’s commits run ahead of its item’s tasks, the Stop hook, kanbanr git doctor and the start of the next session name it.
    • The item’s page shows its agents, and the Workflow page lists every scope.
    • See Working with Claude.
  • The Workflow page shows how work moves. Below the stages: the sprint and how often releases are cut, with their stages in order; the git model, from where items branch to where production moves and what kanbanr merges; and every guard rail on the project, each with the command that changes it.
  • The skill says what each sub-agent may do, so the same boundaries apply in every project that uses kanbanr.

What’s fixed

  • release add <V> --branch is gone: a new release has no items yet, so it could not be promoted. Start a release with release plan, then promote it to candidate.
  • kanbanr activity now names the agent a write was made by, as the monitor does.

Upgrade notes

  1. Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows).
  2. Run kanbanr git install-hooks once in each project folder, to add the new pre-push hook. Issuing an agent scope needs it.
  3. Restart kanbanr serve.

Boards need nothing. Release stages that act, and agent scopes, change nothing until you set them up or issue one. Once a board holds a scope, a sub-agent’s worktree that has not claimed one is refused board writes and commits there.

kanbanr 0.2.1 — fixes after 0.2.0

Released 21 October 2026.

Two fixes found after 0.2.0 shipped, and a library published beside it.

What’s fixed

  • A diagram opened from the book draws in its theme again. Clicking a diagram in the book opens it full size in a new tab. Since diagrams moved to Pele in 0.2.0, that copy drew every shape as a black box and lost its labels, on a white page whatever theme you read in. It now keeps the diagram’s colours and takes the page’s background and text colour from the theme.
  • The release’s install check reads the monitor correctly. After publishing 0.2.0, the release workflow’s check that a fresh install serves its monitor failed on Debian, Ubuntu and Windows. The release itself was fine; the check looked for the monitor’s script by its old path. It now accepts both forms.

Also in this release

  • mermaid-lint is on crates.io. The diagram check kanbanr runs on every write is published as a standalone Rust library with no dependencies: it finds the Mermaid diagrams in Markdown and reports each mistake Pele or Mermaid would reject, with its line and rule. The release workflow now publishes it beside ears-classifier.

Upgrade notes

Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows). Boards need nothing: 0.2.1 reads the schema-5 boards 0.2.0 migrated. If you are coming from 0.1.x, see 0.2.0 and run kanbanr migrate once per board.

kanbanr 0.2.0 — one method for every process, and a board format that will last

Released 21 October 2026.

This release does two things. It makes one way of working the default in every process:

  • a build-ready design is agreed before code is written;
  • the architecture docs are kept as built;
  • references are live links that kanbanr checks;
  • the code repository’s branches follow your cadence.

And it moves the board to a format meant to last until 1.0 and beyond: a maintained YAML library, and approvals that no longer depend on how a file happens to be written.

Every board has to be migrated once. Run kanbanr migrate after updating; see Upgrade notes.

What’s new

  • The method, on by default in every built-in process.
    • An item cannot enter the build stage until its spec has a ## Design section and someone has signed off design-review. It cannot finish until the docs it named are updated and someone has signed off docs-folded.
    • kanbanr config method shows which parts are on, and turns any of them off.
    • The skill states the method once, by the role a stage plays (design, build, integrate, release), so it reads the same under kanban, Scrum, TOGAF, PDCA or a process of your own. Personal instruction files that restate it are no longer needed.
    • See The method by stage role.
  • Living architecture docs.
    • An item names the board docs its design changes in affects_docs. A docs_updated gate checks that each one was updated before the item moves on.
    • Coverage rules keep the cross-cutting views whole. A project can say, for example, that the Zachman matrix must reference every item past Design, or that some doc under architecture/ must reference every accepted ADR.
    • kanbanr checks the rules whenever the board changes, a docs_cover gate can require them, and kanbanr doctor lists every gap.
    • See Living architecture docs.
  • Live, checked references. FEAT-012, ADR-0005, MS-004 and doc paths in specs and docs link to their pages in the monitor, and a reference to something that doesn’t exist is reported.
  • The code repository follows your cadence.
    • kanbanr git model shows where items branch from and merge into: main, a sprint branch, or an integration line. It also shows where production moves.
    • With the git model on, moving an item into its integrate stage merges its branch.
    • kanbanr git doctor reports where the board and the branches disagree.
    • Setup now asks, for every process, whether you work in sprints and releases, and shows the resulting model before applying it (kanbanr git model --sprints on|off --releases on|off).
  • Releases move through stages.
    • kanbanr release promote takes a release from candidate through test and staging to production. Production is the cut: kanbanr tags the code repository and brings main up to the release.
    • Patches are their own releases: kanbanr release add v1.0.1 --patch-of v1.0.0.
    • The monitor’s Releases page offers the promotion and shows what the cut would ship and carry over.
  • Stage roles. A gate can say what its stage is for (roles: [design]), so a rule written for “the design stage” works in any process.
  • Sign-offs can be withdrawn, with a reason (kanbanr signoff … --withdraw). The monitor offers a sign-off only when it would count.
  • Diagrams drawn by Pele, in your theme.
    • The book and the monitor draw ```mermaid blocks with Pele instead of Mermaid.
    • A diagram takes its colours from the theme you read in (each of the book’s five, the monitor’s light and dark) and follows a theme switch without reloading.
    • The book loads one 680 kB script instead of 2.5 MB.
  • Diagrams are checked when they are written.
    • Writing a spec or doc warns about a diagram Pele would reject, naming the file, diagram, line and rule. kanbanr config diagrams --strict on refuses the write instead.
    • A diagrams_valid gate can require clean diagrams, and kanbanr doctor lists every broken one.
    • The Review page keeps Approve disabled until every diagram in the item’s spec, and in the docs it names, parses. It says what is wrong and links to the source.
    • The doc viewer shows a broken diagram’s source with the error under it.
  • A versioned read API.
    • The daemon’s public read routes are version 1 of a documented contract, described in OpenAPI 3.1 at GET /api/openapi.json.
    • A contract test checks every route against it. See HTTP API.
  • The monitor as a standalone bundle. Each release attaches kanbanr-monitor-v0.2.0.tar.gz, a read-only monitor you can host on any static server and point at a daemon.
  • Every board explains how to view it. A board’s README.md walks a reader from nothing to the board, and is kept current as projects change. On an existing board, run kanbanr readme. kanbanr doctor reminds you until you do.

What’s changed

  • A maintained YAML library.
    • Board files are read and written with serde-saphyr, which is maintained and has no unsafe code. It replaces serde_yaml, whose parser is no longer maintained.
    • Approvals, sign-offs and process records are now pinned to a canonical form of their content. Rewriting a file no longer lapses them.
    • This is the one-time migration below; the board’s schema is now 5.
  • Board cards say plainly what an item needs next.
    • The old next-stage pill read like a status. A card now says “In Progress needs 2”, “waiting for sign-off docs-folded”, “ready for In Progress” or “ready to complete”. It says nothing while the item’s tasks are open.
  • One copy of every board rule.
    • The CLI and the daemon now call the same core functions for writing, git, workflow moves, test evidence, the process library and the issue mirror. Behaviour is unchanged.
    • Two small differences:
      • feature add --found-in makes one commit instead of two.
      • A few daemon write failures now answer with the same HTTP status a read gets for the same error.

What’s fixed

  • A sign-off that clears an item’s last hold now finishes the item, as ticking the last task does.
  • A build that went through a shared compiler cache (sccache) could ship without the monitor or the skill. It now always includes them, and a release build without them fails.
  • The Workflow page draws its diagram and shows each stage’s gates again on projects that use stage roles.
  • Deleting a project removes its folder for good.
  • The board is found from inside a git worktree.

Security

  • webpki-roots 1.0.10 and rustls-webpki 0.103.16, which close RUSTSEC-2026-0381 and RUSTSEC-2026-0382. The trust store behind self-update and the release check could accept certificates chained through distrusted emSign intermediates.
  • rustls 0.23.46 (RUSTSEC-2026-0346, RUSTSEC-2026-0348).
  • No unmaintained YAML parser, and no advisory exception left in the supply-chain policy.

Upgrade notes

  1. Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows). This also updates the Claude Code skill and the VS Code extension where kanbanr installed them.
  2. Stop anything long-running on each board, such as kanbanr serve.
  3. Run kanbanr migrate once per board. It checks every approval against the board’s git history, makes one commit and prints what it did. Upgrading a board to schema 5 has the details, including how to compare approval states before and after.
  4. Restart kanbanr serve.

Everyone who uses a board needs 0.2.0 once it is migrated. An older kanbanr refuses a migrated board and names the version it needs; it never misreads it. The minimum Rust version for building from source is now 1.89.

Upgrading a board to schema 5

For 0.2.0.

kanbanr reads and writes board files with a new YAML library, and approvals, sign-offs and process records are now pinned to their content in a way that does not depend on how a file is written. A board written by 0.1.7 or earlier has to be migrated to this format once. Until then, every command stops and tells you to run kanbanr migrate.

What to do

  1. Update kanbanr with kanbanr self-update, or rerun the installer on Windows.

  2. Stop anything long-running on the board, such as kanbanr serve, so nothing writes while it migrates.

  3. Check the board’s approval state, so you can compare afterwards:

    kanbanr review --pending --json > before-review.json
    kanbanr check --json > before-check.json
    
  4. Migrate:

    kanbanr migrate
    

    It prints what it did and makes one commit on the board, “migrate board to schema 5: canonical revisions, files rewritten”. The board’s push policy applies as it does to any write.

  5. Run the two commands from step 3 again and compare the results. They report the same states. The rev fields hold new values, because the revisions are computed a new way.

Everyone who uses the board needs the new kanbanr. An older kanbanr refuses a migrated board and names the version it needs. It does not misread the board.

What the migration does

  • It re-pins every revision. Approvals, sign-offs and process records each store a revision of the content they were given for. The migration reads the board’s git history to find the content each one was given for, and records that content’s new revision. So an approval that was current stays current, and one that had lapsed stays lapsed.
  • It rewrites every board file in the new format. The content stays the same, including fields this version does not know. Mostly the quoting changes: double quotes where single quotes were used before. Files under a project’s docs/ folder are not touched. Each file is checked to read back as it was before anything is written.
  • It stamps every project with schema_version: 5.

When history cannot vouch for a revision

The migration finds each verdict in the commit that recorded it. That commit can be missing: the board was never a git repository, it is a shallow clone, or its history was rewritten. Then the migration cannot show which content the verdict was given for. It does not trust it:

  • the revision becomes unverified, so the approval or sign-off reads as lapsed;
  • kanbanr migrate says how many there are and lists the ones that matter now;
  • kanbanr doctor names each one, for example “approval of FEAT-012 could not be verified during the schema-5 migration; approve again”.

Give those approvals and sign-offs again. For a process record, apply the process again with kanbanr process update.

Going back

git revert of the migration commit restores the old files, but the new kanbanr will refuse them until they are migrated again. To go back to an earlier kanbanr, revert the commit and reinstall that version.

kanbanr 0.1.7 — your own process, designed with Claude and shared on the board

Released 7 October 2026.

A process is the stages your work moves through and what each stage asks before work enters it. Until now, using your own process meant writing a YAML file by hand, and every project kept its own copy. In this release Claude designs it with you, kanbanr checks it, and your team shares one copy through the board.

What’s new

  • Design your process in the conversation. At setup, or any time you say “let’s change our process”, Claude works it out with you in plan mode:
    • It starts from the closest built-in process and asks one question per stage: what must be true before work enters it? The choices are only the checks kanbanr can enforce.
    • Anything kanbanr can’t see, such as “the architecture board has reviewed it”, becomes a named sign-off that a person records.
    • The plan shows the checked result as a working agreement and a diagram. Accepting it saves the process and applies it.
  • Saved processes, shared through the board. kanbanr process save <name> keeps a process on the board, so everyone with the board gets it through its git remote. Add --personal to keep it in ~/.kanbanr/processes and carry it to another board.
    • kanbanr process list shows every process, its version and the projects using it.
    • Apply one with kanbanr config workflow --preset <name>, or start a project with it: kanbanr project init <name> --workflow <name>.
    • A name is looked up on the board first, then in your personal library, then among the built-in processes.
  • Told when a process changes, updated only when you say so. Saving a new version changes no project by itself.
    • kanbanr process status and kanbanr process diff show where a project stands and what would change. kanbanr process update takes the new version.
    • kanbanr doctor, the start of each Claude session and the monitor’s Workflow page all say when a newer version is saved.
    • After a save, Claude asks about each project still on an earlier version, one question each.
  • Check a process before applying it. kanbanr process check <file> reports every problem at once and changes nothing. kanbanr process checks lists every condition a gate can ask for. A misspelt check is now named in the error, with the list of valid ones.

What’s fixed

  • Setup on a machine where git has no identity. The setup’s first commit used to fail, and setup carried on regardless. Setup now asks whether to use the identity you gave for the board for this repository’s commits. It’s set for that repository only, never globally. If you decline, the first commit still goes through with that identity. A failed setup step now stops the rest.
  • Security updates.
    • The monitor’s KaTeX, which mermaid uses to draw maths in diagrams, is pinned to 0.19.0 (GHSA-238p-pmpm-9mq7).
    • The screenshot tool’s rustls goes to 0.23.45 (GHSA-2mjx-qc3c-rqvc). The kanbanr binary already had it.

Upgrade notes

Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows). Either brings the Claude Code skill and the VS Code extension up to date where kanbanr installed them. Existing boards work unchanged.

Saving a process adds a processes/ folder to the board. Applying a saved process records it in the project’s config.yaml. An older kanbanr keeps both untouched.

See Processes and Working with Claude for the details.

kanbanr 0.1.6 — timestamps as instants; releases wait for CI

Released 5 October 2026.

A small release with two fixes: one to how kanbanr compares times, and one to how kanbanr itself is released.

What’s fixed

  • Timestamps are compared as instants, not text. kanbanr writes times with the trailing zeros of the fractional seconds dropped, so two times in the same second can have different lengths. Compared as text, …05.12Z sorted after …05.1234Z, although it is earlier. So an item created in the same second as the project’s charter could be judged older than the charter, and skip its stage gates. Retrospectives and the GitHub issue mirror made the same comparison. All of them now compare the times themselves. This release’s CI caught it on macOS, whose clock makes the case common.

What changed

  • A release is built only from a commit that passed CI. v0.1.5 was tagged while CI was still running on its commit, and published before CI failed on macOS. The release now checks CI’s run for the tagged commit before building anything. It waits while the run is in progress, proceeds when it passed, and refuses, naming the run, when it failed or never ran.

Upgrade notes

Nothing to do: update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows). Boards are unchanged.

kanbanr 0.1.5 — decisions in Claude Code

Released 4 October 2026.

You can now run kanbanr entirely from Claude Code, without the browser or a terminal. Ask for work, and Claude scopes it in a plan for you to accept. Decisions that are waiting come to you one question at a time. What Claude asks at each step is read from your workflow, so your own process drives the conversation as well as the presets do.

Highlights

  • Scope new work in plan mode. Ask for a feature and Claude reads the charter and the code, asks you the choices only you can make (business rules, retention, limits, scope) before writing anything, and shows the item’s brief as a plan. Accepting the plan creates the item and records your approval of exactly that text. Anything Claude still had to choose is listed under “Choices I made”, so accepting is informed.
  • Decide in the conversation. Say “let’s review” (the session start tells you when anything is waiting) and each decision comes as one question: Approve, Ratify, Sign off, Accept or Reject a design decision, plus “Change it” and “Skip”. A design decision Claude drafts is asked about at once, not left for you to accept by command.
  • Your workflow decides what is asked. Claude asks the board what the next stage still needs (kanbanr check --json) and turns each kind of gap into a draft or a question, the same way for every workflow. Tried on the TOGAF preset and on a custom process file: the custom process asked when the feature happens at its shaping stage; TOGAF, whose gates don’t ask, did not.

What’s new

  • --rev on approve, ratify and signoff. A verdict is pinned to the definition you were shown, and is refused (recording nothing) if the definition changed in between. Claude always passes it; the Review page’s buttons send it too. check --json and review --pending --json carry each item’s rev.
  • A new chapter, Working with Claude: starting work, deciding, moving work, why Claude asks what it asks (a table for every check a gate can ask for), and one feature taken through TOGAF stage by stage.

What’s fixed

  • kanbanr review --pending listed items that weren’t waiting: ratified and finished ones, because it kept its own copy of the rule. It now shows the same queue as the Review page.

  • The container image now runs on Debian 13 “trixie” with Debian’s security updates applied at build time. The release refused to push a bookworm image carrying a package Debian had already fixed (CVE-2026-103111, libpcre2-8-0). The downloadable binaries are unchanged and still run on bookworm and newer.

Upgrade notes

  • Update with kanbanr self-update (macOS, Linux) or by rerunning the installer (Windows). The Claude Code skill updates with the program.
  • If you run the monitor from ghcr.io/startr-trade/kanbanr, pull v0.1.5: it is built on trixie.
  • Nothing changes for anyone who approves on the Review page or with the commands. Both still work, and a verdict without --rev behaves as before.

kanbanr 0.1.4 — Completed means proven

Released 3 October 2026.

An item now reaches Completed only when its requirements are proven, however it gets there. And the installers can put the VS Code extension into your editor, in the same step as the program.

Highlights

  • Completed means proven. On a workflow with no declared gates, ticking an item’s last task used to complete it even when its requirements had no green test, although kanbanr finish refused the same move. Now the last task completes a defined item only when every requirement is proven; otherwise the item stays where it is, and the task command names what is missing:

    $ kanbanr task state FEAT-001 TL-001 T1 Completed
    FEAT-001/TL-001 T1 -> Completed (feature now In Progress)
      all tasks are done, but it stays in In Progress: R-1 has tests but none is green — not yet
      proven — record the evidence with `kanbanr test`, or move it by hand if you disagree
    

    A batch is judged once, after its last operation, so one that ticks the last task and then adds another can no longer complete the item in between.

  • The VS Code extension, from the installer. Add --vscode and the installer also installs the release’s extension into every editor it finds — VS Code, VSCodium, Cursor, Windsurf — or --vscode=codium into one. Without the option nothing touches an editor.

    curl -fsSL https://github.com/startr-trade/kanbanr/releases/latest/download/install.sh | sh -s -- --vscode
    

What’s new

  • kanbanr editor install downloads the .vsix of the version you are running over https, checks it against the release’s SHA256SUMS, and installs it (--editor codium for one editor). kanbanr self-update now keeps the extension in step in every editor that has it, as it already did the Claude Code skill.
  • The extension is on Open VSX, for VSCodium, Cursor and Windsurf, and from this release on every version is published there automatically.

Upgrade notes

  • Items without a definition, items created before your charter was adopted, and workflows that declare their own gates behave exactly as before.
  • On a workflow without gates, an item whose last task you complete may now stay in progress. That is the fix: record its evidence (kanbanr test <CODE> <R-n> <test> green) and it completes, or move it by hand if you disagree.
  • Update with kanbanr self-update (macOS and Linux) or by rerunning the installer (Windows).

kanbanr 0.1.3 — decisions get a verdict

Released 2 October 2026.

Architecture decisions can now be accepted or rejected by the person who owns them, from the command line or the Review page. Every release now carries notes like these, and the release’s own installer check runs correctly on every platform.

Highlights

  • Accept or reject an architecture decision. A decision drafted with kanbanr adr new starts as proposed; until now the only way to accept it was to edit its file. Now:

    kanbanr adr accept ADR-0007
    kanbanr adr reject ADR-0007 --reason "the browser is enough"
    

    The verdict, who gave it and when are written on the decision and appear in the activity log. Accepting is refused while a section is unanswered; a rejection keeps its reason. The Review page lists proposed decisions beside the definitions waiting for approval, with Accept and Reject.

  • Release notes. Each release has a notes page in the docs — this is one — and the same text opens its GitHub release page.

What’s fixed

  • The release’s installer check runs from a folder of its own. In 0.1.2 it ran inside the repository checkout and failed on all four platforms although every install worked.

Upgrade notes

Nothing to do. Claude now drafts decisions as proposed and asks you to accept them; the skill updates with the program (kanbanr self-update, or rerun the installer).

kanbanr 0.1.2 — features frozen until 1.0

Released 2 October 2026.

From this release, kanbanr’s feature set is frozen until 1.0. The 0.1.x releases take fixes, documentation, and the work that makes the 1.0 promise checkable. This one writes that promise down, makes boards safe to share across versions, and ships the VS Code extension.

Highlights

  • What 1.0 keeps compatible is written down. Stability lists what stays stable from 1.0 until 2.0 — the board format and config.yaml, the .kanbanr marker, CLI commands, flags, exit status and --json, the monitor’s /api/…, the commit trailer and hooks — what is not covered, and how anything stable is deprecated before it is removed.
  • An older kanbanr no longer deletes what a newer one wrote. Rewriting an item, a milestone, the config or the charter used to drop every field the running version did not know. Unknown fields are now kept and written back unchanged, so machines sharing a board can run different versions.
  • The VS Code extension ships with every release as kanbanr-vscode-<version>.vsix, at the program’s version and covered by SHA256SUMS.

What’s new

  • The release installs itself on every platform it publishes for. After publishing, it runs install.sh on macOS and install.ps1 on Windows (as irm … | iex, the way the docs say) beside the two Linux containers.

What’s fixed

  • The VS Code extension packages. It now names the repository and the docs site, carries its licence, and installs from the packaged .vsix in a clean VS Code.

Known limits

  • The new installer check reported all four platforms as failed for this release, although every install worked and named 0.1.2 and its commit: the check ran kanbanr init inside the repository checkout. Fixed in 0.1.3.
  • The extension is not on Open VSX or the Visual Studio Marketplace yet.

Installing the extension

gh release download v0.1.2 -R startr-trade/kanbanr -p 'kanbanr-vscode-*.vsix'
code --install-extension kanbanr-vscode-0.1.2.vsix

kanbanr 0.1.1 — the container image is the released program

Released 2 October 2026.

A fix release for the container image. The binaries and installers are unchanged in behaviour from 0.1.0; the image now carries exactly the program the archives do.

What’s fixed

  • The image’s kanbanr names its build. kanbanr --version in ghcr.io/startr-trade/kanbanr printed (unknown, built unknown), because the image is built without .git. It now names the commit and date, like the archives — and the release refuses to push an image that cannot.
  • The image’s kanbanr carries the skill. Its binary embedded no Claude Code skill, so it was not quite the program the archives ship under the same version. It does now, and the release checks the image installs the repository’s skill, file for file, before pushing it.

Upgrade notes

Nothing to do for the binary. If you run the monitor from the image, pull v0.1.1 (or latest).

docker pull ghcr.io/startr-trade/kanbanr:v0.1.1

kanbanr 0.1.0 — first public release

Released 1 October 2026.

kanbanr is a system of record for development done with Claude Code: the plan, the reasoning and the evidence live on a git-backed kanban board beside your code, and Claude keeps them current as part of doing the work. This is the first release anyone outside the project can install. It carries everything the project was built with, because kanbanr has been developed on its own board from the start — the board is public.

Highlights

  • One binary, installed in one line. The CLI, the live monitor and the Claude Code skill are one executable, checked against the release’s SHA256SUMS by the installer. The installer puts the matching skill in place when Claude Code is installed.
  • A board Claude recovers from. Every session starts from the board; a stop hook reminds Claude to record what changed. Nothing about the plan lives only in a transcript.
  • Work that says why it exists. Each item carries a definition — a statement, the goals it serves, the six Zachman questions, EARS requirements each naming the test that proves it — and is approved before work starts. Change the definition and the approval lapses.
  • Your process, as configuration. Kanban, Scrum, agile, TOGAF, PDCA, a design-control flow or your own file: each stage declares what an item needs to enter it and who signs off.
  • Code traced to its reason. Commits carry Refs: kanbanr:FEAT-…; kanbanr why <file>:<line> walks from a line of code to its requirement and goal.
  • Set up by interview. Say “set up kanbanr for this project” and Claude interviews you in plan mode — where the board lives, who you are, a charter drafted from your repository, the process — and sets it all up when you approve the plan.

What’s new

  • The method: a project charter with goals; feature definitions; approval, ratification and named sign-offs; EARS and ISO/IEC 25010 checks; tests carried through planned → red → green; defects with their origin; retrospectives per milestone; lessons with confidence that decays.
  • Processes: declarable gates per status (block or warn), presets as data, kanbanr check saying what the next stage needs, --override with the reason kept.
  • Cadence, when you want it: sprints with a burndown derived from what actually moved, story points, releases planned up front and cut with notes.
  • Traceability: one item, one branch; commit hooks that refuse unreferenced commits; trace and why; architecture decisions as documents joined to the items they affect.
  • The monitor: board, item pages, review queue, sprints and releases, Gantt, workflow, charter and lessons, docs with Mermaid diagrams, a portfolio across projects, light and dark themes — updating live, read-only unless you start it to take verdicts.
  • Sharing: a board is its own git repository; push it to a remote to share it. The push policy is a board setting (kanbanr remote push-policy).
  • Also: a container image of the monitor, a GitHub issue mirror, import from existing task trackers, session summaries, a VS Code extension (in the repository).

Known limits

  • The VS Code extension is not published yet; build it from editor/vscode/.
  • The container image’s kanbanr --version says unknown and its binary carries no skill — fixed in 0.1.1.
  • Only the Linux installer is verified by the release; macOS and Windows are built and tested in CI but their installers are not yet run end to end.

Installing

curl -fsSL https://github.com/startr-trade/kanbanr/releases/download/v0.1.0/install.sh | sh -s -- --version v0.1.0

See Installation. The complete list of changes is in the changelog.

Changelog

All notable changes to kanbanr are documented here. The format follows Keep a Changelog, and the project aims to follow Semantic Versioning.

Unreleased

0.7.0 - 2026-11-16

Added

  • kanbanr claude permissions [--write]: the Claude Code allow rules for delegated commands (DEF-060). In delegated mode it lists the rule each delegation in force needs (Bash(kanbanr signoff:*) and the like) as allowed or missing; --write adds the missing ones to the project’s .claude/settings.local.json. The Review page and kanbanr decisions grant name the missing rule.
  • kanbanr git tidy [--yes] lists the merged branches that can go and deletes them locally after one confirmation. It covers finished items’ merged branches and finished agents’ worktree-agent-* branches, never an unmerged or checked-out branch and never the remote, and prints each deleted branch’s tip (DEF-051).
  • Walkthroughs run themselves (FTR-037). kanbanr walkthrough run <runbook> follows a guide’s runbook (a board doc under walkthroughs/) from an empty folder to a cut release with no person present: it drives a Claude Code session headlessly on a scratch project inside a fence, answers every question Claude asks from the runbook’s rules (else the recommended option, else the first) and logs each in questions.tsv, takes each step’s decision on the scratch board through the monitor’s own write routes as the scripted person after checking the button the guide names is offered (or presses it on the rendered page, with a browser), pushes only to its own remotes, keeps every capture under MANIFEST.sha256, derives decisions.tsv and metrics.md from the captures alone, and prepares the run’s checks on your board as one batch. The Review page offers Confirm all N and Reject all N for a batch beside the single buttons (POST /projects/{p}/prepared/batch/{batch}/confirm|reject; kanbanr prepare test --batch). A missing offer, a failed board claim or a mismatch with the remote is a finding, never a stop; --pause-at-decisions leaves each click to you. kanbanr walkthrough lint|verify|derive|remotes check a runbook, a run’s manifest, its tables and the repositories runs created. A test of kind walkthrough is automated evidence a run proves, never a manual check. kanbanr serve --bind 127.0.0.1:0 now answers on the port it got and names it. Two runbooks, walkthroughs/togaf.md and walkthroughs/agile.md, ship on the board.
  • A shared position and a view ID (FTR-003). kanbanr position prints the checkout’s position (commit plus a hash of uncommitted changes), computed byte for byte as katalogr computes it; kanbanr view docs is the first view answered for a position, with an ID that repeats whenever the position, the board and the question repeat. --at answers a clean commit from the repository with nothing checked out (exit 6, HTTP 409, for a position no checkout holds). The daemon serves GET /projects/{p}/position and GET /projects/{p}/views/docs.
  • The monitor shows the kanbanr version and commit it runs, and warns when the board was last written by a newer one (FTR-036).

Changed

  • The guides and the setup interview recommend agile for a new project, and every release guide says a patch release starts at candidate (DOC-009).
  • Milestones are listed newest first (FTR-031). kanbanr milestone list (text and --json) and the monitor’s Milestones page put the highest code first, so the milestone being worked on is at the top; --oldest-first gives the creation order. The Schedule view and a milestone’s dependencies keep their dependency order.

Fixed

  • The fence check accepts a Windows folder in its verbatim form, so a walkthrough run is not refused on Windows; a test that needs a non-UTF-8 file name runs on Linux only (DEF-094).
  • The skill asks the styling approach even when the person has already described the look, and records only what they said as theirs. It has build agents run the project’s formatter and linter before each commit. It reads the queue and kanbanr check before saying what waits, gives page addresses with /p/<project>/, and never names a kanbanr command as a test (DEF-084).
  • Claude keeps a test the person named with the kind and name they gave, uses walkthrough: tests only for what a kanbanr run can see on the board, the monitor or the remote, and settles test names in the runner’s form before asking for approval, so its own corrections no longer lapse an approval (DEF-073).
  • Claude proposes the release files, a CHANGELOG chore and the pipeline item when the first release is planned, before it names Promote to candidate; release add says what the first release still needs; an override a gate did not need is no longer recorded (DEF-056).
  • kanbanr capture reads Vitest 5 verbose lines with their durations, pytest -v node ids and Playwright list-reporter lines (project, location and duration dropped); a name reported more than once in a run is green only if every line passed (DEF-061).
  • The agile guide’s chore path matches the process: a chore passes Review, where it merges after docs-folded. The agile and scrum guides now say that docs-folded waits for a passed manual check and that a granted delegation does nothing until the mode is set to delegated (DOC-010).
  • The docs_updated gate also requires the board docs a Design links under Affects docs to have changed (DEF-047). A doc the Design only reads is marked unchanged on its line.
  • A release whose tag stage is last now reads as tagged until its tag workflow’s passed result is recorded, then ships (DEF-049).
  • Sprint close no longer needs one answer per merged branch, and a revoked scope’s merged agent branch is deleted (DEF-051).
  • A granted delegation can be used when Claude Code runs in auto mode (DEF-060). The allow rule that lets the delegated command past auto mode’s safety check is offered at the grant, and Claude asks once before kanbanr claude permissions --write adds it.
  • A board’s README leads with the project it tracks, not with kanbanr (DEF-053). The heading names the project, its line links the code repository recorded on the project (kanbanr init records the folder’s remote; kanbanr project edit --repository URL, --repository-private on names a private one without a link), and kanbanr is named as the tool below. kanbanr doctor names a project with no recorded repository on a shared board, and a README whose generated block is out of date; kanbanr readme and kanbanr claude sync refresh it.
  • The Releases page offers Promote to candidate again when a candidate’s release-prepare configuration changed since it was prepared; release promote --plan says the same under again: (DEF-057).
  • A build in a linked git worktree is stamped with the commit it was built from (DEF-058). build.rs watched .git/HEAD and .git/refs/heads, which exist only in a plain clone; in a worktree nothing was watched and --version kept the first build’s commit. It now asks git where HEAD, the refs and packed-refs live (git rev-parse --git-path), so a checkout, a commit or a fast-forward in a worktree reruns it. A test checks the crate twice in a scratch worktree; the release gate runs it.
  • A flagged text stays flagged after an edit, and the Review page shows the edit and its diff; Claude is refused an edit to another item’s approved spec (DEF-050).
  • A sprint catch-up merge is no longer agent work ahead of the board (DEF-063). kanbanr scope drift, the Stop hook, session start and git doctor count a build agent’s own non-merge commits, not the merges that bring a sprint, release or main branch into its item branch, nor what those branches already hold.
  • Ratifying an override Claude made at a definition the person had already ratified now records it (DEF-064). The repeat rule treated a second ratification at the same revision as already recorded, while the Review page kept asking for the open override; now a ratification is a repeat only when no override waits, so the second one is recorded, closes the override, and the page stops asking. A disabled Approve or Ratify button on the Review page now says beneath it what is missing and who provides it, instead of only in a tooltip.
  • The Claude docs guard judges a file in a linked worktree by its own repository’s path, so the book, the changelog and the skill are no longer refused there (DEF-065).
  • A checkout with line-ending conversion reads clean (DEF-066). A position compares each working file as git would store it (core.autocrlf, core.eol, the text, eol, crlf and ident attributes), so a Windows or core.autocrlf checkout no longer reads as changed and kanbanr and katalogr give it the same position and view ID. Driver filters such as LFS are never run.
  • kanbanr capture reads python -m unittest -v results as module.Class.test (Python 3.10’s form and a docstring’s two-line form too; a failed subtest turns its test red), and tells Claude when a test run printed nothing it can read, naming the forms it reads (DEF-068).
  • kanbanr doctor judges an item at its current stage by its kind’s path, as the move does: a chore is no longer warned that it has no Design section (DEF-069).
  • doctor no longer warns that a doc folded just before a move has not changed: it re-judges the docs_updated gate an item has passed from when the item entered the stage it moved from, as the move did (DEF-074).
  • Agreeing or changing the charter after setup no longer leaves CLAUDE.md modified on the default branch: the guard and the git hooks take one [no-ref] commit of CLAUDE.md that changes only its generated kanbanr block, with the git model on or off, so Promote to main is not refused for it (DEF-083).

0.6.1 - 2026-11-16

Fixed

  • Setup can commit its .kanbanr marker, CLAUDE.md and .gitignore on the default branch of a repository that already has commits: the guard and the git hooks take that one [no-ref] commit, with the git model on or off, until the marker is committed (DEF-067).

0.6.0 - 2026-11-14

Added

  • Docs and items that fell behind the code are found as work lands (FTR-013). When an item’s docs-folded sign-off is offered, the Review page lists the docs and items linked to it (its affects_docs, a doc’s front matter items or refs, an ADR’s affects, and plain links) that name something the item changed, such as a flag, route, KANBANR_ variable, setting, stage or status name, or file, and have not changed since. Each is confirmed as still right or settled by a filed correction before the sign-off is accepted, and the sign-off records which. When an item is merged, the same texts are listed on stderr. kanbanr drift [--since DATE] [--item CODE] [--json] lists them for the whole board, grouped by text, back to the latest release’s tag date (else 60 days). It flags what to read and never judges prose. Without a code repository the check is skipped, and says so.
  • The board’s Sprint filter offers Unscheduled, the items in no sprint, for planning the next sprint (FTR-032).
  • Claude prepares a decision’s evidence with kanbanr prepare (a sign-off’s note, a promotion’s what-you-checked, a CI result with its run link, a ratification’s reason); the monitor shows it filled in beside one button, and the person confirms, edits or rejects it. Both are kept (FTR-034).
  • A project chooses where decisions are taken, and can delegate chosen verdicts to Claude for a time; every delegated decision comes back on the Review page to keep or undo (FTR-028). kanbanr decisions show|mode|propose|grant|revoke|review and --under DLG-n on approve, ratify and signoff; the mode, granting and reviewing are the person’s own.

Changed

  • A verdict command run inside a Claude session is refused by kanbanr itself, not only by the hook (FTR-028).
  • A test can say it is checked after main is pushed, at the cut, or at a named release stage (DEF-043). The item’s gate doesn’t wait for it, and that stage does: at: pushed, at: cut or at: <stage> on the test.

Changed

  • kanbanr sprint start on a sprint dated later starts it today and keeps its length, and --start today is accepted wherever a sprint’s first day is (DEF-041).

Changed

  • The process guides and the skill ask about a screen’s look before it is built (DOC-008), give one order for a release (promote to main, push main, CI, record the result, cut, push the tag) with the Record result form shown where the Cut needs it, and design a staged pipeline whose stages rerun alone, with caches for the project’s stack.
  • The TOGAF guide says when to approve, how to use a delegation, and what to set before a release (DOC-001). You approve in Vision, a granted delegation needs Mode set to delegated, and the release files and CI workflows are set up before the first candidate. Under Claude Code’s auto mode, a delegated sign-off also needs a permission rule for kanbanr signoff.

Fixed

  • The monitor updates live for a board under a linked folder on macOS (DEF-062). macOS reports a change under the folder’s resolved path, which the watcher did not recognise.

  • A sprint’s release is made from that sprint, even after an earlier release was brought forward into the previous one (DEF-059). A closed sprint whose work is all in main no longer counts as unreleased because of the merges that brought a release forward, so the second sprint’s release carries its own items.

  • An override Claude makes waits on the Review page for the person to ratify, and the item doesn’t ship until it is; the cut names requirements whose tests were not run and waits for the person to accept them, and the notes list them (DEF-043). kanbanr release promote and release cut take --accept-untested, and the Releases page asks with one checkbox.

  • The docs-folded sign-off no longer asks you to tick each text to check or type a defect code: Claude settles each text, with why and the revision it checked, and the sign-off appears once none is left (DEF-039).

  • kanbanr doctor no longer calls a project’s gates/ folder, where recorded CI results are kept, a stray folder (DEF-038). The prepared/ and manual/ folders are part of the layout too.

  • Promote to candidate fills the version’s changelog section from what the release ships, or says why it cannot, instead of writing an empty heading; kanbanr release notes <V> --changelog <file> updates the section in the same commit as the notes (DEF-044).

  • Manual tests waiting for a person are listed on the Review page, recorded there with Passed or Failed, and refused when Claude tries to record one (DEF-040). The board keeps who checked, when, from where and any note; kanbanr test still records one from the person’s own terminal, and kanbanr prepare test lets Claude prepare a result the person stated, to confirm on the page.

  • Choosing sprints or releases turns the git model on, and the setup preview says so; applying a process never turns it off. The built-in agile and design-control processes send a chore through their integrate stage, so it merges before the release is cut; re-apply the process to take the new path. process check and config workflow warn of a path that skips the integrate stage (DEF-042).

  • After a fix merges into a release branch, kanbanr names kanbanr git forward as Claude’s next step, and the skill has Claude run it and report the merge; the person is no longer handed the command (DEF-045). The cut, git doctor and the move say it the same way, and a forward that would conflict says that nothing was changed. Pushing stays yours.

  • The docs-folded sign-off is offered only once every task is done and every document the Design links is folded, and lapses when the item’s branch gets a commit after it (DEF-046). The Review page says which branch moved on, and the move into the stage that asks for the sign-off is refused until it is given again.

  • kanbanr drift --since DATE starts at the beginning of that day (UTC), so its result no longer depends on the time it is run (DEF-037).

  • A release’s notes are still found after the notes path is changed, and a missing notes file names every place looked (DEF-036). The path is recorded on the release when its notes are first written; a shipped release is read at its tag; an older release is found at any path the setting has named. The error no longer says nothing has written the notes.

  • The docs gate no longer passes an item when two board commits share a second (DEF-035). The history walk now orders commits of the same second child first, so the newest one is the baseline a declared doc is compared against.

  • A docs-folded sign-off is offered only once the work it confirms is done (DEF-033). The Review page offered Sign off docs-folded on items still being built, because they named no board docs and the check had nothing to wait for. Now the sign-off waits until every board doc the item names has changed, every repository doc its Design lists under Affects docs has changed on its branch, and every task that writes docs is complete. An item that names no documents is offered it once its tasks are all done, with the line “changes no documents”. kanbanr check prints Documents not built yet: and the sign-off request is refused naming them. A sign-off given earlier stays recorded.

  • The local release gate is no longer fooled by a cached image layer or by a build agent’s capture records (MNT-006). make ci built the release image from Docker’s cache, so an old apt-get upgrade layer kept a package with a fixable HIGH finding; it now builds with --pull and a build argument, KANBANR_APT_REFRESH, that changes every run and is declared just before that layer (make docker-build does the same). The test-capture hook now takes the scope from the directory the tests ran in, not the one the hook started in, so a build agent’s recorded results carry its Agent-Scope trailer, only for its own item, and the board check accepts them; an unmarked record still fails. A new check, scripts/check-tracked-files.sh, refuses a tracked *.orig or *.rej file, and the stray local_mode.rs.orig is removed.

  • A batch refuses a field its operation does not take, instead of ignoring it and reporting success (DEF-018). {"op":"feature.edit","code":"FEAT-001","sprint":""} used to print applied 1 operation(s) and change nothing. Every operation now refuses an unknown field, naming the operation by position and kind and the field, in a dry run as in a real one, and writes nothing. A refusal for sprint points to kanbanr sprint plan and kanbanr sprint unplan. This includes ref on feature.edit and any other field never accepted: it is now a refusal where it was a silent ignore; removing the field restores the old result.

  • A crash while kanbanr writes can no longer leave a board file half-written (DEF-025). Every file kanbanr writes, in a board and beside it (CLAUDE.md, the commit message, the Claude settings), is written to a temporary file and renamed into place, so a kill or a full disk leaves the old file and a reader that takes no lock never sees a short one. A leftover .tmp file is ignored by the board’s git and named by kanbanr doctor after an hour; nothing deletes it.

  • A promotion no longer carries merged work out of its release, and doctor names what a release left behind (DEF-029). Promoting into the stage that tags, or the last stage, is now held while an item planned into the release has its code merged but would be carried over because its end gate fails (usually a missing Sign off release). The plan names each such item, what it lacks and the way out (merged_items_ship); work that is not done or not merged is carried as before. kanbanr doctor warns about an item planned into a shipped release that is not at an end status, and about a live item planned into a release but into no sprint while a sprint runs. kanbanr release plan says which of the items it planned are in no sprint, with the kanbanr sprint plan line, and plans nothing into the sprint itself.

  • A change merged into a promoted release sends it back to candidate (DEF-031). Merging an item into a release that is past its first stage and not cut returns the release to that stage, recording the item, and kanbanr move and Claude say what to do from there. The Releases page and kanbanr release promote <V> --plan show the item and the steps in order (notes, the gate, promote to main, push and wait for CI, cut), the release notes list the planned items they do not mention, and the cut of a returned release needs main at the tip, the tip pushed and the gate passed. A recorded gate pass now carries to a later commit when only documentation changed (docs/ and *.md unless kanbanr config gate-docs says otherwise), and the plan names the commit it came from; a failed result never carries. A release that is tagged and not shipped refuses the merge and points to a patch release.

  • A decision records where it was taken, and a repeat records nothing (DEF-028). Every approval, ratification, sign-off and its withdrawal, decision, promotion, confirmation after the tag, patch from a failed tag and cut now records its origin: monitor for a click on the monitor, conversation for a command run inside a Claude Code session, terminal otherwise. The front end names it; a request cannot. feature show ends each verdict line with it and --json carries it; a record from an earlier version reads as origin unknown and is not rewritten. A release’s cut also records shipped_by and shipped_origin, and a decision decided_origin. The same approval, ratification or sign-off repeated on text that has not changed records nothing, with no activity entry, event or commit, and answers with already_recorded saying who recorded it first, when and from where; a decision, promotion or cut asked for twice is refused and now says the same. Release stage changes keep keys they do not know: a kanbanr older than this one that rewrites releases.yaml drops origin from them.

  • A scope issued with --worktree no longer tells its agent to claim it (DEF-023). The scope is bound at once, so the brief’s claim step was refused when the agent ran it. A bound scope’s brief now says which worktree it is bound to and the branch it is on, and that nothing needs claiming; an unbound scope’s brief is unchanged.

  • The monitor refuses to start with writes on at an address other machines can reach (DEF-026). Accept it with --allow-remote-writes or KANBANR_ALLOW_REMOTE_WRITES; KANBANR_ALLOWED_ORIGINS lets a write come from an https origin through a proxy you name.

  • A scope binds the agent it was issued to, not whoever stands in its folder (DEF-027). The coordinator’s shell was trapped once it entered an agent’s worktree, and revoking the scope trapped it further. A process outside Claude Code is a person, a hook call without an agent_id is the coordinator’s, and one with an agent_id is that agent’s; scopes govern agents only. A revoked or expired scope stops its agent’s next tool call and frees every other shell. The Bash guard keeps the coordinator out of agents’ worktrees and names the way out (git -C <path>), test capture finds its board from the project folder and records the coordinator’s runs, and kanbanr scope issue needs the Claude Code hooks that tell the two apart (kanbanr hooks install).

  • A batch refuses a field its operation does not take, instead of ignoring it and reporting success (DEF-018). {"op":"feature.edit","code":"FEAT-001","sprint":""} used to print applied 1 operation(s) and change nothing. Every operation now refuses a field it does not accept, in a dry run as in a real one, naming the operation by position and kind and the field (operation 1 (feature.edit): unknown field ...), and writes nothing. For sprint the refusal says sprint membership is changed with kanbanr sprint plan and kanbanr sprint unplan. A bundle that sent a field no operation ever took, such as ref on feature.edit, now fails where it was silently ignored; remove the field to get the old result.

  • A scope’s brief allows temporary boards, and the guard now lets an agent use one (DEF-015). Every brief said “Tests: temporary boards only”, but the Bash guard refused --data-dir, KANBANR_DATA_DIR, KANBANR_PROJECT and cd $TMPDIR/… for any board, so agents could not walk a process through on a throwaway one. One rule in core now decides what a temporary board is (a folder under the temporary directory that holds no agent scope); the guard, the brief and the board-governing check all use it. A real board, a copy of it (it holds scopes), a link to it and a path the guard cannot resolve stay refused, and the refusal and the brief name the form to use. $TMPDIR cannot be reassigned in a command.

  • On a project with sprints, work waits for its sprint to start (DEF-041). The first move into a working stage asks for the item to be in a sprint that has started, and a sprint dated in the future reads as planned until its first day. kanbanr doctor names a sprint an older version started early. Claude recommends starting a sprint today unless you name another day.

Added

  • kanbanr sprint unplan ITEM... takes items out of their sprint (DEF-018). Each goes back to no sprint, and the command says which items left which sprint and which were in none. An item in a closed sprint, or an unknown item, refuses the whole command and changes nothing. It needs sprints switched on, as sprint plan does. The new write route POST /projects/{p}/sprints/unplan is not in openapi.json, which lists read routes only, as plan, start and close are not.

  • TOGAF fits sprints and releases without changing it (FTR-025). Migration counts as done for a sprint, so closing a sprint carries over only unmerged work. A project’s sprints, releases, release stages, branches, git model, release gates and prepare steps no longer make it a different process.

  • Setup leaves no sprint or release you didn’t need (FTR-022). Setup now asks sprints and releases as one question, with no length, dates, capacity or version, and creates neither; the first is made when you ask for it. It reads the project’s name and description from the README or manifest, asks for the commit identity once for the board and the repository, asks for the charter as one confirmation, and asks once whether the project has CI. A sprint that has not started can be changed (kanbanr sprint edit), and an empty unstarted sprint or release can be removed (kanbanr sprint remove, kanbanr release remove, and a Remove button on the Releases page).

  • Chores take a lighter path through a process (FTR-019). A process can give a work kind its own paths: the stages an item of that kind passes through, the conditions its first move asks, and the method parts that do not apply to it. The built-in TOGAF, Scrum, agile and design-control processes give chores one, so a chore no longer goes through stages whose questions do not fit it, while it still records why it exists and how it is verified, and still needs your approval and sign-offs. Other kinds and boards without paths behave as before. A process file with paths needs this version; an older kanbanr does not know the key.

  • Release and install builds are locked, and releases carry SBOMs and attestations (MNT-004). Every release, image and install build now passes --locked to cargo and uses npm ci, and scripts/check_supply_chain.py fails CI on any that does not. Each release attaches two CycloneDX SBOMs (Rust and monitor npm dependencies, listed in SHA256SUMS; make sbom builds them locally) and a build-provenance attestation for every asset and the image, with the image also carrying the builder’s SBOM and provenance; setting the repository variable ATTEST_RELEASE=false skips the attestations and says so in the release notes. The Docker smoke test drives the docker CLI directly, so testcontainers and its advisory exception (RUSTSEC-2026-0440) are gone.

  • The guides cover the delivery pipeline and a product people use (DOC-007). A new page, Designing CI and the release workflow, says what to settle before a first release (start small, check what the account’s plan allows, take the release description from kanbanr’s notes, run the release workflow without a tag, run each check once per commit, run the product the way a person will, check CI before the cut), and each guide with releases points to it. The with-Claude guides’ first item now describes what a person does, not a capability, and the guides say Claude asks whether the product has a user interface when the technology is chosen. The skill has both rules.

0.5.1 - 2026-11-11

Fixed

  • The monitor answers its own page on a published port (DEF-032). v0.5.0 counted localhost, 127.0.0.1 and [::1] only on the port the monitor is bound to, so the documented Docker setup, which publishes 8080 as 18080, got a 403 on every page. Those three names are now answered on any port; every other host is checked exactly as before.

0.5.0 - 2026-11-06

Added

  • An approval lapses only when the text you approved changes (FTR-018). Adding to a definition no longer lapses its approval: each approval, ratification and sign-off now records a hash per part of the definition (parts), and an approval whose parts are all unchanged but which gained new ones reads extended. Before the build stage the additions wait for the next decision, such as design-review, which reviews them; from the build stage on a gate that asks for no sign-off refuses the move and names the additions, and the Review page lists the item as added. Changing or removing approved text still lapses it. The Review page shows the parts added or changed first, with the approved text collapsed. Additive to the API: the extended approval state, the added review entry, changes on review entries and parts on approvals and sign-offs. Records from an older kanbanr have no parts and lapse on any change, as before.

  • A changed design comes back for sign-off (FTR-023). A sign-off whose gate asks for spec sections, such as design-review, now records a hash of the whole spec it was given on (spec_rev) and keeps the text under pins/. If the spec changes afterwards, even outside ## Design, the sign-off reads changed since sign-off, and the item returns to the Review page as spec_changed with a line diff against the kept text; signing again pins the new text. Whitespace at line ends, line endings and outer blank lines don’t count as changes. kanbanr signoff --spec-rev and the sign-off route refuse a sign-off given on a spec that moved on after it was shown. Additive to the API: the spec_changed review entry, spec_rev and spec on review entries, and spec_rev on sign-offs. The guide sentence that a sign-off doesn’t lapse when the design changes is replaced. An older kanbanr on the same board ignores spec_rev and reads such a sign-off as current.

  • Turning releases on gives release stages that each do something (FTR-020). A project that turns releases on, and names no stages and declares no stage gate, now gets candidate (branch and prepare), main (move main once the items are finished) and tag (the cut, needing main at the release and pushed), written into the board’s config. kanbanr config cadence --has-ci on also makes tag require a passed ci result for the release tip, on a board whose stages are still the recommended ones. A board that has releases on already, or names its own stages, is left alone, and one with no stages named keeps reading candidate, test, staging and production. Changing the stages of a board whose gates are still the recommended ones drops those gates instead of refusing. A stage before the cut with no condition and no action is warned about when configured, and marked does nothing in kanbanr release stages and the inert field of the release-stages route.

  • Release stages can follow the tag, with the tag’s CI result on the Releases page (FTR-026). The stage holding the tag action is now the cut and tags the commit, recording tagged_at and the commit, but ships nothing unless it is also the last stage. Each later stage is a confirmation you give, with an optional note (kanbanr release promote <V> --note …), and confirming the last one ships the release and moves its items to their last status. The Releases page shows the result you recorded for the tag (kanbanr config tag-gate, else the first commit gate), offers Check again or Start a patch release when it is red, and the next confirmation when it is green. kanbanr release add <V> --patch-of <T> --from-failed-tag files a defect with the run’s link and your notes, plans it and the release’s items into a patch and supersedes the failed release. A project with no stage after the tag behaves as before.

  • A release stage can require merged items, or an earlier stage (FTR-021). A new release check, items_merged, holds when every item planned into the release is at the integrate stage or later, judged from the board with no repository, so Promote to candidate can wait for merged work. A stage can also list --after stages (kanbanr config release-stage tag --after ci): the release must have been promoted into each first, so a named promotion cannot jump over them. Both appear in the promotion plan as conditions with what was found and what to do. A board that uses neither sees no change.

  • A release stage can require that the gate passed (FTR-002). A new release check, gate_passed, needs a recorded passed result for the release tip from every gate named by kanbanr config commit-gates. You look at your CI and record its verdict with kanbanr gate record <gate> --passed --url <link> or the Releases page’s Record result form; kanbanr never asks a server. A result is a file of its own and the newest for the commit decides, so a pass for another commit counts for nothing. make ci records its own run as the gate local (a pass only on a clean tree). A project that names no gate sees no change.

  • Claude takes decisions one way, and keeps quiet while it works (FTR-024). Claude sends every verdict to the monitor’s Review and Releases pages, says what is waiting there, and never records one or asks for one in a plan or a question. Plan mode is kept for setup and process changes, and never used while a sub-agent runs. Progress is reported as changes, not events, and rework goes on the item’s todo-list before it starts. New: kanbanr open --check reports whether the monitor is up and accepts writes, with its Review and Releases addresses; the guard refuses verdict commands (approve, ratify, unapprove, signoff, adr accept|reject, release promote without --plan, release cut) run by Claude in a folder that keeps a board; and a build scope is refused for an item with no open task.

  • Guides for every built-in process (DOC-003). The Process guides section now covers default, scheduled, PDCA, design control, Scrum and agile, each with Claude and from the command line, and Working with Claude links them from each process’s row. Its table now lists what each process really asks for.

  • Process guides, starting with TOGAF, sprints and releases (DOC-001). The book has a new Process guides section. Each process has a guide you follow by talking to Claude and deciding on the monitor, with no commands to learn, and a separate one from the command line. They also say what surprises people: gates need a charter, an item merged but not yet released carries over at a sprint close, and each item needs its release sign-off before main.

  • An item says which release shipped it (FTR-001). On a project that works in releases, an item’s page and feature show now say “Released in v0.4.0”, “Planned for v0.5.0, not released yet” or “Not in a release”, so a Completed item is not mistaken for a released one. The JSON export gains an optional release_line field.

  • The stability page matches 0.4 (DOC-002). It no longer says the feature set is frozen: until 1.0 nothing is promised and releases may add. It now lists scopes.yaml, the codes, release_gates and release_prepare settings, and the Agent-Scope: trailer and pre-push hook, and names agent scopes, release stages and kind codes as experimental in 1.0, stable from 1.1.

Fixed

  • An item is no longer shown as released before its release is cut (DEF-019). On a project that works in releases, an item planned into a release that has not been cut stays where it is when its last task is done or its release sign-off is given, in every process; task and signoff say which release it waits for, and the cut moves it to its end status. Moving it yourself to an end status now needs a reason. The TOGAF preset no longer offers a direct move from Implementation to Operations, so an item passes Migration; a board already running TOGAF keeps its own copy until kanbanr process update.

  • Dependencies with no open advisory (MNT-005). libz-sys 1.1.32, tokio 1.54.1 and DOMPurify 3.4.17 replace versions with advisories published after 0.4.0. astral-tokio-tar, unmaintained and reached only through a test-only dependency, is listed in deny.toml with its reason until 0.6.0 replaces it.

  • The monitor answers only its own page and hosts (DEF-024). The monitor serves and accepts requests only for its own page and the hosts it is bound to, so nothing else running in your browser can read the board through it or record a decision. A write needs the token its page was given at this start. SECURITY.md now describes write mode and how it is limited.

  • Doctor warns only about the stage an item is at (DEF-021). On a healthy TOGAF project it showed 25 warnings, mostly the next stage’s requirements on items still at Vision. It now warns about what the item’s current stage asks, which an edit may have undone, and counts what the stage reached next still lacks, per stage, on a separate “Later stages will ask” line that is not a warning and does not change the exit status. This changes the wording of FEAT-117 R-2, which had doctor report the next stage’s needs. The JSON report gains an optional ahead list.

  • The monitor’s next-stage counts match kanbanr check (DEF-020). A board card left sign-offs out of “Migration needs 4” and listed every stage the item could skip to. It now names only the stage reached next, counts every gap check counts, and says how many are yours: “Migration needs 6, 1 yours”, or “waiting on you: docs-folded” when only your part remains. The readiness answer gains immediate and for_you on each next stage.

  • The Review page no longer slows down as a board grows (DEF-022). The docs_updated check opened the board’s repository and walked its history again for every doc an item declares. It now opens it once and walks it once per request, and the Review page refetches once after a burst of board changes settles. On a generated board of 2,500 commits and 70 items naming 490 docs, the review queue went from 15.0 s to 0.05 s. kanbanr check and doctor share the check and gain too; their answers are unchanged.

  • The book and the skill match this release (DOC-006). The no-charter warning, the date set when main moves, why on an uncommitted line, git doctor with no integrate stage and lapsed approvals on finished items are all described as they now behave, and the skill tells Claude about them.

  • doctor no longer reports a shipped release’s book links as broken (DEF-016). A release’s board document is the notes as they shipped, and its relative links resolve in the book, not on the board. doctor now skips document links in releases/ and still reports unknown items, requirements, milestones and goals there, and broken links in every other doc.

  • A worktree the coordinator makes under .claude/worktrees can commit (DEF-017). kanbanr treated every worktree there as an agent’s, so a coordinator resolving a merge in its own was refused, and could not be scoped at all once its item had finished. Now only a worktree named agent-*, the name Claude Code gives an agent’s, is refused without a scope; a scope bound to a worktree still holds it whatever it is called.

  • Redefining an item from a file keeps its sign-offs and approval history (DEF-008). feature define dropped the approval history and the sign-offs when the file held none, though a redefinition must lapse an agreement, not erase the record of who gave it. Both are now carried forward in order, each entry once, and read as lapsed if the content changed.

  • scripts/ci_local.py --help no longer starts the whole gate (DEF-010). The script now reads its arguments first: -h and --help print the usage and exit 0, and any other argument is named, refused with exit 2 and runs no check. make ci passes none and is unchanged.

  • git doctor no longer calls merged work not integrated when no stage integrates (DEF-012). On a workflow with no stage holding the integrate role, commits serving an item at a stage after build are left alone, since nothing else says where merging happens. Items at or before build, and workflows that declare an integrate stage, are judged as before.

  • why explains a line not yet committed (DEF-011). A line that is still uncommitted, with no annotation, used to answer “Nothing on the board explains this code”. It now says the line is not committed yet and names the item the current branch belongs to, or says the branch names none.

  • Gates say so when there is no charter (DEF-004). On a project with no charter, a move a gate would have refused still goes through, but now warns what the gate would have needed and that kanbanr charter set turns the gates on. A move the gate would have passed says nothing.

  • The Review page lists finished items whose approval lapsed (DEF-013). A Completed item whose definition changed after it was approved now appears in the review queue, after live work and labelled with its status, with the Approve button, so re-approving finished work needs no terminal. Never-approved finished items and no-op dispositions stay out.

  • --json works on feature show, why and board (DEF-009). They printed text despite the flag, and a failed parse of that text is how an item’s spec got blanked. They now print one JSON document, feature show the same as export --format json; a test parses every read command.

  • An empty spec file no longer blanks an item’s spec (DEF-002). --spec-file on feature add and feature edit refuses a file that is empty or only whitespace, names it, and changes nothing. To clear a spec on purpose, pass --spec "".

  • kanbanr check names a manual test nobody ran (DEF-003). A manual test that is not green is listed under its item as manual test not run: R-4: <name>, and as open_manual in --json. It is a note, not a gap: readiness and the exit status are unchanged.

  • The retro’s proven count and defect lines read as they mean (DEF-006). requirements proven by a green test: 56/56 now adds (1 with a test still open) when a proven requirement also has a test that is not green; --json gains evidence.proven_with_open_test and proven is unchanged. The two defect lines are worded apart: added as defect items (scope that joined as a defect) and defects recorded with their cause (items carrying a cause).

  • kanbanr start no longer leaves you on a new branch when the gate refuses (DEF-007). It asks the gate first, with a dry run of the move, and makes or switches to the branch only once the move would pass. A refused start says what is missing and leaves the checkout as it was. --override still branches and moves the item.

  • The board’s copy of a release’s notes is the notes that shipped (DEF-005). At the cut, the releases/<V>.md board doc holds the written notes file at the tagged commit when the project configures one, instead of the generated requirements list. The generated text is used only when there is no such file or it cannot be read.

  • A release cut later no longer ships the date of its candidate (DEF-001). v0.4.0 was prepared on 22 October and cut on 1 November, and shipped saying 22 October. The stage that moves main now dates the release notes and the changelog heading today, in one commit, before main moves. If main moved already, the cut’s plan warns and names the dates, and the new kanbanr release redate dates them today.

0.4.0 - 2026-10-22

Added

  • A release’s notes are read and edited from the release (FEAT-216). The notes prepare drafts live on release/<V>, not in your checkout. kanbanr release notes <V> shows them and where they are (release/v0.3.0 @ 8f995e1: docs/src/releases/v0.3.0.md, --json too); --file F (- for stdin) or --edit ($VISUAL/$EDITOR on a copy) commits new text onto the branch in one commit, nothing checked out, and applies the notes listings again, so a listing added later reaches a candidate already made. The same text makes no commit; once the release is cut the notes read as shipped and are not edited. The Releases page has a Release notes section for each release with a branch, and on a write-enabled monitor started in the project folder, Edit notes and Save. No separate item is needed to change a candidate’s notes. Notes saved once main has moved to the release move main with them and say to push it again; with main past the release, nothing is saved.

  • An item’s code says what kind of work it is (FEAT-217). kanbanr config codes --set feature=FTR,defect=DEF,bug=DEF,chore=MNT,docs=DOC,spike=SPK maps kinds to prefixes, and a new item then takes its kind’s prefix with a counter per prefix (DEF-001, MNT-001, FTR-001): pass --kind at feature add (or kind in a batch). With no flag, config codes shows each kind’s prefix, the default and the next code per prefix. Existing codes are kept, and changing an item’s kind never renames it. A prefix is 2–6 uppercase letters and may not be MS, ADR, SC, SP, TL or a milestone’s; a bad one is refused naming the entry, and one a hand edit broke stops new items from being coded and is a doctor error. References are still recognised by this board’s prefixes only — configured ones and those its items have — so SHA-256 or RFC-3339 in a spec is never taken for an item, in the monitor or in doctor. A project that sets no codes keeps FEAT- for everything, as before.

Fixed

  • make ci lets an agent’s own progress through (FEAT-218). The release gate’s check that the real board did not move during the run failed on a sub-agent’s task and test updates made meanwhile. A commit carrying an Agent-Scope: trailer now passes when its scope, as the board held it at that commit, was an active build scope for the one item the commit records, and the commit touches only that item, the activity, the events and the index. Issuing, claiming and revoking a scope pass as your verdicts do. The run lists each by its scope; anything else still fails the check.

0.3.0 - 2026-10-21

Added

  • Agent scopes: what a sub-agent may do, enforced by kanbanr (FEAT-214). Before starting a sub-agent, Claude runs kanbanr scope issue <design|build> <CODE>: the scope is recorded on the board (who issued it, the item, what it allows, the item’s branch, when it expires: 8 hours by default, 72 at most) and the command prints the boundary table to paste into the agent’s brief. The agent, in its own worktree, runs kanbanr scope claim SC-… first; from then on every board write, commit and push from that worktree is checked against the scope, and anything outside it is refused, naming the scope and the boundary crossed. A build agent records its own item’s task states and test evidence and commits only on its item’s branch, each naming the item; a design agent only reads. An agent’s worktree with no scope bound to it is refused, a revoked or expired scope refuses everything, nothing is pushed from an agent’s worktree (a new pre-push hook: re-run kanbanr git install-hooks), and an agent finishing an item’s last task leaves the item for the coordinator to move. Every write and commit an agent makes is recorded as the person, by the agent for its item: on the activity entry, the event, and an Agent-Scope: trailer on the board and code commits. kanbanr scope drift, git doctor, the Stop hook and session start name an agent’s commits that are newer than its item’s tasks. The monitor shows each item’s agents and the scopes in force on the Workflow page. Also scope here, list, show, brief, revoke and renew. The main checkout, and a board with no scopes, behave as before.

  • Release stages that act: move main, then tag it (FEAT-212). Each release stage can require conditions (items_finished, prepared, main_at_release, pushed) and do actions on entry (branch, prepare, move_main, tag), set under cadence.release_gates with kanbanr config release-stage and shown by kanbanr release stages; release_stages stays a list of names, and a stage with no gate acts as before. So a release can move main at a stage of its own and be tagged only once main holds it and is pushed. A release prepares itself: the prepare action commits the version files, the dated changelog heading, a notes draft and its listing onto release/<V> in one commit, nothing checked out (kanbanr config release-prepare; one file may be listed several times, each with its own match, as a lockfile naming several crates needs). A promotion is planned before anything changes — refused with every missing condition and its fix — and undone step by step if it fails part way. kanbanr release promote <V> --plan [--fetch] prints the plan; after a promotion kanbanr says what is next. The Releases page shows one button per release, named for its next step (“Cut v0.3.0”), with what it does and the cut’s preview beside it; no second confirmation. A new read, GET /api/projects/{project}/releases/{version}/plan. kanbanr still never pushes. Use one kanbanr version per board: an older one ignores the gates.

  • A release with nothing planned into it is never promoted (FEAT-212). Every stage refuses it, the first included, and the Releases page offers no button; a patch, which carries its parent’s fixes, still goes. So release add --branch, which promoted a release as it was added, is gone: a release starts with release add, release plan, then promoting it to its first stage.

  • The skill says what each sub-agent may do (FEAT-215). When Claude hands work to a sub-agent, the skill gives each role fixed boundaries, stated in the brief word for word: a build agent reads everything, records task states and test evidence on its own item, commits only on its item’s branch and never pushes; a design agent is read-only. Claude keeps the board current as the agents work, and takes back every question.

  • The Workflow page shows the cadence, the git model and every guard rail (FEAT-213). Below the stages: the sprint length and the running sprint; how often releases are cut, their stages with the cut marked, and each unshipped release at its stage; the git model in words (main, the line of integration, where items branch from, where production moves, protected branches, what kanbanr merges, and that pushing is yours), with what git doctor finds as a warning; and every guard rail: the method’s parts, the commit rules and hooks, diagram strictness, coverage rules and the board’s push policy. Each line names the command that changes it; the page stays read-only. A new internal read, GET /api/projects/{project}/guards, gives the guard rails in one answer. A monitor started in the project folder now answers the git model and git doctor from that repository; started elsewhere, the page shows the model from the cadence alone.

0.2.1 - 2026-10-21

Added

  • mermaid-lint on crates.io (FEAT-200). The diagram lint kanbanr runs on every write, as a standalone library with no dependencies: it finds the Mermaid diagrams in Markdown and reports each mistake Pele or Mermaid would reject, with its line and rule, and flags no diagram Pele draws. The release workflow publishes it beside ears-classifier.

Fixed

  • A diagram opened from the book draws in its theme (FEAT-209). The open-in-a-new-tab copy removed the SVG’s style attribute, where Pele keeps the diagram’s colour variables, so every shape drew black and the labels vanished, on a white page. It now keeps them, and the tab takes the diagram’s own background and text colour.
  • The release’s install check reads a relative bundle path (FEAT-210). Since FEAT-178 the monitor’s index.html names ./assets/…; scripts/verify-install.sh and .ps1 looked only for /assets/…, so 0.2.0’s install checks failed though the binary was right.

0.2.0 - 2026-10-21

Added

  • One method for every process, in the skill and the setup interview (FEAT-194). The skill states the method once, by stage role rather than by stage name: the build-ready design and its hand-off tasks, affects_docs and live links at the design role; the item branch from the line of integration at the build role; the docs fold-in and the merge at the integrate role; release stages, the cut and patches at the release role; carry-over; who merges and who pushes for each cadence; and the milestone compliance review. Personal instruction files that restate it are no longer needed. Setup now asks, for every process, whether to work in sprints and releases (where --json names the question, after the process), and shows the git model that follows before the plan applies it: kanbanr git model --sprints on|off --releases on|off previews a cadence’s model, needing no board, and git model --json now also gives line, branch_from, production_at, kanbanr_merges and pushes, the same for the preview and the applied model. The method by stage role.
  • Architecture coverage rules keep the cross-cutting views whole (FEAT-197). A project can say what its views must reference — every item at Design or later in the Zachman matrix, every accepted ADR somewhere under architecture/, every component doc in the catalog — and kanbanr checks it whenever the board changes: adding, editing, defining or moving an item, accepting an ADR, writing or deleting a doc, closing a sprint, and cutting or promoting a release each print the rules the board now fails (coverage: [zachman] FEAT-012 is not referenced from architecture/zachman.md — add a link to it there), record a coverage_gap event, and carry them as coverage_warnings under --json. kanbanr config coverage sets, shows and clears the rules; kanbanr doctor lists every uncovered rule. A gate can require the new docs_cover check, judged as if the item were already in the stage it enters and narrowable to rule ids, and can name affects_docs that every item entering the stage must list — added by the move, so docs_updated checks the views too. With no rules configured, nothing changes.
  • Mermaid diagrams are checked when they are written (FEAT-200). Every ```mermaid block in a spec or a markdown doc is linted on feature add/edit, doc add and batch, and each problem is printed with its file, diagram number, line and rule — a ; that cuts a sequence message short, punctuation in an unquoted flowchart label, end used as an id, a block never closed. The write still succeeds; kanbanr config diagrams --strict on makes a project refuse it instead. kanbanr doctor lists every diagram problem on the board, and a gate can require the new diagrams_valid check, judged when the item moves. The Review page parses every diagram an item’s spec and its affects_docs carry with Pele and keeps Approve disabled until all of them parse; a doc that has a broken diagram shows its source with the error and its line. The lint flags only what Pele rejects, and is its own dependency-free crate, mermaid-lint.
  • Diagrams drawn by Pele, in the colours of the theme you read in (FEAT-203). The book and the monitor draw ```mermaid blocks with Pele 1.7.0 instead of Mermaid. A diagram takes its colours from the current theme — each of the book’s five, and the monitor’s light and dark — and follows a theme switch without a reload. The book no longer needs the mdbook-mermaid preprocessor, and loads one 680 kB script instead of Mermaid’s 2.5 MB; the monitor loads Pele only on a page that has a diagram. check:docs draws every diagram with the same Pele.
  • A versioned read API, described in OpenAPI 3.1 (FEAT-177). The daemon’s public read routes — the ones the monitor uses, plus the obvious reads — are now version 1 of a documented contract for integrators and tools built on the board. kanbanr serve serves the description at GET /api/openapi.json; the HTTP API page lists the public routes, the internal ones, errors, live updates and versioning, and includes the document. It is generated from the Rust response types, a contract test checks every public route against it, and the monitor’s types are checked against it too. A breaking change to a public route would be published as v2 under /api/v2/. Other read routes stay served, as internal.
  • Every board explains how to view it (FEAT-201). A board’s README.md says what the repository is, lists its projects, and walks a reader from nothing to the board: install kanbanr, clone, kanbanr serve --data-dir <clone>, open the page. It is written with the board’s first project and kept current as projects change; text outside its markers is never touched. kanbanr readme writes it on an existing board, and kanbanr doctor reminds you until then.
  • Release actions in the monitor (FEAT-185). With releases on, the review queue asks which planned release an item belongs to once its next stage is the end (or a stage that asks for in_release) and it is in none. The Review page offers one button per planned release and New release…; kanbanr review --pending lists the matching kanbanr release plan command, and the skill has Claude ask the same question. The Releases page shows each release’s stage and its history, and a Promote to <next stage> button, which asks for confirmation before the production cut, listing exactly what ships and what carries over (tag, and main fast-forwarded). Both use the same operations as the CLI, through the writes-enabled monitor.
  • The monitor as a standalone static bundle (FEAT-178). Each release attaches kanbanr-monitor-<tag>.tar.gz, the monitor the binary embeds, for collaborators and reviewers to view a board from any static web host without running kanbanr. Unpack it, set apiBase in its config.json to a daemon’s read API, and serve the folder. The bundle uses hash routing, so it needs no rewrite rule, and it is read-only: every decision shows its CLI command instead, and no write route is called. The embedded monitor reads the same config.json with defaults that keep today’s behaviour. kanbanr serve --ui-dir now serves every file in the folder, so the favicon no longer falls back to the index. make monitor-bundle packs and checks the bundle locally. See Hosting the monitor elsewhere.
  • kanbanr git doctor: the board and the branches agree (FEAT-191). It reports integrated items whose branch never reached its line, commits on a line for unfinished work, branches that name nothing on the board, and release fixes not merged forward. It only reads, and exits 1 on an error. With the git model on, kanbanr doctor includes these findings.
  • Patch releases (FEAT-184). kanbanr release add v1.0.1 --patch-of v1.0.0 makes a patch of a cut release: release/v1.0.1 from the parent’s tag, starting at the first stage. Its notes name the parent, what the patch adds and what it keeps. At production a patch of an older release is tagged without moving main, and its commits the integration branch lacks are listed to merge forward. A release with no branch now gets one before any promotion, so a one-stage process and a skipped first stage both work.
  • The board makes the merges (FEAT-190). With the git model on, moving an item into its integrate stage merges its branch into its line, with a merge commit naming it; a merge that would conflict refuses the move, naming the files, and changes nothing. In the sprints topology, sprint close fast-forwards main to the sprint and tags it with the sprint’s code. Items carried into a sprint are brought up to date with its branch when it starts (a merge, never a rebase; conflicts are reported and left alone). A fix integrated into a release under test is flagged, and kanbanr git forward <VERSION> merges it forward into the line. Releases promoted to their first stage make the integration line from main when it is not there yet. Ticking an item’s last task does not complete it when completing would merge its branch: the task write says which move to make from the project folder.
  • The git model follows the cadence (FEAT-189). kanbanr git model shows how the code repository is laid out: main, the line finished items integrate into (main; sprint/<SP>; or an integration branch), item branches (feat/, fix/ for defects, spike/), and the lines that take merges only. With kanbanr config cadence --git-model on, start branches from the line, sprint start makes the sprint’s branch, a release branches from the line its cadence says, and the hooks refuse plain commits on a line and merges into one that name no item. Off by default. kanbanr’s code-repository calls refuse to push.
  • The method, on by default in every built-in process (FEAT-193). Design before build: the build stage asks for the spec’s Design section and a design-review sign-off. Living docs: the integrate stage asks for docs_updated and a docs-folded sign-off. And doctor reports broken references. kanbanr config method shows each part and where it applies; --off [part…] and --on [part…] choose, and applying or updating a process honours the choice without reporting it as drift. Projects that predate it are unchanged until they choose; doctor asks once. New projects record that they use the built-in default process. A gate addressed to a role now adds to the built-in rule instead of replacing it. design-control’s Verification sign-off is renamed verification-review, so design-review means the pre-build review everywhere. Upgrade every machine that shares a board.
  • Living architecture docs (FEAT-180). An item can name the board docs its design changes, in affects_docs. A new gate check, docs_updated, passes once each has changed since the item entered its stage, judged from the board’s git history (an uncommitted change counts). Naming the docs does not reopen the approval. feature show and the monitor list them; doctor reports a named doc the board does not have, and an item whose next stage asks for docs_updated but names none. A new chapter, “Living architecture docs”, sets out the architecture repository, and the skill folds each design into its docs before release.
  • References between specs, docs and decisions are live and checked (FEAT-181). In the monitor, FEAT-012, FEAT-012/R-2, MS-004, ADR-0005, G-1 and doc paths in any spec or doc link to their pages, and a link into the monitor no longer reloads it. Only codes with this board’s prefixes count, and code is never read. kanbanr doctor reports a reference to something the board does not have: an error for a link, a warning for prose. kanbanr trace follows these links both ways and takes a doc (kanbanr trace architecture/data.md); kanbanr why adds Documented in. The skill now asks for every reference to be written as a link.
  • Stage roles (FEAT-188). A gate can say what its stage is for in any process: roles: [design | build | integrate | release]. A gate keyed "@build" applies to whichever status holds that role, so one rule works in every process. Every built-in process declares its roles, process checks lists them, and the working agreement names them. Boards without roles infer build and release from what they already do, and behave exactly as before. A board whose gates only name roles, or that addresses a gate to a role, is schema 4. Projects using a built-in process will see that process as changed (kanbanr process diff); take it with process update.
  • Release stages: a release moves through environments, and production is the cut (FEAT-183). A release now has a stage — by default candidate → test → staging → production, or the project’s own list from kanbanr config cadence --release-stages … — and every move is recorded with who made it and when. kanbanr release promote <VERSION> [<stage>] moves it. The first stage makes the branch release/<VERSION> from the integration branch (release add --branch does both). The last stage is the cut: it ships the finished items and writes the notes, tags the code repository with the version, and fast-forwards the main branch to the release. If main has commits the release lacks, or the tree has uncommitted changes, or the tag exists, it refuses and changes nothing; if the board step fails afterwards, the tag and main are put back. Moving back a stage needs --reason; nothing moves back from production. release cut --tag is now the same as promoting to production. The integration and main branches default to the repository’s default branch (--integration-branch, --main-branch). The monitor’s daemon promotes with the code repository it was started in, when that folder’s marker names the project. Nothing is pushed. A 0.1.7 binary that rewrites releases.yaml drops the new stage, stages and branch fields.
  • A sign-off can be withdrawn, and is offered only when it means something (FEAT-182). kanbanr signoff <CODE> <name> --withdraw --reason "…", or Withdraw on the item’s page, takes back a sign-off given in error. The earlier one stays on the record and stops counting. The review queue now offers a sign-off only for the stage an item reaches next, not a later stage it could skip to, and only once that stage’s other requirements are met. kanbanr unapprove now refuses an empty reason, as the monitor always did. Giving and withdrawing a sign-off are events.
  • A design stage asks for the design itself (FEAT-179). spec_sections is a new gate check: it passes when the spec has each named section, at any heading level, with content under it. {spec_sections: [Design, Test plan]} names the sections; plain spec_sections asks for Design. It appears in process checks, the guide’s table and the working agreement. The review queue and readiness views load spec bodies when a gate reads them. The skill and the processes chapter say what a design-stage spec holds. It is written at implementation level, and it ends with a task list that a lower-cost subagent can build from without making design decisions. Pair the check with signoffs: [design-review] to have a person review the design before build.

Changed

  • A maintained YAML library, and revisions that do not depend on it (FEAT-187). Run kanbanr migrate once. Board files are read and written by serde-saphyr, through one module that sets its options, instead of the deprecated serde_yaml. The content of each file is unchanged; mostly the quoting differs, with double quotes where single quotes were used before. The rev of an approval, a sign-off or a project’s process record is now a hash of the record’s canonical JSON, not of its YAML text, so a YAML writer can no longer lapse an approval. This is schema 5, and every board is stamped with it. A board from 0.1.7 or earlier is refused by every command until kanbanr migrate has run. The migration re-pins each stored revision to the content it was given for, read from the board’s git history, rewrites every board file, and makes one commit. So what was current stays current, and what had lapsed stays lapsed. A revision that history cannot vouch for becomes unverified and reads as lapsed. The migration counts these, and kanbanr doctor names each one to give again. An older kanbanr refuses a migrated board. Building from source now needs Rust 1.89. See Upgrading a board to schema 5.

  • One copy of every board rule, in core (FEAT-176). The write recipe, code-repository git, commit and branch policy, workflow movement, test evidence, the process library, the issue mirror, check, and a dozen smaller rules moved from the CLI and the daemon into kanbanr-core; the front ends now parse arguments, collect facts and print. The CLI no longer depends on serde_yaml, and architecture::front_ends_are_thin keeps it that way. Behaviour is unchanged, with three small exceptions: feature add --found-in makes one commit instead of two, a few daemon write failures answer with the same HTTP status a read gets for the same error, and an unreadable saved process file is now reported rather than treated as gone.

  • The daemon’s answers say what they are (FEAT-177). A GET under /api that no route answers is now a 404, not a 400 “unsupported operation”. Mermaid diagrams (workflow, gantt) and the DOT graph are sent as text/plain and the project export as text/markdown, where they were labelled application/json.

  • Tests cannot reach a real board (FEAT-195). For contributors: every process cargo runs in api/ is fenced to the system temporary directory (KANBANR_BOARD_FENCE), so a test that drifts onto a real board stops before touching it, and make ci fails if your board changed during the run. Test scratch folders moved out of the build tree.

  • make ci lets your verdicts through (FEAT-198). Approving, ratifying or signing off items on the board while make ci runs no longer fails its board check; any other change still does.

Fixed

  • A sign-off that lifts the last hold finishes the item (FEAT-204). An item whose tasks were all done but whose end stage waited for a sign-off stayed in progress after the sign-off was given; it now finishes then, through the same gates as ticking the last task.
  • Board cards say plainly what an item needs next (FEAT-205). A card’s next-stage pill read “→ In Progress ✓”, which looked like the item’s status and claimed ready while its tasks or a sign-off were still outstanding. A card now says “In Progress needs 2”, “waiting for sign-off docs-folded”, “ready for In Progress” or “ready to complete”, and nothing while its tasks are open. The readiness route’s next stages gain signoffs, tasks_open and ends; missing keeps its meaning.
  • A cached build no longer ships without the monitor or the skill (FEAT-202). The build scripts found web/dist and skill/kanbanr through the folder they were compiled in; a build cache (sccache) reused one compiled in a deleted worktree, and the binary had neither. They now read the folder when they run, and a release build of a full checkout without a built monitor fails, naming the fix (KANBANR_ALLOW_BARE_BUILD=1 builds without it; make cli does).
  • The Workflow page shows the method again (FEAT-199). Its diagram failed (“No such shape”) and its Stages panel showed no gates on projects with role-addressed gates; both now show the gates moves are judged by. A stage asking for spec_sections no longer crashes the page.
  • Deleting a project removes its folder for good (FEAT-196). The delete’s own activity entry recreated projects/<id>/ and committed it; a log no longer writes into a project that is gone.
  • The board is found from inside a git worktree (FEAT-192). A linked worktree inside the repository (.claude/worktrees/w1) has its own copy of the .kanbanr marker, so a relative board path pointed nowhere and commands needed KANBANR_DATA_DIR. When that path doesn’t exist and the marker is in a linked worktree, kanbanr now resolves it from the main worktree.

Security

  • No unmaintained YAML parser, and no advisory exception (FEAT-187). serde_yaml and unsafe-libyaml are gone from the dependency tree, so api/deny.toml no longer lists RUSTSEC-2024-0449 as an exception and ignores no advisory. serde-saphyr and its parser forbid unsafe code.

  • Distrusted emSign intermediates no longer trusted (FEAT-206). webpki-roots goes to 1.0.10 (RUSTSEC-2026-0381) and rustls-webpki to 0.103.16 (RUSTSEC-2026-0382): the certificate checks behind kanbanr’s self-update and release check could accept a path through intermediates whose private keys are now public.

  • rustls advisories; an unmaintained YAML parser recorded (FEAT-186). rustls goes to 0.23.46 (RUSTSEC-2026-0346, RUSTSEC-2026-0348). unsafe-libyaml, which serde_yaml uses to read and write every board file, is unmaintained with no safe upgrade (RUSTSEC-2024-0449); it is listed as a recorded exception in api/deny.toml until the YAML library is replaced (FEAT-187).

0.1.7 - 2026-10-07

Your own process, designed with Claude and shared on the board. Release notes.

Added

  • Claude designs a process with you (FEAT-171). At setup, or when you ask to change how you work, Claude offers the processes already saved on the board first. For a new one it starts from the closest built-in process, asks one question per stage using only the checks kanbanr can enforce, and turns anything else into a named sign-off. The plan shows the checked draft’s working agreement and diagram (kanbanr process check - reads a draft from stdin, so this works in plan mode). Accepting the plan saves the process, with a description, on the board or in your personal library, and applies it. When a saved process changes, process save names the projects still on an earlier version, and Claude asks about each one. kanbanr where --json now lists the questions a setup must ask (ask_the_user) and git’s identity (git_identity). The decision is ADR-0013; the process file, the board’s processes/ folder and each project’s process record join the 1.0 stability policy.
  • Projects are told when their saved process changes, and update when asked (FEAT-170). kanbanr process status says which process a project uses and whether it has moved on; process diff shows what differs; process update takes the saved version, and is refused while a status it would remove still holds items. doctor, the session start and the monitor’s Workflow page report a newer version, or a workflow edited after it was applied. Nothing is applied automatically.
  • Processes are saved by name and reused (FEAT-169). kanbanr process save <name> keeps a process on the board, where the team gets it through the board’s remote, or with --personal in ~/.kanbanr/processes, for carrying it to another board. process list and process show find them, and config workflow --preset <name> and project init --workflow <name> apply them. A name is looked up on the board first, then in your library, then among the built-in ones. The version goes up only when the content changes. A project records which process it was given: name, library, version and content hash.
  • A process can be checked before it is applied (FEAT-168). kanbanr process check <file|name> reports every problem the board would refuse a process for, all at once. That includes any status it would empty of the project’s items. Then it shows the working agreement and a diagram, and changes nothing. It needs no board. kanbanr process checks lists what a gate can ask for and when each check passes. A misspelt check is now named, with the checks there are, instead of “did not match any variant”. The board and process check share one validator.

Security

  • KaTeX and rustls advisories (FEAT-174). The monitor’s KaTeX, which mermaid brings in for maths in diagrams, is pinned to 0.19.0 (GHSA-238p-pmpm-9mq7), since no mermaid release accepts the fixed version yet; diagrams with maths still render. The screenshot tool’s rustls goes to 0.23.45 (GHSA-2mjx-qc3c-rqvc); the kanbanr binary already had it.

Changed

  • Setup works where git has no identity, and stops at its first failure (FEAT-173). The setup’s initial commit failed on a machine with no git user.name or email, and the setup carried on. Setup now asks whether to give the repository the identity you gave for the board (set for that repository only, never globally); if you say no, the first commit still uses it for that one commit. A failed setup step stops the rest.
  • The release looks for the monitor instead of weighing the binary (FEAT-172). The check that the web monitor is embedded and compressed bracketed the binary between 12 and 20 MB. Code growth made both bounds wrong: a binary with no monitor is now about 19 MB, and new code alone went over 20 MB with the assets compressed. It now checks that every monitor file is named in the binary, and that the largest script’s text is not in it uncompressed.
  • Working with Claude shows what the conversation actually does (FEAT-166). The chapter now says when Claude uses plan mode and when a question, and why, and gives the walkthroughs’ outcomes: a request spanning two stages, choices asked before the plan, a drafted decision asked at once, a review where Change it restored an earlier approval, and a custom process asking when where TOGAF did not.

0.1.6 - 2026-10-05

Timestamps are compared as instants, and the release refuses a commit that has not passed CI. Release notes.

Changed

  • The release refuses a commit that has not passed CI (FEAT-163). v0.1.5 was tagged while CI was still running on its commit and was published before CI failed on macOS. The release’s tag check now asks GitHub for CI’s run on the tagged commit before anything is built: it waits while the run is in progress, proceeds when it passed, and refuses, naming the run, when it failed or never ran.

Fixed

  • Timestamps were compared as text (FEAT-162). They are written with trailing zeros of the fractional seconds dropped, so within one second …05.12Z sorted after …05.1234Z. An item created in the same second as the charter could be judged older than it and escape its gates; retrospectives and the issue mirror made the same comparison. Every comparison now orders by instant. CI caught it on macOS, whose clock makes the case common.

0.1.5 - 2026-10-04

Scope and decide work without leaving Claude Code: a plan to accept, one question per decision, and your workflow deciding what is asked. Release notes.

Added

  • Scope and decide work inside Claude Code (FEAT-159). Asked for new work, Claude scopes it in plan mode, and your acceptance of the plan creates the item and approves exactly that text. Waiting decisions are worked in the conversation, one question per item (Approve, Ratify, Sign off, Accept or Reject a decision, Change it, Skip), and the session start says when some are waiting. What Claude asks is read from your workflow’s gates through kanbanr check --json, so any process, including your own file, drives the conversation. approve, ratify and signoff take --rev, and refuse if the definition changed after it was shown; the Review page sends it too. A new book chapter, Working with Claude, walks through it, with a TOGAF example.

Fixed

  • kanbanr review --pending listed items that were not waiting — ratified and finished ones — because it kept its own copy of the rule. It now shows the Review page’s queue, and its --json carries each item’s verdict state, needed sign-offs and rev.
  • The container image shipped Debian packages with published fixes, and an aging base (FEAT-161). The release’s pre-push scan refused CVE-2026-103111 in libpcre2-8-0: Debian had fixed it, but the bookworm base image had not been rebuilt. The image now builds and runs on Debian 13 “trixie”, the current stable release (bookworm is oldstable, with LTS support only), and applies Debian’s security updates when it is built. The downloadable binaries are unchanged and still run on bookworm and newer.

0.1.4 - 2026-10-03

Completed now means proven however an item finishes, and the installers can put the VS Code extension into your editor. Release notes.

Added

  • The installers can install the VS Code extension too (FEAT-158). install.sh --vscode ($env:KANBANR_VSCODE = 1 on Windows) also installs the release’s extension into every editor found — VS Code, VSCodium, Cursor, Windsurf — or --vscode=codium into one; without the option nothing touches an editor. The work is done by a new kanbanr editor install, which downloads the .vsix of the running version over https, checks it against SHA256SUMS and installs it; self-update keeps it in step wherever it is installed. The installation chapter now covers every way to install the extension, Open VSX included.

Fixed

  • Ticking an item’s last task completed it with its requirements unproven (FEAT-156). On a workflow with no gates, auto-completion checked no evidence, though kanbanr finish refused the same move — and a batch that ticked the last task and then added open ones completed the item between its operations. Auto-completion now asks what finish asks of a defined item (every requirement proven by a green test) and says what is missing; a batch is judged once, after its last operation.

0.1.3 - 2026-10-02

Architecture decisions get a verdict, every release gets notes, and the release’s installer check runs correctly on every platform. Release notes.

Added

  • Accept or reject an architecture decision (FEAT-153). A decision drafted as proposed had no way to be agreed except editing its file. kanbanr adr accept and adr reject --reason record the verdict, the decider and the date on the decision, and the Review page lists proposed decisions beside the definitions waiting for approval, with Accept and Reject. Accepting is refused while a section is unanswered; a rejection keeps its reason; the verdict appears in the activity log.

  • Release notes for every release (FEAT-154). Each release has a notes page in the docs — highlights, what is new, changed and fixed, known limits, upgrade notes — and the same text opens its GitHub release page. A tag without notes is refused before anything is built. Notes are written back to 0.1.0.

Fixed

  • The release’s installer check failed on every platform, though every install worked (FEAT-155). v0.1.2 installed and named its version and commit on Debian, Ubuntu, macOS and Windows; the check then ran kanbanr init in the repository checkout, whose .kanbanr marker made init refuse. The check now runs from a folder of its own, and make ci starts it from the repository root as the release does.

0.1.2 - 2026-10-02

Features are frozen until 1.0. The 0.1.x releases now take fixes, documentation, and the work that makes the 1.0 promise checkable — no new features. What 1.0 will keep compatible is set out in Stability.

Added

  • The VS Code extension ships with every release (FEAT-152). Each release attaches kanbanr-vscode-<version>.vsix, built from the tag, at the program’s version and in SHA256SUMS — code --install-extension installs it. The release also publishes it to Open VSX, for VSCodium, Cursor and Windsurf, once the repository enables it. CI packages the extension on every push and refuses a version that has drifted from the workspace’s.
  • What 1.0 keeps compatible is written down (FEAT-148). A new chapter, Stability, lists what stays stable from 1.0 until 2.0 — the board format and config.yaml, the .kanbanr marker, CLI commands, flags, exit status and --json, the monitor’s /api/…, the commit trailer and hooks — what is not covered, and how anything stable is deprecated before it is removed. Until 1.0 the feature set is frozen.

Fixed

  • An older kanbanr no longer deletes fields a newer one wrote (FEAT-151). Rewriting an item, a milestone, the project config or the charter dropped every key the running version did not know — so once a later version adds a field, an older binary sharing the board would have erased it on its next move or edit. Unknown keys are now kept and written back unchanged, nested ones (in a requirement, a task) included.
  • The VS Code extension packages (FEAT-014). vsce package refused it — no repository, and a README link that only resolved inside this repository. It now names the repository and the docs site, carries its licence (MIT OR Apache-2.0), and installs and runs from the packaged .vsix in a clean VS Code.

Changed

  • The release proves its installers on every system it publishes for (FEAT-149). After a release is published, install.sh now runs on macOS and install.ps1 on Windows — run as the docs tell a user to, irm … | iex included — beside the two Linux containers, and each install must name the release and its commit and serve the monitor. The checks live in scripts/verify-install.sh and its Windows twin, and make ci runs the first against the latest published release.

0.1.1 - 2026-10-02

The container image is the released program.

Fixed

  • The container image’s kanbanr could not say which build it is (FEAT-144). kanbanr --version in the GHCR image printed (unknown, built unknown): the image is built without .git, and nothing handed it the commit. The release now passes the commit and its date in as build arguments, and refuses to push an image whose binary does not name them — the check the archives already had. make ci builds the image the same way and runs the same check.
  • The container image’s kanbanr carried no skill (FEAT-145). The image’s build stage copied only api/, so the program embedded no Claude Code skill and kanbanr skill install in the image refused — the same version as the archives, but not the same program. The build now copies skill/, and the check before the push (scripts/check-image.sh) also requires the image’s kanbanr to install the repository’s skill, file for file.

0.1.0 - 2026-10-01

The first public release.

Added

One install: the program carries its skill (FEAT-141)

The kanbanr program embeds the Claude Code skill it matches — SKILL.md, the hook scripts and their prompt — and kanbanr skill install | status | uninstall puts it in ~/.claude/skills/kanbanr. The release installers run it when Claude Code is on PATH (--no-skill to skip), so installing kanbanr is one step, and the skill is always the release’s, never a branch’s. self-update updates a skill kanbanr installed; a folder it did not write — a link to a clone, a plugin’s copy — is left alone. In a tracked project without the program, the session-start hook says how to install it, and the setup interview checks for it first.

The kanbanr mark, and screenshots of the monitor as it is (FEAT-133)

kanbanr has a mark — a k whose stem is a kanban column and whose arms are the thread the work runs along — in the startr.trade palette, with light and dark lockups, a favicon, an app icon and a social preview in assets/brand/. The monitor’s header, its favicon, the docs site, the VS Code extension and the README use it. Every screenshot is retaken, and make screenshots now also builds two demo boards — a portfolio, and a Scrum shop (tools/demo/cadence.sh) — to show the sprint header with its burndown, the Releases page and the Gantt with sprints, which kanbanr’s own board does not use.

kanbanr’s own board is public, and the code points at it (FEAT-136)

The board kanbanr is developed on is published at startr-trade/kanbanr-board, its history sanitised first. The README gains “Developed with kanbanr” — the charter, an item’s definition and tests, the decisions, retros and lessons, commit trailers and kanbanr why — and the contributing chapter shows how to read the board. A committed .kanbanr points at ../kanbanr-board, so a clone beside the board needs no setup, and kanbanr claude sync names the board’s published address in the CLAUDE.md block once the board has a remote.

Security scanning in CI, and one CI run per change (FEAT-130)

  • CodeQL (codeql.yml) analyses the Rust, the TypeScript (monitor and VS Code extension) and the workflows themselves, on main, on pull requests and weekly.
  • Trivy (trivy.yml) scans dependencies, committed secrets and the Dockerfile; release.yml scans the image before pushing it and stops on a fixable HIGH or CRITICAL finding.
  • Supply chain: ci.yml’s supply-chain job runs cargo deny (licence allowlist in api/deny.toml, sources, advisories), cargo audit and npm audit --omit=dev, and fails on a finding. A suppression needs a reason and an expiry (.trivyignore.yaml), checked in CI.
  • Code-scanning uploads are skipped while the repository is private, rather than failing.
  • Every action is pinned to a commit SHA of a Node 24 release (Node 20 actions are deprecated), runners name their image (ubuntu-24.04, macos-15, windows-2025) rather than -latest, and CI runs once per change — on a push to main or a pull request — cancelling superseded runs.
  • Locally: make audit, make scan-deps, make scan-image, make codeql; make ci includes the audit and the Trivy scans.

make ci: every CI check, locally, before a push (FEAT-131)

make ci copies the tracked tree to a clean folder and runs every CI check that can run off GitHub: actionlint over the workflows, a check that every action they use exists, and each workflow step’s own script read from the workflow file (web, Rust, installers, docs, the release build and packaging, the Docker image). Every script step of every workflow must be classified as run locally or GitHub-only, so a new CI check cannot go unverified unnoticed, and the run ends by listing what only GitHub can verify. Its first run found the release workflow naming a retired macOS runner.

Setup is a plan-mode interview, then one approved setup (FEAT-100)

Asking Claude to set up kanbanr in an untracked folder now starts in plan mode: board folder and commit identity, a charter drafted from the repository and marked as a draft, and the process (default kanban, TOGAF phases or custom, git hooks, remote, mirror, import). Exiting plan mode is the approval; the whole setup then runs, is saved as a board doc and checked with doctor before any other work starts.

Session summaries ship with kanbanr (FEAT-101)

The session-summary hooks (a compaction’s summary, the end of a session, and a sweep at the next start) moved from one checkout’s ignored .claude/ into skill/kanbanr/hooks/, and kanbanr hooks install registers them for PostCompact, SessionEnd and SessionStart, as does the plugin. They act only in folders with a .kanbanr marker, need bash, jq and python3, and are not offered on Windows. A project’s own .claude/commands/create-summary.md sets the summary’s shape when it has one. .gitignore now ignores only the machine-local parts of .claude/.

One binary, installed in one line (FEAT-084)

The web monitor is now compiled into the binary, gzipped and decompressed once at startup, so kanbanr serve shows it with no --ui-dir and nothing to build. An explicit --ui-dir still wins for SPA development, and a build without web/dist embeds nothing, succeeds, and says so at startup rather than serving a blank page. The binary grows 12 MB → 13 MB: the assets’ compressed size, asserted from both sides in CI.

scripts/install.sh and install.ps1 install it in one line, verifying the download against the release’s own SHA256SUMS. They ship as release assets, so the documented one-liner comes from the release host rather than a CDN of the default branch that could serve a mismatched script. GH_TOKEN lifts the API rate limit, and is sent only to api.github.com. release.yml then proves the whole thing: verify-install runs the published one-liner in clean Debian and Ubuntu containers and asserts the monitor is actually served. See docs/INSTALL.md and ADR-0009.

kanbanr is not published to crates.io: a published crate cannot carry built assets without committing generated files, so the archive and the installer are the supported way to get a complete binary (ADR-0011). ears-classifier is the one published crate.

Reasoning, evidence and traceability (MS-006)

A board records what is being built; this milestone adds why it exists, what must be true, and what proves it — and refuses to record anything it cannot derive. All of it is opt-in: a project with no charter behaves exactly as before, and items created before a charter was adopted are never reported against it.

  • Project charter (FEAT-046): charter.yaml holds the purpose, vision, goals with ids, non-goals, stakeholders and constraints. Work items link goals; kanbanr charter show|set and a Charter tab in the monitor. A goal with no work behind it, and an item serving no goal, are both reported.
  • Feature definitions (FEAT-047): why an item exists, the six Zachman dimensions in a line each, requirements in EARS form with the tests that prove them, and a design-doc pointer — inline on the item, so an older board still loads byte-identically. kanbanr feature define [--template --kind defect].
  • Approval gates (FEAT-048): kanbanr review renders a one-screen decision brief, approve records agreement pinned to a hash of the definition’s content, and starting an item without a current approval is refused. Editing the definition afterwards lapses the approval rather than silently keeping it; the override (--unapproved "<reason>") is recorded on the item.
  • EARS and ISO/IEC 25010 checks (FEAT-049): requirements are classified into the five EARS patterns (never rejected), quality tags canonicalised against the nine 2023 characteristics, and doctor reports unsupported claims — a measured scenario whose measure names no test, a quality tag with no scenario, a blank dimension.
  • Surfacing and search (FEAT-050): definitions render in feature show, query --goal/--gap searches them, and the monitor shows the definition grid, requirements with their evidence, and gap chips.
  • TDD test states (FEAT-051): each requirement carries its tests through planned → red → green with the revision they were observed at; kanbanr check reports what an item has not said and cannot yet show. Optional TOGAF phase preset for the workflow.
  • Measurement (FEAT-053): every status change appends to the item’s history; a defect record whose escaped flag is derived (it escaped if the work that introduced it was already called done); a PostToolUse hook that reads real test output and records which tracked tests passed, stamped with the revision; kanbanr report --since for throughput, cycle time, rework, escape rate and requirement coverage; kanbanr tests --write returns a green whose test no longer exists to planned.
  • Wave retrospectives (FEAT-054): kanbanr retro <milestone|--since|--label> [--write] reports scope growth split by what items record, self-inflicted defects, cycle time, rework, evidence at completion and estimate vs actual, and writes a document whose computed facts and narrative are separate sections. Finishing a milestone’s last item emits an event; the Stop hook surfaces a retro that is due. kanbanr split-from records work sliced out of another item.
  • Lessons with confidence decay (FEAT-055): recorded in flight with their evidence, deduplicated (saying one again affirms it), decaying unless reaffirmed, contradiction weighted heavier than affirmation, and retired rather than deleted below the threshold. Surfaced at session start, per item (kanbanr lessons --for), and on the Charter tab.
  • SCM traceability (FEAT-056): one item, one branch, one reference per commit. kanbanr start branches and moves the item, kanbanr commit fills in Refs: kanbanr:FEAT-046/R-2, finish refuses while tasks are open or requirements unproven. kanbanr git install-hooks adds commit-msg and pre-commit checks that keep any hook already there, and a Claude Code guard answers the same rules before a commit is attempted. Escapes are explicit: [no-ref] <why> stays in git history.
  • Code tied to the why (FEAT-057): kanbanr trace down from a goal, item or requirement — ending in the gaps — and kanbanr why <file>:<line> up through the annotation or the commit trailer to requirement, goal and purpose. Architecture decisions become documents with front-matter that joins them to the graph (adr new|list|supersede|history), with Docs: and ADR: commit trailers validated like any other reference, and trace --zachman reporting the columns nothing addresses.

Added

  • Claude Code hooks set up automatically (FEAT-044): kanbanr init registers the skill’s SessionStart and Stop hooks in the global Claude Code settings ($CLAUDE_CONFIG_DIR or ~/.claude), once per machine (--no-hooks to skip). The merge preserves existing keys and hooks in order, writes atomically, leaves invalid JSON untouched, repairs registrations whose script is gone, and defers to the kanbanr plugin when it is enabled. New kanbanr hooks install | status | uninstall.
  • GitHub issue mirror (FEAT-043): kanbanr mirror enable --repo owner/repo keeps a project’s features in step with GitHub issues through gh, one way (kanbanr is the source of truth).
    • After every write, changed features are pushed: new feature → issue; title/spec/labels/tasks → update; Completed → closed as completed; no-op state → closed as not planned. Change detection uses a stable hash of the rendered issue, so unchanged features make no calls, and failures never fail the write (kanbanr mirror sync catches up; KANBANR_MIRROR=off pauses).
    • Refuses public repos without --allow-public; existing features are backfilled only with mirror sync --all.
    • mirror status (plan, no calls), mirror link (existing issue), mirror pull (read-only: edits on GitHub since the last sync and new comments), mirror disable.
    • Imported GitHub issues keep their issue link, so they are updated rather than duplicated.
  • Import existing task trackers (FEAT-042): at activation the skill offers to import work already tracked in TODO.md/ROADMAP.md, AI-tool plan files (Spec Kit, Kiro), GitHub issues or exports, after asking which sources to bring in (open items by default).
    • feature.add accepts source (provenance: system, ref, revision, url), original (preserved in the spec under “Imported from”) and issue; kanbanr stamps imported_at, derives a stable re-import key, and the CLI fills the project commit for file sources. Sources are history, not live pointers, so deleted files or rewritten history leave nothing dangling.
    • Re-running an import skips known sources, same-named milestones, and the ops under skipped items.
    • kanbanr batch --dry-run previews a bundle without writing (no activity entry, no commit).
    • kanbanr sources [--write] checks whether file sources still exist and records missing_since; the monitor labels vanished sources and links mirrored issues.
  • Board next to the project (FEAT-041): kanbanr init asks where to keep the board and recommends a sibling of the project’s git repo named <repo>.kanbanr, or an existing kanbanr folder nearby so projects can share one. The choice is recorded in the .kanbanr marker (project: + data_dir:, relative to the marker), which is now found by walking up from the current directory. New kanbanr where [--json] shows the board folder in use. Data dir order: --data-dir → $KANBANR_DATA_DIR → marker data_dir → ./data. Legacy one-line markers and ./data boards keep working. The skill asks the user for the location on activation, and the Stop hook finds the board via kanbanr where.
  • Project docs default to kanbanr (FEAT-040): the skill writes every document (requested or self-initiated) as a kanbanr doc, and into the project folder only when the user asks.
  • Enterprise-scale coordination (opt-in, milestone MS-005) — kanbanr scales from a single project to a portfolio without losing the git-backed, file-per-entity model:
    • Cross-project dependencies: a depends_on entry may be qualified "<project>:<code>"; a portfolio-wide graph resolver validates existence + global acyclicity (FEAT-026).
    • Derived dependency state: ready/blocked/graph/impact (transitive downstream closure) over the dependency DAG, per-project or portfolio-wide, with a “blocked” chip on the board (FEAT-027).
    • Critical path & scheduling: start/estimate_days fields, longest-path schedule, and a Mermaid Gantt view (per-project + cross-project) (FEAT-035).
    • Portfolio/program hierarchy: optional workspace.yaml, cross-project board, and task-based rollups (milestone→project→program→portfolio) (FEAT-030).
    • Ownership: assignee/team fields + by-owner/by-team filters and badges (FEAT-031).
    • Query: rich filters (status/milestone/kind/priority/label/owner/due/dep-state) + full-text, one project or cross-project (FEAT-032).
    • Workflow as a state chart: explicit terminal_states + Mermaid stateDiagram-v2 import / export (YAML stays the source of truth) and a web Workflow page (FEAT-039).
    • doctor: portfolio integrity scan (dangling deps, unknown milestones, schema drift) + schema_version on project config (FEAT-037).
    • Scale & safety: lazy spec loading + a per-project index.yaml cache (FEAT-033); a cross-process advisory write lock (FEAT-029); batch ops load the project once (FEAT-028); debounced git push + an opt-in single-writer daemon (serve --allow-writes) (FEAT-034).
    • Eventing: per-project event log + opt-in webhooks, emitting FeatureMoved/Completed and DependentReady (cross-team handoff) notifications on state change (FEAT-036).
  • Dashboard: reverse-chronological ordering + per-page pagination (default 10) (FEAT-038).
  • Documentation viewer renders Mermaid diagrams (fenced ```mermaid blocks) and embedded images with per-folder relative resolution (any PNG/SVG asset; PlantUML/Graphviz/D2/Excalidraw export to an image and embed).
  • Light/dark theme toggle (persisted; honors OS preference) plus mobile-responsive layout and accessibility improvements (focus-visible, reduced-motion, ARIA labels).
  • VS Code extension scaffold under editor/vscode/ (thin viewer + command layer over the local data folder).
  • Packaging as a Claude Code plugin (.claude-plugin/) bundling the skill and enforcement hooks, with cross-platform (PowerShell) hook variants.
  • Open-source scaffolding: dual LICENSE-MIT/LICENSE-APACHE, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT, THIRD_PARTY notices, GitHub issue/PR templates, Dependabot, and a release workflow.

Fixed

  • The release reported a correct binary as wrong, and skipped crates.io (FEAT-143). The installer check ran in a container, where steps run under sh (dash), and cut the commit to 12 characters with a bash-only expansion — so v0.1.0 published correctly and then said its binary did not name its commit. The check is POSIX now. make ci shellchecks every container-job step as sh, and fails when a workflow reads a vars. setting the repository holds only as a secret, which is how the crates.io publish was skipped without a word.

  • A board could not reach GitHub, and its batched push never fired (FEAT-142). The git library was built without its network transports, so kanbanr sync to an SSH or HTTPS remote failed with “unsupported URL protocol” — and then reported “nothing to sync”, because a failed push cleared its marker. The batched push counted commits in memory, so the CLI, a new process every command, never reached the threshold. Remotes over SSH (agent or ~/.ssh key) and HTTPS (git’s credential helper) now work; the count comes from git; a failed push is reported, stays pending and makes sync fail; the policy is a board setting (kanbanr remote push-policy) with KANBANR_PUSH as an override; and kanbanr doctor warns when a board is too far behind its remote.

  • The Releases page counted Done items as unfinished (FEAT-138). It kept its own copy of the “finished” rule and counted only the end status, so a planned scrum release read 0% while items in it were Done. The daemon now reports each release’s items and finished count by the sprint’s rule (FEAT-137), and the page shows what it reports.

  • The Claude Code plugin failed validation (FEAT-139). Its skill path used ${CLAUDE_PLUGIN_ROOT}, which Claude Code expands only in hook commands, so claude plugin validate failed and the plugin could not load its skill. The path is ./skill/ now, the manifests carry no comment keys (the notes are in .claude-plugin/README.md), the description no longer points at crates.io, the licence reads MIT OR Apache-2.0, and make ci validates the plugin wherever claude is installed. The README and the installation chapter now say how to install the skill — as a plugin, or from a clone.

  • The monitor rendered board markdown unsanitised (FEAT-140). CodeQL’s first run on the public repository flagged a Mermaid diagram inserted as raw HTML; behind it, every spec and board document went into the page as marked produced it. A shared board’s documents are written by whoever can push to it, and with --allow-writes the page can approve, ratify and sign off, so a pushed document could act as the viewer. Markdown and diagrams now pass through DOMPurify, and npm run check:markdown (in CI) renders a hostile document through the same code.

  • A Scrum sprint burned down nothing until release day (FEAT-137). The burndown counted an item finished only at the workflow’s end status, which in the scrum preset is Released. A stage’s gate can now say done: true; the scrum preset marks Done, its Definition of Done, so items burn down as they are done, and a closing sprint no longer carries over work that is Done but not yet released.

  • Session summaries were committed with the board (FEAT-135). A summary is a condensed conversation, and it was written as a board document, so it was committed and pushed with everything else. Summaries now go to <board>/.sessions/<project>/, beside the board, and every board ignores .sessions/, existing ones from their next write.

  • Dependency advisories in what kanbanr ships (FEAT-132). The first supply-chain scans found a TLS 1.3 handshake flaw in rustls (now 0.23.45), an unsound anyhow API (now 1.0.104), three unsound git2 APIs (now git2 0.21, which also brings a newer libgit2), and advisories in the monitor’s dompurify, mermaid and react-router (the monitor now uses React Router 7.18). The tests’ testcontainers moved to 0.28, dropping a vulnerable tokio-tar and an unmaintained crate, and the screenshot tool’s lockfile took a fixed quinn-proto. The Docker image now runs as an unprivileged user and declares a HEALTHCHECK against /healthz.

  • CI failed on main on all three platforms (FEAT-129). The rust job tested a binary with no monitor inside, because it never built web/dist; it now builds the web app first. The docs guard compared a file path it had not resolved against a repository root it had, so on macOS — where the temp folder is a symlink — a loose note inside the repository was let through; both are now resolved on disk before comparing. And every binary that links libgit2 now also links Windows’ advapi32, which the vendored libgit2 needs and the current MSVC no longer adds itself. With that linked, every command then overflowed the 1 MiB stack Windows gives a program’s main thread (--version included, in a debug build); the CLI now runs on a thread with a 16 MiB stack on every platform. With that, three Windows-only defects surfaced: a .kanbanr marker written on Windows stored ..\app.kanbanr, which Linux and macOS cannot read — markers now always use forward slashes — and messages named paths in Windows’ verbatim form (\\?\C:\…), which is now dropped. CI’s test step now runs with --no-fail-fast, so one platform’s failures all show in one run rather than one test binary at a time. The release workflow also named the retired macos-13 runner for the Intel macOS build, which would have left that job waiting for a runner that no longer exists; it now uses macos-15-intel.

  • Board commits went out as kanbanr <kanbanr@local> (FEAT-128). A new data repository was given that placeholder identity in its own git config and committed with it before init --author/--email recorded anyone, so every board’s first commit was nobody’s; a board set up without those flags kept committing as nobody, because the placeholder also hid the user’s own git identity. Now the identity is recorded before the first commit, the user’s git identity is used when the board has none, and with no identity at all init creates nothing and writes are refused with the command that fixes it. doctor reports a board still carrying the placeholder.

  • The commit guard judged the wrong repository (FEAT-127). cd ../other && git commit … (or git -C ../other commit …) was judged by the branch and board of the session’s folder, so a correct commit elsewhere could be refused as “straight to master”. The guard now follows the command to the repository it commits in and uses that repository’s board; a folder without one, or a directory only the shell could work out (cd $X), is left to that repository’s git hooks.

  • The shipped session-start and stop-check hooks were empty (FEAT-102). A commit on 28 Sep replaced both with exit 0 stubs, so sessions stopped recovering the board and turns stopped being nudged to record work, while hooks status still reported them healthy. Both are restored, and a test now fails if a shipped hook script is a stub.

  • Looking in a folder with no board created one (FEAT-103). Any read (whoami, board, doctor and so on) run with no marker and no $KANBANR_DATA_DIR left a stray ./data/ behind. Reads now say there is no board and point at kanbanr init. Hook commands stay silent there, and an existing legacy ./data board still works.

  • kanbanr open suggested serve --ui-dir web/dist (FEAT-104). The monitor has been built into the binary since FEAT-084. The hint, the skill and the docs now say kanbanr serve.

  • A fresh repository could not make its first commit (FEAT-105). With no commits, the git hooks called the default branch main while HEAD was an unborn master, then refused the root commit. An unborn HEAD is now the default branch, the root commit may land on it, start refuses until a first commit exists, and init.defaultBranch only counts when that branch exists.

  • Board columns scrolled inside a 1200px page (FEAT-107). The board now uses the window’s width, so a six-status TOGAF board fits. Reading pages keep their 1200px measure.

  • Cadence in the monitor (FEAT-123). Where a project uses sprints:

    • the board has a sprint selector, defaulting to the active sprint;
    • it shows a header with the goal, dates, days left, done against committed, and capacity;
    • it shows a burndown: one accent line against a dashed ideal, a tooltip on every day, and a table view.

    Where it uses releases, a Releases tab lists each release’s scope, how much is finished, its target and its notes. The project Gantt draws sprints as bars and releases as milestones. A project that uses neither sees none of it.

  • A gate that didn’t name definition let an undefined item through (FEAT-125). The scrum Ready gate passed items with no definition at all. A missing definition now fails every check that reads it.

  • Scrum and agile, ready to use (FEAT-122).

    • Two new presets:
      • scrum: Backlog → Ready → In Progress → Review → Testing → Done → Released. Ready is the Definition of Ready, and work starts only inside the active sprint.
      • agile: Plan → Design → Develop → Test → Review → Released.
    • Both switch sprints and releases on, with their defaults. Other presets leave the cadence alone, and a workflow file can carry its own.
    • kanbanr config workflow --write-agreement writes the working agreement to the board, generated from the gates.
    • The setup interview asks for sprint length, first start, capacity, release cadence and first version when the chosen process uses sprints.
  • Releases (FEAT-120). For projects that switch them on: kanbanr release add | plan | list | cut. A release is planned up front, in projects/<id>/releases.yaml, and items carry release.

    • release cut ships the planned items that are finished. An item whose work is done is moved to its end status through that status’s gate.
    • It writes release notes from the shipped items’ statements and requirements to releases/<version>.md on the board.
    • Anything that didn’t make it is carried to the next planned release, or back to unplanned, with the reason. --tag also tags the code repository.
    • feature add --found-in <version> records feedback against a shipped release.
    • A new in_release check lets a gate require an item to be planned into a release.
  • Sprints (FEAT-119). For projects that switch them on: kanbanr sprint add | plan | start | show | list | close.

    • A sprint (SP-001) has a goal, dates and a capacity, and lives in projects/<id>/sprints.yaml. Items carry sprint.
    • Planning past capacity warns but still plans.
    • Only one sprint is active at a time.
    • Closing a sprint carries unfinished items to the next sprint or the backlog, and records what was carried.
    • sprint show gives the burndown, derived day by day from the moves items recorded. Nothing is stored for it.
    • kanbanr report includes velocity per closed sprint only where sprints are on.
    • retro --sprint covers one sprint.
    • A new in_sprint check lets a gate require an item to be in the active sprint.
  • Story points and cadence switches (FEAT-121).

    • Items can carry points beside estimate_days (--points on feature add and feature edit).
    • A project chooses its unit with kanbanr config cadence --unit points. A new estimated check judges estimates in that unit, and a Definition of Ready can require it.
    • Sprints and releases are off unless switched on (kanbanr config cadence --sprints on --releases on), because most projects follow a different rhythm. A project that never switches them on carries no cadence at all on disk.
  • Processes are documented, and the decision recorded (FEAT-118). A new book chapter, Processes: presets, gates and sign-offs, covers the presets, the gate fields, every check, how sign-offs work, how a definition grows stage by stage, a worked PDCA example, and how to write your own process file. ADR-0010, Process is configuration: kanbanr owns the checks, the project owns the process, is on the board. The skill teaches stage-by-stage definitions, and that sign-offs belong to the user.

  • Every surface says what the next stage needs (FEAT-117).

    • kanbanr check lists, for each stage an item can move on to, what that stage is for and what is still missing.
    • doctor is stage-aware on workflows that declare gates. It reports what the next stage asks, not what a later stage will ask.
    • The Review page offers Sign off buttons for sign-offs a next stage is waiting on.
    • Board cards show the next stage and how much it still lacks.
    • The Workflow page draws the daemon’s diagram, gates included, instead of a hand-kept copy of the exporter, and lists each stage’s requirements.
    • kanbanr claude sync writes each stage’s purpose into CLAUDE.md, so the agent grows a definition one stage at a time.
  • Workflow presets are data, and a project can load its own process (FEAT-116).

    • Presets are YAML files shipped in the binary:
      • default: this board’s shape, Planned → In Progress → Completed plus Deferred and Ongoing. This is now what a new project gets.
      • scheduled: the old default, Planned → Scheduled → Completed.
      • togaf: the definition grows phase by phase, with the branch at Implementation, a release sign-off, and a direct Implementation → Operations edge.
      • pdca.
      • design-control: modelled on ISO 9001 §8.3, not claimed compliant.
    • kanbanr config workflow --preset <name> applies one, and --preset list describes them. --from-file loads an organisation’s own process, and --export writes a project’s workflow, gates included.
    • An unknown preset name is refused with the list of known ones. project init --workflow used to fall back silently.
    • A preset’s statuses and gates are replaced in one write.
    • The Mermaid export shows each declared gate as a note.
    • Existing boards keep their own workflow.
  • start, finish and auto-advance follow the workflow (FEAT-115).

    • start goes to the status whose gate makes the branch: Implementation under TOGAF, not the phase after Vision. A jump the workflow doesn’t allow is refused, naming the stages in between. In a folder that isn’t a git repository, the item moves without a branch.
    • finish ends at a terminal status reachable from where the item is. It used to take the first terminal regardless.
    • When every task is done, the item advances to that terminal status only if its gate is met. Otherwise it stays and task state says why. It no longer depends on a status literally named “Completed”.
  • Sign-offs (FEAT-114). kanbanr signoff <CODE> <name> records a named agreement a stage can require, such as a design review held or a release approved: who, when, in which status, with an optional note and doc. A gate lists them as signoffs: [design-review].

    • A sign-off is tied to the definition it covered, so changing the definition lapses it and the gate asks again. Earlier sign-offs are kept.
    • Approvals now also record the status they were given in.
    • feature show lists each sign-off and says whether it has lapsed.
  • Declarable gates (FEAT-113). A workflow can say, per status, what an item must show before it enters that status. The config’s gates map takes purpose, requires, warns, enforce: block|warn, kinds and on_enter, and a Zachman condition can name only the columns a stage needs. Unknown statuses, checks or columns are refused when the workflow is saved.

    • No existing board changes. With no gates declared, today’s rule is synthesised exactly: entering a status that means “working on it” needs a definition and a current approval.
    • Overrides are recorded. --override "<reason>" (formerly --unapproved, which still works) passes a blocking gate, and the reason is kept in the move’s history.
    • Schema 3, only when needed. A board that declares gates is stamped schema_version: 3, so an older kanbanr refuses it instead of ignoring its guardrails. Boards without gates stay at 2.
    • Terminal statuses. A status named “Completed” counts as terminal only where the workflow declares no terminal states.
  • “What is this item missing?” has one answer (FEAT-112). check, finish, doctor, check --file, query --gap and the monitor’s board cards now share one readiness engine, instead of five copies that had drifted apart. Each surface still asks its own set of checks, but a rule means the same thing and reads the same everywhere. Two drifts are corrected: the query no longer counts a ratified item as unapproved, and an exempt item has no gaps anywhere. New read routes serve the monitor: …/features/{code}/readiness and …/readiness (per live item).

  • Session summaries can keep private topics off the board (FEAT-124). A private exclusion list, kept outside every repository, names terms that must never appear. Transcript messages that mention one are dropped before summarising, and summary lines that mention one are removed before anything is written.

  • The docs guard refused files outside the repository (FEAT-111). It blocked Claude Code’s own plan file in ~/.claude/plans and suggested an unusable notes//home/… board path. It now judges only files inside the tracked repository, and suggests a path relative to it.

  • Piping output into head printed a panic (FEAT-110). kanbanr git status | head -1 ended with a stack trace after a command that had succeeded. A closed pipe now ends the command quietly with status 141, as it does for git.

  • Work finished under a recorded bypass couldn’t be ratified from the monitor (FEAT-109). doctor was the only place it appeared, and kanbanr ratify the only way to agree to it. It now heads the Review page with a Ratify button, chosen with the same rule doctor uses.

  • The commit guard read heredoc bodies as commands (FEAT-108). A script that only mentioned git commit was refused. Heredoc bodies are now skipped. A real commit on the same line is still checked.

  • Setup interview gaps from its first real run (FEAT-106). The skill now gives the charter’s exact fields (statement, not outcome), checks that non-goals are non-goals, plans git init plus an initial commit for a folder that isn’t a repository, and ends by saying how to open the monitor.

  • The released Linux binary would not have run on Debian stable (FEAT-087): a -gnu target links the build runner’s glibc, and the release matrix built on the newest one — so the binaries required glibc 2.39 and would have died on bookworm (2.36) with libc.so.6: version GLIBC_2.39 not found. docker/Dockerfile already carried a comment describing this exact failure from when it bit the image; nothing carried that note to the workflow that makes what people download. The Linux legs now build on Ubuntu 22.04 (glibc 2.35), verify-install brackets the claimed range, and docs/INSTALL.md states the floor and quotes the error.

  • An approval named a place, not a person (FEAT-077): the monitor recorded verdicts as by: "reviewed in the monitor", naming the surface the click happened on. FEAT-069 already required the record to carry who. /api/meta now reports the board’s commit identity and the monitor attributes a verdict to the same name kanbanr approve would; a verdict with no named approver is refused rather than attributed to "unknown". Approving and withdrawing also emit events now — a withdrawal means work already in flight lost its mandate, and the only trace used to be inside the item’s own file.

  • The review queue asked for agreement on finished work (FEAT-078): doctor and the queue answered the same question differently — 2 items against 6, the extras Completed or deliberately Deferred. Approving merged work records a signature that changes nothing, and a gate that asks for those gets rubber-stamped. Both now read one graph::is_live_work gate, and in-flight work is asked about first.

  • A test named after a file could not be recorded (FEAT-079): a test name is one path segment, and the CLI’s encoder leaves / alone — right for a whole path, wrong for a segment. The write was refused and the state silently stayed planned, so kanbanr check called a passing test unproven, which reads as the evidence rule being broken rather than the transport.

  • A control that did not look like one (FEAT-076, FEAT-081): the review queue ran its briefs together as one column and its approve action used the label style. Briefs are now collapsible cards, and .btn has its own raised surface — it had been declared with the same background as .chip, so changing the class satisfied the requirement while the button still read as a tag. npm run check:ui asserts both the class rule and that the two surfaces differ. See ADR-0008.

  • A published snippet carried a local path (FEAT-024): skill/kanbanr/hooks/settings.snippet.json registered its hooks by an absolute path into the author’s home directory — one that had not existed since the repository moved, so anyone following it registered two hooks that silently did nothing. Now a placeholder, leading with kanbanr hooks install, which resolves the paths itself.

  • Auto-completion left no transition behind (FEAT-061): ticking an item’s last task completed it by assigning the status directly, so cycle time was blind to the normal way items finish and reported only on hand-moved ones.

  • The retrospective over-claimed (FEAT-060, FEAT-063): it counted items planned together as scope growth, required evidence to match the current revision in a historical account, demanded retrospectives for waves the board never watched, and reported changelog timestamps — which time board writes, not work — as cycle time.

  • Report warnings that fired on everything (FEAT-062): sub-day cycle times printed as 0.0 days, and every green recorded before the last commit was listed as stale evidence.

  • A guardrail that matched its own explanation (FEAT-056): a commit message explaining the [no-ref] escape was read as taking it, waving through a commit that had a valid reference.

  • A mermaid diagram in DESIGN.md that rendered as nothing — a ; inside a sequence-diagram message is a statement separator. npm run check:docs now parses every diagram in CI with the same library the monitor renders them with.

  • The Stop hook’s record-your-work reminder never reached Claude: it went to stderr with exit 0, which Claude Code doesn’t pass to the model (FEAT-045). It now answers with a block-once {"decision":"block","reason":…} only when the board is stale, the project changed since the last board update, no reminder was given in this session within the window, and Claude isn’t already continuing because of a Stop hook.

Changed

  • The README describes kanbanr as it now is (FEAT-134). It leads with why kanbanr exists and what it gives you — the method, processes and gates, sprints and releases, traceability, the monitor, local-first — each linked to its chapter, then the screenshots, a quick start, how kanbanr is developed with kanbanr, and how it works. The screenshot gallery moved to the monitor chapter, the command reference now lists every command, the architecture chapter covers the readiness engine, gates and cadence, and the quick start no longer says hooks are installed machine-wide.
  • Relicensed the workspace to MIT OR Apache-2.0 (was MIT) — the Rust-ecosystem norm.
  • kanbanr is not published to crates.io (FEAT-024, ADR-0011). It ships only as the GitHub release archives, the install.sh / install.ps1 installers and the GHCR image; kanbanr-cli, kanbanr-core and kanbanr-server now declare publish = false. ears-classifier is the one published crate. The open-sourcing guide, the release workflow’s notes and the VS Code extension’s install hint no longer point at cargo install kanbanr, and .github/CODEOWNERS asks the kanbanr-maintainers team to review every pull request.
  • Releases and the docs site come from main only (FEAT-024). The release workflow refuses a version tag whose commit is not on main, before anything is built or published, and the docs site deploys only from main (a manual run elsewhere builds the book without deploying it).
  • No Dependabot version updates (FEAT-024). .github/dependabot.yml is removed: on the first push it opened eighteen pull requests, one per major bump across cargo, the web app, the VS Code extension and the workflows. Dependencies are updated deliberately, and major upgrades are planned as board items.

Added: the foundation

  • One binary kanbanr: a local, git-backed CLI writer plus kanbanr serve, a read-only view daemon (localhost, no accounts) over the same folder.
  • kanbanr-core engine: YAML/markdown store, dispatch router, vendored-libgit2 commits + optional remote pull/push, per-project activity changelog, markdown/JSON export, validation (workflow transitions, milestone + cross-feature dependency DAG cycle detection, task auto-complete).
  • Feature items with code/specification/status/milestone, persistent todo-lists, and fields for kind, priority, due date, labels, and cross-feature dependencies.
  • React + Vite read-only monitor: project tiles, kanban board, status/feature/milestone/schedule pages, documentation viewer (with image assets), filter/search, filterable activity streams, and live SSE updates.
  • Claude skill + enforcement hooks (SessionStart/Stop) making kanbanr the project’s system of record.
  • Optional Docker image and a two-layer test story (Docker-less integration + a testcontainers packaging smoke).