Skip to content

feat: require altimate-code 0.12.12, the release with the dbt Power User tools - #47

Open
hkaltai wants to merge 4 commits into
mainfrom
feat/bump-min-altimate-code-0
Open

hkaltai wants to merge 4 commits into
mainfrom
feat/bump-min-altimate-code-0

Conversation

@hkaltai

@hkaltai hkaltai commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

What changes

  • MIN_ALTIMATE_CODE is 0.12.12 (was 0.12.11). The session-start status-line notice now names a 0.12.11 install and gives the upgrade command; before, a 0.12.11 user saw nothing although the cost check, project health, team comments, /runs, /profile-ctes, /sql-graph, /to-model and /defer call tools (dbt_cost_estimate, dbt_health, dbt_run_results, dbt_cte_profile, dbt_sql_graph, dbt_map_relations, dbt_defer_state, dbt_docs_share) that only 0.12.12 has.
  • The "update altimate-code to X or later" lines in the task band and the report follow the constant, so they name 0.12.12.
  • README prerequisites and the CHANGELOG [Unreleased] section state the new minimum.

How it was tested

  • New test: a session start with altimate-code 0.12.11 shows this plugin needs >= 0.12.12 with the install command; a 0.12.12 install shows no notice. Existing notice tests assert the literal 0.12.12.
  • claude plugin test plugins/altimate-code: 1264 pass, 1 fail ("a dbt call that starts while another call reads its artifact", a known flake).
  • bash tests/*.sh: all pass. claude plugin validate --strict .: passed.

🤖 Generated with Claude Code

…ser tools

The session-start notice now names a 0.12.11 install and asks for the upgrade;
README and CHANGELOG state the new minimum.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hkaltai
hkaltai marked this pull request as ready for review November 23, 2026 09:59
Comment thread plugins/altimate-code/README.md Resolved
@kilo-code-bot

kilo-code-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Incremental review of 974b407..3042a03 (3 files, docs/comment only). Both earlier suggestions are resolved: the tool comment now names docs_share_comments (verified against hooks/features/comments.tsx, types/index.d.ts) and dbt_docs_coverage (verified against hooks/features/docs.tsx, inert-features.ts, runs.test.tsx), and README.md now states the column answer arrived in 0.12.11 instead of claiming older releases "give none" for 0.12.11.

Targeted checks on the newly touched lines:

  • MIN_ALTIMATE_CODE = '0.12.12' remains the single source; the status-line notice, task band and report all derive from it, and no hardcoded 0.12.11 minimum remains in code or tests.
  • The new tool list in altimate-cli.ts maps 9 features to 9 real tools; no nonexistent tool name is claimed.
  • CHANGELOG and README wording agrees with the released 1.6.0 entry ("Needs altimate-code 0.12.11 or later, whose column answer …"), so the 0.12.11 / 0.12.12 split is consistent.
Files Reviewed (3 files)
  • plugins/altimate-code/CHANGELOG.md
  • plugins/altimate-code/README.md
  • plugins/altimate-code/hooks/altimate-cli.ts
Previous Review Summary (commit 974b407)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit 974b407)

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 2

The version bump itself is sound: MIN_ALTIMATE_CODE is the single source for the status-line notice, the task band and the report, so no hardcoded 0.12.11 minimum remains in code. Historical 0.12.11 mentions in older CHANGELOG entries and test fixtures (lineage.test.tsx, task-impact.test.tsx, altimate-cli.test.ts) are intentional captured output, and the new 0.12.11 boundary test is not a duplicate of the existing 0.12.9 test.

Issue Details (click to expand)

SUGGESTION

File Line Issue
plugins/altimate-code/hooks/altimate-cli.ts 8 Comment names tool dbt_docs_share; team comments actually call docs_share_comments (dbt_docs_share is only the REST path /dbt/dbt_docs_share/all)
plugins/altimate-code/README.md 33 "Older releases give no column answer" is false for 0.12.11, and restates the preceding clause; the redundancy and the claim both need trimming
Files Reviewed (4 files)
  • plugins/altimate-code/CHANGELOG.md - no issues
  • plugins/altimate-code/README.md - 1 suggestion
  • plugins/altimate-code/hooks/altimate-cli.ts - 1 suggestion
  • plugins/altimate-code/hooks/integrations.test.tsx - no issues

Fix these issues in Kilo Cloud


Reviewed by deepseek-v4.1-flash-1017 · Input: 61.6K · Output: 11K · Cached: 920.5K

…inimum-version text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hkaltai

hkaltai commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

review-loop: APPROVED at 3042a03 (reviewers: Claude, Codex)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hkaltai

hkaltai commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

review-loop: APPROVED at b1d3ec9 (reviewers: Claude, Codex)

@sahrizvi sahrizvi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consensus review: APPROVE. Panel: Claude (lead) and Codex. Reviewed head b1d3ec9b47 against main cd7e099366.

The bump does what it says. MIN_ALTIMATE_CODE is read in only two kinds of place: the session-start notice, and the "update altimate-code to X or later" text in the task band and the report. No feature checks it before it runs, so nothing that worked on 0.12.11 is now refused, and the lineage column answer still works on 0.12.11. The cost, health, runs, CTE, SQL graph, to-model, defer, docs coverage and comments tools first appear in the 0.12.12 tag of altimate-code, and impact_analysis (used by /propagate) is already in 0.12.11. So dropping /propagate from the README's 0.12.12 list is correct.

Session-start notice, checked with a fake altimate that prints each version:

  • Notice shown: 0.12.10, 0.12.11, altimate-code 0.12.11, 0.12.11 printed only on stderr, only altimate-code 0.12.11 on PATH, and nothing on PATH ("not installed").
  • No notice: 0.12.12, 0.12.13, 0.13.0, 1.0.0, v0.12.12, 0.0.0-main-abc and the other 0.0.0- preview builds, and 0.12.12 printed only on stderr.
  • A binary that hangs: no notice after the 10 s timeout. The check runs in the background, so session start is not held, same as on main.

Tests:

  • claude plugin test: head 1263 pass, 2 fail; base 1263 pass, 1 fail. The shared failure is the known runs flake ("a dbt call that starts while another call reads its artifact"). The head-only failure is the 300 ms timing test "drawLayered draws a 500-node lineage". Both pass alone, 3 runs of 3.
  • Set back to 0.12.11, the constant fails the 6 notice tests, so the bump is covered.
  • tests/*.sh: 8 of 8 pass on head and base. pytest: 65 pass on head and base.

Remaining minor (does not block): the column-answer guidance in impact-report.ts now names 0.12.12 although the column answer came in 0.12.11. It is cosmetic: 0.12.12 is still the right version to upgrade to. See the inline comment.

Nits and follow-ups are in a separate PR comment.

* Stated in README.md and CHANGELOG.md too.
*/
export const MIN_ALTIMATE_CODE = '0.12.11'
export const MIN_ALTIMATE_CODE = '0.12.12'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor (cosmetic, does not block). Two other messages read this constant: impact-report.ts:286 ("no column answer: update altimate-code to 0.12.12 or later", in the band and report summary) and impact-report.ts:392 ("This altimate-code gives no column answer: update it to 0.12.12 or later to trace the column."). Both are about the column answer, which came in 0.12.11, so they now name a release one later than the one that brings that feature. The advice still works, because 0.12.12 is the minimum anyway. But it no longer matches what the README says about the column answer.

