When a single task isn’t enough — when you’re migrating a feature, refactoring a module, or shipping a multi-step project — RepoKernel’s epics and sprints give you a structured, version-controlled roadmap. Each epic is a goal; each sprint under it is one agent task with declared scope, dependencies, and a lane assignment. The dependency graph ensures work runs in the right order, andDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/xantorres/repokernel/llms.txt
Use this file to discover all available pages before exploring further.
rk import / rk export make the whole plan portable and repeatable.
The create → run → ship flow
Create an epic
Scaffold a new epic with a title. Pass With You can also seed an epic from a tracker issue:
--json to get a machine-readable envelope suited to agent chaining:--json:Create sprints under the epic
Add sprints with The
--epic, --lane, and --allowed-path. Use --after to declare dependencies between sprints:--after S-001 flag writes a depends_on entry on the new sprint. RepoKernel’s queue walker (rk next) will not surface S-002 until S-001 is shipped.To author a sprint and enqueue it in one step:rk plan inspects the epic and resolves whether a single sprint is appropriate or a split is better. Pass --single-sprint to force one sprint, or --split to force a preview of multiple.Preview the dependency order
Before running, preview how sprints are grouped into dependency waves:Output shows wave groupings, blocked sprints with unmet dependency reasons, and which sprints are eligible to run now. Add
--apply --enqueue to queue all eligible planned work:Run the epic
Hand the epic to an agent:Each sprint runs in its own isolated Git worktree, in dependency order. The run pauses for review between sprints (assisted mode, the default). Pass
--dry-run to preview the execution plan without modifying any Git state.Dependency ordering with depends_on
The depends_on field in sprint frontmatter controls execution order. RepoKernel’s queue walker only surfaces a sprint when all its dependencies are shipped or cancelled.
Add a dependency when creating a sprint:
rk next walks the dependency graph and returns the next runnable sprint. rk next --include-planned also points at dependency-unblocked planned sprints that haven’t been queued yet.
rk next --include-planned is useful when you want an agent to pre-flight the next planned sprint without waiting for you to manually queue it. The result includes result: "planned" so agent logic can distinguish it from a queued sprint.Bulk import with rk import
For large projects, declare the entire roadmap in a versioned plan YAML and import it in one transaction:
E-NNN and S-NNN ids, resolves depends_on aliases to those ids (forward references included), and writes all files in a single transaction with one registry refresh.
Useful flags:
| Flag | Description |
|---|---|
--dry-run | Print what would be created without writing anything |
--skip-existing | Skip epics whose title already exists — safe for idempotent re-runs |
--json | Emit a structured envelope with created and skipped counts |
Round-tripping with rk export
Export the current project back to a plan YAML at any time:
alias. You can re-import with --skip-existing to add new entities without duplicating existing ones — a clean round-trip:
Listing and inspecting epics and sprints
rk inspect E-001 is especially useful at the start of a fresh agent session — it gives a concise summary of the epic’s status, sprints, and timestamps without re-reading full sprint tables.
Epic status and reporting
Check the state of a running epic:Closing an epic
Once every sprint under an epic is eithershipped or cancelled, ship the epic:
rk ship S-NNN — it runs validation and a registry check as part of the close flow. For finer control: