Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Low impact] The PR appears safe to merge; no new actionable issues were found. SummaryAdds a migration that retires the leftover Kimi launcher only when Omarchy still declares Kimi and the launcher exactly matches the shipped wrapper.
Reviews (5) · Last reviewed commit: "Leave Kimi alone for a user who opted ou..." · Reviewed by Greptile |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reviewed by Claude Opus 5.5 and run on a disposable Omarchy worker at 5383759, with a second opinion from Codex Medium and muse-spark-1.3-contributor (pi, high). What was checked, with real mise on the worker:
Two corrections to the description, not the code. On current Second opinion. Both models made the PATH point too; they can read this session's notes, so that agreement is not independent. Codex raised one finding of its own: the line added to 1791382872 puts Kimi into that migration's unconditional Labelled |
quattro removed the migration tests (omacom#16302), so the Kimi case added to mise-lazy-tools-migration-test.sh goes with them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Migrations run strictly in filename order, and quattro has shipped migrations newer than 1792611438 since this branch was cut. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged |
Listing Kimi in 1791382872 dropped its latest request whatever the launcher was, so a customized or user-owned kimi lost its own request. 1793109804 runs after it on every machine and only acts on the exact wrapper, so it handles Kimi on its own, and the shipped migration stays as it shipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Listing omarchy-tools.toml in ignored_config_paths opts a user out without the preinstalls-removed marker. Removing the wrapper and its latest request then left that user with no Kimi at all, so the migration now also requires the declaration to be in effect, as 1792343099 does for Node. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: muse-wonder High <noreply@meta.com>
|
Re-reviewed at the new head after the merge of What was checked, with real mise on the worker (stock install, every
One fix pushed, f96ad2e. If a user opts out of Omarchy's mise tools by hand, listing Second opinion. Codex Medium noted that a stock wrapper beside a user-customized
On f96ad2e both reviewers came back with nothing further. Codex can read this session's notes, so its agreement is not guaranteed to be independent. An earlier attempt to take Waiting on the maintainer. |
#9596 moved the default CLI tools from
omarchy-mise-installwrappers to mise's native lazy shims, and its migration (1791382872) retires each old wrapper. Kimi's wrapper, installed by 1786967403 from #7261, isn't in its list. The two landed four days apart.So on machines that had Kimi's wrapper,
~/.local/bin/kimistays the old wrapper. Omarchy's own PATH puts mise's shims ahead of~/.local/bin, so a stock login shell and the desktop session run the shim, but wherever a user's own setup puts~/.local/binfirst, the wrapper runs instead. Each run writes"npm:@moonshot-ai/kimi-code" = "latest"to the user's mise config.mise use -gcopies the declaration'slazyandauto_updateinto that entry, so Kimi keeps both, but from then on the user's config owns Kimi rather than Omarchy's declaration, and later changes to the declaration never reach it.A new migration handles Kimi on every machine, whether or not it has run 1791382872: it removes the wrapper only when it is exactly the one
omarchy-mise-installwrote, and only then drops thelatestrequest the wrapper wrote. A customized launcher, a symlink, or a user's own request stays untouched. Users who removed the preinstalls are skipped, sinceomarchy-remove-preinstallsalready took the wrapper. So are users who opted out of Omarchy's mise tools by listingomarchy-tools.tomlinignored_config_paths, since the wrapper and its request are the only Kimi they have left.Testing
latestrequest are removed and other tools in the config stay; a customized wrapper at the same path is kept.which -a kimiin a shell that had inherited~/.local/binahead of the shims resolved to the old wrapper first, and the wrapper matched the template byte for byte. With this branch checked out,omarchy-migrateran only the new migration (exit 0) and removed the wrapper.which -a kimithen found only the mise shim, the firstkimi --versioninstalled 2.3.0 on demand, andmise lsshowed it managed by/etc/mise/conf.d/omarchy-tools.toml. The user's mise config was unchanged, since that wrapper had never run.🤖 Generated with Claude Code