clear the session file when we write immediately (#94)
missing test case when adding guards (#101)
edge case when resuming a session (#145)
Steps to reproduce
$ uv run goose session start aaaa
PLEASE NOTE: the ollama provider is experimental, use with care
Session already exists at /Users/lam/.config/goose/sessions/aaaa.jsonl.
Would you like to overwrite it?
[y]es Overwrite the existing session
[n]o Pick a new session name
[r]esume Resume the existing session
Enter your choice: y
Overwriting existing session
session size: 4
This fix corrects session handling with the overwrite session prompt.
Previously overwriting a session didn't
Steps to reproduce
The expected session size should be 0 (or empty).