Enhancements
- Custom template registries:
trellis init --registrysupports fetching Spec templates from custom GitHub/GitLab/Bitbucket repositories. Automatically detects marketplace mode (index.json) and direct download mode - Task lifecycle hooks:
.trellis/config.yamlgains ahooksconfiguration block supporting four events:after_create,after_start,after_finish, andafter_archive. Task information is passed via theTASK_JSON_PATHenvironment variable. Ships with a Linear sync hook example. See: Task Management - Parent-child subtasks:
task.py add-subtask/remove-subtaskcommands for linking tasks.task.jsongainschildren,parent, andmetafields.task.py create --parentcreates a child task directly - Record-session prompt improvement: Archive decision is now based on actual work state rather than the
task.jsonstatus field - Brainstorm prompt update:
/brainstormnow includes a subtask decomposition step for complex tasks
Bug Fixes
- PreToolUse context injection failure: Claude Code v2.1.63 renamed its internal tool from
TasktoAgent(anthropics/claude-code#29677), causing hook scripts withtool_name != "Task"checks to exit early. This broke code-spec context injection for all implement/check/debug/research agents. Fix: accept bothTaskandAgenttool names, and add an"Agent"matcher tosettings.json
Migration
No manual migration required. Runtrellis update to sync the updated hook scripts and settings.