Skip to main content
The detail bugs command group lets you list, inspect, resolve, and dismiss AI-detected bugs from the terminal. You can filter findings by status, author, time range, or scan, and triage them individually without leaving your workflow.

detail bugs list [REPO]

List bugs for a repository.
Arguments Flags
Filters like --vulns, --introduced-by, --since, and --until are applied client-side after fetching all matching bugs. For large repositories, adding --scan-id first narrows the server-side result set and can speed things up considerably.
Examples

detail bugs show <BUG_ID>

Show the full AI-generated report for a single bug, including its title, affected file, security classification, introduction commit, and review history.
Arguments Flags Examples

detail bugs close <BUG_ID>

Resolve or dismiss a bug. When you run this command in a terminal without --state, Detail prompts you interactively to choose a close state, dismissal reason, and optional notes.
Arguments Flags
--state pending is not valid for close. Use detail bugs reopen to move a bug back to pending.
Examples
When running in a terminal, you can omit all flags and Detail will walk you through the prompts step by step.

detail bugs reopen <BUG_ID>

Reopen a previously resolved or dismissed bug, flipping it back to pending. Use this when a fix is reverted or a “won’t fix” decision is overturned.
Arguments Examples