chore(release): v0.12.13

Merged
SA
13h ago
+425-48

Issue for this PR

Closes #1891

Release PR. It promotes the v0.12.12..main payload (23 PRs) to latest as v0.12.13, including #1860 "feat(debug): debug bundle reports config, credentials, sessions and runtime health; add debug probe", merged into this branch with its changelog lines. It also updates the two --time-budget JSON output tests, which CI skips and which had gone stale.

Highlights: #1845 "/logout signs out of the provider behind the current model"; #1867 "Bedrock credential chain works in the compiled binary"; the altimate review trust and comment work (#1720, #1721, #1722, #1723, #1875); dbt Fusion without Python (#1757, #1825). Two breaking changes lead the changelog: #1722 (gate mode blocks only on engine findings and rubric.blockingRules) and #1840 (dbt_cost_estimate is BigQuery only).

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds the 0.12.13 changelog entry, the release adversarial tests (packages/opencode/test/skill/release-v0.12.13-adversarial.test.ts, 22 cases), and the fixes from the release review.

Review fixes in this PR. They come from five persona reviews of the 21 PRs on main when the branch was cut, and a sixth of #1723, which landed after. No P0, no HOLD on code.

  • altimate review runs git in the C locale, in git() and in #1723's fetch helper, so the base-policy lookup's "path absent" match and the deepen retry's "shallow file has changed" match work on a runner with a non-English locale. (altimate/review/git.ts)
  • A PR branched before the target branch had a policy is told so: when the target's tip has a .altimate/review.yml (or .yaml, .json) that the merge-base lacks, the run says the default policy applied and to rebase. (altimate/review/run.ts)
  • Under a GitHub App token in Actions, where /user returns 403, a new summary comment names the ALTIMATE_REVIEW_BOT_LOGIN value that updates the earlier one in place, instead of silently adding a summary on every push. (altimate/review/post-github.ts)
  • An empty lint-only run says "No lint findings", not the šŸŽ‰ all-clear. Merged with #1723's incomplete and unverified lines. (altimate/review/format.ts)
  • Docs. dbt Fusion without Python in the altimate-dbt section; the Claude Code guide's scan-cost bullet cut to what it does, naming Snowflake and Databricks alternatives and linking dbt_cost_estimate; exit code 3 means a bug in the review.
  • Changelog. A summary paragraph, a support heads-up with a migration step for each breaking change, every PR, and #1875's detail moved to the docs link.

Deferred, with issues:

  • #1882 "Bedrock end-to-end test of the compiled binary for each AWS credential source".
  • #1883 "a base .altimate/review.yml that does not parse fails every PR, including its fix".
  • #1884 "bound git and GitHub calls (timeouts, rate limits) and cover fork PRs on shallow checkouts".
  • #1885 "find the posting account under a GitHub App token instead of guessing github-actions[bot]".
  • #1886 "pathological-input test and a per-file time budget for PII relation matching".
  • #1887 "end-to-end test of /logout confirm, sign-out and provider reload".
  • #1888 "session.error sends the raw error message to clients".
  • #1889 "clear a target's dist/ before the release build's second attempt".
  • #1890 "the job-log masker reads long paths as credentials, and two fetch tests fail on macOS".

How did you verify your code works?

  • Preflight: --stage tag on this branch gave 9 PASS, 0 WARN, 0 FAIL. The release notes will compare against v0.12.12.
  • Static checks: bun turbo typecheck passed on all 13 packages, and the marker guard is clean.
  • Release adversarial tests: 22 pass. They cover git under German, French and Japanese locales, a bad ref failing closed, paths leaving the repository; the merge-base policy notice for each policy file name, and its silence with no policy or when the PR adds one; the App-token summary (named, updated in place with the override, never adopting another account's marker, shell characters in a login); the lint-only empty result; clientMessage on frame-only, non-Error and 1 MB messages; and EXPLAIN option lists that hide a write or DROP DATABASE.
  • Review suites: 768 of 770 pass across 21 files; the two failures are #1890 (macOS only, pass on Linux CI).
  • Full suite: 23,384 pass, 14 fail, each traced. Three pass when run alone (load). Seven read the machine's real MCP config and pass with an isolated HOME. Two are the --time-budget tests in json-output.test.ts, which fail the same way on the v0.12.12 tree. Two are #1890.
  • Release binary smoke test: OPENCODE_VERSION=0.12.13 bun run pre-release reports "ALL CHECKS PASSED", both altimate and altimate-code report 0.12.13, and review --base=-x is refused.

Cost side effects

None from the fixes in this PR; the merge-base policy check adds one local git show per policy file name, only when no policy applied. In the payload, dbt_cost_estimate with history: true (#1840) runs up to eight billed BigQuery INFORMATION_SCHEMA.JOBS queries per call; it is opt-in, and the docs and changelog say so. The default call is a free dry run.

Screenshots / recordings

n/a (CLI and docs).

šŸ¤– Generated with Claude Code


Summary by cubic

Promotes the 23 PRs on main since v0.12.12 to latest as v0.12.13, adding the changelog, 22 release adversarial tests, and the fixes from the release review. The changelog now includes debug bundle and debug probe, says which credential formats the job-log masking misses, and the two --time-budget JSON output tests CI skips were brought up to date.

Highlights: /logout signs out of the provider behind the current model, the Bedrock credential chain works in the compiled binary, altimate review comments sit on changed lines and are not reposted, and dbt Fusion works without Python. Three breaking changes lead the changelog: in gate mode altimate review blocks only on engine findings and rules named in rubric.blockingRules, its new checks block on removed columns still read downstream and on undocumented PII, and dbt_cost_estimate estimates BigQuery only. A PR can no longer relax the policy it is reviewed under — the policy comes from the merge-base, a bad key fails the run with exit 1, and a clean run posts no comment by default. Each breaking change comes with a migration step.

This PR's own changes

  • altimate review runs git in the C locale, so the base-policy lookup and the shallow-file deepen retry match on non-English runners (main's #1894 gitEnv() replaced the release fix).
  • A PR branched before the target branch gained a .altimate/review.yml is told the default policy applied and to rebase; the notice no longer claims the base branch's policy applied when the merge-base has none.
  • An empty lint-only run says "No lint findings", not the šŸŽ‰ all-clear.
  • The stale --time-budget JSON output tests now expect the unfinished reply after the "No final answer" note and use a 10 s budget for the soft-deadline case.
  • Docs: dbt Fusion without Python, a shorter scan-cost bullet, exit code 3 meaning a bug in the review.
  • Adversarial tests cover all of the above — the locale test records what a git on PATH is given, fetch included — plus clientMessage edge cases and EXPLAIN options that hide a write.

Nine follow-ups are logged for the release review's deferrals, including a Bedrock end-to-end test, an unparseable base policy, git/GitHub call timeouts, and a /logout end-to-end test.

Verification: typecheck clean across 13 packages, 22 adversarial and 768 review-suite tests pass (two macOS-only failures traced), and the preflight and release binary smoke tests report all checks passed.

Summary by CodeRabbit

  • Bug Fixes
    • Review results now distinguish lint-only runs with no findings from full reviews with no issues.
    • Policy-change notices more clearly explain which policy was applied and when a policy exists on the target branch but not the merge base.
  • Documentation
    • Clarified BigQuery cost-check behavior, dbt Fusion requirements, and how internal review failures affect verdicts and comments.
    • Updated release notes with changes to review gating, CI, comments, findings, and provider support.