Contents

Context management for AI coding agents

aitodo assembles what an agent gets for a task: the ticket, the marked sections of its docs and gotchas, the decisions and the conventions of its groups, within 3000 tokens by default. The ticket carries the context: tkt ticket get PAY-001 returns it as a Context Bundle.

The context guard checks the bundle on every read. If a blocker is open, the repo anchor is missing, or a ref points to nothing, has_blockers is true and the agent does not start.

In a team, the server can provide the LLM, with no AI key of your own: Team AI. Coming soon: one command delivers the focus, ticket by ticket, up to the merge: autonomous delivery.

Why

A coding agent works from what it receives with the task and what it finds in the repo. A project's conventions, earlier decisions and known gotchas usually live in a wiki or in old tickets, if they are written down at all. The agent knows about them only if someone puts them next to the task.

Too much context fails the other way: whole files and epic-level background push out the part the task needs. aitodo therefore hands over knowledge by section and within a budget.

The measure comes from the context guard specification: a bundle is complete when the agent can write the diff and verify it citing only the bundle. The maintenance commands keep it that way over time.

Team AI

When the admin enables it, the team server is the project's LLM. The Anthropic key stays on the server; the machines need none. The commands stay the same.

LLM not configured on this serverIt is switched on per project. Details in the guide.
  1. Your machinetkt builds the prompt from the ticket and the docs and sends it with your token.
  2. Team serverChecks the token, the llm grant and the plan's budget, then forwards the prompt.
  3. AnthropicThe claude-opus-5-5 model answers, within 300 seconds.
  4. AnswerThe server records the token counts and sends the answer back to your machine.

No AI key of your own

Nobody needs an Anthropic key or a claude login. The key is server configuration (ANTHROPIC_API_KEY) and does not leave it: not in a response, not in a log, not on this page.

Cost control

The operator grants the server AI: every project spends its plan's monthly and daily credits. A call over a used-up budget gets ERR_LLM_QUOTA; tkt project llm usage shows the share used and when it resets.

Who may use it

It is off by default. The project's admin switches it on and grants llm per token. The admin role alone does not include the llm grant.

Privacy

The prompt is ticket and doc text. The server forwards it to Anthropic, returns the answer, and never stores or logs the prompt. Per call it records the project, the token name, the time, the model and the token counts. It keeps the answers of summaries and suggestions per project, so an unchanged ticket is not paid for twice; tkt project llm cache off switches that off and deletes them.

Same commands

tkt ticket get PAY-001 --summary, tkt suggest refs PAY-001, tkt suggest value and tkt plan from-docs use the server on their own when the project has it on and your token has the llm grant. A local setting (--llm, --llm-cmd, AITODO_LLM_CMD) wins over it.

If the server cannot be reached or returns an error, the command does not stop: it gives its usual output without the LLM, for example the --brief view.

On this server

Model
claude-opus-5-5, on Anthropic API. A server setting (AITODO_SERVER_LLM_MODEL, AITODO_SERVER_LLM_PROVIDER), by default claude-opus-5-5 on Anthropic API.
Timeout
300 seconds per call. A short outage of the provider is retried up to 2 times, within the CLI's 600 seconds.
Size limit
One request (prompt and schema) is at most 2 MB. The server refuses a larger one (ERR_PAYLOAD_TOO_LARGE).
Answer cache
An unchanged ticket's summary is one call for the whole team; a hit counts toward no cap. An answer lives 30 days, at most 5000 per project (AITODO_SERVER_LLM_CACHE_TTL, AITODO_SERVER_LLM_CACHE_MAX).
Cap resets
The daily cap resets every day at 00:00 UTC, the monthly one on day 1 of the month at 00:00 UTC.

The admin's commands

terminal
$ tkt project llm enable
$ tkt token update ci-bot --llm
$ tkt project llm limit --daily 200000 --monthly 3000000
$ tkt project llm limit --token ci-bot --daily 50000
$ tkt project llm usage --by-token

enable succeeds only when the server has a key; otherwise ERR_LLM_NOT_CONFIGURED. To switch it off: tkt project llm disable. The answer cache is on by default: tkt project llm cache off.

Assemble

Context Bundle

tkt ticket get PAY-001 --json returns one JSON object. Its fields:

