Session
Temporary Files
- Store every temporary file created during work on a task under
<project-root>/.session/. - Create
<project-root>/.session/before creating temporary files if the directory does not already exist. - Use files in
<project-root>/.session/for task-scoped temporary information such as intermediate notes, plans, scratch artifacts, and working data. - Do not place temporary task files outside
<project-root>/.session/.
New Sessions
When the user tells you to start a new session, remove all files and directories inside <project-root>/.session/.
Keep the .session directory itself available for later temporary files when practical.