Skip to main content

Appendix C: task.json Schema Reference

Matches task.py create in .trellis/scripts/common/task_store.py:
Field order above matches .trellis/scripts/common/task_store.py verbatim — task.py writes them in this order.
worktree_path / commit / pr_url are schema placeholders — written as null on create, and no Trellis script updates them afterward. Store commit hashes / PR URLs under meta: {} as custom keys, or write them back from an after_archive hook.
Older tasks may be missing newer fields (e.g., pre-package tasks have no "package" key); task.py treats missing keys as null.

Parent-child vs subtasks — know the difference