ticket
The frontmatter fields, the ## Acceptance Criteria checklist, the body, and the value with its rationale (effectiveValue; the epic's when the ticket has none).
effectiveRepoAnchor
Repo, branch, base ref. If the ticket has none, it inherits its group's; _source says where it came from.
groups
The descriptor sections of the ticket's groups (project, component): Overview, Conventions, Gotchas, Verification.
context_references
The ticket's own refs, its groups' required reading and refs, its epic's refs, the doc:// and gotcha:// mentions in its body, and the cited decisions with the decisions that change them. Each has a resolution.mode: excerpt (the content, or only the marked section or table rows), brief (description or first paragraph, at most 600 characters) or pointer.
relationships
Blockers and related tickets, with their current status.
milestones
The planned or active milestones the ticket belongs to.
guard
The hints, the completeness_score and the budget used (budget).
has_blockers, block_reason
Whether the agent may start. See Context guard.
{
  "kind": "context_bundle",
  "has_blockers": false,
  "block_reason": null,
  "ticket": { "id": "PAY-001", "status": "todo", "value": 5, "estimate": 3.0 },
  "effectiveRepoAnchor": {
    "repo": "git@gitlab.local:shop/backend.git", "branch": "main",
    "_source": { "repo": "group:payments", "branch": "group:payments" }
  },
  "context_references": [
    { "ref": "doc://refunds", "anchor": "## Részleges összeg",
      "resolution": { "status": "resolved", "mode": "excerpt",
                      "section": "## Részleges összeg" } },
    { "ref": "gotcha://idempotency",
      "_source": "group:payments", "_list": "requiredReading",
      "resolution": { "status": "resolved", "mode": "excerpt" } }
  ],
  "guard": {
    "completeness_score": 0.95,
    "hints": [ { "type": "INCOMPLETE_REPO_ANCHOR", "severity": "warning",
                 "suggested_action": "FIX_REPO_ANCHOR" } ]
  }
}

Shortened, from real output

Budget

A bundle fits into 3000 tokens by default. Per call --budget 10000, per store tkt config set bundleTokenBudget 4000; allowed values are 500 to 50 000. One ref gets at most a quarter of the budget, but never less than 3200 characters (about 800 tokens).

When not everything fits, the ticket's own section refs and the critical gotchas claim space first, then the group sections, then the epic's refs. Required reading and critical gotchas arrive in brief mode at worst (description or first paragraph, at most 600 characters), never as a bare link.

If essential content was cut, the OVERSIZED_BUNDLE hint says so; if only inherited background was shortened, INHERITED_CONTEXT_TRIMMED.

1The ticket's own section refs
2The groups' required reading (brief at worst, never a pointer)
3The ticket's other refs
4The groups' refs and descriptor sections
5The epic's refs
Order in which the budget is claimed, simplified.

Short views

tkt ticket get PAY-001 --brief: the ticket without its body, every line within 80 columns: status, value, estimate, AC 3/5 with the open items, open blockers, only warning and block hints.

tkt ticket get PAY-001 --summary: a summary of about 120 words at most above the brief (with an LLM, see LLM).

Code files

A ref with location: repo, for example src/payments/refunds.py, is a reference, not content: the bundle names the file and its line range and carries no code; the agent reads it in its own worktree. The CLI checks that the file and the range exist; if not, it adds a REPO_REF_NOT_FOUND warning.

Check

Context guard

The context guard is a set of deterministic checks that runs on every read. Its output is hints: type, severity, message and a suggested_action. There are 72 hint types; the full list is in the output of tkt meta --json and /v1/meta.

Severity and exit code
SeverityMeaningExamplestkt ticket lint exit
blockThe agent does not start; has_blockers is true.
UNRESOLVED_BLOCKERMISSING_REPO_ANCHORDANGLING_REFERENCETICKET_DEFERRED
3
warningStartable, but something that can affect the diff is missing.
MISSING_ACCEPTANCE_CRITERIAREF_ANCHOR_NOT_FOUNDSUPERSEDED_DECISIONUNANCHORED_LARGE_DOC
2
infoA suggestion for the ticket's author.
OVERSIZED_BUNDLEWEAK_INTENTNO_VERIFICATION_STEPS
1

