The T helper script for task navigation, plus the single-source-of-state and self-review rules it works with.
T is a small bash helper for moving around the task system: list active tasks, open details, edit, show state, archive, work the backlog. It is a convenience wrapper — the canonical workflow lives in agent-task-rules.md.
A shell script at scripts/T that wraps common task operations against tasks/index.md and tasks/details/<id>.md. Run T with no arguments or T h for the current command list; the script’s own help is the source of truth for available commands.
T does not do anything you cannot do by hand.scripts/T # show help
scripts/T l # list active tasks
scripts/T d <id> # show task details
scripts/T e <id> # open task in editor
Task state lives in tasks/index.md markers — [ ] pending, [i] in-progress, [x] done. Detail files hold context (Next, Blocked, Outcome, Done-when), not state. If T output and tasks/index.md ever disagree, trust index.md.
Before declaring a task done, re-read the spec and audit every file you touched: spec compliance, API contract, security, test coverage. Skip this and you will ship half-finished work. The full checklist lives in agent-task-rules.md under “Self-Review”.
scripts/Tagent-task-rules.md