Commit a5b179c
fix(guide): reload full audit JSON to prevent cascading failures
Fixed issue where failed upgrade attempts caused all subsequent tools
to show <none> for installed version and unknown install method.
Root cause: Single-tool audit overwrote AUDIT_JSON with only that tool's
data, breaking subsequent jq lookups.
Solution: Update snapshot silently, then reload full audit JSON:
1. CLI_AUDIT_COLLECT=1 CLI_AUDIT_MERGE=1 audit.py "$tool" >/dev/null
2. CLI_AUDIT_JSON=1 CLI_AUDIT_RENDER=1 audit.py (reload all tools)
This preserves full tool list throughout upgrade session.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent ac8a95a commit a5b179c
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
163 | 166 | | |
164 | 167 | | |
165 | 168 | | |
| |||
0 commit comments