Repository navigation
Conversation
Each feature gets its own file under hooks/features/, called by name from features/index.ts in a fixed order: its own hooks, the session and turn events, its band line and its tool-call phases. One tool.call hook (tool-chain.ts) runs Bash and file handling in fixed phases: bashRewrite, bashGate, the call, bashAfter, editAfter, readOrEditAfter. The status line is built from parts (status-line.ts). runTool moves to altimate-cli.ts with a `write` option that goes through the CLI with --allow-write. dbt-command.ts finds the dbt invocations in a shell command line. New userConfig fields: maxScanBytes, healthBlocksPush, healthConfigPath, commentsPollSeconds, commentsInContext. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Maps each table of a file or selection to a ref() or source() call, shows the unmatched and partial rows first in a pane, and asks Claude to write the model with exactly those replacements. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Subshells after keywords, case patterns, process substitution, arrays, arithmetic and function definitions parse again; quotes in a heredoc inside a substitution are text; a function or case pattern named dbt is not an invocation. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…roject's manifest, reports a missing CLI Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
Review round: findings and what was doneTwo independent reviewers (Claude and Codex) read this PR with the altimate-code PR; a fresh reviewer then attacked the fixes. Fixes are in 0207c75. Fixed
Not changed
Tests: 🤖 Generated with Claude Code |
hkaltai
marked this pull request as ready for review
November 13, 2026 17:39
|
Kilo Code Review could not run — your account is out of credits. Add credits or switch to a free model to enable reviews on this change. |
Contributor
Author
|
review-loop: APPROVED at 0207c75 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
/to-model <name> [path]turns raw SQL into a dbt model. The SQL comes from the file, or from the person's selection when no path is given. The mod calls altimate-code'sdbt_map_relationstool throughrunTool(straight to the CLI, whose--jsoncarries the mapping), which matches each table to aref()orsource().Panelists the tables with unmatched and partial rows on top.models/<layer>/<name>.sqlusing exactly those replacements, and ask before adding sources for unmatched tables.prompt.submitfrom inside acommand.runhook.ToModelStateis filled intypes/index.d.ts. Onlyhooks/features/to-model.tsxand its test use it.Tests
claude plugin test ./plugins/altimate-code: 209 pass, including 7 new tests inhooks/features/to-model.test.tsxthat cover the submitted prompt for a fixture mapping, the pane row order, the selection path, and each refusal.claude plugin validate --strict .passes, and alltests/*.shpass.claude plugin validate --strict ./plugins/altimate-codestill fails on four type warnings inhooks/lineage.test.tsx(not touched here);to-model.tsxhas none.Changelog lines
/to-model <name> [path]: turn raw SQL into a dbt model, with tables mapped toref()andsource().Merge the altimate-code PR (AltimateAI/altimate-code#1737) first: this mod calls the installed CLI.
Demo
Demo video (hosted)
P-13.mp4 — watch on Notion (Altimate workspace; recorded from the approved head of this PR).
🤖 Generated with Claude Code