This page describes the current SESS command surface.
Starts a new session in the current repository.
- track the repository as a project if needed
- select issue context or start without one
- choose a branch type
- create the session branch from the tracked base branch
sess start
sess start user-profile-page- fails if the current directory is not a git repository
- fails if the project already has an active or paused session
- detects the base branch from
origin/HEADand falls back to the current branch when needed - repairs an invalid stored base branch before branch creation
- optionally loads GitHub issues through
gh - prompts for dirty working tree handling before branch creation
- checks out and pulls the tracked base branch before creating the session branch
- creates a new active session in the local SQLite database
Shows the current session status for the tracked project in the current directory.
sess status- prints a guidance message when the current directory is not a tracked project
- prints idle state when the project is tracked but has no active or paused session
- prints active or paused session details when a session exists
- includes elapsed time and linked issue information when available
Pauses the active session for the current tracked project.
sess pause- only works when the project has an active session
- fails if the current directory is not a tracked project
- stops active time accumulation
- preserves the branch and issue context in the database
Resumes a paused session.
sess resume- only works when the project has a paused session
- fails if the current directory is not a tracked project
- checks out the saved session branch first if the shell is on a different branch
- fails closed if branch checkout fails
- resumes time tracking only after branch alignment succeeds
Ends the current session and completes the handoff workflow.
sess end- works for active and paused sessions
- fails if the current directory is not a tracked project
- checks out the saved session branch first when needed
- prompts for a commit message when the working tree is dirty
- checks whether there is shippable work on the branch
- prompts for PR summary, testing, and notes when a PR may be created
- fetches and rebases onto
origin/<base-branch> - pushes the session branch to
origin - reuses an existing open PR for the branch or creates a new one
- checks out the base branch before marking the session ended
- prompts whether to keep or delete the local session branch
- if checkout, commit, rebase, push, PR lookup, or PR creation fails, the session stays open
- if checkout back to the base branch fails after PR creation, the PR may exist but the session is not marked ended
Lists tracked projects across the local system.
sess projects- shows tracked repository path
- shows whether the project is idle, active, or paused
- includes branch, elapsed time, and issue number for active or paused sessions
- marks the current working directory with
*
Shows recent session history for the tracked project in the current directory.
sess history
sess history --limit 20
sess history --all- fails if the current directory is not a tracked project
--allshows recent sessions across all tracked projects instead of the current directory- shows the newest sessions first
- includes active, paused, and ended sessions
- shows elapsed time, issue metadata, and PR metadata when available
- limits output to the most recent sessions, defaulting to 10
Shows aggregate session statistics for the tracked project in the current directory.
sess stats
sess stats --all- fails if the current directory is not a tracked project
--allaggregates across all tracked projects instead of the current directory- summarizes total sessions and accumulated elapsed time
- includes average session duration and longest recorded session
- counts active, paused, and ended sessions
- counts sessions with linked PR metadata
- reports the first and most recent recorded session start times
Shows a compact session report with summary metrics and recent sessions.
sess report
sess report --limit 8
sess report --all- fails if the current directory is not a tracked project
--allreports across all tracked projects instead of the current directory- combines aggregate stats with a recent-session summary
- includes longest-session metadata and recent issue or PR context when available
- limits the embedded recent-session list, defaulting to 5
Run:
sess --help
sess --versionThe version output is formatted as:
- tagged release, for example
SESS v0.3.1 - development build, for example
SESS dev-abc1234