aitododocs Coming soonAutonomous delivery

tkt doc, gotcha, decision, suggest, review

Markdown

The 29 commands of tkt doc, tkt gotcha, tkt decision, tkt suggest and tkt review, generated from the running code.

Referenceabout 7 min
On this page
[L]local[R]read[W]write[A]admin write· the grey tag is the REST counterpart
Every option is described by tkt <command> --help. The full machine-readable form: /openapi.json and tkt meta --json.

tkt doc

8 commands

Append to the doc (or a section at any heading level)

--text--file--section--new-block--table--after
Guide: Docs and gotchas

Delete a managed doc

Change a doc's metadata (type, title, description, tags, appliesTo); the body stays

--type--title--description--tag--add-tag--remove-tag--applies-path--applies-keyword--applies-group--no-applies-to--timestamp
Guide: Docs and gotchas
tkt doc get <doc_id>GET /v1/docs/{doc_id}[R] read

Show a managed doc, or with --anchor the table rows / section a ref with that anchor delivers

tkt doc list GET /v1/docs[R] read

List all managed docs

Create a managed doc (an existing one only with --force), with optional metadata

--body--file--force--type--title--description--tag--applies-path--applies-keyword--applies-group--timestamp
Guide: Docs and gotchas
tkt doc refs <doc_id>GET /v1/docs/{doc_id}/refs[R] read

List the tickets and groups that reference a doc, and how (contextRef, requiredReading, mention, inherited from a group:<id> or epic:<id>, or its appliesTo matches them: appliesTo:group:<id>, appliesTo:keyword:<k>, appliesTo:path:<glob>), with the sections they name

Replace one exact, unique text in the doc (e.g. its status line)

--old--new--new-file
Guide: Docs and gotchas

tkt doc section

2 commands

Append to a section at any heading level (= doc append --section; created at the end only when the heading exists nowhere)

--text--file--new-block
Guide: Docs and gotchas

Replace a section's content, up to the next heading of the same or a higher level (heading kept; created at the end only when the heading exists nowhere)

tkt gotcha

6 commands

Delete a managed gotcha

Change a gotcha's body (--body / --file), severity or metadata; only the fields given change

--body--file--severity--title--description--tag--add-tag--remove-tag--applies-path--applies-keyword--applies-group--no-applies-to--timestamp
Guide: Docs and gotchas
tkt gotcha get <gotcha_id>GET /v1/gotchas/{gotcha_id}[R] read

Show a managed gotcha, or with --anchor the section / table rows a ref with that anchor delivers

tkt gotcha list GET /v1/gotchas[R] read

List all managed gotchas

Create a managed gotcha (an existing one only with --force), with optional metadata

--body--file--severity--force--title--description--tag--applies-path--applies-keyword--applies-group--timestamp
Guide: Docs and gotchas
tkt gotcha refs <gotcha_id>GET /v1/gotchas/{gotcha_id}/refs[R] read

List who references or inherits a gotcha: the groups that name it (requiredReading, contextRef), the tickets under them (group:<id>), an epic's children (epic:<id>), and the tickets that name it themselves (contextRef, mention) or that its appliesTo matches (appliesTo:group:<id>, appliesTo:keyword:<k>, appliesTo:path:<glob>)

tkt gotcha section

2 commands

Append after the section's last line, at any heading level (no blank line unless --new-block; created at the end only when the heading exists nowhere)

--text/--body--file--new-block
Guide: Docs and gotchas

Replace a section's content, up to the next heading of the same or a higher level (heading kept; created at the end only when the heading exists nowhere)

--text/--body--file
Guide: Docs and gotchas

tkt decision

7 commands
tkt decision edit <decision_id>PATCH /v1/decisions/{decision_id}[W] write

Change a decision's fields, status (validated transitions), relationships or body sections

--title--status--superseded-by--affects--add-affects--remove-affects--inherit-affects--no-inherit-affects--until--clear-until--origin--no-link--decision--rationale--refines--extends--amends--supersedes--exception-to--based-on--clear--description
Guide: Decisions
tkt decision get <decision_id>GET /v1/decisions/{decision_id}[R] read

Show one decision: its fields and relationships both ways, then ## Decision and ## Rationale

tkt decision list GET /v1/decisions[R] read

List decisions in id order, optionally by status or affected doc

--status--affects--md
Guide: Decisions
tkt decision new <title>POST /v1/decisions[W] write

Record a new decision; the store assigns its id (D<n>)

--decision--rationale--status--date--affects--inherit-affects--no-inherit-affects--until--origin--no-link--provenance--refines--extends--amends--supersedes--exception-to--based-on--description
Guide: Decisions
tkt decision refs <decision_id>GET /v1/decisions/{decision_id}/refs[R] read

List the tickets, groups, milestones, docs and decisions that reference a decision, and how (contextRef, requiredReading, mention, a bare D<n>, or a relationship), and the tickets it points at itself (origin; affects:<ref> when their bundle carries a doc or gotcha it affects)

Give a decision a new id; every reference follows

--yes--dry-run
Guide: Decisions

Split a decision file git merge left with conflict markers into two decisions

tkt suggest

3 commands

Never show a suggestion again, until the suggested item changes (stored in reviews/)

List ref suggestions

--group--open/--include-closed--llm/--no-llm--llm-cmd--llm-provider--refresh
Guide: Hints, lint and suggestions

Propose a business value (1|2|3|5|8) with a rationale (#117)

--group--open/--include-closed--llm/--no-llm--llm-cmd--llm-provider--refresh
Guide: Tickets in bulk

tkt review

1 commands
tkt review [ref]GET /v1/reviews/{ref:path}[R] read

List the open reviews of an item and the ones it opened; resolve them (a dry run without --apply)

--unanchored--older--ack--all--all-from--code--before--outcome--superseded-by--apply--undo
Guide: Reviews and impact
Generated from the Click tree, COMMAND_CLASSES and REST_COUNTERPARTSv0.1.298