tx Workflow
Picking Up a Task
- Run
tx ready --limit 1 --jsonto get the next unblocked task - Run
tx show <id>to see full details, dependencies, and context - Run
tx memory context <id>to get relevant learnings for the task
Working on a Task
- Understand the task requirements from
tx show - Check for relevant learnings with
tx memory context <id>ortx memory recall <file-path> - If related tasks share context, set it once with
tx group-context set <id> "<shared context>" - If PRD docs are in scope, prefer
ears_requirementsand validate withtx doc lint-ears <doc-name-or-yaml-path> - Implement the changes
- Add or update integration tests for critical flows (happy path + failure path)
- If telemetry code changed, verify OTEL remains non-blocking (noop/configured/exporter-failure paths)
- Record anything you learned:
tx memory add "what you discovered"
Completing a Task
- Run targeted tests for changed files before completion (
bunx --bun vitest run <paths>) - Run
tx done <id>to mark the task complete - This automatically unblocks any tasks that depended on this one
- Check
tx readyto see if new tasks became available
Creating Sub-tasks
If a task is too large, break it down:
tx add "Sub-task title" --parent <parent-id> --description "Details"
Managing Dependencies
# Task B can't start until Task A is done
tx dep block <task-B-id> <task-A-id>
# Remove a dependency
tx dep unblock <task-B-id> <task-A-id>
Recording Learnings
# General learning
tx memory add "Effect.try catch handler puts errors in the error channel, not success"
# File-specific learning
tx memory learn "src/auth/*.ts" "Auth tokens expire after 24h, refresh logic is in token-service.ts"
# Recall learnings for a file
tx memory recall src/auth/token-service.ts
Converted and distributed by TomeVault — claim your Tome and manage your conversions.