diff --git a/CHANGELOG.md b/CHANGELOG.md index 61a867c..23513cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,13 @@ This changelog is automatically generated by AI when releases are published. ## [Unreleased] +## [3.14.1] - 2026-11-17 + +### Changed + +- **`autter review` runs only the deterministic checks.** It checks your changes with the rule-based layer of the pull request review (secrets, static security, auth and permissions, race conditions) and makes no AI model calls, so it usually answers in a few seconds. The deep correctness pass and the other AI checks run on the pull request. The help text and `.autter/findings.md` say so. Needs the matching Autter API. +- **VS Code extension 0.2.1**: *Autter: Review My Changes* says "Checking your changes" and the README describes the deterministic checks. + ## [3.14.0] - 2026-11-17 ### Added diff --git a/Cargo.lock b/Cargo.lock index 2aa51ce..47024c5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,7 +258,7 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" [[package]] name = "autter" -version = "3.14.0" +version = "3.14.1" dependencies = [ "autter", "base64", diff --git a/Cargo.toml b/Cargo.toml index b33cd90..f7bc83b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ resolver = "3" [package] name = "autter" -version = "3.14.0" +version = "3.14.1" edition = "2024" default-run = "autter" diff --git a/agent-support/vscode/CHANGELOG.md b/agent-support/vscode/CHANGELOG.md index bf5f785..3dc37f3 100644 --- a/agent-support/vscode/CHANGELOG.md +++ b/agent-support/vscode/CHANGELOG.md @@ -6,6 +6,10 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how ## [Unreleased] +## [0.2.1] - 2026-11-17 + +- **Autter: Review My Changes** runs only the deterministic, rule-based checks (no AI calls), so it usually finishes in a few seconds. The full review runs on the pull request. + ## [0.2.0] - 2026-11-17 - Review findings in the editor: the findings of your branch's pull request appear as squiggles, Problems entries and (by default) the title after the line, on the lines of your working tree. Lines follow your edits; a finding whose line you have edited since the review is not shown in the code. Setting: `autter.findings.display` (`inline`, `problems`, `off`). diff --git a/agent-support/vscode/README.md b/agent-support/vscode/README.md index 2921a82..be18a6a 100644 --- a/agent-support/vscode/README.md +++ b/agent-support/vscode/README.md @@ -34,7 +34,7 @@ Findings are only shown on lines the review saw. Line numbers follow your edits: The extension keeps `.autter/findings.md` up to date with every finding: a summary, its location, next steps, and a link. `.autter/` is added to `.git/info/exclude`, so it is never committed. -**Before a pull request exists**, run *Autter: Review My Changes*. It saves your files and runs `autter review`, which reviews everything a pull request from this branch would contain (committed or not, new files included) with the core of Autter's PR review. Its findings show up the same way, labelled "local review", and follow your edits the same way. The result is kept until you review again on that branch. +**Before a pull request exists**, run *Autter: Review My Changes*. It saves your files and runs `autter review`, which checks everything a pull request from this branch would contain (committed or not, new files included) with the deterministic, rule-based checks of Autter's PR review: secrets, static security, auth and race conditions. It makes no AI calls and usually takes a few seconds; the full review runs on the pull request. Its findings show up the same way, labelled "local review", and follow your edits the same way. The result is kept until you review again on that branch. - **Sign in**: click **autter: Sign in** in the status bar. It runs `autter login` in a terminal. - **Settings**: `autter.findings.display` (`inline`, `problems` or `off`; default `inline`) and `autter.findings.writeFile` (default `true`). diff --git a/agent-support/vscode/package-lock.json b/agent-support/vscode/package-lock.json index 5a9c92e..84b3e83 100644 --- a/agent-support/vscode/package-lock.json +++ b/agent-support/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "autter-vscode", - "version": "0.2.0", + "version": "0.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "autter-vscode", - "version": "0.2.0", + "version": "0.2.1", "license": "Apache-2.0", "dependencies": { "posthog-node": "^5.35.14" diff --git a/agent-support/vscode/package.json b/agent-support/vscode/package.json index c9a213d..5de91dc 100644 --- a/agent-support/vscode/package.json +++ b/agent-support/vscode/package.json @@ -2,7 +2,7 @@ "name": "autter-vscode", "displayName": "autter", "description": "Keep track of code generated by AI.", - "version": "0.2.0", + "version": "0.2.1", "icon": "autter.png", "publisher": "autter", "repository": { diff --git a/agent-support/vscode/src/findings-manager.ts b/agent-support/vscode/src/findings-manager.ts index 3cd2172..bc061c1 100644 --- a/agent-support/vscode/src/findings-manager.ts +++ b/agent-support/vscode/src/findings-manager.ts @@ -547,7 +547,7 @@ export class FindingsManager implements vscode.CodeActionProvider { const outcome = await vscode.window.withProgress( { location: vscode.ProgressLocation.Notification, - title: "autter: Reviewing your changes (a minute or two)…", + title: "autter: Checking your changes…", cancellable: true, }, (_progress, token) => diff --git a/src/commands/arg_parser.rs b/src/commands/arg_parser.rs index e47e83e..863b846 100644 --- a/src/commands/arg_parser.rs +++ b/src/commands/arg_parser.rs @@ -944,11 +944,12 @@ autter findings [--write] [--branch ] [--pr ] [--repo ...] [--base | --uncommitted] [--write] [--repo ] [--org ] [--json] - Runs the core of Autter's pull request review on your changes, so you learn - about problems before a pull request exists: secrets, static security, - auth and permissions, race conditions, and (when your organization has it - on) the deep correctness pass. Your organization's review settings apply. - It takes a minute or two. + Runs the deterministic (rule-based) checks of Autter's pull request review + on your changes, so you learn about problems before a pull request exists: + secrets, static security, auth and permissions, and race conditions. Your + organization's review settings apply. It makes no AI model calls and + usually takes a few seconds; the full review, AI checks included, runs on + the pull request. By default it reviews what a pull request from this branch would contain: everything since the merge base with the default branch (origin/HEAD, diff --git a/src/commands/findings.rs b/src/commands/findings.rs index 3cc09dc..7466a53 100644 --- a/src/commands/findings.rs +++ b/src/commands/findings.rs @@ -987,7 +987,7 @@ pub(crate) fn render_markdown(result: &Value) -> String { if let Some(at) = local_review["reviewedAt"].as_str() { out.push_str(&format!(", at {}", when(at))); } - out.push_str(". A local review runs the core checks before a pull request exists; its findings are not verified.\n\n"); + out.push_str(". A local review runs the deterministic (rule-based) checks before a pull request exists, with no AI; the full review runs on the pull request.\n\n"); render_markdown_groups( &mut out, &findings_of(local_review), diff --git a/src/commands/review.rs b/src/commands/review.rs index 3b57e19..c95348e 100644 --- a/src/commands/review.rs +++ b/src/commands/review.rs @@ -2,9 +2,10 @@ //! //! Sends what a pull request from this branch would contain — the diff from //! the merge base with the default branch to your working tree, untracked -//! files included — to `POST /api/cli/orgs//review`, which runs the core -//! of the PR review (secrets, static security, auth, race conditions and, when -//! the org has it on, deep correctness) and streams back JSON lines. +//! files included — to `POST /api/cli/orgs//review`, which runs the +//! deterministic checks of the PR review (secrets, static security, auth, +//! race conditions) with no AI model calls, and streams back JSON lines. The +//! full review, AI checks included, runs on the pull request. //! //! Before sending, every reviewed file is saved as a git blob. The result and //! those blob ids go to `.autter/local-review.json`; `autter findings` (and so @@ -24,7 +25,7 @@ use crate::git::repository::{exec_git, exec_git_allow_nonzero}; use serde_json::{Value, json}; use std::collections::{BTreeMap, HashMap}; -/// A review takes a minute or two; the server streams while it runs. +/// A large change can take a while; the server streams while it runs. const TIMEOUT_SECS: u64 = 600; /// What the server takes (`LOCAL_REVIEW_MAX_FILES` / `_MAX_BYTES` in the backend). const MAX_FILES: usize = 60; @@ -473,7 +474,7 @@ fn run(options: Options) -> Result<(), AutterError> { let (context, slug) = org_api_context(options.organization.as_deref(), TIMEOUT_SECS)?; if !arg_parser::json() && !arg_parser::quiet() { eprintln!( - "Reviewing {} file{} compared with {} ({}). This takes a minute or two…", + "Checking {} file{} compared with {} ({})…", prepared.files.len(), if prepared.files.len() == 1 { "" } else { "s" }, base_label,