What happened?
Starting pi --no-session creates an ephemeral session as expected. But typing /new from inside that session silently creates a persisted session — a .jsonl file appears in ~/.pi/agent/sessions/.
Steps to reproduce
- Run pi --no-session
- Type
/new
- Check
~/.pi/agent/sessions/ — a new session file was created
Expected behavior
/new should either inherit the ephemeral mode of the current session, or at least warn that it's creating
a persisted session.
Version
0.75.5
What happened?
Starting
pi --no-sessioncreates an ephemeral session as expected. But typing/newfrom inside that session silently creates a persisted session — a .jsonl file appears in~/.pi/agent/sessions/.Steps to reproduce
/new~/.pi/agent/sessions/— a new session file was createdExpected behavior
/newshould either inherit the ephemeral mode of the current session, or at least warn that it's creatinga persisted session.
Version
0.75.5