Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
43774e5
fix(review): follow-ups from the failure-reporting review
RaghwendraSingh Dec 3, 2026
a552e53
feat(review): consumers outside dbt, contract vs `SELECT`, engine-awa…
RaghwendraSingh Dec 3, 2026
d69d902
fix(review): a base PII pass that abstained no longer hides a column …
RaghwendraSingh Dec 3, 2026
a3159a4
fix(review): consumer and contract checks: base failures, package nod…
RaghwendraSingh Dec 3, 2026
073c545
feat(review): incremental, microbatch and snapshot semantics
RaghwendraSingh Dec 3, 2026
0983cb6
feat(review): data tests that cannot do their job, parse-only column …
RaghwendraSingh Dec 3, 2026
68d456c
fix(review): fewer false positives, sharper project rules
RaghwendraSingh Dec 3, 2026
ff2f957
feat(review): posting policy: rule tiers, inline budget, diff-anchore…
RaghwendraSingh Dec 3, 2026
4e7d134
fix(review): escaping after a backslash; GitHub rendering is always e…
RaghwendraSingh Dec 3, 2026
87406e1
feat(review): AI verifier for advisory findings
RaghwendraSingh Dec 3, 2026
2d711fb
feat(review): deterministic rules for macros, joins, docs and project…
RaghwendraSingh Dec 3, 2026
d7055d0
feat(review): AI input coverage: file quotas, hunk excerpts, context …
RaghwendraSingh Dec 3, 2026
292fc9c
feat(review): focused AI batches
RaghwendraSingh Dec 3, 2026
6f247c9
feat(review): review every dbt project in a repository (--all-projects)
RaghwendraSingh Dec 3, 2026
563d94f
feat(review): AI lane defaults: coverage, focused batches, context ca…
RaghwendraSingh Dec 3, 2026
94d0732
feat(review): team conventions from the repository's instruction files
RaghwendraSingh Dec 3, 2026
084bdf6
feat(review): fewer low-value rule comments: a not-posted list and a …
RaghwendraSingh Dec 3, 2026
e31bb42
fix(review): first internal review round on the folded branch
RaghwendraSingh Dec 4, 2026
0d4c974
fix(review): second internal review round on the folded branch
RaghwendraSingh Dec 4, 2026
56214ed
fix(review): third internal review round on the folded branch
RaghwendraSingh Dec 4, 2026
3b220da
test(review): SIGINT tests set other handlers aside
RaghwendraSingh Dec 4, 2026
58a4a5e
fix(review): read the PR's own files at `--head`, not the checkout
RaghwendraSingh Dec 4, 2026
aaa12b2
fix(review): one screen for name-keyed AI access and every exclusion
RaghwendraSingh Dec 4, 2026
f61d808
fix(review): posted text clips, escapes, posting merge and exit 3
RaghwendraSingh Dec 4, 2026
624911d
fix(review): action builds dbt before any credential and chains deps
RaghwendraSingh Dec 4, 2026
1342a8e
test(review): pin what `off` does to the verdict; docs say it precisely
RaghwendraSingh Dec 4, 2026
394d225
test(review): release action tests follow the credential move; more n…
RaghwendraSingh Dec 4, 2026
71916c1
fix(review): AI input, rule parsing and failure attribution from bot …
RaghwendraSingh Dec 4, 2026
ff6265d
fix(review): smaller bot-triage fixes
RaghwendraSingh Dec 4, 2026
0347164
fix(review): context cards never name a model the AI screen refuses
RaghwendraSingh Dec 4, 2026
74a6b33
fix(review): one-to-one test renames; cast(date as …) is a column again
RaghwendraSingh Dec 4, 2026
281b89c
fix(review): the AI screen fails closed at every exit
RaghwendraSingh Dec 4, 2026
242e0f1
fix(review): macro parameters keep backslash-escaped quotes in defaults
RaghwendraSingh Dec 4, 2026
f334efc
fix(review): the action's credentialed step trusts nothing PR code ca…
RaghwendraSingh Dec 4, 2026
638bb4d
fix(review): smaller fixes from the second review
RaghwendraSingh Dec 4, 2026
3b8f43a
test(review): restore the exit code after the publication-error test
RaghwendraSingh Dec 4, 2026
459375d
fix(review): drop the action's tool pinning; state the prepare limit
RaghwendraSingh Dec 4, 2026
a88676b
fix(review): an unread head withholds the file from the AI lane
RaghwendraSingh Dec 4, 2026
8a9c791
fix(review): the action keeps the runner's CA bundle; cleanup never l…
RaghwendraSingh Dec 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/docs/reference/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ We collect the following categories of events:
| `activation_job_selected` / `first_job_completed` | Which activation job the user started and, where observable, finished. In onboarding, completion is reported only for the job that was actually selected, so the two form a coherent pair. `first_job_completed` is also sent once per workspace for each machine and Altimate instance, for the first turn in a linked project, or in a session pinned to a workspace by the IDE extension, that had a tool call that didn't fail and ended `completed`. `origin` says which: `onboarding` or `workspace`. **Derived** — see the note below. |
| `first_prompt_sent` | The user's first typed message in an onboarding session, and the first typed message in a linked project or a session pinned to a workspace, once per workspace for each machine and Altimate instance. A slash command sent as a command, as the TUI and `run` send it, is excluded, so the hidden `/onboard-connect` submission does not count. The VS Code chat sends a command as its expanded text, so there a command counts. A subagent's prompt never counts. `origin` says which rule sent it: `onboarding` for an onboarding session's first typed prompt, bound or not, and `workspace` for the workspace's row. So a later prompt in an onboarding session, after its project was linked, is a `workspace` row. |
| `onboarding_abandoned` | The CLI exited during a first run without connecting. `last_stage` is the furthest point reached: `started`, `model_picker`, `provider_setup`, `altimate_base_confirm`, or `gateway_auth`. (`connected` is a funnel position but never a `last_stage` — reaching it means the run completed, which is not an abandonment.) Only emitted for a genuine first run — opening `/connect` as an existing user does not enter the funnel, and abandonment after setup completes is out of scope by definition. Emitted on the exit path under a bounded flush, so the measured rate is a lower bound — see [Delivery & Reliability](#delivery--reliability). |
| `review_run` | A dbt/SQL review completed or failed — `invocation` (`cli` for `altimate-code review`, `tool` for the `dbt_pr_review` tool), status, duration, and on success the verdict, the pre-gating verdict, mode, risk tier, finding counts by severity and by category, `degraded` (lint-only: no reviewable files, or no changed model resolved against a manifest; an undecidable finding alone no longer sets it), `undecided` (findings the engine could not decide), `unverified_models` (distinct models without compiled SQL), `failed_files` (distinct files whose review failed or whose content could not be read), `abstained_models` (distinct models on which a check could not parse the SQL), `incomplete` (the run was held back from approval because it did not complete: an engine error, a failed file, or a model without compiled head SQL), `engine_errors` (engine calls that failed, so their checks did not run), `ai_state` and `ai_duration_ms` (the advisory AI lane's outcome), `base_source` (where the review base came from, e.g. `flag` or `default_branch`) and `out_of_scope_files` (changed files outside the dbt project). No file paths, model or column names, finding titles or bodies, error messages, SQL, diff content, or repository/branch/PR names. |
| `review_run` | A dbt/SQL review completed or failed — `invocation` (`cli` for `altimate-code review`, `tool` for the `dbt_pr_review` tool), status, duration, and on success the verdict, the pre-gating verdict, mode, risk tier, finding counts by severity and by category, `degraded` (lint-only: no reviewable files, or no changed model resolved against a manifest; an undecidable finding alone no longer sets it), `undecided` (shown findings flagged undecided, e.g. a PII column whose newness the engine could not decide; hidden findings are not counted, while the severity counts include them. An undecidable equivalence is no longer a finding: it is counted in `abstained_models`, so `undecided` reads lower than in earlier releases for the same PR), `unverified_models` (distinct models without compiled SQL), `failed_files` (distinct files whose review failed or whose content could not be read), `abstained_models` (distinct models on which a check could not parse the SQL), `incomplete` (the run was held back from approval because it did not complete: an engine error, a failed file, or a model without compiled head SQL), `engine_errors` (engine calls that failed, so their checks did not run), `ai_state` and `ai_duration_ms` (the advisory AI lane's outcome), `ai_tokens_total`, `ai_tokens_input`, `ai_tokens_output`, `ai_cost`, `ai_calls` and `ai_calls_failed` (the AI lane's model usage, estimated cost and call counts), `ai_replayed` (findings replayed from a stored envelope, an operator benchmark mode), `ai_verify_state`, `ai_verify_tokens_total`, `ai_verify_tool_calls`, `ai_verify_kept` and `ai_verify_discarded` (the AI verifier's outcome, usage, tool calls and the AI findings it kept or discarded), `ai_rule_verify_state`, `ai_rule_verify_tokens_total`, `ai_rule_verify_cost` and `ai_rule_verify_sent` (the rule verifier's outcome, usage, cost and the rule findings sent to it), `rules_not_posted` and `rules_refuted` (rule findings hidden by the not-posted list and refuted by the rule verifier; both still count toward the verdict), `ai_reviewed_outside_files` (files outside the dbt project the AI lane reviewed, `pythonFiles` opt-in), `stale_manifest`, `base_source` (where the review base came from, e.g. `flag` or `default_branch`), `out_of_scope_files` (changed files outside the dbt project) and, for `--all-projects` runs only, `projects` (the number of dbt projects the PR touched; the token, cost, file and finding counts are then sums over them). No file paths, model or column names, finding titles or bodies, error messages, SQL, diff content, or repository/branch/PR names. |
Comment thread
cubic-dev-ai[bot] marked this conversation as resolved.
Resolved
| `review_post_outcome` | Whether a review was published to GitHub — `not_requested`, `not_attempted`, `target_unresolved`, `full`, `partial`, or `summary_failed`, plus duration. Emitted on the **CLI path only** — the `dbt_pr_review` tool completes reviews but never publishes, so a `review_run` with `invocation: tool` has no post event and that is not a failure. Within the CLI path there is exactly one per **completed** review: a review that failed emits `review_run: failed` and no post event, so absence there means the review failed rather than that an event was lost. `not_attempted` is publication requested but never reached (a bad `--output` path, a stdout write error). No repository, PR, or comment content. |
| `rule_proposal_shown` | A proposed rule was raised: shown as a card, or stored for `learn proposals` when no attached client shows cards (`stored`), or raised again for the same wording (`repeat`) — what raised it (`remember`, `shown_rule`, `recurrence`), the kind of change, whether it is a "Save as" choice, linked/owner, the buttons offered, whether it weakens verification, evidence session count, whether it came from a correction, how many paths it applies to, and its length. The card id is random. No rule text, quotes, paths or globs. |
| `rule_proposal_answered` | A card was answered or closed (`send`, `approve`, `approve_anyway`, `edit`, `dismiss`, `save_local`, `save_memory`, `expired`, `closed`) — `ok` or why it did not go through (`busy`, `not_available`, `verification_flagged`, `invalid_text`, `refused` by the workspace, `failed`), what happened (`sent`, `queued`, `approved`, `approve_failed`, `approve_retry`, `target_changed`, `exists`, `dismissed`, `saved_memory_project`, `saved_memory_global`, `saved_local`, or `saved_unanswered` when a card the person asked for closed unanswered and was saved as before cards), wording edits so far, and time since the card was shown. No rule text. |
Expand Down Expand Up @@ -125,8 +125,8 @@ Other rows gain workspace fields in a linked project:
### Notes on the review events

- `degraded` is a fidelity flag, not a warehouse flag. It is set when a review found no reviewable
files, had no usable manifest for the changed models, or surfaced a finding whose analysis was
undecidable. It does not mean "no warehouse was connected".
files or had no usable manifest for the changed models; an undecidable finding alone does not set
it (`undecided` counts those). It does not mean "no warehouse was connected".
- The category breakdown counts findings that were actually surfaced — after de-duplication, rubric
exclusion, and the severity threshold. It is not a count of raw rule detections, and it is grouped
by category rather than by individual rule.
Expand Down
Loading
Loading