@spardutti/claude-skills 2.33.2 → 2.33.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -52,6 +52,15 @@ mutmut_unchecked() { # mutmut_unchecked <label> <base> <count> <run log>
|
|
|
52
52
|
echo " it ahead of every host-local option."
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
# mutmut forks after importing the app, so code that only runs at import survives
|
|
56
|
+
# every mutant. One agent baselined 39 of those as harmless.
|
|
57
|
+
survivor_list() { # survivor_list <survivors> <tool>
|
|
58
|
+
printf '%s\n' "$1" | sed 's/^/ /'
|
|
59
|
+
[ "$2" = mutmut ] || return 0
|
|
60
|
+
echo " Only runs at import (app setup, router registration)? Then it is unreachable,"
|
|
61
|
+
echo " not equivalent — see testing-best-practices/MUTATION-TESTING.md."
|
|
62
|
+
}
|
|
63
|
+
|
|
55
64
|
# A scoped --baseline replaces only the changed modules' names. Rebuilding the whole
|
|
56
65
|
# file re-mutated an entire API to accept eleven of them.
|
|
57
66
|
baseline_write() { # baseline_write <baseline file> <survivors file> <scope regex, or empty>
|
package/hooks/ship-gate.sh
CHANGED
|
@@ -426,7 +426,7 @@ for owner in $OWNERS; do
|
|
|
426
426
|
|
|
427
427
|
if [ -n "$SURVIVED" ]; then
|
|
428
428
|
echo " $label $TOOL — these lines can break and no test notices:"
|
|
429
|
-
|
|
429
|
+
survivor_list "$SURVIVED" "$TOOL"
|
|
430
430
|
if [ "$FOUND" -gt 20 ]; then
|
|
431
431
|
echo " ... $((FOUND - 20)) more not shown. Every file with findings:"
|
|
432
432
|
if [ "$TOOL" = stryker ]; then
|