Skip to content

fix(update): refresh kit on every kai update path#38

Merged
jschatz1 merged 1 commit into
mainfrom
fix/kai-update-refreshes-kit
Jul 14, 2026
Merged

fix(update): refresh kit on every kai update path#38
jschatz1 merged 1 commit into
mainfrom
fix/kai-update-refreshes-kit

Conversation

@jschatz1

Copy link
Copy Markdown
Member

kai update early-returned at "Already on the latest version (0.35.1)" — checked against kai-cli's release line only — and never reached the kit refresh at the bottom of runUpdate. Since kit versions independently (kai-tui line), a user with a current launcher and a stale kit was told everything was up to date. Observed on a fresh install today: launcher 0.35.1, kit stuck at 0.33.135 with 0.33.136 published.

refreshKit() extracted and called on both paths (already-latest and post-download). Best-effort as before: kit failure warns, never fails the launcher update.

🤖 Generated with Claude Code

kit versions on its own line (kai-tui), so a current launcher says
nothing about kit's freshness — but runUpdate early-returned at
'Already on the latest version' before ever reaching the kit refresh
at the bottom of the function. A user with a stale kit ran kai update,
was told everything was current, and kept the old kit (2026-07-14
fresh-install dogfood, one release behind). Extract refreshKit() and
call it on both paths.
@kaicontext

kaicontext Bot commented Jul 14, 2026

Copy link
Copy Markdown

🔍 Kai review

Tip

Intent verified — does what the PR describes, nothing flagged.

  • ✅ Intent matches the PR description
  • ✅ No coverage gaps
  • ✅ No risky claims

+20 −6 · 1 file · reaches 0

View finding → · Awaiting your verdict — Kai never approves its own finding.

@jschatz1
jschatz1 merged commit 3ffca0b into main Jul 14, 2026
2 checks passed
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.

1 participant