From b10fc604bdd4d0a6be57ce7fafcda2a26225da6a Mon Sep 17 00:00:00 2001 From: Jeffrey Montoya Date: Wed, 18 Nov 2026 14:11:00 -0500 Subject: [PATCH] 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. --- manifests/context-packs/skill-triggers@1.json | 2 +- skills/continuous-learning-v2/hooks/observe.sh | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/manifests/context-packs/skill-triggers@1.json b/manifests/context-packs/skill-triggers@1.json index dd99b2c48..32dff3c6c 100644 --- a/manifests/context-packs/skill-triggers@1.json +++ b/manifests/context-packs/skill-triggers@1.json @@ -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": [ diff --git a/skills/continuous-learning-v2/hooks/observe.sh b/skills/continuous-learning-v2/hooks/observe.sh index c55b1db37..9d3d9cb18 100755 --- a/skills/continuous-learning-v2/hooks/observe.sh +++ b/skills/continuous-learning-v2/hooks/observe.sh @@ -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"