No hints: exit 0. The command could not run: 4. Missing AC is a block on create and update, a warning on read.

block_reason

  • dependency: a blocker is open. Once it closes, the ticket can start.
  • incomplete: the repo anchor is missing, or a ref points to nothing. The ticket's author fixes it.
  • deferred: postponed on purpose, for example tkt ticket update PAY-001 --status deferred --reason "a Q1 audit után". The agent does not pick it up on its own.
terminal
$ tkt ticket lint PAY-002
[WARNING] MISSING_ACCEPTANCE_CRITERIA: type=feature ticket has no Acceptance Criteria checkboxes.
[BLOCK] UNRESOLVED_BLOCKER: Blocked by 'PAY-001' (Ledger API), status: in_progress. Resolve before starting.
$ echo $?
3

The same for a milestone: tkt lint milestone://golive.

Staleness

A ref can carry a verifiedAt date and a staleAfterDays threshold. A ref past its threshold gets a STALE_DOC warning, one without a date an UNREVIEWED_REFERENCE info.

The whole store

terminal
$ tkt doctor

Checks the whole store: broken frontmatter, doc:// and gotcha:// mentions that name nothing, with a suggestion (DANGLING_MENTION), conflict markers left by a merge, two files with the same id, stale claims (STALE_CLAIM). It also reports whether the merge drivers are installed. Exit: 0 clean, 1 info, 2 warning, 3 error, 4 could not run.

terminal
$ tkt report context --compare ../elotte

Measures what the bundles actually deliver: how many critical gotchas arrive only as a link, how many own refs stay a pointer, how many bundles exceed the budget. --compare compares with an earlier copy and exits 2 if any ticket's context got worse.

Maintain

The store

The store is a folder in the repo, usually .tickets/. Every object is a Markdown file with YAML frontmatter, committed with the code. index.db (SQLite) is built from them, is gitignored, and tkt index rebuild rebuilds it at any time.

.tickets/
  tickets/PAY-001.md
  groups/payments/_group.md
  docs/refunds.md
  gotchas/idempotency.md
  decisions/D1.md
  milestones/golive.md
01

Docs

Descriptions, plans, references. Their type is concept, howto, reference, decision or plan. The description is one or two sentences the agent uses to decide whether it needs the doc. A ticket can point to one section of a doc or to rows of a table, and the bundle carries only that.

terminal
$ tkt doc new refunds --type reference --title "Visszatérítések" --description "Hogyan kerül a visszatérítés a számlára."
02

Gotchas

Known traps, one per file. Their severity is info, warn or critical. appliesTo names what they apply to: path patterns, keywords, groups.

terminal
$ tkt gotcha new idempotency --severity critical --description "A PSP újraküldi a webhookot." --body "Ugyanaz az esemény ötször is megérkezhet. Az event id legyen a kulcs." --applies-path 'src/payments/**'
03

Decisions

Every decision is a file (decisions/D1.md), referenced as decision://D1; in a ticket body D1 is enough. A decision's text does not change: a change is a new decision with an --amends, --supersedes, --refines, --extends or --exception-to relationship.

The bundle delivers a cited decision with the decisions that change it, and a superseded one with its successor. tkt decision refs D1 lists who cites it.

terminal
$ tkt decision new "Visszatérítés negatív sorral" --decision "A visszatérítés új negatív sort ír a számlára, az eredeti sort nem módosítja." --origin PAY-001
04

Groups

project and component groups carry the shared context: repo anchor, required reading, refs, and the Overview, Conventions, Gotchas and Verification sections. A ticket can be in several groups; the first gives its id prefix. Every member gets what the group holds in its bundle.

terminal
$ tkt group ref add payments gotcha://idempotency --required
$ tkt group section set payments Conventions --text "Pénzösszeg egész centben, float soha."
05

Refs

A ticket's own refs point to docs, gotchas, decisions and code files. A gotcha://idempotency or doc://refunds › Részleges összeg written in the body also enters the bundle, with the section after ›.

terminal
$ tkt ticket ref add PAY-001 doc://refunds --anchor "## Részleges összeg"
$ tkt ticket ref add PAY-001 src/payments/refunds.py

Maintaining the store

