> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trytrellis.app/llms.txt
> Use this file to discover all available pages before exploring further.

# v0.5.15

> 2026-05-13

## Bug Fixes

### Template manifest ownership

`trellis init`, `trellis update`, and `trellis uninstall` no longer treat user-owned platform runtime files as Trellis templates.

* `initializeHashes()` tracks platform/root files from `startRecordingWrites()` output instead of walking `.codex/`, `.claude/`, and other platform dirs.
* `pruneOrphanManifestKeys()` removes stale orphan entries from `.trellis/.template-hashes.json` before `update` and `uninstall`.
* `trellis init` and `trellis uninstall` refuse to run in `$HOME` unless `TRELLIS_ALLOW_HOMEDIR=1`.

### Windows hook encoding

Hook templates force UTF-8 on Windows for stdin, stdout, and stderr.

* `hooks.json` runs Codex `inject-workflow-state.py` with `python -X utf8`.
* `shared-hooks/inject-workflow-state.py`, `shared-hooks/session-start.py`, `codex/hooks/session-start.py`, and `copilot/hooks/session-start.py` reconfigure streams to UTF-8 with replacement errors.

## Upgrade

```bash theme={null}
npm install -g @mindfoldhq/trellis@latest
trellis update
```
