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

> 2026-05-13

## Bug Fixes

* **`task.py archive` auto-commit no longer bundles dirty changes from other task dirs.** The archive commit is now scoped to just the archived task's source + destination paths (plus any child task dirs whose `task.json` was edited as part of the parent → children relationship update). If you were editing task B in a parallel terminal while archiving task A, B's changes stay in your working tree where they belong.
* **`task.py archive` no longer leaves "phantom delete" entries against HEAD.** After `shutil.move`-ing a tracked task directory into `archive/<YYYY-MM>/`, the source-side deletions are now explicitly staged so the working tree matches HEAD immediately after archive. No more follow-up "complete archive move" fixup commits.

## Internal

* **New integration test** under `packages/cli/test/scripts/task-archive.integration.test.ts` runs the real Python script against a temp git repo and asserts both regressions (scope-creep + phantom-delete) stay fixed.
* **`safe_archive_paths_to_add()`** accepts optional `task_name` + `modified_children` parameters. Existing callers passing no arguments keep the legacy wide scope.

## Upgrade

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