# Migrate legacy terminal history to terminal-scoped log path · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/d27b08bae68ac514f5f3a497bc4aa91c0cbfc101)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: d27b08bae68ac514f5f3a497bc4aa91c0cbfc101

Requested commit: d27b08bae68ac514f5f3a497bc4aa91c0cbfc101

Commit: d27b08bae68ac514f5f3a497bc4aa91c0cbfc101

Tree: ff6073170063f3eb81ec9b985d25614b8072ba99

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Migrate legacy terminal history to terminal-scoped log path

- On open, read legacy transcript files and write them to the new terminal-scoped history path
- Remove legacy files after migration and warn if cleanup fails
- Update tests to assert migration, content preservation, and legacy file removal

```

## Parents

- [485747b892fc9825a7b87719d70211fd8d794c5b](https://git.cafe/pingdotgg/t3code/commit/485747b892fc9825a7b87719d70211fd8d794c5b?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/d27b08bae68ac514f5f3a497bc4aa91c0cbfc101?format=markdown)
