Git-native, file-compatible kanban board for multi-agent workflows. Canonical
state lives in refs/karr/*; the tasks/ directory is a materialized view.
Claim:
An active, expiring lease an agent holds on a Task while working it —
recorded as claimed_by (+ claimed_at). It is not authorship: it expires
(see Pick claim-timeout) and is released when the Task reaches a terminal
status — on a Task in the board's final status (done on a default board) or
archived the claim guards nothing, and edit,
move, delete, archive and handoff all go through whoever the field
names. karr board shows no claimant on such a Task and leaves it out of its
claimed count, because the board shows live work-in-progress, not history;
karr show and --json still carry the field, as provenance. That provenance
ends where the work resumes: a Task leaving a terminal status for a working one
has claimed_by/claimed_at cleared, unless the reopening command names a
claimant itself (move ID todo --claim NAME, handoff), in which case that
agent holds it. done → archived keeps the name — archiving does not resume
anything. A Task in Backlog holds no Claim: moving one there releases it.
Avoid: owner, lock (the advisory ref lock is a separate mechanism).
Backlog:
The held-back column. A Task filed into backlog — create's default
status — is sorted there and taken by nobody: karr pick and Foundation
never hand it out (pick --status backlog is refused), a board with nothing but
backlog left counts as drained, and it cannot hold a Claim — --claim onto
it is refused, and a move into it releases the one the Task carried. Three
stages, three meanings: backlog is filed and held back, todo is released for
work — the pool pick and foundation take from — and a Claim says the Task
is being worked now. Moving a Task out of backlog is its promotion, and it is the
maintainer's call by default, not a coordinating agent's: an agent that
promotes on its own lifts the very hold backlog exists for. The status is
recognised by its name, not by a config flag — kanban-md drops a status key it
does not know, so a flag would not survive a round trip through it — and a
board without a backlog column holds nothing back.
Avoid: "releasing" a Task for promoting it (release is what happens to a
Claim); "parked" for a backlog Task (a parked board is a Disabled board).
Assignee:
The intended doer of a Task (assignee), set by a human/planner. Distinct
from Claim: assignee is intent, claim is who actually picked it up now.
Avoid: owner.
Activity log:
The durable Verlauf of actions, stored in refs/karr/log/* and read via
karr log. Survives independent of Task frontmatter — so clearing or hiding a
field on a Task never loses its history.
Avoid: changelog (that is the release Changes file), .karr.log (that is
the foundation agent's per-run stdout capture).
Task lifecycle:
A Task carries timestamps for each milestone it passes: claimed_at,
started, completed. The board's final status — its last configured status
other than archived, done on a default board — and archived are the
terminal statuses (ADR 0004).
Terminal means closed, not succeeded — karr has a notion of progress and
none of outcome. A card given up in the backlog and archived is
frontmatter-identical to one archived after done: update_timestamps stamps
completed on every terminal status and backfills started, so karr archive
on a never-touched card records both a start and a completion, and no field
says why the card ended. This is why a cross-board needs: link settles as
soon as the far card is terminal — because that card is closed, not because
it succeeded. Narrowing the rule to the done equivalent could only guess, and
it would guess wrong in the common case, done → archived being the normal
way a finished card is put away: the waiting card would stay blocked with
nothing left on the far board able to unblock it, that card being terminal
already. A false success that lets work continue is the cheaper error. The
local depends_on side reads the rule the same way, but writes nothing: an
archived dependency satisfies it silently, and karr show keeps printing
Depends: 1 (archived), so the word stays on the card. karr needs --resolve
does write — tag gone, block gone, in another repository — which is why the
same reading deserves more caution across boards than within one. Giving a card
up is therefore something to say on the far board yourself.
Avoid: "settled"/"resolved" read as "succeeded" — both say only that the far
card is closed.
Task id:
A Task's number, allocated from the board's counter
(refs/karr/meta/next-id). In prose — commit subjects, card bodies, notes — it
is written k12, because a forge resolves #12 against its own issue tracker.
Commands accept k12 (or K12) for 12, the id side of a cross-board
BOARD#k12 included; the stored id and the ref name stay the bare number.
Avoid: #12 for a karr card.
Identity:
Who is acting, as <role>/<git-email>. The git email comes from git config;
the Role disambiguates a human and an AI that share one git email. Keys the
Activity log ref (refs/karr/log/<role>/<email>) and resolves show --me.
Avoid: user (the bare word — it is one value of Role, not the identity).
Role:
user (default) or agent. Propagated to nested karr calls via the
KARR_ROLE env var — foundation sets agent; an interactive human defaults to
user. The env var is the carrier precisely because it propagates to child
processes; a CLI flag would not, so a manual override is also the env var
(KARR_ROLE=user karr …).
Foundation:
The multi-board coordinator (karr-foundation) that sweeps several boards in
sub-directories. It serves two first-class users: a HUMAN coordinating their
own work, and an agent (role agent) driving tasks. Agent execution is
opt-in (claude: true or an explicit command:); with no agent configured its
default action is the read-only Overview.
Disabled board:
A board that opted out of automated agent runs in its own karr state
(foundation.enabled in refs/karr/config, written by karr disable [--reason]). Board state, not machine state — it syncs, so every foundation
instance on every machine honours it, unlike the local .karr file. The opt-out
is absolute: checked before agent-command resolution and before the drain
decision, so it wins over --command, default_command, the .karr command
and claude: true, and --force does not override it. A parked backlog stays
fully usable by hand; only automation is switched off.
Read-only clone:
A clone that may not write the Board -- learned from a push the remote denied
write access (denied), or set by hand for a clone that is only for reading
(karr readonly on). The state lives in that clone's git config, never on the
board, and applies only to the push URL it was recorded for. In it every command
that writes board refs is refused after its pull and before its first write
(--local-only included), and the command that hit the denial takes its own
change back (what cannot be taken back is named in the message and stays here
until karr sync); reading and pulling keep working. A rate limit, a ref the
remote refuses for a reason of its own (a hook, a protected ref) and a
permission error in the clone's own repository do not make a clone read-only. It lifts when the push URL
changes, when karr sync lands a push, or with karr readonly off; on is the
call of the clone's maintainer, never an agent's (ADR 0009). Not the same as a
Disabled board, which is board state that opts out of automation for every
clone; both are skipped by karr-foundation.
Avoid: "locked" (a Lock is the advisory pick ref), "disabled" (that is the
board's own opt-out), "offline" (the remote may answer; it just refuses writes).
Unpublished change:
A board change in this clone that the remote does not have: local
refs/karr/* or refs/karr-foundation/* that differ from the remote's last
known state, tombstones included. It comes from an unreachable remote, from
--local-only, or from a clone older than the read-only state, and every karr
command warns about it on STDERR until karr sync lands it. A Read-only
clone has none of its own: a denied push takes the command's change back
instead of keeping it (what it cannot take back is the one exception). A write in progress that died early is a different
thing; the push insurance publishes that one.
Avoid: "local refs are intact" (it reads as "all fine" and says nothing about
what is missing), "dirty" or "pending" for the clone (those are git's words for
the working tree).
Overview:
Foundation's read-only dashboard (--status, or the default when no agent is
configured) — per board: status counts and what is
in-progress/claimed/blocked, plus which repos are locked (agent running) or in
cooldown. Fires no agent.
Context block:
The sentinel-delimited board summary (karr context --write-to) maintained
inside a host file such as AGENTS.md. karr deliberately writes kanban-md's
markers (<!-- BEGIN kanban-md context -->) so both tools can update the same
block and switching tools leaves no orphaned markers — an interop decision,
not a branding leftover.
Avoid: renaming the sentinels to "karr" (breaks cross-tool round-trips).
Claim name:
The name a card is held under, passed per pick/move/handoff/edit/create
via --claim (defaulting to KARR_CLAIM when the flag is omitted — for
create/move/edit only when the card ends up in a require_claim column), stored in
claimed_by and in the Activity log entry's agent field. karr agent-name
derives it from the checkout's own directory name. Distinct from Identity: a
single Identity may run under many Claim names over time.
KARR_CLAIM:
The Claim name carried per process — the default --claim reads when the flag
is omitted (ADR 0005). create, move and edit read it only when the card
ends up in a require_claim column, so filing a card, promoting it to todo or
adding a note leaves it unclaimed; edit --release never claims. Set once per
session (export KARR_CLAIM=$(karr agent-name)); an explicit --claim
overrides it. Per process and never stored,
so concurrent agents never share one — the counterpart for the claim name of what
KARR_ROLE is for the Role. Not the log Identity: show --me stays the
Identity, not KARR_CLAIM.
Avoid: calling it a "stored" or "remembered" claim — it lives only in the
process environment.
Parent / Subtask:
Deliberately not a concept. kanban-md's hierarchical cards (--parent) are a
documented non-goal: karr's answers to "this card relates to that one" are
depends_on (local ordering) and needs (cross-board). The parent field
round-trips through karr import unchanged — no data loss — but no karr
command sets, filters, renders or sorts it (see Task.pm), so a kanban-md board
that needs hierarchy keeps it in kanban-md.
Avoid: "parent"/"subtask" as karr vocabulary.
- An Agent holds at most one Claim on a Task at a time; the Claim expires if not refreshed.
- A Task has at most one Assignee (intent) and at most one Claim (active lease) — these may name different agents.
- A Read-only clone refuses every write to the board before it happens, so it holds no Unpublished change of its own; an unreachable remote is the case that leaves one.
- Every state change to a Task appends to the Activity log under the acting Identity.
- One Identity (
<role>/<email>) may use many Claim names over time;show --meresolves the Identity's most recent Activity-log entry.
claimed_byread as "authorship/who-finished-it" vs. "active lease" — resolved: it is an active lease. Provenance of who finished a Task comes from the Activity log, not from a retained claim. A terminal claim is released: it blocks no command, andkarr boardneither shows nor counts it. The data field is intentionally kept for interop/provenance, so the detail views —karr showand every--jsonpayload — do still print it. It is kept on a finished Task only: a reopen that names no claimant clears it, because a name carried into a working column is a lease again and made the Task unpickable by anyone.- "owner" used loosely for both Assignee and Claim — resolved: these are distinct; avoid "owner".