Context stays useful while its refs are alive and tickets point to the right docs and sections. Four commands do this. What the bundles actually deliver is measured by tkt doctor and tkt report context (see Context guard).

terminal
$ tkt suggest refs PAY-001

Suggests docs, gotchas and code locations for a ticket, each with a reason. The basis is shared wording (BM25). It links nothing by itself: accept a suggestion with the printed tkt ticket ref add command, hide it with tkt suggest dismiss. tkt ticket new and tkt ticket update print the suggestions too.

terminal
$ tkt reorg

Reviews the store's structure and proposes changes: duplicates, epics ready to close, unreferenced docs, group-level refs that are too broad, missing description. Apply them interactively or from a plan file (tkt reorg --plan plan.yaml, then tkt reorg apply plan.yaml), all or nothing, with a backup; tkt reorg restore puts it back. If the plan would cost a ticket a critical gotcha or one of its own refs, apply refuses (ERR_REORG_CONTEXT_LOSS).

terminal
$ tkt plan from-docs 'plan-*' -g payments

Builds tickets from plan docs: a doc becomes an epic, its ## sections stories (feature tickets), a section's - [ ] lines the AC. Every story points back to its section. A re-run shows the difference and writes after confirmation. Before writing, the plan gate measures every planned ticket's Context Bundle on a copy and lists the ones that fall short, for example when a section does not arrive whole; the fix names a subsection or a larger budget. With --strict nothing is written then (ERR_PLAN_GATE_FAILED).

terminal
$ tkt plan begin plan-refunds -g payments --out step.json
step slice-1 llm → step.json
$ tkt plan apply dcmp-01K8Z3V0T6N4QX2M7R5B9C1D0E --approve 23380866aebe

