{
  "version": "0.4.0-rc.0",
  "description": "v0.4.0 Release Candidate — feature freeze before stable",
  "breaking": false,
  "recommendMigrate": true,
  "changelog": "**v0.4.0 feature freeze.** First release candidate. No new features before stable — only bug fixes accepted. Please test and report regressions.\n\n**SessionStart size fix (#154)** — vanilla additionalContext reduced from ~29 KB to ~7 KB, under Claude Code's ~20 KB truncation threshold. Task state was being silently lost on most projects.\n- fix(session-start): replace workflow.md full injection with compact section index (#161) — 5 platforms including copilot\n- fix(session-start): remove redundant start.md injection from <instructions> (#160) — 4 platforms; copilot never had it\n- fix(hooks): clean up dangling 'Step 4' references in <ready> text and orphan claude_dir / codex_dir / iflow_dir variables left behind by #160\n\n**OpenCode plugin v1 refactor (#159)** — update to v1 plugin API (export default { id, server }). Fixes non-persistent context injection: experimental.chat.messages.transform didn't write back to history so context was lost on session reopen; now uses chat.message hook with SDK history-based dedupe via metadata markers. task-tool prompt mutation now in-place (runtime holds local reference to args). Thanks to @Adamcf123.\n\n**Windows encoding fix (#163)** — statusline.py crashed on Windows with GBK encoding errors rendering the middle-dot separator. Both live hook and claude template now wrap stdout/stderr in UTF-8 on Windows. Thanks to @xiangagou163.\n\n**Features:**\n- feat(init): re-init fast path for adding platforms and developers (#157) — `trellis init --codex` on an existing project now configures just Codex, `trellis init -u name` sets up developer identity for new device sync, bare `trellis init` shows a menu (add platform / add developer / full re-init). `--force` / `--skip-existing` bypass the fast path.\n\n**Bug Fixes:**\n- fix(init): skip bootstrap task creation on re-init — re-running `trellis init` no longer creates duplicate bootstrap tasks\n\n**Documentation:**\n- docs(spec): document SessionStart additionalContext ~20 KB constraint and size budget table in platform-integration spec — prevents future hooks from silently exceeding the limit",
  "migrations": [],
  "notes": "RC install: `npm install -g @mindfoldhq/trellis@rc`. Please run `trellis update` on an existing project and report any regressions. Session-start hooks have been significantly restructured — if you customized them locally, re-check after update. Windows users with statusline garbling should also update."
}
