Skip to main content

History

The History tab is the persistent record — every session, every approval decision — searchable, filterable, exportable.

Two subtabs​

History splits into two views you switch between in the tab header:

  1. Sessions browser — every session, ended or in-flight.
  2. Approval audit log — every decision the daemon ever resolved, with who decided.

Sessions browser​

A table of past and current sessions, with the right drawer showing details for whichever row you select.

Columns

  • When — start time
  • Session ID — short prefix; click to open the drawer
  • State — ended / working / awaiting / stuck
  • Project — repo or top-level directory
  • cwd — working directory
  • Tools — count of tool events
  • Approvals — count of permission requests resolved in this session

Search

The search bar runs full-text search across:

  • User prompts
  • Tool inputs (commands, file paths, URLs, etc.)
  • Session summaries

Filters

  • When — any / 24h / 7d / 30d
  • Repo — discovered dynamically from the sessions on disk
  • Approvals — sessions with / without permission requests

Drawer actions

When a session is selected, the right drawer shows its summary, a stats grid (events, approvals, state, truncated flag), and the per-session approval audit. From there you can:

  • Export the transcript to a markdown file or to clipboard.
  • Delete the session (only ended sessions can be deleted; the approval audit log entries survive).

Approval audit log​

A table of every permission decision ccmon has resolved.

Columns

  • When — resolved time
  • Decision — allow / deny / ask
  • Resolved by — UI / CLI / notification / timeout / rule
  • Tool + input — the request itself
  • cwd — where it ran
  • Time-to-decide — how long the request was pending

Filters

  • Decision — all / allow / deny / ask
  • Decided by — all / UI / CLI / notification / timeout / rule
  • Tool — Bash / Edit / Read / Write / Grep / WebFetch / …

The header shows decision-count summaries for the current filter.

Promote to rule

Every non-rule decision has a Promote button — it drafts a new auto-approve rule pre-filled from the request (tool, pattern, cwd) and opens the Rules editor with dry-run on by default so you can verify it matches the right traffic before letting it decide.

Retention​

Old sessions are pruned per your retention setting. The approval audit log is preserved across session deletion — the audit is the source of truth for "what did the agent ask for, and what did we say." See Settings → Retention to configure.