Trails

Stand-alone reader for implementation trails — the board’s By-Trail view as its own TUI

ait trails is a stand-alone reader for implementation trails: it shows a stored trail as wave columns, with each member’s classification, confidence, status and drift, and the trail’s summary underneath. You can keep several trails open, one tab each, and switch between them instantly. It is the board’s By-Trail view (z) running on its own — the same lanes, cards and keys, without the Kanban board around them. The By-Trail view stays inside the board as well, and both read the same stored trails.

Customizable keys: every shortcut here can be rebound. Press ? in this TUI for the in-place editor, or open Settings → Shortcuts. The trail keys are the board’s own board entries, so a rebind applies in both ait trails and the board’s By-Trail view.

Purpose

A trail answers “in what order should this group of tasks land, and why”. Reading one does not need the board: ait trails starts directly in the trail selector, loads nothing but the task files and the trail itself, and never writes your board layout. Use it when you want to follow a trail — which wave is next, which members have landed, what has drifted — without the whole board in front of you.

The TUI is read-only. It never writes a trail and never changes a task. The two keys that start trail authoring — T to create a trail for the focused task, R to re-author the one on screen — open the /aitask-trail workflow in a code agent, and that workflow asks you to confirm before it writes anything. p is the other agent launch: it opens /aitask-pick for the focused task, and the task is claimed by that workflow, not by the TUI. L searches the other projects for linked trails and can start a tmux session for one of them and open the trail in that project’s own ait trails — it writes nothing either.

Relationship to the board

Aspectait board (By-Trail view, z)ait trails
Opening a trailz, then the selector opens when no trail is active yetThe selector opens on launch
Trail keys (s, r, d, R, v, L, Enter)YesYes — the same bindings
Several trails open at onceNo — one trail; choosing another replaces itYes — one tab each ([ / ], 1–9, Ctrl+W)
THidden in By-Trail; used from the kanban and By-Topic viewsOpens the trail-creation workflow for the focused live card
p (pick the focused task)YesYes — the same launch dialog, for a live local card
Move to a column (m / M)YesNo — there are no board columns here
Sync with remote (S)YesNo — sync from the board or with ait sync
Writes board_config.jsonYes (board layout and settings)Never
TUI switcher (j)YesYes

The two TUIs keep separate trail selections. Switching between them with j does not carry the open tabs or the focused card across — see How to move a wave onto the board.

Launching

  • ait trails from a shell in the project.
  • ait trails --trail <handle> opens that trail directly instead of the selector; <handle> is the trail’s art:<id> handle. Add --task <id> to also focus that task’s card. A jump from a linked trail in another project starts ait trails this way — see Launch and environment.
  • j then i from any TUI, through the TUI switcher. The switcher’s bottom hint row does not advertise i, but the entry is listed in the switcher and the key works.
  • j then b from ait trails goes back to the board.

ait trails reads the task directory from TASK_DIR (default aitasks), the same as the other ait commands.


Next: How-To Guides — opening a trail, keeping it current, and handing a wave to the board.


How-To Guides

Task-oriented guides for reading implementation trails with ait trails

Feature Reference

Keybindings, refresh semantics, shortcut scope and launch details for ait trails