aitododocs Coming soonAutonomous delivery

Reports

Markdown

The three tkt report commands on one page: value, release and context.

Guideabout 5 min4 commands
On this page

Value and release reports, release notes#

Read-only reports. tkt report value [--milestone M] [--since 2026-10-01] [--json]: points and value delivered and open, value per point, unestimated and unvalued tickets named. tkt report release 0.2.7 0.2.6 (or --since 0.2.5, --group G, --json): a changelog, newest release first, by type, from the tickets' release field.

tkt release notes nov writes that changelog into the release file's ## Release Notes and, with an LLM, a summary of the shipped tickets' value above it (--llm, --no-llm, --llm-cmd, as for tkt plan from-docs). For a release not shipped yet it is a preview; --write writes it. tkt release get nov names it in one line; the whole text is the --json field releaseNotes.

Details5 items
  • Types feature, bug, task, chore, spike, epic; lines id status title; unreleased tickets left out.

  • tkt doctor: STALE_HIGH_VALUE (value ≥ 5, in_progress, unchanged for staleHighValueDays, 14), LOW_VALUE_CLOSE_CANDIDATE (value 1, open over lowValueCloseDays, 90, unwaited); tkt config set staleHighValueDays 21.

  • Existing notes (maybe hand edits) are replaced only with --yes; asked at a terminal, else ERR_RELEASE_NOTES_EXIST. No LLM: the changelog alone, with a notice.

  • tkt report release --json: releases[] {release, tickets, types[] {type, tickets[]}}.

  • tkt release notes nov (--write, --yes, --llm, --no-llm, --llm-cmd, --llm-provider). --json: {release, version, written, preview, replaced, summary, summarySource, notice, changelog, notes, path}; the REST call writes the changelog only.

What the bundles deliver#

tkt report context is read-only: it builds every ticket's real bundle and shows where a critical gotcha or an own ref is only a pointer, what it cuts, and which mentions dangle. --compare ../before exits 2 when a ticket's context got worse; with --fail-on loss only on real context loss (the reorg apply gate's rule; JSON: contextLoss[]).

Details5 items

Scope: open tickets (epics and deferred too), --include-closed, --group, --budget, --worktree-dir. Mode: resolution.mode; an unresolved repo ref is pending (repoRefsPending), a found repo file repo, a missing target missing, a URL external: none is a budget pointer. Comparing matches by ULID, each store with its own bundleTokenBudget; loss: a critical gotcha newly a pointer, or a mentioned or own ref newly gone or a pointer (a deliberate narrowing is only worse); what got better is improved[], never in the exit code. --fail-on any is the default; 4: could not run.

Measure a copy, never another project's live store: git clone --local <repo> <dir>, git -C <dir> remote remove origin, then with AITODO_WORKSPACE_DIR=<dir>/<store> and cwd <dir> (Stage 2) tkt report context --json --include-closed.

Cut: a delivered part shorter than its source: a ref (ref), a group ## Overview (group_overview) or section (group_section), the epic part (epic), the inherited ## Value (value). A mention without a section is a pointer by design. Signalled when cutBy is set, or the mode is not excerpt and a reason says why, or a cuts[] entry names it; else silent. Own: the body, the own contextRefs and the body mentions. Essential: own, required reading, critical gotchas, a budget cut of a group ## Gotchas (never a section-cap cut). Content: the body, every content_excerpt, the group parts' and the epic's markdown, the inherited ## Value; overhead share = (view chars - content) / content. Floor overrun: estimated_tokens - max_tokens when positive. Median and p90 by nearest rank.

tkt report context --json: totals: referenced, anchored and code refs, OVERSIZED_BUNDLE, INHERITED_CONTEXT_TRIMMED, degraded and pointer refs, dangling mentions, refsNotFullyDelivered, citedRows / citedRowsDelivered, decisionRefs, decisionChangers; tickets[] (id, ulid, delivery[]); "reportVersion": 2.

Keys (only ever added to): totals cuts.<place>.<signalled|silent>.<count|delivered|source>, repoInline.count / .chars, ownLoss.tickets, essentialLoss.tickets, changerPointers, bodyInDefaultView, bodyTickets, epicMissingOrPointer, largeUnanchoredInherited (inherited unanchored docs over three per-ref caps, no cut), cutEntries (the bundle's cuts[] entries), cutEntriesNoFetch, cutEntriesNoCutBy (those without a fetch or a cutBy), cutEntriesExcluded (the ticket's exclusions); distributions epicShare, floorOverrunTokens, floorOverrunTokens.<required|critical|changer|epic> (the bundle's floor_tokens_by), viewChars.<default|brief|json>, overheadShare.<default|brief|json>, each {median, p90, max, n}; per row cuts[] {place, target, anchor, delivered, source, signalled}.

Commands on this page#

Generated from the registry: src/aitodo/api/selfdoc_entries/plan.py, src/aitodo/api/selfdoc_entries/context.py · plan.reports, context.reportv0.1.298