Sessions
A session is one conversation with an agent about one task. It runs in a project, and it is how work gets done in Kestrel.
Starting one
Section titled “Starting one”Choose New session at the top of the sidebar (⌘N), or open one in a new tab with ⌘T. Pick a project, describe the task, and send.
A session with no project works in a scratch folder. It can ask to move into a project once it is clear where the work belongs.
A working copy of its own
Section titled “A working copy of its own”In a git project, each session gets its own worktree: a separate working copy of the repository, on a branch of its own. Sessions cannot overwrite each other’s files, or the checkout you have open in your editor, so you can run several at once in the same project.
- Worktrees live in
~/.kestrel/worktrees/. - The branch name starts with a prefix you choose in Settings → Git → Branch name prefix.
- The worktree starts from the latest default branch or from the branch you have checked out, according to the project’s New sessions start from setting. If that is not settled, Kestrel asks.
A repository with no commits yet cannot have a worktree; make a first commit and try again.
Where a session is listed
Section titled “Where a session is listed”A session is listed under the project where it actually changed files, not where it started and not where the agent says it worked. Kestrel reads this from git. A session that has not changed anything yet is listed where it started.
What a session’s row tells you
Section titled “What a session’s row tells you”| Mark | Meaning |
|---|---|
| Yellow dot | The agent is waiting on you |
| Green dot | It finished or stopped since you last looked |
| Changed-files mark | The session has changed files; amber while some are uncommitted |
| Pull request mark | The session has a pull request, coloured by its state |
| Violet title | The session is a code review of somebody else’s pull request |
A project or group shows yellow if anything inside it is waiting on you, and green if anything inside is unread.
Opening a session marks it as read. Mark as unread in its menu puts the green dot back, to come back to it later. What you have read is kept by Kestrel, not by the window, so every window agrees.
A busy project folds
Section titled “A busy project folds”A project lists the sessions that need you first. Sessions that have been quiet for a day, and anything past the first six, fold behind an N more line at the end of the list. Click it to unfold them, and Show fewer to fold them again.
The session you have open, anything working or waiting on you, and a project’s five most recent sessions are never folded.
Organizing sessions
Section titled “Organizing sessions”Groups. A group is a folder for sessions. A group inside a project holds that project’s sessions; a group under Sessions can hold sessions from several projects. Grouping never changes which project a session’s work is in.
Tags. Sessions with the same tag are listed together under Tags.
Pinning. Pinned sessions, projects and groups stay at the top of the sidebar, under Pinned.
Order. Drag sessions, groups and projects to reorder them, or drop a session on a group to file it there. Choose Most recent first or Custom order in Settings → General.
Colours. Give a project, tag or workstream a colour in Settings → Colours. The colour marks its icon and the line down the side of its sessions. See Settings.
The menu at the top. Overview, New session, Pull requests, Code reviews and Tickets sit at the top of the sidebar. Drag them into the order you prefer.
For sessions that are working on one task across several projects, Kestrel keeps them together for you. See Workstreams.
Renaming, moving and forking
Section titled “Renaming, moving and forking”Right-click a session for its menu:
| Item | What it does |
|---|---|
| Rename | Changes the title. A double-click on the row does the same |
| Tag… | Adds a tag |
| Move to group | Files it in a group, or No group |
| Move to project… | Hands the task to a new session in another project, with a summary you can edit |
| Fork | Starts a copy of the conversation in a worktree of its own (not available for OpenCode) |
| Stop | Stops the agent |
| Mark as unread | Puts the green dot back on the row |
| Archive | Hides the session; you can restore it later. A note appears with Undo |
| Delete… | Removes the conversation for good |
Deleting a session with a worktree removes the worktree folder, including uncommitted work. Its branch is deleted only if its commits are already in your main checkout’s branch.
Archived sessions and disk space
Section titled “Archived sessions and disk space”Settings → Archived lists everything you have archived, with Restore and Delete….
Settings → Storage lists every worktree on disk with its size. Kestrel suggests ones that can go: the pull request was merged, the session is archived, or nothing has happened for 14 days. Kestrel never removes a worktree on its own.