aitododocs Coming soonAutonomous delivery

The project focus

Markdown

A milestone, an epic or a release the project works through now: tkt next stays inside it.

Conceptabout 3 min4 commands
On this page

The project focus#

One package (a milestone, an epic or a release) the project works through now. tkt focus set golive sets it for everyone (.aitodo/config.yaml); tkt next stays inside it.

Terminal
$ tkt focus set golive
  • Your own focus: AITODO_FOCUS or tkt next --focus X (flag > env > project); --all ignores it.
  • The focus's tickets: tkt focus --tickets or tkt ticket list --focus (a milestone: its tickets; an epic: its children).
  • The focus's tree: tkt tree --focus (--watch reads the focus again on every redraw, so it follows tkt focus set).
  • Nothing startable in it: it says why (emptyReason) and never falls back to other tickets.
Details6 items
  • Loop: tkt next --claim --assignee <you> --json until exit 1.

  • Groups refused (tkt next --group). Stored focus: {kind, id} (a server-store write).

  • Outside the focus (no member, no member waits on it): info OUTSIDE_FOCUS, a claim warning, never a refusal.

  • Without tkt next --milestone, --group, --epic the focus scopes (scope: {kind, id, source}); --epic E: an epic's children. emptyReason: done, blocked, claimed, mixed; outsideBlockers.

  • tkt focus [--json]: effective focus, done/total, next ticket, outside blockers; tkt focus clear removes it.

  • tkt focus --tickets --live adds the live state in another worktree, and its --json rows the claim (claim: assignee, branch, worktree, age, here, stale).

A release as the focus#

The focus can be a release: tkt focus release nov (the same: tkt focus set release:nov; your own: AITODO_FOCUS=release:nov or tkt next --focus release:nov). Its members are every ticket the release reaches: its milestones' tickets, everything under its epics, and its direct members. A ticket that ships with it gets no OUTSIDE_FOCUS. tkt next, tkt focus --tickets and tkt tree --focus work from them; a shipped release is a complete focus.

Terminal
$ tkt focus release nov
Details1 items
  • The release: prefix is needed: a release id looks like a milestone id, so tkt focus set nov looks for a milestone or an epic (the refusal names tkt focus release nov). Stored focus: {kind: release, id}. REST: PATCH /v1/workspace/config {"focus": "release:nov"}; GET /v1/tickets:next follows it.

Commands on this page#

Generated from the registry: src/aitodo/api/selfdoc_entries/plan.py · plan.focus, plan.release-focusv0.1.298