Skip to content
Raw Markdown

Issues commands

Triage the issues Cassis raised on the project without leaving the checkout: list the issues, read the diagnosis and the evidence behind them, and record the outcome.

These commands work on the same queue as the Issues page and the MCP issue tools. Like the other project-bound commands, the project id comes from cassis/project.yml in the checkout, CASSIS_PROJECT_ID, or --project.

issues list

Lists the project’s issues, most important first: priority (P1 to P3, then unranked), then impact, then reach, then how the issue was found (dbt findings first), then recurrence. One line per issue, in aligned columns: its id, impact, occurrence count, origin (conversation, eval, or dbt), reach, status, context domain, and title. The id is what the other issues commands take.

# The open triage queue is the default
cassis issues list

# Include open, resolved, and dismissed issues
cassis issues list --status all

# Narrow by impact or cause
cassis issues list --impact wrong_answer --cause ontology_gap

# Triage one context domain at a time (`sales` also covers `sales/pipeline`)
cassis issues list --domain sales

# Raw JSON
cassis issues list --json
Filters
--status (open, the default; resolved; dismissed; all), --impact (wrong_answer, at_risk, unreliable_answer, no_answer, inefficient), --cause (ontology_gap, missing_data), --domain (a context domain path, which covers the domains nested under it). All optional and combinable. at_risk is the impact of issues filed from dbt changes.
Reach
reach 12 counts the chat answers that used any of the issue’s context tables in the last 30 days, each answer once. It says how much the issue touches, not how many answers were wrong. reach - means not measured: the issue names no table of the context, for instance data not added yet.
Output
One line per issue, or the full records with --json, which carry origin, reach_count, reach_window_days, detected_by, and the routing fields owners and owner_domain.

issues show

Shows one issue in full: its diagnosis, suggested action, whether a fix proposal exists, status history, and the occurrences behind it. It also prints the issue’s reach (not measured when it names no table of the context), its evidence (removed from dbt, an AI review suggestion, user feedback, a failed eval, or the chat analysis), and for an issue filed from a dbt change, its origin: the model, column, commit, and pull request. Each occurrence’s id feeds issues evidence. A dismissed issue includes its reason and optional detail. An applied fix that is not published yet is shown as awaiting publication.

cassis issues show 019f0000-0000-7000-8000-0000000000e1

An Owners: line names who the issue is routed to: the owners declared on its domain or inherited from the nearest parent, exactly as written there (an email, slack:@group, github:@user, or github:@org/team). --json carries them as owners, with owner_domain naming the domain that declares them. An issue with no owner prints no line. Needs cassis-cli 3.7.

An open issue also prints a PR mention: line, Resolves <id>. Paste it into the pull request description. With the connected GitHub App, the matching issue closes after successful publication (see below). A closed issue prints Resolved via: instead: how it was closed (by a person, an applied fix proposal, a merged fix branch, or a PR mention) and the pull request it came through when there was one. --json carries the same as resolved_via and resolved_ref.

The PR mention line needs cassis-cli 2.3 against a project on a server with mention support.

issues evidence

Prints the evidence behind one occurrence, joined back from its source: the generated SQL and its results, the agent’s process log, and either the user’s rating (a chat) or the judge’s verdict (an eval failure). Read it when the extracted fields are not enough to judge an issue.

cassis issues evidence 019f0000-0000-7000-8000-0000000000e1 019f0000-0000-7000-8000-0000000000c1

Issues from chats

The queue fills on its own. About 10 minutes after a chat with Cassis goes quiet, Cassis turns what went wrong in it into issues, and a chat that moves again (a new turn, an edit, a rating) is taken up again. A project’s chats are taken up once it has a published context. No command starts this: remove cassis issues analyze from scripts and CI jobs, since cassis-cli 3.8 has no such command and the server refuses it from an older CLI.

issues resolve, dismiss, reopen

Set the issue’s status: resolve once the context change that fixes it is published, dismiss for issues you deliberately will not act on, reopen to put a resolved or dismissed issue back in the queue. Status changes require the editor or admin role.

With the connected GitHub App, put Resolves <id> in the PR description to close the matching issue after successful publication. Check the published version and issue status after merge. Other providers and custom CI publishers need explicit resolve or their own automation.

cassis issues resolve 019f0000-0000-7000-8000-0000000000e1 --published
cassis issues dismiss 019f0000-0000-7000-8000-0000000000e1 --reason duplicate --detail "Covered by the billing issue"
cassis issues reopen 019f0000-0000-7000-8000-0000000000e1

dismiss requires one of four reasons: invalid, irrelevant, duplicate, or declined. Add --detail when the reason alone does not preserve enough context. resolve asks you to confirm that the fix is already published; pass --published explicitly in a non-interactive command.

Exit 1 when the issue or occurrence does not exist in the project; nothing is changed.

Resolving records an outcome, it does not change the context. The typical loop from a checkout: read the issue and its evidence, fix the gap in the context files, prove the fix with cassis eval run or cassis context test, then open the pull request with Resolves <id> in its description. Confirm the GitHub App or configured publishing job succeeds and the published version contains the fix, then check the issue status.