cassis-cli 3.4.0__tar.gz → 3.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/PKG-INFO +107 -14
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/README.md +106 -13
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/api.py +314 -12
- cassis_cli-3.6.0/cassis_cli/chats.py +204 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/common.py +3 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/dbt.py +7 -1
- cassis_cli-3.6.0/cassis_cli/eval.py +2351 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/guide.py +1 -1
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/issues.py +7 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/main.py +2 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/ontology.py +178 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/ontology_design_guide.md +18 -2
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/verify.py +3 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/pyproject.toml +1 -1
- cassis_cli-3.4.0/cassis_cli/eval.py +0 -1148
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/LICENSE +0 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/NOTICE +0 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/__init__.py +0 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/projects.py +0 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/schema.py +0 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/schema_plan.py +0 -0
- {cassis_cli-3.4.0 → cassis_cli-3.6.0}/cassis_cli/status.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cassis-cli
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.6.0
|
|
4
4
|
Summary: Validate, test and evaluate your Cassis context from your terminal, then publish it
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
License-File: LICENSE
|
|
@@ -33,16 +33,18 @@ Validate, test and evaluate your context from your terminal, then publish it. Th
|
|
|
33
33
|
- The CLI identifies itself to the API (`User-Agent: cassis-cli/<version>`), and successful API responses advertise the newest published version. When you are behind, commands print a one-line upgrade notice on stderr (purely informational; output and exit codes are unchanged).
|
|
34
34
|
- `cassis eval run` runs the project's eval suite against your local context files (scored in-memory, nothing is pushed to Cassis) and prints per-question results, so you can test the changes on your git branch before merging.
|
|
35
35
|
- `cassis context test` runs individual questions through the text-to-SQL agent using your local context files, so you can check that a change actually works (e.g. a new column gets picked), where `eval run` only checks for regressions on existing eval cases.
|
|
36
|
-
- `cassis eval add-case` adds a gold question/SQL case to the project's eval suite: after fixing a context issue, add the question users were failing on so `eval run` guards it from regressing. Cassis then runs the new case three times in the background, and `eval list-cases` flags it if the attempts fail or disagree.
|
|
37
|
-
- `cassis eval run --repeat N` runs every case N times (2 to 5) on the same context and model and compares the attempts per case: which cases flipped, and whether a flip came from the agent writing different SQL or the judge ruling differently on the same SQL. `cassis eval
|
|
38
|
-
-
|
|
36
|
+
- `cassis eval add-case` adds a gold question/SQL case to the project's eval suite: after fixing a context issue, add the question users were failing on so `eval run` guards it from regressing. Cassis then runs the new case three times in the background, and `eval list-cases` flags it if the attempts fail or disagree. When the fix is still in a pull request, pass `--pending-change`: the check waits for the next publication instead of failing on a context that lacks the change. `cassis context test -q "..." --save-case` does the same from a probe that succeeded on your checkout.
|
|
37
|
+
- `cassis eval run --repeat N` runs every case N times (2 to 5) on the same context and model and compares the attempts per case: which cases flipped, and whether a flip came from the agent writing different SQL or the judge ruling differently on the same SQL. `cassis eval show <run-id>` prints that comparison again. A repeat run measures noise: it opens no issue, is not the run shown before publishing, and exits 1 only when a case failed every attempt.
|
|
38
|
+
- Runs freeze their SQL dialect and query guidance. Runs with different source settings are kept separate when measuring noise; historical runs without those settings remain explicitly unknown.
|
|
39
|
+
- `cassis eval list-cases`, `cassis eval history` and `cassis eval delete-case` maintain the suite: list the current cases with their ids (flagging those whose gold SQL reads tables the context lacks), see how one case has behaved across runs (pass rate, whether repeated runs under one configuration disagree, divergences and timings), and prune one that is stale or wrong (e.g. its gold SQL encodes a definition the context has since changed). `cassis eval history` counts a repeat run as one run with its attempts, and prints each result's error, why result comparison did not apply, and the comparison rule that decided it.
|
|
40
|
+
- `cassis eval runs` lists the project's recent eval runs, newest first (`--limit`, default 20; `--json` for the server's list): each run's id, status, the context it scored, where it came from (CLI, CI, scheduled, Evals page, ...), the model and how many results passed (attempts on a repeat run, and how much of the suite a change-scoped run covered), and for a run the spending protection did not start, why. Exits 3 on a server too old to list runs.
|
|
39
41
|
- `cassis schema plan <ddl>` (or `--warehouse` on a project connected to a warehouse) previews what a schema update would change before anything is applied: the source schema diff, the context changes Cassis will make (every change on a table placed in the context, with everything a drop takes with it) and warnings, terraform-style. `cassis schema apply <ddl>` (or `--plan <id>`) writes the resulting context files into the local checkout, app untouched, for review with `git diff`. `cassis schema push <ddl> [--publish]` pushes the new schema and the local context to the app (`--yes` in CI). The file speaks only for the schemas it contains: pass `--complete` when it is the project's complete source schema so schemas absent from it are treated as dropped. With `--warehouse` the server introspects the connected warehouse instead of parsing a file; the plan is always whole-source. `cassis schema plan <ddl> --dry-run` is the prepare-ahead variant: the plan is computed synchronously and nothing is kept in Cassis (no plan to apply or resume, the current plan untouched), so the schema snapshot for a change still in a PR can be planned against safely; `--write-checkout` writes the context files it would produce into the checkout, to commit alongside the schema change.
|
|
40
42
|
- `cassis projects list` lists the projects your API key can reach: id (what `--project` and `CASSIS_PROJECT_ID` take), name, published context version, and data-source dialect. A pipeline or agent can discover the project id from the terminal instead of fishing it out of a webapp URL.
|
|
41
43
|
- DDL imports describe one schema snapshot/export file, including ordinary and materialized views; they do not replay incremental migrations. Extraction diagnostics include object names and statement locations. If extraction is incomplete, `schema plan` and `--dry-run` show the extracted inventory and exit 1; `apply`, `push`, and `--write-checkout` cannot save that result. Unknown column types are warnings when all output names are known. Plans also show object-kind, view-definition, comment, and constraint changes. `--json` preserves structured diagnostics and the server-capped inventory.
|
|
42
44
|
|
|
43
45
|
- `cassis status` shows the project's published version (number, label, git commit), whether unpublished changes await publication, the git-sync binding, a schema plan waiting to be applied, and how your local git HEAD relates to the published commit (in sync / N commits ahead / diverged). `cassis status --watch` polls until the published commit matches your local HEAD (e.g. right after merging a PR whose CI publishes the context) instead of watching the GitHub Actions tab.
|
|
44
46
|
- `cassis issues` triages the issues Cassis raised on the project (what it found wrong while answering questions: a context gap, missing data) without leaving the checkout: `issues list` (filterable by status, impact, cause and context domain, and showing each issue's domain so you can work through one domain at a time; and each issue's reach, the chat answers that used its context tables in the last 30 days), `issues show <id>` for the diagnosis, suggested action, the occurrences behind it, its reach and evidence (removed from dbt, an AI review suggestion, user feedback, a failed eval, or the chat analysis), `issues evidence <id> <occurrence-id>` for what the agent actually saw, and `issues resolve` / `dismiss` / `reopen` once you've acted on it. When the fix ships through a pull request, write the `PR mention:` line `issues show` prints (`Resolves <id>`) in the PR description instead: Cassis resolves the issue when the PR merges, and `issues show` then reports how it was closed and through which PR.
|
|
45
|
-
- `cassis dbt push` sends your dbt project's artifacts (`target/manifest.json`, and `catalog.json` when present) to Cassis from the dbt project's CI, with the commit they were built from. Cassis checks the files, matches each dbt model, seed, snapshot and source to a table of the project's data source, and keeps the upload as the project's dbt baseline unless a newer one is already there. The command prints how many relations matched and how many tests they declare. Cassis compares the upload with the previous baseline and
|
|
47
|
+
- `cassis dbt push` sends your dbt project's artifacts (`target/manifest.json`, and `catalog.json` when present) to Cassis from the dbt project's CI, with the commit they were built from. Cassis checks the files, matches each dbt model, seed, snapshot and source to a table of the project's data source, and keeps the upload as the project's dbt baseline unless a newer one is already there. The command prints how many relations matched and how many tests they declare. Cassis compares the upload with the previous baseline and saves findings about the context the merged change puts in doubt for grouping and issue curation. The command distinguishes findings awaiting curation from published issues, printing the source observation for pending findings and links for published issues. Nothing the agent answers with changes.
|
|
46
48
|
- `cassis dbt check` runs the same comparison on a pull request, before the change merges: it uploads the PR's artifacts (after `dbt compile` on the production target), compares them with the baseline, and prints the context tables, columns, joins and metrics the change puts in doubt, with why it matters and the context change to make. Each finding also says its **reach**, how many chat answers used its context tables in the last 30 days, and within each section the most-reached objects print first, the order the Review page will show them in. Findings are advisory: nothing is filed, the baseline doesn't move, and the check exits 0 with or without findings.
|
|
47
49
|
- `cassis verify` runs the full local gate in one verb (`context fmt --check`, `context check`, `eval run`), stopping at the first failure. One command in a checkout ("is this change safe to merge?"), one job in CI. `--no-eval` skips the eval suite.
|
|
48
50
|
|
|
@@ -126,6 +128,10 @@ carrying the same sensitivity as the queries themselves when you decide who can
|
|
|
126
128
|
# (one full agent run per question, expect ~30-90s each; repeat -q for several):
|
|
127
129
|
cassis context test --project ... -q "How much was refunded last month?" -q "Net revenue in Q1?"
|
|
128
130
|
|
|
131
|
+
# Happy with a probe's SQL? Keep it as an eval case in the same command
|
|
132
|
+
# (question + the SQL it produced; a probe that failed or asked is skipped):
|
|
133
|
+
cassis context test --project ... -q "Net revenue in Q1?" --save-case
|
|
134
|
+
|
|
129
135
|
# Add a gold case to the eval suite (rejected if the exact question already exists):
|
|
130
136
|
cassis eval add-case --project ... -q "How much was refunded last month?" \
|
|
131
137
|
--gold-sql "SELECT SUM(refunded_cents) / 100.0 FROM public.orders WHERE ..."
|
|
@@ -134,17 +140,30 @@ cassis eval add-case --project ... -q "How much was refunded last month?" \
|
|
|
134
140
|
cassis eval add-case --project ... -q "How much was refunded last month?" \
|
|
135
141
|
--gold-sql-file refunds.sql
|
|
136
142
|
|
|
143
|
+
# A question the context must decline needs no gold SQL:
|
|
144
|
+
cassis eval add-case --project ... -q "Why did customers ask for refunds?" --expect cannot-answer
|
|
145
|
+
|
|
137
146
|
# List the suite's cases (id + question, a warning under any case whose gold SQL
|
|
138
147
|
# reads tables the context lacks; --json adds the gold SQL and the footprint;
|
|
139
148
|
# --branch <name> resolves against a context branch), see how one has behaved
|
|
140
149
|
# across runs, then prune one:
|
|
141
150
|
cassis eval list-cases --project ...
|
|
142
151
|
cassis eval history 019f0000-0000-7000-8000-0000000000ca --project ...
|
|
152
|
+
cassis eval runs --project ... # the latest runs: status, context, origin, model, passes
|
|
143
153
|
cassis eval delete-case 019f0000-0000-7000-8000-0000000000ca --project ...
|
|
144
154
|
|
|
145
155
|
# Run the suite 3 times to see which cases flip, and why; print it again later:
|
|
146
156
|
cassis eval run --repeat 3
|
|
147
|
-
|
|
157
|
+
|
|
158
|
+
# Preview conservative change selection without model calls (--base <version-id>
|
|
159
|
+
# picks the published version to compare against; it needs --changed). It lists the
|
|
160
|
+
# selected cases and counts the skipped ones per reason; --verbose lists every one:
|
|
161
|
+
cassis eval run --changed --dry-run
|
|
162
|
+
# Run the selection; incomplete dependencies always run. The summary says how much
|
|
163
|
+
# of the suite ran ("3/3 passed · 3 of 15 cases (affected by a context change)"):
|
|
164
|
+
cassis eval run --changed
|
|
165
|
+
# Print a run by id: its results and verdict, or how a repeat run's attempts compare:
|
|
166
|
+
cassis eval show 019f0000-0000-7000-8000-00000000aaaa --project ...
|
|
148
167
|
|
|
149
168
|
# Pull the source schema into <base-path>/.schema.json (gitignored local snapshot):
|
|
150
169
|
cassis schema pull
|
|
@@ -173,7 +192,8 @@ cassis issues show 019f0000-0000-7000-8000-0000000000e1
|
|
|
173
192
|
# Work one context domain at a time (nested domains included):
|
|
174
193
|
cassis issues list --domain sales
|
|
175
194
|
|
|
176
|
-
#
|
|
195
|
+
# Issues are shared with the project; source evidence respects conversation access.
|
|
196
|
+
# Read what the agent saw for one readable occurrence (ids from `issues show`):
|
|
177
197
|
cassis issues evidence 019f0000-0000-7000-8000-0000000000e1 019f0000-0000-7000-8000-0000000000c1
|
|
178
198
|
|
|
179
199
|
# Close the loop once the fix is published (or reopen). When the fix ships in a pull
|
|
@@ -187,7 +207,7 @@ cassis status
|
|
|
187
207
|
cassis status --watch --timeout 600
|
|
188
208
|
|
|
189
209
|
# In the dbt project's CI, after a merge to the production branch: write the manifest and the
|
|
190
|
-
# catalog, then send them (findings are
|
|
210
|
+
# catalog, then send them (findings are saved for issue curation). On GitHub Actions, expose GITHUB_TOKEN to
|
|
191
211
|
# the step so the push names the pull request that merged the commit:
|
|
192
212
|
dbt docs generate --target prod
|
|
193
213
|
cassis dbt push target --project ...
|
|
@@ -208,12 +228,13 @@ Configuration (flags take precedence over env vars):
|
|
|
208
228
|
| `--api-key` | `CASSIS_API_KEY` | none (required) |
|
|
209
229
|
| `--api-url` | `CASSIS_API_URL` | `https://app.getcassis.com` |
|
|
210
230
|
| `--base-path` | `CASSIS_BASE_PATH` | `cassis`, must match the project's git-sync "Path" setting |
|
|
211
|
-
| `--project` (check, pull, upload, schema pull, eval run, eval add-case, eval list-cases, eval history, eval
|
|
231
|
+
| `--project` (check, pull, upload, schema pull, eval run, eval add-case, eval list-cases, eval history, eval runs, eval show, eval delete-case, test, issues, dbt push, dbt check) | `CASSIS_PROJECT_ID` | the id in `<base-path>/project.yml` (required before the first pull; `check` alone falls back to the project-less validation when unbound) |
|
|
212
232
|
|
|
213
233
|
`cassis eval run` also accepts `--case <id>` (repeatable; run only the named
|
|
214
234
|
cases, ids from `eval list-cases` or `add-case`), `--label` (run label in the Evals page; defaults
|
|
215
235
|
to the branch name from the CI environment or the local git checkout; rejected
|
|
216
|
-
with `--branch`, whose runs are labelled with the branch name), `--
|
|
236
|
+
with `--branch`, whose runs are labelled with the branch name), `--verbose` (with `--changed`: list every
|
|
237
|
+
skipped case instead of a count per reason), `--wait/--no-wait`, `--poll-interval` (5 s),
|
|
217
238
|
`--timeout` (30 min; the run keeps going server-side if the CLI stops waiting),
|
|
218
239
|
and Ctrl-C cancels the run (exit 130). It prints a deep link to the run's page
|
|
219
240
|
in the Evals UI; `--app-url` / `CASSIS_APP_URL` overrides the link's base URL
|
|
@@ -237,10 +258,11 @@ cassis context fmt --check
|
|
|
237
258
|
|
|
238
259
|
| Code | Meaning |
|
|
239
260
|
| ---- | ------------------------------------------------------------------------------ |
|
|
240
|
-
| 0 | Context is valid (check) / pulled (pull) / uploaded (upload) / eval run completed
|
|
241
|
-
| 1 | Validation failed (check: findings printed; upload: nothing imported; eval run: invalid tree
|
|
242
|
-
| 2 | Usage error (missing API key or project, no context directory, unreadable file, tree over the size limits, `eval run --branch` naming a context branch the project does not have, `upload` or `schema push` outside a git checkout or with uncommitted context files, `dbt push` or `dbt check` without a manifest.json, outside a git checkout without `--commit`, or with an artifact over the size limits) |
|
|
243
|
-
| 3 | Transport/API error (unreachable API, invalid key, inaccessible project, unexpected response), another eval run or issue analysis already active, out of credits, `--timeout` reached, or Cassis failed on its side while processing a dbt upload (`dbt push` / `dbt check`: nothing to fix in the upload, push again) |
|
|
261
|
+
| 0 | Context is valid (check) / pulled (pull) / uploaded (upload) / eval run completed with no regression: every case passed, already failed on the base run, or is pending the change it guards (eval run) / every probe completed (test, whatever its outcome; probes are informational, don't gate CI on them) / dbt upload accepted, or kept behind a newer one (dbt push) / dbt upload checked, with or without findings (dbt check) |
|
|
262
|
+
| 1 | Validation failed (check: findings printed; upload: nothing imported; eval run: invalid tree or a regression, a case whose answer fails now and passed on the base run; test: invalid tree or a probe failed; add-case: duplicate question or gold SQL that does not run; delete-case, history: no such case in the project; show: no such run in the project; issues: no such issue or occurrence in the project; issues analyze: failed or cancelled analysis run; schema plan/apply: extraction is incomplete, the plan failed (unparseable or truncated DDL), is stale or expired, the apply failed, or the project won't accept it (a plan is being applied, a DDL was given for a warehouse-connected project, or --warehouse for a DDL-only one); dbt push: the upload was refused or rejected (a file is invalid, too large or from an unsupported dbt version, or no relation matches the project's data source); dbt check: the upload was refused or rejected (an invalid file, or no baseline yet: run `cassis dbt push` first)) |
|
|
263
|
+
| 2 | Usage error (missing API key or project, no context directory, unreadable file, tree over the size limits, `eval run --branch` naming a context branch the project does not have, `eval run --base` naming a published version the project does not have or given without `--changed`, `eval run --dry-run --case` naming no current case, `upload` or `schema push` outside a git checkout or with uncommitted context files, `dbt push` or `dbt check` without a manifest.json, outside a git checkout without `--commit`, or with an artifact over the size limits) |
|
|
264
|
+
| 3 | Transport/API error (unreachable API, invalid key, inaccessible project, unexpected response, a server too old for the command or option), another eval run or issue analysis already active, out of credits, `--timeout` reached, or Cassis failed on its side while processing a dbt upload (`dbt push` / `dbt check`: nothing to fix in the upload, push again) |
|
|
265
|
+
| 4 | `eval run` reached no verdict: the run failed or was cancelled on Cassis's side, or the cases that did not pass errored instead of failing (agent, judge or warehouse errors, a broken gold SQL). Nothing says the context regressed: rerun, or read the errors |
|
|
244
266
|
|
|
245
267
|
Commands that send the local tree (`check`, `fmt`, `upload`, `eval run`, `test`) accept up to
|
|
246
268
|
20,000 context files / 100 MB total (path + content bytes), sized for a context of
|
|
@@ -348,3 +370,74 @@ requires an account.
|
|
|
348
370
|
|
|
349
371
|
Apache License 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
|
350
372
|
|
|
373
|
+
|
|
374
|
+
## Read conversations and their analyses
|
|
375
|
+
|
|
376
|
+
These commands read saved conversations and reports. They never start an analysis,
|
|
377
|
+
retry a failed run, execute SQL or make a model call. Use the same API key and
|
|
378
|
+
project selection as other commands (`CASSIS_API_KEY`, `--project`, or the
|
|
379
|
+
checkout's `cassis/project.yml`). Requires a server with the conversation API.
|
|
380
|
+
|
|
381
|
+
```bash
|
|
382
|
+
cassis chats list --limit 20
|
|
383
|
+
cassis chats list --review needs-attention --feedback down --since 2026-11-01
|
|
384
|
+
cassis chats list --search revenue --offset 20
|
|
385
|
+
cassis chats show <chat-id>
|
|
386
|
+
cassis chats show <chat-id> --analysis-only
|
|
387
|
+
cassis chats show <chat-id> --trace
|
|
388
|
+
cassis chats show <chat-id> --trace-entry trace:<message-id>:<index>
|
|
389
|
+
cassis chats show <chat-id> --json
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
`list` sorts by latest message, returns up to 20 chats by default (maximum 100
|
|
393
|
+
per page), and reports the total and next offset. Filters combine with AND.
|
|
394
|
+
`--feedback` accepts `up`, `down`, `any`, or `none`; a conversation with both
|
|
395
|
+
positive and negative feedback matches both `up` and `down`. `--review
|
|
396
|
+
needs-attention` selects completed latest reports containing a potential problem,
|
|
397
|
+
not improvement suggestions alone. `--since` includes conversations created or
|
|
398
|
+
with a message posted at or after the given ISO date or timestamp; dates and
|
|
399
|
+
naive timestamps use UTC.
|
|
400
|
+
|
|
401
|
+
`show` prints messages, generated SQL, feedback, then the saved analysis with its
|
|
402
|
+
citations and next steps. Traces are compact by default; `--trace` adds previews
|
|
403
|
+
limited to 500 characters per entry, and `--trace-entry` opens one entry in full.
|
|
404
|
+
The entry identifiers match the analysis's trace references. `--json` returns the
|
|
405
|
+
full messages and traces without those display limits; `--analysis-only --json`
|
|
406
|
+
returns the analysis view. If a retry failed, the previous completed report is
|
|
407
|
+
shown with the failed status. Missing analyses are reported explicitly.
|
|
408
|
+
|
|
409
|
+
Members can read their own chats; administrators can read chats in accessible
|
|
410
|
+
projects. API keys scoped to a project cannot reach another one. `--app-url`
|
|
411
|
+
sets the base URL for browser links when the webapp and API use different hosts
|
|
412
|
+
or ports. JSON list responses include `url` on each item and `next_offset`.
|
|
413
|
+
Exit codes: 0 on a successful read (even with no report or an empty list), 1 for
|
|
414
|
+
an inaccessible/missing chat or trace entry, 2 for invalid arguments, 3 for API
|
|
415
|
+
or authentication errors.
|
|
416
|
+
|
|
417
|
+
### Result comparison expectations
|
|
418
|
+
|
|
419
|
+
`cassis eval add-case` and `cassis eval replace-case` take `--compare`. Its
|
|
420
|
+
default rules are a 1% numeric tolerance with rounding, any row order, columns
|
|
421
|
+
paired by value, and an empty result rejected. Each word changes one rule, and
|
|
422
|
+
words combine with commas: `exact` (numbers match exactly, for counts and
|
|
423
|
+
identifiers), `ordered` (row order matters, for rankings and top-N questions)
|
|
424
|
+
and `allow-empty` (an empty result is a valid answer). `--compare ordered,exact`
|
|
425
|
+
checks a ranking of counts; `--compare default` goes back to the default rules.
|
|
426
|
+
|
|
427
|
+
On replacement, an omitted `--compare` keeps the case's settings. Changing settings creates a new
|
|
428
|
+
case; historical results retain the rules they were scored with. `list-cases`
|
|
429
|
+
and `run` show explicit rules. On metadata-only sources, result comparison is
|
|
430
|
+
marked unapplied and the SQL judge remains in use: `add-case`, `replace-case`
|
|
431
|
+
and `list-cases` warn when a case sets rules there, since the question text
|
|
432
|
+
must carry anything that matters (ranked, each once, ...).
|
|
433
|
+
|
|
434
|
+
### Case health
|
|
435
|
+
|
|
436
|
+
Review suite quality without spending credits with `cassis eval health --project <id>`.
|
|
437
|
+
Use `--attention` to focus on cases needing review or `--json` for structured evidence.
|
|
438
|
+
The report uses the latest 50 results per case. Unchanged-context verdict transitions
|
|
439
|
+
are descriptive; model and configuration changes can also explain them. Cases are
|
|
440
|
+
never removed automatically: review the recommendation, then replace or delete the case.
|
|
441
|
+
|
|
442
|
+
Repeated failures that agree on category and dependency evidence can create linked issues. `cassis eval history <case-id>` lists those issues; `cassis issues show <issue-id>` lists supporting eval cases. Dropping or replacing a case detaches its active evidence. An issue supported by other cases or conversations stays open; an issue with no remaining evidence is dismissed, not marked fixed. Diagnostic repeats do not create issues themselves.
|
|
443
|
+
|
|
@@ -11,16 +11,18 @@ Validate, test and evaluate your context from your terminal, then publish it. Th
|
|
|
11
11
|
- The CLI identifies itself to the API (`User-Agent: cassis-cli/<version>`), and successful API responses advertise the newest published version. When you are behind, commands print a one-line upgrade notice on stderr (purely informational; output and exit codes are unchanged).
|
|
12
12
|
- `cassis eval run` runs the project's eval suite against your local context files (scored in-memory, nothing is pushed to Cassis) and prints per-question results, so you can test the changes on your git branch before merging.
|
|
13
13
|
- `cassis context test` runs individual questions through the text-to-SQL agent using your local context files, so you can check that a change actually works (e.g. a new column gets picked), where `eval run` only checks for regressions on existing eval cases.
|
|
14
|
-
- `cassis eval add-case` adds a gold question/SQL case to the project's eval suite: after fixing a context issue, add the question users were failing on so `eval run` guards it from regressing. Cassis then runs the new case three times in the background, and `eval list-cases` flags it if the attempts fail or disagree.
|
|
15
|
-
- `cassis eval run --repeat N` runs every case N times (2 to 5) on the same context and model and compares the attempts per case: which cases flipped, and whether a flip came from the agent writing different SQL or the judge ruling differently on the same SQL. `cassis eval
|
|
16
|
-
-
|
|
14
|
+
- `cassis eval add-case` adds a gold question/SQL case to the project's eval suite: after fixing a context issue, add the question users were failing on so `eval run` guards it from regressing. Cassis then runs the new case three times in the background, and `eval list-cases` flags it if the attempts fail or disagree. When the fix is still in a pull request, pass `--pending-change`: the check waits for the next publication instead of failing on a context that lacks the change. `cassis context test -q "..." --save-case` does the same from a probe that succeeded on your checkout.
|
|
15
|
+
- `cassis eval run --repeat N` runs every case N times (2 to 5) on the same context and model and compares the attempts per case: which cases flipped, and whether a flip came from the agent writing different SQL or the judge ruling differently on the same SQL. `cassis eval show <run-id>` prints that comparison again. A repeat run measures noise: it opens no issue, is not the run shown before publishing, and exits 1 only when a case failed every attempt.
|
|
16
|
+
- Runs freeze their SQL dialect and query guidance. Runs with different source settings are kept separate when measuring noise; historical runs without those settings remain explicitly unknown.
|
|
17
|
+
- `cassis eval list-cases`, `cassis eval history` and `cassis eval delete-case` maintain the suite: list the current cases with their ids (flagging those whose gold SQL reads tables the context lacks), see how one case has behaved across runs (pass rate, whether repeated runs under one configuration disagree, divergences and timings), and prune one that is stale or wrong (e.g. its gold SQL encodes a definition the context has since changed). `cassis eval history` counts a repeat run as one run with its attempts, and prints each result's error, why result comparison did not apply, and the comparison rule that decided it.
|
|
18
|
+
- `cassis eval runs` lists the project's recent eval runs, newest first (`--limit`, default 20; `--json` for the server's list): each run's id, status, the context it scored, where it came from (CLI, CI, scheduled, Evals page, ...), the model and how many results passed (attempts on a repeat run, and how much of the suite a change-scoped run covered), and for a run the spending protection did not start, why. Exits 3 on a server too old to list runs.
|
|
17
19
|
- `cassis schema plan <ddl>` (or `--warehouse` on a project connected to a warehouse) previews what a schema update would change before anything is applied: the source schema diff, the context changes Cassis will make (every change on a table placed in the context, with everything a drop takes with it) and warnings, terraform-style. `cassis schema apply <ddl>` (or `--plan <id>`) writes the resulting context files into the local checkout, app untouched, for review with `git diff`. `cassis schema push <ddl> [--publish]` pushes the new schema and the local context to the app (`--yes` in CI). The file speaks only for the schemas it contains: pass `--complete` when it is the project's complete source schema so schemas absent from it are treated as dropped. With `--warehouse` the server introspects the connected warehouse instead of parsing a file; the plan is always whole-source. `cassis schema plan <ddl> --dry-run` is the prepare-ahead variant: the plan is computed synchronously and nothing is kept in Cassis (no plan to apply or resume, the current plan untouched), so the schema snapshot for a change still in a PR can be planned against safely; `--write-checkout` writes the context files it would produce into the checkout, to commit alongside the schema change.
|
|
18
20
|
- `cassis projects list` lists the projects your API key can reach: id (what `--project` and `CASSIS_PROJECT_ID` take), name, published context version, and data-source dialect. A pipeline or agent can discover the project id from the terminal instead of fishing it out of a webapp URL.
|
|
19
21
|
- DDL imports describe one schema snapshot/export file, including ordinary and materialized views; they do not replay incremental migrations. Extraction diagnostics include object names and statement locations. If extraction is incomplete, `schema plan` and `--dry-run` show the extracted inventory and exit 1; `apply`, `push`, and `--write-checkout` cannot save that result. Unknown column types are warnings when all output names are known. Plans also show object-kind, view-definition, comment, and constraint changes. `--json` preserves structured diagnostics and the server-capped inventory.
|
|
20
22
|
|
|
21
23
|
- `cassis status` shows the project's published version (number, label, git commit), whether unpublished changes await publication, the git-sync binding, a schema plan waiting to be applied, and how your local git HEAD relates to the published commit (in sync / N commits ahead / diverged). `cassis status --watch` polls until the published commit matches your local HEAD (e.g. right after merging a PR whose CI publishes the context) instead of watching the GitHub Actions tab.
|
|
22
24
|
- `cassis issues` triages the issues Cassis raised on the project (what it found wrong while answering questions: a context gap, missing data) without leaving the checkout: `issues list` (filterable by status, impact, cause and context domain, and showing each issue's domain so you can work through one domain at a time; and each issue's reach, the chat answers that used its context tables in the last 30 days), `issues show <id>` for the diagnosis, suggested action, the occurrences behind it, its reach and evidence (removed from dbt, an AI review suggestion, user feedback, a failed eval, or the chat analysis), `issues evidence <id> <occurrence-id>` for what the agent actually saw, and `issues resolve` / `dismiss` / `reopen` once you've acted on it. When the fix ships through a pull request, write the `PR mention:` line `issues show` prints (`Resolves <id>`) in the PR description instead: Cassis resolves the issue when the PR merges, and `issues show` then reports how it was closed and through which PR.
|
|
23
|
-
- `cassis dbt push` sends your dbt project's artifacts (`target/manifest.json`, and `catalog.json` when present) to Cassis from the dbt project's CI, with the commit they were built from. Cassis checks the files, matches each dbt model, seed, snapshot and source to a table of the project's data source, and keeps the upload as the project's dbt baseline unless a newer one is already there. The command prints how many relations matched and how many tests they declare. Cassis compares the upload with the previous baseline and
|
|
25
|
+
- `cassis dbt push` sends your dbt project's artifacts (`target/manifest.json`, and `catalog.json` when present) to Cassis from the dbt project's CI, with the commit they were built from. Cassis checks the files, matches each dbt model, seed, snapshot and source to a table of the project's data source, and keeps the upload as the project's dbt baseline unless a newer one is already there. The command prints how many relations matched and how many tests they declare. Cassis compares the upload with the previous baseline and saves findings about the context the merged change puts in doubt for grouping and issue curation. The command distinguishes findings awaiting curation from published issues, printing the source observation for pending findings and links for published issues. Nothing the agent answers with changes.
|
|
24
26
|
- `cassis dbt check` runs the same comparison on a pull request, before the change merges: it uploads the PR's artifacts (after `dbt compile` on the production target), compares them with the baseline, and prints the context tables, columns, joins and metrics the change puts in doubt, with why it matters and the context change to make. Each finding also says its **reach**, how many chat answers used its context tables in the last 30 days, and within each section the most-reached objects print first, the order the Review page will show them in. Findings are advisory: nothing is filed, the baseline doesn't move, and the check exits 0 with or without findings.
|
|
25
27
|
- `cassis verify` runs the full local gate in one verb (`context fmt --check`, `context check`, `eval run`), stopping at the first failure. One command in a checkout ("is this change safe to merge?"), one job in CI. `--no-eval` skips the eval suite.
|
|
26
28
|
|
|
@@ -104,6 +106,10 @@ carrying the same sensitivity as the queries themselves when you decide who can
|
|
|
104
106
|
# (one full agent run per question, expect ~30-90s each; repeat -q for several):
|
|
105
107
|
cassis context test --project ... -q "How much was refunded last month?" -q "Net revenue in Q1?"
|
|
106
108
|
|
|
109
|
+
# Happy with a probe's SQL? Keep it as an eval case in the same command
|
|
110
|
+
# (question + the SQL it produced; a probe that failed or asked is skipped):
|
|
111
|
+
cassis context test --project ... -q "Net revenue in Q1?" --save-case
|
|
112
|
+
|
|
107
113
|
# Add a gold case to the eval suite (rejected if the exact question already exists):
|
|
108
114
|
cassis eval add-case --project ... -q "How much was refunded last month?" \
|
|
109
115
|
--gold-sql "SELECT SUM(refunded_cents) / 100.0 FROM public.orders WHERE ..."
|
|
@@ -112,17 +118,30 @@ cassis eval add-case --project ... -q "How much was refunded last month?" \
|
|
|
112
118
|
cassis eval add-case --project ... -q "How much was refunded last month?" \
|
|
113
119
|
--gold-sql-file refunds.sql
|
|
114
120
|
|
|
121
|
+
# A question the context must decline needs no gold SQL:
|
|
122
|
+
cassis eval add-case --project ... -q "Why did customers ask for refunds?" --expect cannot-answer
|
|
123
|
+
|
|
115
124
|
# List the suite's cases (id + question, a warning under any case whose gold SQL
|
|
116
125
|
# reads tables the context lacks; --json adds the gold SQL and the footprint;
|
|
117
126
|
# --branch <name> resolves against a context branch), see how one has behaved
|
|
118
127
|
# across runs, then prune one:
|
|
119
128
|
cassis eval list-cases --project ...
|
|
120
129
|
cassis eval history 019f0000-0000-7000-8000-0000000000ca --project ...
|
|
130
|
+
cassis eval runs --project ... # the latest runs: status, context, origin, model, passes
|
|
121
131
|
cassis eval delete-case 019f0000-0000-7000-8000-0000000000ca --project ...
|
|
122
132
|
|
|
123
133
|
# Run the suite 3 times to see which cases flip, and why; print it again later:
|
|
124
134
|
cassis eval run --repeat 3
|
|
125
|
-
|
|
135
|
+
|
|
136
|
+
# Preview conservative change selection without model calls (--base <version-id>
|
|
137
|
+
# picks the published version to compare against; it needs --changed). It lists the
|
|
138
|
+
# selected cases and counts the skipped ones per reason; --verbose lists every one:
|
|
139
|
+
cassis eval run --changed --dry-run
|
|
140
|
+
# Run the selection; incomplete dependencies always run. The summary says how much
|
|
141
|
+
# of the suite ran ("3/3 passed · 3 of 15 cases (affected by a context change)"):
|
|
142
|
+
cassis eval run --changed
|
|
143
|
+
# Print a run by id: its results and verdict, or how a repeat run's attempts compare:
|
|
144
|
+
cassis eval show 019f0000-0000-7000-8000-00000000aaaa --project ...
|
|
126
145
|
|
|
127
146
|
# Pull the source schema into <base-path>/.schema.json (gitignored local snapshot):
|
|
128
147
|
cassis schema pull
|
|
@@ -151,7 +170,8 @@ cassis issues show 019f0000-0000-7000-8000-0000000000e1
|
|
|
151
170
|
# Work one context domain at a time (nested domains included):
|
|
152
171
|
cassis issues list --domain sales
|
|
153
172
|
|
|
154
|
-
#
|
|
173
|
+
# Issues are shared with the project; source evidence respects conversation access.
|
|
174
|
+
# Read what the agent saw for one readable occurrence (ids from `issues show`):
|
|
155
175
|
cassis issues evidence 019f0000-0000-7000-8000-0000000000e1 019f0000-0000-7000-8000-0000000000c1
|
|
156
176
|
|
|
157
177
|
# Close the loop once the fix is published (or reopen). When the fix ships in a pull
|
|
@@ -165,7 +185,7 @@ cassis status
|
|
|
165
185
|
cassis status --watch --timeout 600
|
|
166
186
|
|
|
167
187
|
# In the dbt project's CI, after a merge to the production branch: write the manifest and the
|
|
168
|
-
# catalog, then send them (findings are
|
|
188
|
+
# catalog, then send them (findings are saved for issue curation). On GitHub Actions, expose GITHUB_TOKEN to
|
|
169
189
|
# the step so the push names the pull request that merged the commit:
|
|
170
190
|
dbt docs generate --target prod
|
|
171
191
|
cassis dbt push target --project ...
|
|
@@ -186,12 +206,13 @@ Configuration (flags take precedence over env vars):
|
|
|
186
206
|
| `--api-key` | `CASSIS_API_KEY` | none (required) |
|
|
187
207
|
| `--api-url` | `CASSIS_API_URL` | `https://app.getcassis.com` |
|
|
188
208
|
| `--base-path` | `CASSIS_BASE_PATH` | `cassis`, must match the project's git-sync "Path" setting |
|
|
189
|
-
| `--project` (check, pull, upload, schema pull, eval run, eval add-case, eval list-cases, eval history, eval
|
|
209
|
+
| `--project` (check, pull, upload, schema pull, eval run, eval add-case, eval list-cases, eval history, eval runs, eval show, eval delete-case, test, issues, dbt push, dbt check) | `CASSIS_PROJECT_ID` | the id in `<base-path>/project.yml` (required before the first pull; `check` alone falls back to the project-less validation when unbound) |
|
|
190
210
|
|
|
191
211
|
`cassis eval run` also accepts `--case <id>` (repeatable; run only the named
|
|
192
212
|
cases, ids from `eval list-cases` or `add-case`), `--label` (run label in the Evals page; defaults
|
|
193
213
|
to the branch name from the CI environment or the local git checkout; rejected
|
|
194
|
-
with `--branch`, whose runs are labelled with the branch name), `--
|
|
214
|
+
with `--branch`, whose runs are labelled with the branch name), `--verbose` (with `--changed`: list every
|
|
215
|
+
skipped case instead of a count per reason), `--wait/--no-wait`, `--poll-interval` (5 s),
|
|
195
216
|
`--timeout` (30 min; the run keeps going server-side if the CLI stops waiting),
|
|
196
217
|
and Ctrl-C cancels the run (exit 130). It prints a deep link to the run's page
|
|
197
218
|
in the Evals UI; `--app-url` / `CASSIS_APP_URL` overrides the link's base URL
|
|
@@ -215,10 +236,11 @@ cassis context fmt --check
|
|
|
215
236
|
|
|
216
237
|
| Code | Meaning |
|
|
217
238
|
| ---- | ------------------------------------------------------------------------------ |
|
|
218
|
-
| 0 | Context is valid (check) / pulled (pull) / uploaded (upload) / eval run completed
|
|
219
|
-
| 1 | Validation failed (check: findings printed; upload: nothing imported; eval run: invalid tree
|
|
220
|
-
| 2 | Usage error (missing API key or project, no context directory, unreadable file, tree over the size limits, `eval run --branch` naming a context branch the project does not have, `upload` or `schema push` outside a git checkout or with uncommitted context files, `dbt push` or `dbt check` without a manifest.json, outside a git checkout without `--commit`, or with an artifact over the size limits) |
|
|
221
|
-
| 3 | Transport/API error (unreachable API, invalid key, inaccessible project, unexpected response), another eval run or issue analysis already active, out of credits, `--timeout` reached, or Cassis failed on its side while processing a dbt upload (`dbt push` / `dbt check`: nothing to fix in the upload, push again) |
|
|
239
|
+
| 0 | Context is valid (check) / pulled (pull) / uploaded (upload) / eval run completed with no regression: every case passed, already failed on the base run, or is pending the change it guards (eval run) / every probe completed (test, whatever its outcome; probes are informational, don't gate CI on them) / dbt upload accepted, or kept behind a newer one (dbt push) / dbt upload checked, with or without findings (dbt check) |
|
|
240
|
+
| 1 | Validation failed (check: findings printed; upload: nothing imported; eval run: invalid tree or a regression, a case whose answer fails now and passed on the base run; test: invalid tree or a probe failed; add-case: duplicate question or gold SQL that does not run; delete-case, history: no such case in the project; show: no such run in the project; issues: no such issue or occurrence in the project; issues analyze: failed or cancelled analysis run; schema plan/apply: extraction is incomplete, the plan failed (unparseable or truncated DDL), is stale or expired, the apply failed, or the project won't accept it (a plan is being applied, a DDL was given for a warehouse-connected project, or --warehouse for a DDL-only one); dbt push: the upload was refused or rejected (a file is invalid, too large or from an unsupported dbt version, or no relation matches the project's data source); dbt check: the upload was refused or rejected (an invalid file, or no baseline yet: run `cassis dbt push` first)) |
|
|
241
|
+
| 2 | Usage error (missing API key or project, no context directory, unreadable file, tree over the size limits, `eval run --branch` naming a context branch the project does not have, `eval run --base` naming a published version the project does not have or given without `--changed`, `eval run --dry-run --case` naming no current case, `upload` or `schema push` outside a git checkout or with uncommitted context files, `dbt push` or `dbt check` without a manifest.json, outside a git checkout without `--commit`, or with an artifact over the size limits) |
|
|
242
|
+
| 3 | Transport/API error (unreachable API, invalid key, inaccessible project, unexpected response, a server too old for the command or option), another eval run or issue analysis already active, out of credits, `--timeout` reached, or Cassis failed on its side while processing a dbt upload (`dbt push` / `dbt check`: nothing to fix in the upload, push again) |
|
|
243
|
+
| 4 | `eval run` reached no verdict: the run failed or was cancelled on Cassis's side, or the cases that did not pass errored instead of failing (agent, judge or warehouse errors, a broken gold SQL). Nothing says the context regressed: rerun, or read the errors |
|
|
222
244
|
|
|
223
245
|
Commands that send the local tree (`check`, `fmt`, `upload`, `eval run`, `test`) accept up to
|
|
224
246
|
20,000 context files / 100 MB total (path + content bytes), sized for a context of
|
|
@@ -325,3 +347,74 @@ requires an account.
|
|
|
325
347
|
## License
|
|
326
348
|
|
|
327
349
|
Apache License 2.0. See [LICENSE](LICENSE) and [NOTICE](NOTICE).
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
## Read conversations and their analyses
|
|
353
|
+
|
|
354
|
+
These commands read saved conversations and reports. They never start an analysis,
|
|
355
|
+
retry a failed run, execute SQL or make a model call. Use the same API key and
|
|
356
|
+
project selection as other commands (`CASSIS_API_KEY`, `--project`, or the
|
|
357
|
+
checkout's `cassis/project.yml`). Requires a server with the conversation API.
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
cassis chats list --limit 20
|
|
361
|
+
cassis chats list --review needs-attention --feedback down --since 2026-11-01
|
|
362
|
+
cassis chats list --search revenue --offset 20
|
|
363
|
+
cassis chats show <chat-id>
|
|
364
|
+
cassis chats show <chat-id> --analysis-only
|
|
365
|
+
cassis chats show <chat-id> --trace
|
|
366
|
+
cassis chats show <chat-id> --trace-entry trace:<message-id>:<index>
|
|
367
|
+
cassis chats show <chat-id> --json
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
`list` sorts by latest message, returns up to 20 chats by default (maximum 100
|
|
371
|
+
per page), and reports the total and next offset. Filters combine with AND.
|
|
372
|
+
`--feedback` accepts `up`, `down`, `any`, or `none`; a conversation with both
|
|
373
|
+
positive and negative feedback matches both `up` and `down`. `--review
|
|
374
|
+
needs-attention` selects completed latest reports containing a potential problem,
|
|
375
|
+
not improvement suggestions alone. `--since` includes conversations created or
|
|
376
|
+
with a message posted at or after the given ISO date or timestamp; dates and
|
|
377
|
+
naive timestamps use UTC.
|
|
378
|
+
|
|
379
|
+
`show` prints messages, generated SQL, feedback, then the saved analysis with its
|
|
380
|
+
citations and next steps. Traces are compact by default; `--trace` adds previews
|
|
381
|
+
limited to 500 characters per entry, and `--trace-entry` opens one entry in full.
|
|
382
|
+
The entry identifiers match the analysis's trace references. `--json` returns the
|
|
383
|
+
full messages and traces without those display limits; `--analysis-only --json`
|
|
384
|
+
returns the analysis view. If a retry failed, the previous completed report is
|
|
385
|
+
shown with the failed status. Missing analyses are reported explicitly.
|
|
386
|
+
|
|
387
|
+
Members can read their own chats; administrators can read chats in accessible
|
|
388
|
+
projects. API keys scoped to a project cannot reach another one. `--app-url`
|
|
389
|
+
sets the base URL for browser links when the webapp and API use different hosts
|
|
390
|
+
or ports. JSON list responses include `url` on each item and `next_offset`.
|
|
391
|
+
Exit codes: 0 on a successful read (even with no report or an empty list), 1 for
|
|
392
|
+
an inaccessible/missing chat or trace entry, 2 for invalid arguments, 3 for API
|
|
393
|
+
or authentication errors.
|
|
394
|
+
|
|
395
|
+
### Result comparison expectations
|
|
396
|
+
|
|
397
|
+
`cassis eval add-case` and `cassis eval replace-case` take `--compare`. Its
|
|
398
|
+
default rules are a 1% numeric tolerance with rounding, any row order, columns
|
|
399
|
+
paired by value, and an empty result rejected. Each word changes one rule, and
|
|
400
|
+
words combine with commas: `exact` (numbers match exactly, for counts and
|
|
401
|
+
identifiers), `ordered` (row order matters, for rankings and top-N questions)
|
|
402
|
+
and `allow-empty` (an empty result is a valid answer). `--compare ordered,exact`
|
|
403
|
+
checks a ranking of counts; `--compare default` goes back to the default rules.
|
|
404
|
+
|
|
405
|
+
On replacement, an omitted `--compare` keeps the case's settings. Changing settings creates a new
|
|
406
|
+
case; historical results retain the rules they were scored with. `list-cases`
|
|
407
|
+
and `run` show explicit rules. On metadata-only sources, result comparison is
|
|
408
|
+
marked unapplied and the SQL judge remains in use: `add-case`, `replace-case`
|
|
409
|
+
and `list-cases` warn when a case sets rules there, since the question text
|
|
410
|
+
must carry anything that matters (ranked, each once, ...).
|
|
411
|
+
|
|
412
|
+
### Case health
|
|
413
|
+
|
|
414
|
+
Review suite quality without spending credits with `cassis eval health --project <id>`.
|
|
415
|
+
Use `--attention` to focus on cases needing review or `--json` for structured evidence.
|
|
416
|
+
The report uses the latest 50 results per case. Unchanged-context verdict transitions
|
|
417
|
+
are descriptive; model and configuration changes can also explain them. Cases are
|
|
418
|
+
never removed automatically: review the recommendation, then replace or delete the case.
|
|
419
|
+
|
|
420
|
+
Repeated failures that agree on category and dependency evidence can create linked issues. `cassis eval history <case-id>` lists those issues; `cassis issues show <issue-id>` lists supporting eval cases. Dropping or replacing a case detaches its active evidence. An issue supported by other cases or conversations stays open; an issue with no remaining evidence is dismissed, not marked fixed. Diagnostic repeats do not create issues themselves.
|