Skip to content

Mise: no forced release-age 0; SSE4.2 agent skip; keep OpenClaw CLI - #11514

Open
chessing234 wants to merge 14 commits into
omacom:quattrofrom
chessing234:fix/9532-mise-release-age
Open

chessing234 wants to merge 14 commits into
omacom:quattrofrom
chessing234:fix/9532-mise-release-age

Conversation

@chessing234

@chessing234 chessing234 commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Spot-check each folded PR's test plan still applies

Wrappers were calling `mise use -g` on every invocation, which rewrote
global mise config and raced on shared locks when a caller timed out.
Pin once in omarchy-mise-install, leave wrappers as `mise x` only, and
migrate existing mutating wrappers.
@chessing234 chessing234 changed the title Stop forcing MISE_MINIMUM_RELEASE_AGE=0 Stop forcing mise release age 0; keep wrappers exec-only Sep 15, 2026
@chessing234 chessing234 changed the title Stop forcing mise release age 0; keep wrappers exec-only Mise: no forced release-age 0; SSE4.2 agent skip; keep OpenClaw CLI Sep 21, 2026
chessing234 added a commit to chessing234/omarchy that referenced this pull request Sep 21, 2026
@chessing234
chessing234 force-pushed the fix/9532-mise-release-age branch from e4424d3 to 58daba3 Compare September 21, 2026 09:39
@omarchybot omarchybot added the enhancement New feature or request label Sep 27, 2026
@llstrk

llstrk commented Oct 1, 2026

Copy link
Copy Markdown

Automated AI review

Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review.

Outcome: omarchy-mise-install now exits 1 when mise use -g cannot download the tool, so offline user setup and the new migration stop.

Writing a wrapper now needs the network

install/user/mise.sh runs under bash -eE, so one failed download stops omarchy-provision-user partway. Migration 1789200000 calls the same installer, so offline omarchy-migrate stops and the old wrapper stays.

Suggested change: Write the wrapper first and only warn if mise use -g fails (mise x installs on first run); have the migration only rewrite files.

Reproducer: user setup (fails at 58daba3)

install/user/mise.sh, sourced the way run_logged sources it (bash -eE), with a mise that cannot download anything.

Save as test/shell.d/user-setup-offline-test.sh and run bash test/shell.d/user-setup-offline-test.sh from the repository root. mise is stubbed inside the test; nothing is downloaded.

#!/bin/bash

set -euo pipefail

source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh"

test_tmp=$(mktemp -d)
trap 'rm -rf "$test_tmp"' EXIT

mock_bin="$test_tmp/bin"
test_home="$test_tmp/home"
mkdir -p "$mock_bin" "$test_home"

# A first boot or ISO install with no network yet: mise answers settings
# calls, but anything that has to download a tool fails.
cat >"$mock_bin/mise" <<'SH'
#!/bin/bash
case $1 in
  use | install | x | exec)
    echo "mise ERROR failed to fetch versions: network unreachable" >&2
    exit 1
    ;;
esac
exit 0
SH
# Not under test here, and it reaches pacman.
printf '#!/bin/bash\nexit 0\n' >"$mock_bin/omarchy-install-hermes-cli"
chmod +x "$mock_bin"/*

export PATH="$mock_bin:$ROOT/bin:$PATH"
export HOME="$test_home"

# Sourced exactly as run_logged does it, so a non-zero exit here aborts
# omarchy-provision-user before the default browser, the mailto handler, the
# first-install migration markers and the finalize-user marker.
status=0
bash -eE -c 'source "$1"' bash "$ROOT/install/user/mise.sh" >"$test_tmp/out" 2>&1 || status=$?

wrappers=$(find "$test_home/.local/bin" -maxdepth 1 -type f 2>/dev/null | wc -l)
(( status == 0 )) ||
  fail "user setup finishes without network" "exit status $status, $wrappers wrappers written
$(cat "$test_tmp/out")"
pass "user setup finishes without network ($wrappers wrappers written)"

Output at 58daba3 (PR head), exit status 1:

exit status 1, 0 wrappers written
mise ERROR failed to fetch versions: network unreachable
not ok - user setup finishes without network

Output at 31bd80d (merge base), exit status 0:

ok - user setup finishes without network (18 wrappers written)
Reproducer: migration (fails at 58daba3)

migrations/1789200000.sh run the way omarchy-migrate runs it (bash -euo pipefail), once with a mise that cannot download anything and once with a working mise over two wrappers the user changed. Migration 1789200000 does not exist at the merge base, so there is no base run.

Save as test/shell.d/mise-wrapper-readonly-migration-edge-test.sh and run bash test/shell.d/mise-wrapper-readonly-migration-edge-test.sh from the repository root. mise is stubbed inside the test; nothing is downloaded.

#!/bin/bash

set -euo pipefail

source "$(dirname "${BASH_SOURCE[0]}")/base-test.sh"

migration="$ROOT/migrations/1789200000.sh"
test_dir=$(mktemp -d)
trap 'rm -rf "$test_dir"' EXIT

home="$test_dir/home"
bin_dir="$home/.local/bin"
mkdir -p "$bin_dir" "$test_dir/bin" "$test_dir/offline"

cat >"$test_dir/bin/mise" <<'SH'
#!/bin/bash
exit 0
SH
cat >"$test_dir/offline/mise" <<'SH'
#!/bin/bash
echo "mise ERROR failed to fetch versions: network unreachable" >&2
exit 1
SH
chmod +x "$test_dir/bin/mise" "$test_dir/offline/mise"

# Run the way omarchy-migrate runs it.
run_migration() {
  HOME="$home" PATH="$1:$ROOT/bin:$PATH" bash -euo pipefail "$migration" >/dev/null 2>&1
}

failures=()

# The template omarchy-mise-install writes at the merge base.
cat >"$bin_dir/claude" <<'EOF'
#!/bin/bash
export MISE_MINIMUM_RELEASE_AGE=0
mise use -g --quiet "claude" || exit 1
exec mise x "claude" -- "claude" "$@"
EOF
chmod +x "$bin_dir/claude"

# 1. Rewriting a wrapper is a file edit. The earlier wrapper migrations
# (1784909971, 1787573629) did it without the network.
if ! run_migration "$test_dir/offline"; then
  failures+=("migration needs the network to rewrite a wrapper (exit non-zero, so omarchy-migrate stops and omarchy update aborts)")
fi
grep -q '^mise use -g' "$bin_dir/claude" &&
  failures+=("offline: the mutating claude wrapper is still in place")

# 2. Wrappers the user changed. 1787573629 leaves both alone (see
# mise-wrapper-quiet-migration-test.sh).
cat >"$bin_dir/customized" <<'EOF'
#!/bin/bash
export MISE_MINIMUM_RELEASE_AGE=0
export SOME_TOKEN=abc123
mise use -g --quiet "customized" || exit 1
exec mise x "customized" -- "customized" "$@"
EOF
cat >"$bin_dir/mismatched" <<'EOF'
#!/bin/bash
mise use -g --quiet "one-package" || exit 1
exec mise x "another-package" -- "bin" "$@"
EOF
chmod +x "$bin_dir/customized" "$bin_dir/mismatched"
customized_before=$(<"$bin_dir/customized")
mismatched_before=$(<"$bin_dir/mismatched")

run_migration "$test_dir/bin" || failures+=("migration failed with a working mise")

[[ $(<"$bin_dir/customized") == "$customized_before" ]] ||
  failures+=("a generated wrapper a user added a line to is regenerated without that line")
[[ $(<"$bin_dir/mismatched") == "$mismatched_before" ]] ||
  failures+=("a wrapper whose two lines disagree is rewritten to a different package")

if (( ${#failures[@]} )); then
  printf -- '--- customized after migration\n%s\n--- mismatched after migration\n%s\n' \
    "$(<"$bin_dir/customized")" "$(<"$bin_dir/mismatched")" >&2
  for f in "${failures[@]}"; do printf 'not ok - %s\n' "$f" >&2; done
  exit 1
fi
pass "migration rewrites offline and leaves wrappers it did not write alone"

Output at 58daba3 (PR head), exit status 1:

--- customized after migration
#!/bin/bash
exec mise x "customized" -- "customized" "$@"
--- mismatched after migration
#!/bin/bash
exec mise x "one-package" -- "bin" "$@"
not ok - migration needs the network to rewrite a wrapper (exit non-zero, so omarchy-migrate stops and omarchy update aborts)
not ok - offline: the mutating claude wrapper is still in place
not ok - a generated wrapper a user added a line to is regenerated without that line
not ok - a wrapper whose two lines disagree is rewritten to a different package

Remove Preinstalls misses the new wrappers

omarchy-remove-preinstalls finds the cursor-agent and muse wrappers by their mise use -g line. New and migrated wrappers lack it, so both stay.

Suggested change: Also match ^exec mise x "cursor-agent" -- and the muse form, as omarchy-default-agent now does.

Reproducer (fails at 58daba3)

omarchy-remove-preinstalls over the cursor-agent and muse wrappers that omarchy-mise-install writes, generated the same way install/user/mise.sh generates them.

Save as test/shell.d/remove-preinstalls-mise-wrapper-test.sh and run bash test/shell.d/remove-preinstalls-mise-wrapper-test.sh from the repository root. mise is stubbed inside the test; nothing is downloaded.

#!/bin/bash

set -euo pipefail

source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh"

test_tmp=$(mktemp -d)
trap 'rm -rf "$test_tmp"' EXIT

mock_bin="$test_tmp/bin"
test_home="$test_tmp/home"
mkdir -p "$mock_bin" "$test_home"

# mise is stubbed so omarchy-mise-install can write its wrappers offline.
for command in omarchy-webapp-remove-all omarchy-tui-remove-all hyprctl omarchy-pkg-drop gum mise; do
  printf '#!/bin/bash\nexit 0\n' >"$mock_bin/$command"
done
chmod +x "$mock_bin"/*

export PATH="$mock_bin:$ROOT/bin:$PATH"
export HOME="$test_home"

# The same two calls install/user/mise.sh makes.
omarchy-mise-install cursor-agent >/dev/null
omarchy-mise-install "http:muse[url=https://api.meta.ai/muse-launcher.sh,bin=muse,version_list_url=https://api.meta.ai/muse-code/channels/muse-stable,version_json_path=.version]" muse >/dev/null

omarchy-remove-preinstalls >/dev/null

left=()
[[ -e $test_home/.local/bin/cursor-agent ]] && left+=(cursor-agent)
[[ -e $test_home/.local/bin/muse ]] && left+=(muse)
if (( ${#left[@]} )); then
  for name in "${left[@]}"; do
    printf -- '--- ~/.local/bin/%s\n' "$name" >&2
    cat "$test_home/.local/bin/$name" >&2
  done
  fail "Remove Preinstalls deletes the cursor-agent and muse wrappers omarchy-mise-install wrote" "left behind: ${left[*]}"
fi
pass "Remove Preinstalls deletes the cursor-agent and muse wrappers omarchy-mise-install wrote"

Output at 58daba3 (PR head), exit status 1:

--- ~/.local/bin/cursor-agent
#!/bin/bash
exec mise x "cursor-agent" -- "cursor-agent" "$@"
--- ~/.local/bin/muse
#!/bin/bash
exec mise x "http:muse[url=https://api.meta.ai/muse-launcher.sh,bin=muse,version_list_url=https://api.meta.ai/muse-code/channels/muse-stable,version_json_path=.version]" -- "muse" "$@"
left behind: cursor-agent muse
not ok - Remove Preinstalls deletes the cursor-agent and muse wrappers omarchy-mise-install wrote

Output at 31bd80d (merge base), exit status 0:

ok - Remove Preinstalls deletes the cursor-agent and muse wrappers omarchy-mise-install wrote
More findings

A leftover gateway unit counts as an OpenClaw install. After the package is removed by hand, the unit file openclaw gateway install wrote stays, and omarchy-openclaw-present treats it as present. omarchy-install-openclaw-cli --now then installs nothing and the default agent is set to a missing openclaw. Run from the command line with no package but OpenClaw found on PATH or through such a unit, omarchy-install-ai-openclaw skips the install yet still passes the package's /usr/lib/node_modules/openclaw/... icon path, so the desktop entry gets Icon=apple-touch-icon with no icon installed, and it prints "OpenClaw has been installed." even when nothing was installed. Suggested change: for --check/--now, require the package or a runnable openclaw on PATH, and on the skip branch pick the icon from the installed openclaw.

Migration rewrites wrappers it did not write. Any file of 1 KiB or less in ~/.local/bin with a quoted mise use -g line and an exec line is regenerated, dropping a user's added lines and taking the package from that line (see the migration reproducer). It also calls omarchy-mise-install rather than omarchy-mise-install-bun, so it installs claude and pi on CPUs the new SSE4.2 check rejects (CPU reproducer below). Suggested change: compare against the exact known templates, as migration 1787573629 does, and skip claude/pi when omarchy-hw-cpu-sse4_2 fails.

Existing tests fail at the head. bin-style-test.sh rejects the raw command -v in omarchy-hw-cpu-sse4_2 and omarchy-openclaw-present (use omarchy-cmd-present). default-agent-test.sh fails at "agent migration removes the obsolete Oh My Pi wrapper after opt-out", because migration 1785846769 also recognises wrappers by mise use -g. mise-wrapper-quiet-migration-test.sh now calls the real mise use -g on made-up packages. Suggested change: fix the two helpers and update the wrapper matchers and test stubs.

Release age reverses a documented decision. docs/update-process.md describes the MISE_MINIMUM_RELEASE_AGE=0 override as "the point" of omarchy-update-mise, and #11886 is about writes on every run, not the cooldown. Without it, omarchy update holds back releases younger than mise's default (24h) and mup equals mise up. The new if ! mise up makes omarchy-update-mise always exit 0 (reproducer below; the rest is from source), and its message blames the cooldown, which on mise up normally just holds back the newest release with a warning. Suggested change: move the release-age change to its own PR and update the docs and manual if it is accepted.

Reproducer: OpenClaw leftover unit (fails at 58daba3)

OpenClaw package removed by hand (as in #11829, step 4) with no other openclaw on PATH, but the gateway unit openclaw gateway install wrote still in ~/.config/systemd/user.

Save as test/shell.d/openclaw-leftover-unit-test.sh and run bash test/shell.d/openclaw-leftover-unit-test.sh from the repository root. omarchy-pkg-add, omarchy-agent and the install terminal are stubbed inside the test; nothing is installed.

#!/bin/bash

set -euo pipefail

source "$(dirname "$0")/base-test.sh"

tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT
mkdir -p "$tmp/bin" "$tmp/home/.config/systemd/user"
export HOME="$tmp/home"
unset XDG_CONFIG_HOME
# No openclaw anywhere on this PATH.
export PATH="$tmp/bin:$ROOT/bin:/usr/bin:/bin"
export TEST_LOG="$tmp/log"
: >"$TEST_LOG"

# `sudo pacman -R openclaw` by hand (issue #11829, step 4): the package is gone,
# but the unit `openclaw gateway install` wrote under ~/.config stays.
printf '[Service]\nExecStart=/usr/bin/node /usr/lib/node_modules/openclaw/dist/index.js gateway\n' \
  >"$HOME/.config/systemd/user/openclaw-gateway.service"

printf '#!/bin/bash\nexit 1\n' >"$tmp/bin/omarchy-pkg-present"
printf '#!/bin/bash\nexit 1\n' >"$tmp/bin/systemctl"
printf '#!/bin/bash\nprintf "pkg-add:%%s\\n" "$*" >>"$TEST_LOG"\n' >"$tmp/bin/omarchy-pkg-add"
printf '#!/bin/bash\nprintf "agent:%%s\\n" "$*" >>"$TEST_LOG"\n' >"$tmp/bin/omarchy-agent"
printf '#!/bin/bash\nprintf "terminal:%%s\\n" "$*" >>"$TEST_LOG"\n' >"$tmp/bin/omarchy-launch-floating-terminal-with-presentation"
chmod +x "$tmp/bin"/*

type -P openclaw >/dev/null && fail "fixture: no openclaw may be on PATH"

omarchy-install-openclaw-cli --now >/dev/null 2>&1 || true
omarchy-default-agent openclaw >/dev/null 2>&1 || true

grep -q '^pkg-add:openclaw' "$TEST_LOG" ||
  fail "with no openclaw installed, --now installs the package" \
    "log: $(tr '\n' ' ' <"$TEST_LOG")
default agent file: $(cat "$HOME/.config/omarchy/defaults/agent" 2>/dev/null || echo none)"
pass "with no openclaw installed, --now installs the package"

Output at 58daba3 (PR head), exit status 1:

log: agent: 
default agent file: openclaw
not ok - with no openclaw installed, --now installs the package

Output at 31bd80d (merge base), exit status 0:

ok - with no openclaw installed, --now installs the package
Reproducer: existing tests (fail at 58daba3)

The repository's existing tests, unchanged, run from a checkout of the PR head (58daba3) placed at the placeholder path /tmp/omarchy.

bash test/shell.d/bin-style-test.sh at 58daba3, exit status 1:

/tmp/omarchy/bin/omarchy-openclaw-present
/tmp/omarchy/bin/omarchy-hw-cpu-sse4_2
not ok - bin commands use command helpers

At 31bd80d (merge base), exit status 0:

ok - bin commands use command helpers
ok - bin commands use the notification helper

bash test/shell.d/default-agent-test.sh at 58daba3, exit status 1:

ok - custom agent lazy stubs preserve their mise packages
ok - user setup creates the custom agent lazy stubs
ok - user setup keeps an existing Cursor CLI install
ok - Muse migration preserves existing installs and the preinstall opt-out
ok - Cursor CLI migration preserves an existing Cursor CLI install
ok - Antigravity migration reads the default the way the launcher does
ok - Antigravity migration only removes the Gemini wrapper Omarchy wrote
ok - Antigravity migration provisions Antigravity skills
ok - Antigravity migration respects removed preinstalls
ok - Antigravity migration never leaves the default naming a missing agent
ok - Antigravity migration preserves an existing Antigravity install
not ok - agent migration removes the obsolete Oh My Pi wrapper after opt-out

At 31bd80d the same file exits 0.

Reproducer: migration on an incompatible CPU (fails at 58daba3)

Migration 1789200000, run the way omarchy-migrate runs it (bash -euo pipefail), on an x86-64-v1 CPU that omarchy-hw-cpu-sse4_2 rejects, with the claude and pi wrappers an existing install has. The test prints the mise calls the migration makes.

Save as test/shell.d/migration-cpu-gate-test.sh and run bash test/shell.d/migration-cpu-gate-test.sh from the repository root. mise is stubbed inside the test and only records its calls; nothing is downloaded.

#!/bin/bash

set -euo pipefail

source "$(dirname "${BASH_SOURCE[0]}")/base-test.sh"

migration="$ROOT/migrations/1789200000.sh"
test_dir=$(mktemp -d)
trap 'rm -rf "$test_dir"' EXIT

home="$test_dir/home"
bin_dir="$home/.local/bin"
mkdir -p "$bin_dir" "$test_dir/bin"
mise_log="$test_dir/mise.log"
: >"$mise_log"

# Records every call instead of downloading anything.
cat >"$test_dir/bin/mise" <<'SH'
#!/bin/bash
printf 'mise %s\n' "$*" >>"$OMARCHY_TEST_MISE_LOG"
exit 0
SH
chmod +x "$test_dir/bin/mise"

# An x86-64-v1 CPU (Core 2 Duo): SSE4.1, no SSE4.2, no POPCNT.
cpuinfo="$test_dir/cpuinfo"
printf 'processor\t: 0\nvendor_id\t: GenuineIntel\nmodel name\t: Intel(R) Core(TM)2 Duo CPU     E7600  @ 3.06GHz\nflags\t\t: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx lm pni ssse3 cx16 sse4_1 lahf_lm\n' >"$cpuinfo"

if OMARCHY_CPUINFO="$cpuinfo" "$ROOT/bin/omarchy-hw-cpu-sse4_2"; then
  fail "fixture: omarchy-hw-cpu-sse4_2 must reject this CPU"
fi

# The claude and pi wrappers an existing install has, in the merge-base template.
for agent in claude pi; do
  printf '#!/bin/bash\nexport MISE_MINIMUM_RELEASE_AGE=0\nmise use -g --quiet "%s" || exit 1\nexec mise x "%s" -- "%s" "$@"\n' \
    "$agent" "$agent" "$agent" >"$bin_dir/$agent"
  chmod +x "$bin_dir/$agent"
done

# Run the way omarchy-migrate runs it.
HOME="$home" PATH="$test_dir/bin:$ROOT/bin:$PATH" OMARCHY_CPUINFO="$cpuinfo" \
  OMARCHY_TEST_MISE_LOG="$mise_log" bash -euo pipefail "$migration" >/dev/null 2>&1

if grep -qE '^mise use -g( --quiet)? "?(claude|pi)"?$' "$mise_log"; then
  fail "migration does not install claude or pi on a CPU omarchy-hw-cpu-sse4_2 rejects" \
    "mise calls made by the migration:
$(cat "$mise_log")"
fi
pass "migration does not install claude or pi on a CPU omarchy-hw-cpu-sse4_2 rejects"

Output at 58daba3 (PR head), exit status 1:

mise calls made by the migration:
mise use -g --quiet claude
mise use -g --quiet pi
not ok - migration does not install claude or pi on a CPU omarchy-hw-cpu-sse4_2 rejects

Migration 1789200000 and omarchy-hw-cpu-sse4_2 do not exist at 31bd80d (merge base), so there is no base run.

Reproducer: omarchy-update-mise exit status (fails at 58daba3)

omarchy-update-mise when mise up fails. omarchy update runs it under set -e, so its exit status decides whether the update stops there.

Save as test/shell.d/update-mise-exit-status-test.sh and run bash test/shell.d/update-mise-exit-status-test.sh from the repository root. mise is stubbed inside the test; nothing is downloaded.

#!/bin/bash

set -euo pipefail

source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh"

test_tmp=$(mktemp -d)
trap 'rm -rf "$test_tmp"' EXIT

mock_bin="$test_tmp/bin"
mkdir -p "$mock_bin"

# A mise up that fails, as it does when a tool cannot be downloaded.
cat >"$mock_bin/mise" <<'SH'
#!/bin/bash
if [[ $1 == "up" ]]; then
  echo "mise ERROR failed to install aqua:anthropics/claude-code: network unreachable" >&2
  exit 1
fi
exit 0
SH
chmod +x "$mock_bin/mise"

export PATH="$mock_bin:$ROOT/bin:$PATH"

# omarchy update runs this under set -e, so its exit status decides whether
# the update stops here.
status=0
omarchy-update-mise >"$test_tmp/out" 2>&1 || status=$?

(( status != 0 )) ||
  fail "omarchy-update-mise exits non-zero when mise up fails" "exit status $status
$(cat "$test_tmp/out")"
pass "omarchy-update-mise exits non-zero when mise up fails (exit status $status)"

Output at 58daba3 (PR head), exit status 1 (terminal colour codes removed):

exit status 0

Update mise tools
mise ERROR failed to install aqua:anthropics/claude-code: network unreachable
mise up could not refresh every tool (often a release cooldown). Retry later or adjust MISE_MINIMUM_RELEASE_AGE / npm min-release-age.
not ok - omarchy-update-mise exits non-zero when mise up fails

Output at 31bd80d (merge base), exit status 0:

ok - omarchy-update-mise exits non-zero when mise up fails (exit status 1)
Details

Merge with quattro: a trial merge with the quattro tip conflicts in bin/omarchy-default-agent and bin/omarchy-install-hermes-cli. The Hermes hunk is obsolete there, since quattro no longer builds Hermes through mise. On the trial merge the wrapper, Remove Preinstalls and OpenClaw reproducers above still fail.

Open PRs that assume the old wrapper: #12329 (Remove Agents) matches only the old mutating templates, #11973's test expects a mise use -g --quiet line after its migration, and #13781's stub-restoration migration sources install/user/mise.sh, so it now downloads too. All three would need updating whichever lands second.

Verified:

  • omarchy-hw-cpu-sse4_2 reports x86_64 CPUs without SSE4.2 or POPCNT as incompatible and aarch64 as compatible.
  • The new wrappers only run mise x and keep shell characters in package names quoted.
  • The migration matches every quoted historical wrapper template.
  • mise x still installs a missing tool on first run.

Review information

Test scope: Source and sandbox tests with a stubbed mise, at 58daba3; no real downloads or hardware.

AI process: Opus 5.5 Medium coordination and synthesis, Opus 5.5 Xhigh technical review and final fact check, GPT 6 Sol Xhigh search for related issues, Opus 5.5 Medium editorial check.

Opt out: To stop receiving these reviews, reply to this comment saying so.

@greptile-apps

greptile-apps Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 4/5

[Medium impact] The PR changes default tool updates and a few AI installation choices.

The earlier custom-launcher deletion issue still needs fixing before merging.

Findings

  1. P1 Muse match deletes custom launchers ▶

Summary

This PR lets mise honor the user's release cooldown and keeps generated wrappers exec-only.

  • Mise tools honor release waits and launch only when you run them.
  • Claude and Pi are offered only on CPUs that can run them.
  • The OpenClaw install menu recognizes commands already on PATH.

Reviews (8) · Last reviewed commit: "Merge quattro and preserve agent CPU gua..." · Reviewed by Greptile

Comment thread bin/omarchy-mise-install Resolved
Comment thread migrations/1789200000.sh Resolved
Comment thread bin/omarchy-openclaw-present Resolved
Comment thread test/shell.d/openclaw-present-test.sh Resolved
Comment thread bin/omarchy-update-mise Resolved
Comment thread bin/omarchy-remove-preinstalls Outdated
# Preserve a user-managed Muse launcher at the same path.
if [[ -f ~/.local/bin/muse && ! -L ~/.local/bin/muse ]] &&
grep -Eq '^mise use -g .*"http:muse\[' ~/.local/bin/muse; then
grep -Eq '^(mise use -g .*"http:muse\[|exec mise x "http:muse\[)' ~/.local/bin/muse; then

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Muse match deletes custom launchers

If a user-maintained Muse launcher contains a line beginning exec mise x "http:muse[, this prefix check treats it as an Omarchy preinstall and deletes the entire file. That can remove a launcher with additional user setup, despite the stated intent to preserve user-managed launchers.

Knowledge Base Used: Migration framework

Comment thread bin/omarchy-default-agent Resolved
@jandrusk

Copy link
Copy Markdown

Thanks for pulling these together. A few things on the current head:

Comment thread test/shell.d/bun-agent-cpu-test.sh Resolved
Comment thread bin/omarchy-mise-install Resolved
Comment thread test/shell.d/mise-managed-agent-test.sh Resolved
Comment thread test/shell.d/bun-agent-cpu-test.sh Resolved
Comment thread bin/omarchy-mise-install Resolved
Comment thread test/shell.d/mise-managed-agent-test.sh Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants