Bulk archive for Code tab sessions — single confirmation for a batch, not one dialog per session
Today, archiving a session in the Code tab (via the sidebar icon, or by asking Claude to archive one) always shows a one-time approval card — confirmed in the docs, and it's clearly intentional (fires in every permission mode, including Auto and Bypass). That's the right call for a single session.
The gap is at scale. There's no way to clear an accumulated backlog without clicking through that same card once per session. In my case: 650+ idle sessions (30+ days with no activity, none running, none scheduled-task-linked) sitting in one project's sidebar. Archiving them means 650 individual approval clicks — there's no multi-select in the sidebar, and no MCP/CLI path that batches the confirmation.
Request: keep the safety intent (a human still approves before anything is archived) but let that approval cover a batch:
- Sidebar: a multi-select mode (checkboxes or shift-click) with a single "Archive selected" action and one confirmation summarizing the count.
- MCP/agent path: a batch tool (e.g.
archive_sessions_batch(session_ids: [...])) that shows one approval card listing what's about to be archived, rather than looping the single-session tool N times.
Either surface alone would fix this — happy to test if there's a beta flag.
How to test: create 20+ idle sessions in a project, confirm today's behavior requires 20+ separate clicks to archive them, confirm the new path collapses that to one approval covering all selected/passed IDs.