Commit 465f8dc
refactor: remove hand-rolled dbt parser, use altimate-code CLI instead
Removed the lightweight ref()-based DAG parser (dbt-lightweight.ts).
It was a shortcut that would break on cross-package refs, dynamic refs,
Jinja conditionals, ephemeral models, etc.
Now:
- altimate-code CLI is ALWAYS installed (from GitHub release binaries)
- Impact analysis uses the real CLI tools (impact_analysis, dbt_manifest)
- Static mode = no LLM for SQL review, but dbt analysis uses real tools
- Fallback: CLI-based impact analysis when no manifest available
Also fixed CLI installation:
- Downloads binary directly from GitHub releases (the install script
at altimate.ai/install redirects to the marketing website)
- Supports linux x64/arm64, darwin x64/arm64
- Caches binary per version
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 46ebc95 commit 465f8dc
File tree
6 files changed
+139
-790
lines changed- dist
- src
- context
- test/unit
6 files changed
+139
-790
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | | - | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
111 | 109 | | |
112 | 110 | | |
113 | | - | |
| 111 | + | |
114 | 112 | | |
115 | 113 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
120 | 149 | | |
121 | 150 | | |
122 | | - | |
123 | 151 | | |
124 | 152 | | |
125 | 153 | | |
| |||
0 commit comments