Loki Mode v7.41.2
Immutable
release. Only release title and notes can be modified.
CI integrity patch. The v7.41.1 release shipped to npm but its Tests workflow
went red on two test-only defects (the runtime code was unaffected). This patch
makes the suite green again and adds a permanent guard for the class of
regression that v7.41.1 introduced.
Fixed
- Shell tests:
tests/test-completion-summary.shnow accepts the v7.41.1
pathspec-filteredreview_cmd(git diff <sha>..HEAD -- . ':(exclude).loki/');
the glob previously required the command to end at..HEAD. - ShellCheck:
_loki_caveman_infer_levelinautonomy/lib/claude-flags.shis
annotated# shellcheck disable=SC2120(its$1is intentionally optional with
a global fallback). Older shellcheck on CI flagged SC2120 as a warning and
failed the lint gate; newer shellcheck does not.
Added
tests/test-plan-json-smoke.sh: a fast direct regression guard asserting
loki plan --jsonexits 0, emits valid JSON with a populated
cost.iterations_by_model, and never prints "unbound variable" (the v7.41.1
heredoc$5-unbound regression). Wired intotests/run-all-tests.sh.