Kirsch documentation · v0.1.5
Everyday tasks
Short answers to the things you do most days in Kirsch.
Resume where you left off
Every turn is recorded to a local session log. Start Kirsch again in the same repository and, by default, it resumes the most recent session for that workspace, including its session grants. You can also ask for it explicitly:
kirsch resume
If another Kirsch is already running in the workspace, Kirsch starts a fresh session instead and says so. Auto-resume is controlled by session.auto_resume.
Start a fresh session
From the command line, even when a previous session exists:
kirsch --new
Inside Kirsch, type:
/new
/new asks you to confirm first if a turn is running. A new session starts with no session grants.
Approve or reject a command or patch
When Kirsch wants to change a file or run a command that needs approval, an approval card appears and waits:
| Key | Action |
|---|---|
y | Approve, this once |
n | Reject |
d | See the detail first — the diff for a patch, or the full command and its environment for a command |
Esc / Ctrl+C | Cancel the turn — recorded as cancelled, not rejected |
A patch always waits for your approval, and no setting turns that off. Which commands wait is explained in The approval model.
If you press another key while a card is waiting, the card is released and the composer shows approval pending — Tab to return to the card. Press Tab or Shift+↑ to bring the card back.
Approve a command for the rest of the session
On a command card, press a instead of y. That means "stop asking me about this command for the rest of this session". Only run_command cards offer it; a patch is a different change every time, so patches never do.
The status bar shows how many grants are active. To list them, and to clear them:
/approvals
Grants live and die with the session. kirsch resume restores them, and a grant you clear stays cleared after a resume. A new session, including one started with /new, starts with none.
Compact a long conversation
When a conversation outgrows the context budget, Kirsch compacts it automatically: the original task and the most recent turns are kept word for word, and the turns between them are replaced by a structured summary. To do it now:
/compact
The session line in the header shows (compacted) once the session has been compacted.
Check the session with /status
/status
/status shows a notice summarising the session — for example the model, endpoint, branch, dirty count, token totals and compaction level. It names the variable that supplied your API key, never its value.
The status bar under the transcript also shows the model, the current state, the session's token totals and cost, and any active session grants.
See what changed
| Command | What it shows |
|---|---|
/diff | The unstaged working-tree diff, in a modal |
/files | The files changed by approved patches this session. A resumed session starts this list empty |
Quit
Type /quit or /exit, or press Ctrl+C twice within a second.
These pages describe Kirsch v0.1.5. Source: the doc folder for v0.1.5 on GitHub · releases.