> ## 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.11

> 2026-05-10

## Bug Fixes

* **`add_session.py` / `task.py archive` no longer force-stage with `git add -f`.** When `.gitignore` excludes `.trellis/`, scripts print a warning and skip auto-commit. Reverts the auto-retry added in 0.5.10.

## Enhancements

* **New config: `session_auto_commit: true | false`** in `.trellis/config.yaml` (default `true`). Set `false` to skip auto stage + commit; journal / archive files still write to disk. Closes [#245](https://github.com/mindfold-ai/Trellis/issues/245).
* **Session-start update hint.** `get_context.py` shows `Trellis update available: <current> -> <latest>` once per session when local install lags. 1-second timeout, failures silent. Closes [#254](https://github.com/mindfold-ai/Trellis/pull/254) (thanks @jdjingdian).

## Upgrade

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