trellis update to refresh existing projects. No --migrate required.
Highlights
Trae IDE platform support
Trellis now supports Trae IDE as a first-class platform.trellis init --trae writes:
.trae/commands/trellis-*.mdslash commands with frontmatter.trae/skills/workflow skills and bundled skills.trae/agents/Trellis implement/check/research agents.trae/hooks/shared Python hooks.trae/hooks.jsonforSessionStartandUserPromptSubmit
Pi Agent startup context
Pi Agent’ssession_start event is notify-only, so it cannot inject model-visible context by itself. 0.6.5 moves the startup payload to the first before_agent_start event for each Trellis context key.
New Pi sessions now receive compact Trellis startup context in systemPrompt: workflow state, session overview, active-task status, the compact workflow index, and the first-reply notice. .pi/prompts/trellis-start.md remains as a manual fallback.
Pi sub-agent tools
Generated.pi/agents/trellis-*.md files can declare tools frontmatter for trellis_subagent. Tool names are normalized to lowercase, and the unused PI_TOOL_ALLOWLIST path is removed so Pi receives the tool names it expects.
Reliability Fixes
Windows channel sessions
Channel session spawning now resolves Windows npm.cmd shims to a spawnable executable path before launch. This fixes failures where the supervisor tried to spawn a non-existent .exe path.
Hooks and planning gates
Shared Python hooks no longer block when stdin is empty. ZCode command fallbacks now stay under.zcode/commands/trellis/ instead of the shared .agents/skills/ directory. This prevents Codex + ZCode combined installs from reporting immediate template drift on trellis update --dry-run.
Trellis also tightens task readiness:
workflow.mdrequires curatedimplement.jsonl/check.jsonlcontext before starting implementation.brainstormrequires lossless PRD convergence before planning continues, so updated requirements are not dropped during iterative task shaping.
Internal
CI now runs on marketplace submodule pointer changes, and the marketplace workflow mirror has been synced for Trae support.Upgrade
--migrate required.
- Trae users: run
trellis init --traein projects that do not yet have.trae/; runtrellis updatein existing Trellis projects. - Pi users: run
trellis updateto receive the generated start prompt and extension startup-context updates. - Windows channel users: install the latest CLI before starting new channel sessions.