aitododocs Coming soonAutonomous delivery

Releases

Markdown

A release is a planned delivery: milestones, epics and tickets with a version and a date; shipping writes the version onto every finished ticket.

Guideabout 9 min9 commands
On this page

Planning releases#

A release is a planned delivery (releases/<id>.md, release://<id>): a date, a description, a candidate version and its members: milestones (milestone://golive), epics and tickets, mixed. A ticket outside the focus that ships next goes in too, so nobody has to remember it: tkt release add nov PAY-009. tkt release get nov shows the members and the tickets they reach (with the path: milestone://golive → PAY-001 → PAY-002) and done/total; tkt release list orders by date.

Terminal
$ tkt release new nov --title November --version 0.2.0 --target-date 2026-11-30 --description "Card payments" -t milestone://golive,PAY-009

Rules: a milestone is in at most one release; a ticket is in at most one unshipped release, directly or through a milestone or an epic; two releases never share a version (v0.2 = 0.2.0), and a shipped version is never given again. A refusal (ERR_RELEASE_CONFLICT) names the release, the path and the command that fixes it.

Details8 items
  • The version is editable until the release ships: tkt release edit nov --version 0.2.1 (--no-version clears it). Form: tkt config set releaseVersionPattern semver (X.Y.Z or X.Y.Z-rc.N); by default any version the ticket release field takes. A bad version: ERR_SCHEMA_INVALID_VALUE, with the form.

  • Status: planned, active, canceled; shipped is set when the release ships, and from then on its version, status and members stay (ERR_FIELD_READ_ONLY). A canceled release holds nothing; reactivating it runs every rule again.

  • add/remove: all or nothing, as for milestones; an unknown member: ERR_REL_DANGLING. A deleted ticket, epic or milestone leaves the release; move and renumber rewrite it. Body: Goal, Exit Criteria, Decisions, Notes, Release Notes.

  • The ticket release field is the shipped stamp; set it by hand only to backfill work that already shipped.

  • Context guard: tkt lint release://nov (ticket exit codes; get shows them too), on a planned or active release only. Blocks: RELEASE_SHIP_OPEN (an open ticket, the rule ship stops on), RELEASE_NO_VERSION. Warnings: RELEASE_VERSION_NOT_NEWER, RELEASE_VERSION_PATTERN, RELEASE_OVERDUE, RELEASE_MILESTONE_LATE (a member milestone due after the release), RELEASE_SCOPE_LEAK (a reached ticket waits on an open one outside; a cut decided under the release's Decisions is info).

  • A ticket a planned release reaches gets the info hint IN_RELEASE on tkt ticket get, in tkt next and on a claim, beside OUTSIDE_FOCUS.

  • tkt release new nov --title T --version 0.2.0 --target-date 2026-11-30 --goal "…" -t milestone://golive -t PAY-009 --description "…" (--status active, --owner); tkt release edit (--title, --status, --version/--no-version, --target-date/--no-target-date, --owner/--no-owner); tkt release delete nov --yes (members stay); tkt release list --status planned.

  • --json: get: the release's fields, goal, exitCriteria, members[] {ref, kind, title, status, tickets}, tickets[] {id, title, status, type, via}, progress, missing, releaseNotes; list: {items: [{id, title, status, version, targetDate, shippedAt, progress, …}], untracked}; add/remove: {release_id, added|removed, unchanged, members}. REST: Store API.

Shipping a release#

tkt release ship nov delivers a release: every done ticket it reaches (its direct tickets, its milestones' tickets and everything under an epic, at any depth) gets the version in its release field; the release becomes shipped with shippedAt (now, in UTC, or the day of --shipped-at) and its version is frozen. It prints the changelog (tkt report release <VERSION>).

Terminal
$ tkt release ship nov --move-open-to dec

An open ticket (any status but done and canceled) stops it: ERR_RELEASE_OPEN names each one with its path (via epic PAY-001) and nothing is written. Finish them, or ship the rest: --move-open-to dec makes them direct members of another planned release, --drop-open leaves them out. A milestone stays in the shipped release; only its open tickets go. An open epic does not stop a ship; it is stamped once done.

Details6 items
  • No version: refused; --version 0.2.1 gives or changes it at ship time.

  • A version not newer than the last shipped one warns; at a terminal tkt asks, with --json, over REST or without a terminal it is refused (ERR_RELEASE_CONFLICT) unless --allow-older (a hotfix line).

  • A ticket that already carries a version keeps it (it shipped before). A canceled ticket is never stamped; a done one under a canceled one is.

  • A hand-set tkt ticket update --release on a ticket of an unshipped release: ERR_RELEASE_PLANNED, naming the release and tkt release remove. Backfilling other tickets works.

  • tkt release ship nov (--version, --shipped-at, --move-open-to, --drop-open, --allow-older).

  • --json: {release, stamped, kept[] {id, release}, moved, movedTo, dropped, changelog, warnings}. REST: Store API.

Release timeline, done vs shipped#

tkt release list orders by date, not by version: first the shipped releases (shippedAt, newest first; a 1.4.1 hotfix can ship after 2.0.0), then the planned ones (targetDate). Last the untracked versions: ticket release values no release carries. They work as before (tkt report release), only without a date, so off the timeline; tkt doctor names them as the info UNTRACKED_RELEASE and never fails on them. Optionally: tkt release adopt 0.1.190 --shipped-at 2026-11-03, its members the tickets carrying the version.

Terminal
$ tkt release adopt 0.1.190 --shipped-at 2026-11-03

There is no shipped ticket status: done = finished, the release stamp = out. tkt ticket list --status done --unshipped is the finished work not out yet, with its planned release; tkt tree and tkt board mark a shipped ticket ✓ 0.2.0.

Details5 items
  • adopt refuses a version a release has (ERR_RELEASE_CONFLICT) and one no ticket carries (ERR_NOT_FOUND). Old values may predate the releaseVersionPattern, so it takes any ticket version.

  • --unshipped: tickets without a release stamp; the planned release is the one that reaches them (through a milestone or an epic too).

  • tkt release adopt <VERSION> --shipped-at YYYY-MM-DD (--id, default v0-1-190; --title; --description; --json).

  • tkt release list --json: {items, untracked: [{version, tickets, done}]}.

  • tkt ticket list --unshipped --json: plannedRelease on every item.

Commands on this page#

Generated from the registry: src/aitodo/api/selfdoc_entries/plan.py · plan.release-planning, plan.release-ship, plan.release-timelinev0.1.298