2.3 KiB
2.3 KiB
Continue Current Task
Resume work on the current task — pick up at the right phase/step in .trellis/workflow.md.
Step 1: Load Current Context
python ./.trellis/scripts/get_context.py
Confirms: current task, git state, recent commits.
Step 2: Load the Phase Index
python ./.trellis/scripts/get_context.py --mode phase
Shows the Phase Index (Plan / Execute / Finish) with routing + skill mapping.
Step 3: Decide Where You Are
get_context.py shows the active task's status field. Route by status + artifact presence. This command replaces the user needing to remember the Trellis flow; it does not itself approve implementation.
status=planning+ noprd.md→ 1.1 (loadtrellis-brainstorm)status=planning+prd.mdonly → decide whether the task is lightweight or complex. Lightweight can move to 1.4 review; complex returns to 1.1 to adddesign.md+implement.md.status=planning+ complex artifacts complete + sub-agent jsonl not curated (only the seed_examplerow) → 1.3status=planning+ required artifacts complete + required jsonl curated or inline mode → 1.4 (ask for start review; only runtask.py startafter user confirms)status=in_progress+ implementation not started → 2.1status=in_progress+ implementation done, not yet checked → 2.2status=in_progress+ check passed → 3.3 (spec update) → 3.4 (commit)status=completed(rare; usually archived immediately) → archive flow
Phase rules (full detail in .trellis/workflow.md):
- Run steps in order within a phase —
[required]steps must not be skipped [once]steps are already done if the required output exists.prd.mdalone can be enough only for lightweight tasks; complex tasks also needdesign.mdandimplement.md.- You may go back to an earlier phase if discoveries require it
Step 4: Load the Specific Step
Once you know which step to resume at:
python ./.trellis/scripts/get_context.py --mode phase --step <X.X> --platform claude
Follow the loaded instructions. After each [required] step completes, move to the next.
Reference
Full workflow and detailed phase steps live in .trellis/workflow.md. This command is only an entry point — the canonical guidance is there.