tkt doctor, reorg, index, store, config, export, git, worktree
The 21 commands of tkt doctor, tkt reorg, tkt index, tkt store, tkt config, tkt export, tkt git and tkt worktree, generated from the running code.
On this page
tkt <command> --help. The full machine-readable form: /openapi.json and tkt meta --json.tkt doctor
1 commandsCheck the whole store's integrity; exit 0 clean · 1 info · 2 warning · 3 error · 4 could not run (no workspace)
tkt reorg
5 commandsMigrate an old store: propose what brings it up to this tkt's rules, and apply the accepted proposals (all-or-nothing, with a backup)
Apply a plan file all-or-nothing: every chosen option, or nothing at all
List reorg backups, oldest first
Never propose this again (stored in reviews/_store.yaml); the last migration proposal dismissed raises the store's data level
Put the store back to a reorg backup (every later change to tickets, groups, docs is lost)
tkt index
2 commandsRebuild the SQLite index from scratch (full scan of Markdown store) and re-check every review: an edit outside tkt, a git merge or a new tkt version may have changed what an item builds on (tkt review)
Show index health (row counts, db path)
tkt store
2 commandsCreate the project's store on the server and point this directory at it (.aitodo.yaml: store: server)
Move the store between this repo and the server; it lives in one place at a time (#153)
tkt config
4 commandsPrint a key's value; a key not in the file prints its default with (default)
Every known key with its value and source (file / default)
Write a key; only its line in config.yaml changes
Remove a key from config.yaml, so its default applies again
tkt export
1 commandsExport the store for other tools; the store itself is not changed
tkt git
4 commandsSet up the merge drivers in the repo that holds the store, for every worktree at once
The counters.json merge driver git runs: the per-key maximum, and the shared counter raised to it
The review-file merge driver git runs
Remove exactly what tkt git install added for this store: its attributes block, its hook blocks, and the merge.aitodo-* config once no store's block is left
tkt worktree
2 commandsGive the ticket's claim back (from any worktree); --remove also removes its worktree once clean, else refuses (ERR_WORKTREE_REFUSED) and says why
Branch (worktreeBranch, default feat/{id}-{slug}) + worktree (worktreeDir, default ../{repo}-{id}) + the claim there, in one step; then the worktreeSetup script