Files and paths
Where kebbie keeps its config, state and the files it ships, and what each file holds.
Paths
| What | Default path | Override |
|---|---|---|
| Machine config | ~/.config/kebbie/config.toml |
KEBBIE_CONFIG, XDG_CONFIG_HOME |
| Repo configs | ~/.config/kebbie/repos/<repo>.toml |
KEBBIE_REPOS_DIR, XDG_CONFIG_HOME |
| Local backlog | backlog/ next to the machine config, one file per item |
follows the machine config |
| State directory | ~/.local/state/kebbie |
KEBBIE_STATE_DIR, XDG_STATE_HOME |
| The lead's working directory | lead in the state directory |
KEBBIE_LEAD_DIR |
| A worker's job folders | ~/.local/share/kebbie/worker/<repo>/<task>, with the repo's history in .store beside them |
none |
A worker's folders for kebbie run |
~/.local/share/kebbie/worker/<repo>/tasks/<task>, from the same .store |
none |
| Install link | ~/.local/share/kebbie/current, written by herdr's startup |
none: kebbie reads it under ~/.local/share |
| The binary | ~/.local/share/kebbie/current/target/release/kebbie |
KEBBIE_BIN for roles and skills |
| Sidebar sync state | ~/.local/state/herdr-sync |
XDG_STATE_HOME |
| A worktree's setup note | $(git rev-parse --git-dir)/kebbie-setup.md, run inside the worktree |
none |
| Worktrees | wt<N>.<repo> next to the main checkout |
none |
A task's temp folder (TMPDIR) |
/tmp/kebbie-<uid>/<worktree>-<hash>, 0700, removed when the task ends |
none |
| A sandboxed task's plan | $(git rev-parse --git-dir)/kebbie-plan/plan.md, run inside the worktree; it outlives a restart of the machine and goes when the task ends |
none |
| Vault index | ~/.cache/mindin (~/.cache/notes-vault-mcp on a machine with only that folder) |
the vault plugin's options, or VAULT_CACHE_DIR |
The state directory
The folder is 0700 and its files 0600. Each file is replaced whole on write.
Tasks
| Entry | Holds |
|---|---|
sessions/ |
One file per task, <task>@<repo>: its Claude session id, permission mode, profile and agent as JSON, so a restart resumes the same conversation with the same profile. |
phase/ |
One file per task, <task>@<repo>.json: where it stands, since when, and what moved it there. The board's group follows it. |
turns/ |
Task reports. |
roles/ |
The task and lead roles. |
cards/ |
Sign-off cards. |
plans/ |
Plans put to you with kebbie ask --plan <file>. |
prompts/ |
Per task, the id of the prompt on its Claude's screen that the lead was last told about. |
prompted/ |
Per task, when its last prompt that was more than notices began, which closes a question it asked before. |
evidence/<task>@<repo>.jsonl |
The task's last 20 recorded test runs and last 20 lint runs, one JSON object per line. See kebbie evidence. |
evidence/<task>@<repo>.hook.json |
When the hook that records test runs last ran in the task, and the last 3 commands that looked like test runs but are not in task.test_commands. |
after/ |
One file per queued task, <task>@<repo>.json. |
recover/ |
One file per task an API error stopped, <task>@<repo>.json. |
started/ |
Per task half, the vault note it was started from or opened. |
recipes/ |
Per task, <task>@<repo>.json: its recipe, its why and who chose it. |
notes/ |
Per task without a vault note, <task>@<repo>.md: its note, a Decisions section with one dated line per decision, such as its recipe and the assessor's word on its review. When the task ends its note moves to notes/ended/<task>@<repo>.<time>.md, so a later task by the same name starts its own. |
halves/ |
Per task, every worktree it has across repos, so each half's file tools take the others' worktrees as the task's own. |
landed/ |
Per task: why the keeper leaves a landed task open, at which head and since when, and the mark of a task pushed to keep open. |
parked/ |
Per task, <task>@<repo>: when the parked task comes back, kept until it does or the task ends. |
follow-main/ |
Per task, the flag that it follows main; follow-main/handed/ the conflicts already handed to its Claude, once per new main. |
closing/, fetch/ |
Locks: one per task while it closes, one per repo while it fetches. |
sessions/: a file of two lines, the id and the mode, reads as thetaskprofile on Claude.<task>@<repo>.promptkeeps its first prompt.phase/holdsname, withwhy,headorsha. What moved it there is its start, a turn, a report, a question or its answer, a push, a CI verdict or an API error. A task from before this file existed gets one the first time the board orkebbie statusreads it.after/holds its repo, the tasks it waits for by address and repo, which of them it waits for only because both change the same files, its prompt, mode and backlog item, who queued it (you or the lead), when, and, once it waits for you, why. A file that does not read as one is removed unread. The keeper renames a file away before it starts the task, so a board and a keeper never start it twice.recover/holds the error, how many times kebbie resumed the task, when it resumes next and whether it is stuck. It survives restarts, so kebbie never resumes a task twice for one error.
Review and rules
| Entry | Holds |
|---|---|
reviews/ |
Review split marks. |
verdicts/<task>@<repo>.md |
The reviewer's latest verdict for a task. See The verdict file. |
verdicts/<task>@<repo>.wanted |
A review asked for from the task's own process, until the keeper starts the reviewer. |
verdicts/<task>@<repo>.run |
The hash of the nonce handed to the reviewer that runs. |
verdicts/<task>@<repo>.withdrawn |
The mark that you withdrew the task from review, so the assessor leaves it out until you send it again. |
verdicts/<task>@<repo>.advised |
The mark that review.auto = "run" started the review, so it holds no push. |
assessment/ |
Per task, <task>@<repo>: the assessor's word on its last ready report, such as review suggested: changes how VAT is rounded; .pushed the steps it pushed, which the assessor and the reviewer read with the rest; .wanted, .running, .run and .log the assessment under way. |
approved/ |
The rules approvals: the reviewer's pass or kebbie approve. |
rules/ |
The reviewer's rules checks, per <task>@<repo>, by extension below. |
rules/ file |
Holds |
|---|---|
.wanted |
A ready report waiting for the keeper. |
.again |
One that came in during a check. |
.run |
The keeper's record of the run it started. |
.running |
The check under way. |
.md |
The last verdict. |
.failed |
The code it gave no verdict on. |
.lead |
The code the lead was asked about. |
.log |
Its output. |
Pushes, CI and staging
| Entry | Holds |
|---|---|
push-permits/ |
Push permissions you gave the lead, per task and per repo. |
push-intents/ |
One file per push that waits for its task's Claude to test the files the default branch changed under it: who asked (you or the lead), the commits it holds for, and which commits to push. |
push-line/ |
Per repo, the lock of its push line. |
push-left/ |
Per task, why a push left its line unpushed, for its Needs you row. |
push-left-count/ |
Per task, how many times its push left the line since you last pushed it; past 3 the lead's permission no longer covers it. |
push-tokens/ |
Per push, the token the worktree's push block lets through only while kebbie runs that push. |
ci/ |
One file per CI watch, <task>@<repo>.json. A watch survives board restarts. |
jobs/ |
Per job kebbie job run sent, by its id: <id>.sent.json with the worker it went to and the blobs that carry its commit, <id>.log with its output as it comes, <id>.heard.json with the last report taken and <id>.end.json with how it ended, all removed however the command ends, Ctrl-C included, and those of one killed outright by the next kebbie job run. jobs/bases.json holds, per worker and repo, the last commit that worker took, which the next job builds on. |
runs/<repo>.jsonl |
The last 200 commands kebbie run --on ran to an exit code from the repo's worktrees, one JSON object per line: at, command, on, machine, code and seconds, the oldest dropped first. runs/<repo>.lock is held while one is added. kebbie job suggest reads them. |
red-ci/ |
Per task, <task>@<repo>.json: the reason its Claude gave with kebbie ci outside and the red runs you dismissed. |
comments/ |
One file per comment on a pushed commit, <id>.json, with the GitHub comment's id. It survives restarts, and one sent, done or dismissed is removed after 30 days. |
comments/watch/ |
One file per pushed commit kebbie checks for comments, <sha>.json, removed once comments.watch_days run out. |
comments/repos/ |
Per GitHub repo, <owner>~<repo>.json: the page of its commit comments kebbie reads on from, when it last asked, and gh's last error. |
comments/read/ |
The reading under way, per comment: its pid, its Claude's pid, the keeper's record and its log, kept when a reading gave no answer. |
comments/owner.json |
Per GitHub host, the login gh is signed in as, asked once a day, whose comments are skipped. |
commit-tests/ |
Per task, <task>@<repo>.json: each unpushed commit's own test result by its sha; .wanted, .running, .run and .log the run under way, and .tree the throwaway worktree it runs in. |
staged/ |
Per repo, <repo>.json: the tasks kebbie try put on local main, in the order they went on. |
A ci/ file holds the pushed sha, the GitHub repo, the runs as last seen, when it started and was last checked, and whether it failed.
A comments/ file holds the comment as GitHub gave it (author, text, file and line, link), the hunk of the commit's diff it is on, the task that pushed the commit, the reading, where it stands (unread, read, failed, reopened, reply, sent, dismissed or done), and your own reply or words when you wrote any.
Messages and sessions
| Entry | Holds |
|---|---|
messages.jsonl |
Every message between sessions. |
messages.jsonl.1, messages.lock |
The previous message log, kept when the log rotates, and the lock its writers take. |
typed/ |
One file per message kebbie typed into a Claude's input box or gave to its inbox, while the board checks the conversation for it. |
unsent/ |
One file per task whose start prompt sits in its Claude's input box unsent, <task>@<repo>.json, until the box lets it go or the task ends. |
inbox/ |
Per session, <address>.json: the Claude Code inbox socket, its token and the session id its last start recorded, which kebbie delivers messages through. |
lead-session |
The lead's Claude session id, so it resumes its conversation. |
lead-previous |
The Space you were in before kebbie lead, to go back to. |
lead/ |
The lead's working directory, where kebbie starts its Claude every time. |
lead.log |
What herdr's startup did to bring the board back in the lead Space: a line when it started the board, and any error. |
restart/ |
The restarts, below. |
away |
Present while away mode is on. |
lead-thread.json, lead-thread.lock |
The messages your devices sent the lead, with when the lead took each, every away switch, and the lead's last reply a notification told. |
restart/ holds updated, when kebbie update last ran; asked.json, the sessions the board asked you about; restarted.json, the restarts done; and one lock per session while it restarts.
The keeper, board and backlog
| Entry | Holds |
|---|---|
keeper.lock |
Held by the running keeper, with its pid, binary and start time. |
keeper.json |
The keeper's routines, each with its last run and error, and the stale sessions it last saw. |
keeper.log |
What the keeper did: starts, exits, routine errors and restarts. The board adds a board: line for each change to the task rows it draws, for kebbie's state unread 30 s, and for a change that waits 5 s for a draw. Past 256 KB it moves to keeper.log.1. |
routines/ |
One file per routine, <id>.json. lock keeps two schedulers from starting the same run. |
backlog.json |
The backlog the lead saved on its last refresh. |
backlog-told |
The local items to write out that the lead has been told of, one file name per line. |
backlog-kept.json |
The rows kebbie keeps for short items while the lead files them in the vault. |
backlog-answers.json |
Your answers to items' open questions, kept until the lead folds each one in, with whether the lead heard of it. |
backlog-writing.json |
The items you asked to have written out, with when you asked, kept until each one's text is complete; they show writing… until then. |
backlog-bodies.json |
kebbie's copy of the vault backlog notes' text, when the vault index on this machine holds none. |
board-messages |
The board's memory of whether the messages panel is folded. |
board-reports |
Whether the bugs and wishes to send show as a list or folded into their row. |
edit/ |
The commit message or routine prompt open in your editor, as a new file of yours alone, removed when the editor closes. |
cell-size |
The terminal cell size a board in a normal pane last measured, for the popup board's images. |
usage.json |
Plan usage from the status line. |
update-check.json |
The last update check. |
update-override.json |
The --from override, while it holds. |
notify.log |
Notify command failures. |
notify-sent.json |
When each kind of notification last went out, for the limit of one per event a minute. |
vault-status.json |
What the vault command last answered: on or off, its name, version and capabilities, kept a while so a start or a push does not ask the vault each time. |
vault-logs/ |
Each repo's vault log note, or an empty file where the vault named none, asked again after an hour. |
vault-snapshot.json |
The last vault snapshot, which the Areas page, the backlog and the ongoing notes read. |
vault-watch.json |
The cursor the vault's watch last answered, and the keeper's watch process while it runs. |
vault-snapshot-verdict.json |
Whether the vault server answers snapshots, so a server without them is asked again only after ten minutes or a plugin update. |
vault.log |
The vault calls that failed, one line each. |
A routines/ file holds when the scheduler first saw the routine, when its last run started, that run's task, its outcome (running, ok, findings or failed) and summary, and the four runs before it, which the board's Routines page lists.
Issues
issues/ holds one file per kebbie issue, <id>.md. See The issue file. The result of a recheck lives in the issue file's rechecked key.
| Entry | Holds |
|---|---|
issues/held |
The one line held with kebbie issue hold, removed when it is taken or an issue is saved or reopened. |
issues/recheck/ |
The rechecks under way, per issue, by extension below, and dismissed, when you last cleared the board's line. |
issues/recheck/ file |
Holds |
|---|---|
.wanted |
The build it waits to be checked on. |
.run |
The keeper's record of the checker it started. |
.running |
The check under way. |
.claude |
Its Claude's process group. |
.log |
Its output, removed once the check gives a verdict. |
.note |
A failure the keeper logs once. |
Reports to kebbie's maintainers
report/ holds reports, error signals and the install signal to kebbie's maintainers. kebbie hub leave leaves it.
| Entry | Holds |
|---|---|
install-key.json |
This install's signing key, made on the first report or signal, mode 0600. |
signals.jsonl |
The failures counted since the last send, one line each with version, commit, component, kind and count. |
signals-batch.jsonl |
The counts a send is under way for. |
signals.json |
The time of the last send and its error. |
install-id |
The install signal's random id, made on its first send. |
install-signal.json |
The day the install signal last went. |
always-armed |
The date you ran kebbie issue report --always, while it holds. |
send.lock |
Held while one report goes, so two sends on this machine never post the same bug. |
sent |
One line per bug the endpoint took, its id and its report id, so a bug whose issue file could not be saved is never sent again. |
inbox.json |
With [report] inbox_token set: the reports filed here by their report id, the issues filed from error signals, how many reports wait in quarantine on the issues endpoint, and the last fetch and its error. |
The hub
hub/ holds the kebbie hub this machine joined. kebbie hub leave removes the folder. See See your board on your phone.
| Entry | Holds |
|---|---|
hub/identity.json |
The hub's address, the machine's id and name there, its token, and its signing and encryption keys. |
hub/devices.json |
Each device on your account that sent this machine a command: its name, kind and full key, when it was first and last seen, and whether it waits, is approved or is denied. |
hub/lead-blobs.json |
Each sealed page of the lead's thread on the hub, by its content, and when it was last put there. |
hub/relay.json |
The board's last revision, when it went out, its fingerprint, the last error and whether the hub refused it because it has not enabled answering for your account. |
hub/jobs/machines.json |
The hub's last list of the account's machines, with the list the account signed, which says whose reports this machine takes for five minutes; a job's sender is checked against the hub's list as it is when the job comes. |
hub/jobs/machines.counter |
The highest version of the account's signed list this machine has seen; a list the hub hands over below it is refused. |
hub/jobs/queue/ |
On a worker, one file per job waiting its turn, in the order they came, with the number of the next report on it, removed when it has run. |
hub/jobs/seen.json |
On a worker, each job it took in the last two days, by sender and id, so one the hub hands over again runs once. |
hub-dev/ |
The same for the dev hub, used instead of hub/ while KEBBIE_HUB_DEV is set. |
When the machine was connected from its link, identity.json also holds the account key it pinned, with the account's id, the key's version, its public keys, their two fingerprints and when it was pinned.
The local backlog
backlog/ next to the machine config, one markdown file per item: TOML between +++ lines, then the item in its backlog style.
+++
title = "Keep the session on reload"
priority = "high"
repo = "app"
status = "backlog"
filed = "2026-11-12"
+++
You stay signed in across reloads.
## Plan
- **Keep the session** in the keychain, so a reload finds it.
- **Read it back** before the first request.
## Open questions
- [ ] Should sessions from before the fix keep working?
## Left out
Single sign-on.
| Field | Rule |
|---|---|
title |
Required. |
priority |
urgent, high, medium or low. Optional. |
repo |
The folder name of the repo the work happens in. Starting the item as a task needs it. |
status |
draft for an item the lead has yet to write out, drafting while it writes one out, backlog once it is written. |
filed |
The day it was added. |
The item's reference is local: and its file name without .md, such as local:fix-login. The file name stays when the title changes.
kebbie backlog marks an item that is not ready:
to write: its status isdraft, its body is kebbie's draft text, or it holds no more than one line of text. A file you write without the+++header counts as one, titled by its first line.drafting: its status isdrafting, or a question underOpen questionsstarts with- [ ], which blocks the start until you answer it. A plain-question is settled during the work. An item in an older shape, with Background, Goal and Source, reads the same way.
A backlog.md from an earlier version moves into the folder the first time kebbie reads it: each item line becomes an item to write, and the file stays beside it as backlog.md.bak.
The issue file
issues/<id>.md in the state directory: TOML between +++ lines, then the text.
+++
id = "3f9a2c"
title = "push hides git's error when the rebase fails"
kind = "bug"
status = "open"
version = "0.24.0"
commit = "869bc49"
filed = "2026-10-21"
by = "lead"
github = "https://github.com/gronare/kebbie/issues/12"
sent = "2026-10-21"
history = ["fixed in 0.26.3 (a1b2c3d), checked automatically"]
rechecked = "a1b2c3d fixed 1792540800 0.26.3"
+++
What happened: …
| Key | Value |
|---|---|
id |
Six hex characters, kept for the issue's life. |
kind |
bug or wish. |
status |
open, retry, fixed, wontfix or duplicate. |
version, commit |
The kebbie it was filed on. commit is empty for a build outside git. |
by |
user, lead, or report for one filed from a report. |
github |
The linked GitHub issue. Optional. |
sent |
The date of the last kebbie issue send or kebbie issue report. Optional. |
report |
The report id it went to kebbie's maintainers under. Set once; the issue is never sent again. Optional. |
declined |
The date you answered n to sending it. The board offers it no more. Optional. |
source |
report <id> for an issue the keeper filed from a report another install sent, under the id r<id>. Optional. |
rechecked |
The last recheck after an update: the build's commit, the verdict, when, and the build's version. Optional. |
history |
What happened to it since it was filed, oldest first. Optional. |
id: thekebbie-issue: <id>line in a sent issue is howkebbie updatefinds it on GitHub.source: such an issue shows as[report <id>, untrusted], its text fenced. It is never offered for sending, and never rechecked after an update.rechecked: the verdict isstarted,fixed,not-fixed,unclearorfailed, and the time is in seconds since 1970. An issue is rechecked once per build. The board'sFixed in kebbie <version>: N bugs you ran intocounts this machine's own issues stillfixedby a recheck in the last three days and since you last cleared it, under the latest fix's version.historyholdsfixed in <version> (<sha>), checked automaticallyfrom a recheck, andcame back on <version> (<commit>)fromkebbie issue reopen, with(was report <id>)when it had been sent. A reopen clearsreport,sentanddeclined, so the bug is offered for sending again.
The verdict file
verdicts/<task>@<repo>.md in the state directory:
| Part | Value |
|---|---|
verdict: |
ok or changes |
| sha | The commit the reviewer read |
| Findings | Each with file:line, bugs first |
The setup note
kebbie-setup.md in the worktree's git dir, outside git status. The setup skill writes what it did there; the next task in that worktree reads it and checks only what drifted. kebbie list shows its first line.
Shipped with kebbie
| Path in the install root | Purpose |
|---|---|
examples/herdr-config.toml |
A complete herdr config with kebbie's keys, the sidebar sync and a sidebar layout. |
examples/profiles/ |
Two profiles to copy into ~/.config/kebbie/profiles/: designer for UI work and careful for risky changes, each with its role file. |
scripts/sync.sh |
The sidebar sync, run by the keeper every three seconds and from herdr's tab bar. |
scripts/build.sh |
herdr's build step for the plugin: puts the binary at target/release/kebbie, the release's prebuilt one on a release tag, else cargo build --release. |
scripts/herdr-startup.sh |
herdr's startup step: links ~/.local/share/kebbie/current to the install and brings the board back in the lead Space. |
scripts/review.sh |
Opens the review split next to Claude; the view itself is kebbie review --view. |
scripts/review.lua |
The review split's diff pane in nvim. |
scripts/check.sh |
What CI checks, run locally before a push: tests, clippy, cargo audit, cargo deny and a build on the oldest Rust the crate supports. See Develop kebbie. |
roles/lead.md, roles/task.md |
The lead's and a task's role templates. |
styles/backlog.md |
kebbie's default backlog style, written into the vault and built into the binary. |
skills/ |
The Claude Code plugin's skills. See Skills. |