session_end
End the current session and persist its findings for future briefings. Record any mishaps for recurrence review, then close out open work.
Instructions
Complete the current session, persisting its findings for future briefings. Uses the bound session unless you pass one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mishaps | No | Self-report mishaps this session caused: an action a warning or convention said not to take, live state touched by mistake, a command that hit the wrong target. Pass an array with one short entry per incident; omit when none happened. When a mishap violated a stored memory, name that memory by its exact slug in the entry (e.g. "violated chroma-boot-race by ...") -- the report is then linked to it. Recorded for recurrence review, not blame -- report them even when fully recovered. | |
| session | No | Session to operate on: a name (the cc/<id> or cx/<id> on your briefing's 'Seam session' line, or a sess/* name) or a session ULID. Defaults to this connection's session -- bound automatically for Claude Code and Codex agents -- so pass it only to act on another session, or when a call reports the session as ambiguous | |
| findings | Yes | Final findings: what was learned, decided, or left open. Prefer a tight summary (briefings show a short preview), but long findings are stored in full -- they are not rejected. | |
| session_id | No | Session ULID to operate on; takes precedence over session and the bound session |