What tasks are for
Tasks are work items with their own context. Each task knows:- What you’re building (PRD)
- Which files are relevant
- What branch to work on
- Current status
Task structure
Tasks live in.trellis/tasks/. Each task is a directory:
MM-DD-slug-assignee.
Creating a task
Use the task script:prd.md to define requirements.
prd.md
Write what you’re building. Be specific about requirements and acceptance criteria.Context files (JSONL)
These tell agents which files to read:implement.jsonl, check.jsonl, etc. as needed.
Working on a task
Set the current task:- Read the PRD from this task
- Load specs listed in the JSONL files
- Work on the task’s branch
Managing tasks
List all tasks:Multiple tasks
You can have multiple tasks in progress. Only one is “current” at a time. Switch with:Task workflow
Typical flow:- Create task:
task.py create - Edit
prd.mdwith requirements - Set up context files (JSONL)
- Set as current:
task.py start - Work in Claude Code sessions
- Archive when complete:
task.py archive <id>