Use this file to discover all available pages before exploring further.
The RepoKernel CLI ships as a single binary exposed under two names: rk (the short form used throughout this documentation) and repokernel (the full alias). Both names invoke identical code — choose whichever fits your shell scripts or muscle memory. Every command accepts --cwd <path> to run against a repo that is not your current directory, and --version / -v to print the installed version.
Commands that accept --json return a typed envelope rather than a bare array. The top-level key matches the entity type, which lets downstream scripts treat the output schema as stable even when new fields are added.
Command
Top-level key
jq accessor
rk ls epics --json
"epics"
.epics[]
rk ls sprints --json
"sprints"
.sprints[]
rk ls reviews --json
"reviews"
.reviews[]
rk ls lanes --json
"lanes"
.lanes[]
rk validate --json
"findings"
.findings[]
rk registry --json
root object
jq '.'
rk task list --json
bare array
.[]
rk task status --json
root TaskAlias
jq '.'
rk task inspect --json
{ alias, paths }
.alias, .paths
# Example: extract every epic id from JSON outputrk ls epics --json | jq '.epics[] | .id'
RepoKernel uses a small set of distinct exit codes so agent shells and CI pipelines can respond precisely to each outcome. The values are defined verbatim in packages/cli/src/exitCodes.ts and cannot drift from this table without breaking the documentation-truth CI test.
Code
Constant
Meaning
0
EXIT_OK
Clean: no findings at or above threshold
1
EXIT_FINDINGS / EXIT_BLOCKED
Findings at or above threshold; expected project-state error (lane already claimed, review pending, etc.)
2
EXIT_RUNTIME
Tool or environment error not attributable to project state (IO failure, internal assertion, unhandled exception)
3
EXIT_BUDGET_EXCEEDED
rk context payload exceeds the configured budget — increase budget or shrink scope
4
EXIT_BUDGET_TOO_SMALL
Budget is smaller than the essential capsule itself — raise the budget