AI decomposition, done by your own coding agent: tkt plan begin serves the work step by step (the story-writer method, the doc's parts, the schema), the agent does it and sends it in with tkt plan submit, and tkt checks it and runs the strict plan gate. It ends in a preview with an approval digest: tkt plan apply with that digest (--approve) writes only what the user saw and approved. The tickets' source refs carry a methodRev. tkt itself never calls an LLM. On a server store a decomposition is shared: any member's agent can continue it, and tkt plan list shows who began it and who acted last. Where the doc leaves a choice open, a step asks a question (with options and an assumption): the agent puts it to you verbatim, tkt plan answer records the answers, and every ticket's Notes line shows who answered (answeredBy: you, the agent or the assumption). When the plan gate cuts a section, tkt asks for a repair: first a narrower anchor (the section's H3s), then a split. What the doc lacks goes back into the doc, never into the ticket: tkt plan show dcmp-… --docgaps gaps.md lists the gaps with the proposed text and the command that edits the doc.

terminal
$ tkt plan begin plan-refunds -g payments --method ./my-method --out step.json

Swappable decomposition methods: --method also takes a method folder (SKILL.md, references/, templates/, examples/ and an optional decomposer.yaml with the settings: placement, typeMap, acStyle, maxUnitsPerDoc). The folder is text only, served to the agent inside the steps; a scripts/ folder, an executable file or a symlink is refused (ERR_DECOMPOSITION_METHOD_INVALID). methodRev records the method's name, version and hash. A method decides only the cut: the ticket shape and the plan gate stay the same.

terminal
$ tkt plan method import ./my-method

A project keeps its decomposition methods in its store: tkt plan method import checks the folder and saves it under .aitodo/methods/, so everyone cuts the same way on a repo store and on a server store (there the client uploads the files, and it takes an admin token). --method my-method names it, and tkt plan method default sets what tkt plan begin takes without --method. A re-import prints the old and the new hash; written tickets keep their methodRev.

Share

Portability

The store is Markdown files, so it reads in any editor, and its changes go into git history with the code.

tkt export --okf ../kb writes the store as an Open Knowledge Format bundle: tickets, groups, docs, gotchas, decisions and milestones, an index.md per folder, an okf-base.yaml manifest at the root. doc://, gotcha:// and ticket-id mentions in bodies become links. The bundle passes okflint validation. The store is not changed.

terminal
$ tkt export --okf ../kb
$ uvx okflint validate --manifest ../kb/okf-base.yaml
✅ All files are OKF-conformant.
Work

The agent's work loop

The agent works from the bundle and writes back to the store what the next ticket needs to know: notes, decisions, ticked AC.

The installer also adds the Claude Code skill, which describes this loop to the agent. Other agents read the same from /llms-full.txt.

  1. Picks the next startable ticket and claims it in one step (todo → in_progress, assignee set). When the team has set a focus (tkt focus set), it picks inside it. Order: active milestone, priority, value per point, warnings, age.

    terminal
    $ tkt next --claim --assignee agent-1 --json
  2. Reads the bundle, not the file.

    terminal
    $ tkt ticket get PAY-001 --json
  3. If has_blockers is true, it stops and reports the block_reason.

  4. Takes notes while working; records a decision when later work must follow it.

    terminal
    $ tkt ticket note PAY-001 "A webhook kulcsa az event id."
  5. Ticks the AC as they pass.

    terminal
    $ tkt ticket ac check PAY-001 1
  6. Runs lint before handing over.

    terminal
    $ tkt ticket lint PAY-001
  7. Hands over.

    terminal
    $ tkt ticket update PAY-001 --status in_review

Give a ticket back with tkt ticket release PAY-001. Every command has JSON output (--json, or tkt --json <command>); the enum values and the hint vocabulary are in the output of tkt meta --json.

Planning

You plan in the same store the agent works from.

Size and value

Ticket types: epic, feature, task, bug, chore, spike. The estimate is in story points, the business value is 1, 2, 3, 5 or 8 with a one-line rationale. A ticket without a value inherits its epic's. Many tickets at once: tkt ticket import plan.yaml, all or nothing.

terminal
$ tkt ticket update PAY-001 --value 5 --value-rationale "Heti 40 kézi visszatérítést vált ki" --estimate 3

Milestones

A time-boxed set of tickets across epics: goal, exit criteria, target date, optional capacity in points. tkt milestone plan walks the members' blockers and names those outside the set. Over capacity it suggests what to drop: the members with the lowest value per point that nothing in the set waits on.

terminal
$ tkt milestone new golive --title "Élesítés" --goal "Visszatérítések élesben" --target-date 2026-11-01 -t PAY-001,PAY-002
$ tkt milestone plan golive
$ tkt board golive --html

Focus

One milestone or epic the team is working through now. tkt next stays inside it by default; when nothing in it is startable it says why and names the blockers outside it. A ticket outside the focus gets the OUTSIDE_FOCUS info hint in its bundle and a warning on claim; nothing is refused. Your own focus: AITODO_FOCUS; everything: tkt next --all.

terminal
$ tkt focus set golive
$ tkt focus
$ tkt focus clear

Views

tkt tree --open: the hierarchy in the terminal, rolled up per epic.

tkt graph --all --open --html: the dependency diagram in the browser (--md writes Markdown, --fence gives a Mermaid block).

tkt ticket get PAY-001 --brief: one ticket without its body, in 80 columns.

Filters: status, type, priority, label, assignee, milestone, --min-value.

In the browser

tkt ui opens the store in the browser: the tree, a board, a ticket with its Context Bundle, docs, gotchas, decisions, releases and milestones, linked to each other. It only reads, serves on 127.0.0.1 only by default, and what the CLI or an agent writes shows up within seconds. Every view and filter has its own URL.

The search field in its header is tkt search: tickets, docs, gotchas and decisions at once.

terminal
$ tkt ui
$ tkt search live refresh

Reports

tkt report value --milestone golive: points and value delivered and open, value per point.

tkt report release --since 0.2.5: a changelog per release, grouped by type. A ticket records its release with --release 0.2.7; tkt ticket list --release-since 0.2.5 lists in version order; tkt release new nov --version 0.2.0 --target-date 2026-11-30: a planned release of milestones, epics and tickets; tkt release list by date.

tkt next --explain: the next five candidates, and why the others cannot start.

tkt doctor flags high-value tickets that have not moved for a long time (STALE_HIGH_VALUE) and long-open, low-value tickets that can be closed (LOW_VALUE_CLOSE_CANDIDATE).

Parallel worktrees

When several agents work in several worktrees of one repo, each branch changes its own copy of the store. That leads to colliding ids, conflicts in derived files, claims that do not see each other, and overlapping changes.

Shared id counter
Every worktree of a repo takes ticket and decision ids from one counter, kept in git's common directory. tkt doctor prints which counter the store uses.
Merge drivers
tkt git install sets merge drivers for .aitodo/counters.json and the review files, and re-checks the store after a merge. It is local git configuration for every worktree at once, with nothing to commit; tkt git uninstall removes exactly what it added.
Visible claims
tkt ticket claim PAY-001 --assignee agent-1 records the claim in git's common directory, so every worktree sees it. If another worktree holds it: ERR_ALREADY_CLAIMED, naming the branch and worktree; tkt next skips it (claimed_elsewhere). tkt ticket claims lists the claims, tkt ticket release --stale clears those whose worktree is gone.
One shared focus
After tkt focus set golive every worktree's agent works through the same package: tkt next --claim hands each a different ticket from the focus, and the claims keep them apart. When nothing in the focus is startable, it says what holds it up.
Worktree in one step
tkt worktree new PAY-001: branch, worktree and claim in one command.
Check before you start
tkt plan parallel PAY-001 PAY-002 judges every pair: serial (a blocker chain links them), review (a shared file or a risky pattern such as a migration), unknown (no repo refs, cannot be judged), parallel. Exit 0, 1, 2 or 3.
Finding merge damage
tkt doctor finds store files with conflict markers (ERR_FILE_CONFLICT) and ids used by two files (ERR_ID_DUPLICATE), and names the repair command.
Repair
tkt ticket resolve-conflict tickets/PAY-160.md splits a ticket created on two branches into two; tkt ticket renumber PAY-160 and tkt decision renumber D63 assign a new id and rewrite every reference. Each has a --dry-run mode.

Team server

The server does not store project content; that stays in the repo. For a registered project it coordinates ids and claims across machines, and when the admin enables it, it acts as the LLM provider.

Every command works without the server. Coordination then happens on one machine, through git's common directory.

  • Whoever registers a project gets its first admin token and hands out named tokens with the role read, write or admin, an optional llm grant and an expiry.
  • One focus for the team: tkt focus set writes into the project's store which milestone or epic the team works through now. On a server store every member's agent follows it in tkt next; a ticket outside it gets the OUTSIDE_FOCUS hint.
  • The server stores only token hashes and shows a token once.
  • The server hands out ids and claim leases (8 hours by default). If it cannot be reached, the command fails; with --offline it counts locally.
  • The server holds the AI key; it forwards prompts and does not store them. See Team AI.
  • A project can be deleted: tkt project delete --confirm Payments (admin). The server drops everything it keeps for it; the tickets in the store stay.
  • The server's operator can list and delete projects and mint a recovery admin token over HTTP with the AITODO_OPERATOR_TOKEN secret (tkt operator projects --server https://tkt.ideathon.me). It has no access to tickets.
  • Who may register a project is set by AITODO_REGISTRATION: open, invite or closed. In invite mode the operator hands out a one-time code (tkt operator invite --server https://tkt.ideathon.me); the registrant gives it in AITODO_INVITE or at a hidden prompt. The operator registers without one: tkt project register https://tkt.ideathon.me --name N --operator.
  • The store can live on the server too: tkt store init --server https://tkt.ideathon.me --project <id> creates an empty store (--register --name <name> instead of --project registers the project in the same step), the repo's .aitodo.yaml says store: server, and every tkt command runs there with the same output. The server keeps each write as a git commit; repo refs (Stage 2) are still resolved from your own worktree.
  • An existing store can move too: tkt store move --to server takes it from the repo to the server (with its git history when the store is its own repo), tkt store move --to repo --dir .tickets brings it back. A store lives in one place at a time; while it moves the source stays in charge, and the server archives its old copy, never deletes it.
  • Agents report bugs and missing features from inside their work: tkt feedback bug or tkt feedback idea. The server's template asks (goal, command, what happened, workaround, impact); the user approves the full draft before it is sent. The report becomes a ticket in a server-mode intake project (AITODO_FEEDBACK_PROJECT), secrets replaced by [redacted]. First tkt feedback similar searches the other projects' reports (title, status and case count only), and when it is already reported, tkt feedback plus1 adds a case; tkt feedback status shows your own reports' status and the operator's reply.
terminal
$ tkt project register https://tkt.ideathon.me --name "Payments"
$ tkt token create ci-bot --role write
$ tkt login

LLM

Every command runs without an LLM. An LLM can be switched on in five places; without it the output is the same, minus the answer, the suggestion or the summary.

  • tkt ask "why is the reaction count missing?": an answer from the whole store, with citations. The LLM picks the sources from the search's best hits and answers from them only; without an LLM, the ranked sources.
  • tkt ticket get PAY-001 --summary: a summary of about 120 words at most above the --brief view. Without an LLM, the --brief view. While the ticket does not change, the next call returns the stored answer without an LLM call; --refresh asks again.
  • tkt suggest refs PAY-001 --llm: the LLM's suggestions next to the BM25 ones.
  • tkt suggest value: a value and rationale for tickets that have none. Both suggest commands keep the answer per ticket: a rerun sends only the tickets that changed; --refresh asks them all again.
  • tkt plan from-docs 'plan-*' -g payments --llm: the story text and a proposed value.

The provider is a command that reads the prompt on stdin: AITODO_LLM_CMD, --llm-cmd, or --llm, which calls claude -p by default. When the project admin enables it, the server can be the provider (--llm-provider server); machines then need no AI key of their own. See Team AI.

Coming soon: autonomous delivery

One command delivers the package in focus: tkt conducts, the coding agent develops, scripts do the mechanical steps, and every step can be traced.

Coming soonIn design, not available yet. The plan is in the docs.
  1. Preparetkt asks once, up front: missing decisions, unclear acceptance criteria, the run plan. You approve it.
  2. DevelopThe agent works ticket by ticket with a fresh context, in parallel lanes where tickets do not depend on each other.
  3. Check and mergeScripts run the tests, open the MR and merge, after a green pipeline.
  4. ReportWhat merged, what got stuck and why, on which assumptions, at what time and cost.

Script and agent apart

What a machine can check or what cannot be undone (tests, push, MR, merge, status) is done by deterministic scripts, and the agent is not allowed to run it. The agent gets the work that needs judgement: code, tests, diagnosis.

Audit log

A chained log records who did what and when: hook, script, agent or person, and with what result. A removed or edited line is detected.

A layered deny list

History rewrites, reading secrets, switching tests off, releasing: several independent layers forbid these. A run works on its own branch and stops every lane when something goes wrong.

Two modes

One visible Claude Code session per lane that you can step into at any time, or one conducting session with a subagent per ticket. Both can resume at any time.

The release stays yours

A run delivers the focus onto a run branch. A person takes it into the development branch and the release, based on the report and the audit log.

Install

The installer adds uv if it is missing, the tkt CLI of this server's version, and the Claude Code skill in ~/.claude/skills/aitodo-tickets.

sh · zsh · bash
$ curl -fsSL https://tkt.ideathon.me/install.sh | sh

AITODO_NO_SKILL=1 skips the skill, AITODO_DRY_RUN=1 only prints the steps.

Check in a new terminal

terminal
$ tkt --version
tkt 0.1.298 (/Users/te/.local/share/uv/tools/aitodo/…)

First project

In the repo root:

terminal
$ tkt init myproject --workspace-dir .tickets --pin
$ tkt group new "Payments" --kind project --prefix PAY --repo git@gitlab.local:shop/backend.git --branch main
$ tkt ticket new "Részleges visszatérítés" -g payments --description "Egy fizetés egy része vissza" --details "A pénzügy részösszeget térít vissza." --ac "Egy fizetés egy része visszamegy"
$ tkt ticket get PAY-001

tkt init with --pin writes .aitodo.yaml. Commit it and the .tickets/ folder with the project.

What it is and what it is not

What it is

  • A command-line tool (tkt) that works on a store in the repo.
  • A Claude Code skill that describes the work loop to the agent.
  • A server for this page, the guide and the installers. For project coordination, see Team server.

What it is not

  • Not a web ticket tracker. In the browser, tkt board golive --html and tkt graph --all --html open.
  • Not a code analyser. People or agents write code locations into the ticket; the context guard checks that they exist and resolve.
  • Not an agent runner. The agent is your own tool, for example Claude Code; aitodo adds the task and its context.