To make the text match, either give the column answer its own constant ('0.12.11') or reword both lines as "update altimate-code to the current release". impact-report.ts:286 is also edited by open PR #44, so do this after #44 merges, or in #44 itself. Raised by Codex; the lead agrees.

@sahrizvi

Copy link
Copy Markdown
Collaborator

Consensus review, nits and follow-ups (Claude lead + Codex). None of these block the approval.

  1. Nit (test gap). The session-start tests check 0.12.11 (notice) and 0.12.12 (no notice), but no version above the minimum. If the check compareVersions(...) >= 0 became === 0, all the notice tests would still pass while 0.12.13 got a notice. Two cheap additions would close this: a 0.12.13 or 0.13.0 case, and a --version that never answers (the start returns and no notice is drawn). Raised by Codex.
  2. Nit (edge case: prerelease). 0.12.12-beta.1 sorts below 0.12.12, as semver says, so a user on that build now sees "altimate 0.12.12-beta.1 found …; this plugin needs ≥ 0.12.12". On main that build saw no notice. This is intentional ordering (altimate-cli.test.ts already asserts it), and npm has no 0.12.12 prerelease (beta points at 0.12.2-beta.1, which correctly gets a notice on both). Only a hand-built prerelease meets it. A session-level test would pin the behaviour.
  3. Nit (PR description). With Claude Code 2.1.329, claude plugin validate --strict . passes. claude plugin validate --strict ./plugins/altimate-code exits 1 on this head and on main alike, with the same 7 TypeScript warnings plus ICON_MISSING. The warnings are in files this PR does not touch (features/cost.test.tsx, features/runs.test.tsx, health.test.tsx, lineage-graph.ts, usage.test.tsx). Worth naming the exact command that passed.
  4. Follow-up (merge order). git merge-tree of this head with the other open PRs:
  5. Checked, no issue. The merge commit b1d3ec9b47 brings only main's changes: the README feature sections and one CHANGELOG line. The conflicting README prerequisites paragraph was resolved to this PR's wording. That wording keeps the column answer at 0.12.11, and the "says so where its answer would be" detail is still in the feature section's intro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants