refactor(clv2): drop the two unused python resolver wrappers

`_python_install_manager_launcher` and `resolve_python_cmd` only wrapped the
new `_clv2_pick_*` helpers for printing and nothing calls them any more
(shellcheck SC2329). Refresh the registry digest for the script change.
This commit is contained in:
Jeffrey Montoya authored and GitHub committed 2026-11-18 14:11:00 -05:00
1 parent 155b4d254f
commit b10fc604bd
2 files changed
+1 -11

No files matched your search

@@ -10,7 +10,7 @@
"id": "hand-seeded",
"source": "manual-curation-pending-regeneration"
},
"registryDigest": "24385666bb04a9945f13fa7dd8f9f30edb1c1e809da1419d5f8841cd8183715a",
"registryDigest": "5205bb7d63ca24328d2808837dd9cc07e4c660cd023eddde8fd7d4b8ff3a6d6d",
"schemaVersion": 1,
"triggers": {
"skill:agent-runtime-gateway-smoke-test": [
@@ -213,11 +213,6 @@ _clv2_pick_install_manager_launcher() {
_CLV2_LAUNCHER_PATH="$_local/Python/bin/${_candidate}.exe"
}
_python_install_manager_launcher() {
_clv2_pick_install_manager_launcher "$1" || return 1
printf '%s\n' "$_CLV2_LAUNCHER_PATH"
}
# Sets _CLV2_RESOLVED_PYTHON instead of printing, so the hot path can resolve
# the interpreter without a command-substitution subshell.
_clv2_pick_python_cmd() {
@@ -249,11 +244,6 @@ _clv2_pick_python_cmd() {
return 1
}
resolve_python_cmd() {
_clv2_pick_python_cmd || return 1
printf '%s\n' "$_CLV2_RESOLVED_PYTHON"
}
_CLV2_RESOLVED_PYTHON=""
_clv2_pick_python_cmd 2>/dev/null || true
PYTHON_CMD="$_CLV2_RESOLVED_PYTHON"