File item 515: mutate the shell lines a branch changes
CI / tests (pull_request) Successful in 6m8s

This commit is contained in:
Lilleman
2026-11-22 17:26:28 +01:00
parent e5022d0ef3
commit f368ad740f
+15 -1
View File
@@ -6,7 +6,7 @@
`Bar = 0.1`
`Next ID = 515`
`Next ID = 516`
## Items
@@ -99,6 +99,7 @@
| 169 | 0.23.0 | | | **Have rule-hook's `todo-rank-check` catch a `todo.md` that the same Bash call edits and then commits.** | 3 | 1 | 3 | 5 | 3 | 1.1 by 2 | 0.7 |
| 447 | 0.23.0 | | | **Stop a headless claude call that runs past a time limit, and report it as a failure, so a hung judge or stuck check can't hold the loop.** | 2 | 2 | 2 | 4 | 3 | 1.5 by 2 | 0.7 |
| 367 | 0.23.0 | | | **Check that every write to a Jira plan leaves it ranked, as rule-hook's `todo-rank-check` checks `todo.md` today.** | 2 | 2 | 3 | 5 | 3 | 1.6 by 2 | 0.7 |
| 515 | 0.23.0 | | | **Mutate the shell lines a branch changes in `mutate-changes`, so a change to a shell script gets the same check as one in Python, Go or PHP.** | 3 | 2 | 2 | 5 | 5 | 1.1 by 2 | 0.5 |
| 423 | 0.23.0 | | | **Skip the judge's model call on a worker's final message that the offline classifier decides is finished.** | 3 | 3 | 3 | 7 | 5 | 1.4 by 2 | 0.4 |
| 197 | 0.23.0 | | | **Let the human edit what they type at loop-claude's terminal questions with the arrow keys, so Left moves the cursor in place of printing `^[[D`.** | 2 | 2 | 3 | 5 | 2 | 1.5 by 1 | 0.4 |
| 1 | 0.24.0 | | question | **Say in README → Install how the transcript archive is backed up, once bender-infra backs up ai-sandbox's data volume.** | 1 | 2 | 1 | 2 | 1 | | 0.0 |
@@ -678,6 +679,19 @@ Touches:
One of 0.13.0's history ports, per lilleman's call of 2026-11-12.
### 515. Mutate the shell lines a branch changes in `mutate-changes`, so a change to a shell script gets the same check as one in Python, Go or PHP.
Ten client chunks in one day changed only shell scripts. Each found that `mutate-changes` prints "Not mutated, as no tool covers their language" for `.sh` files. Each stability reviewer then mutated lines by hand: 10 to 26 mutants per chunk, judged by eye, with a different operator set each time.
First look for a maintained mutation tool for POSIX sh and Bash, and cite what was found. Where none is maintained, add a small built-in operator set to `mutate-changes`, applied only to changed lines:
- negate a test (`[ ... ]`, `[[ ... ]]`, `test`);
- swap `-n` and `-z`, `=` and `!=`, `&&` and `||`;
- drop a command from a pipeline or a list;
- empty a variable expansion's default (`${X:-y}` becomes `${X}`);
- remove an `exit 1` or a `return 1`.
Run the repo's own gate per mutant, as for the other languages, and print each survivor.
### 423. Skip the judge's model call on a worker's final message that the offline classifier decides is finished.
On 2026-11-18 lilleman ruled that the classifier's miss rate of about 1 in 100 decided is close enough to no missed interrupt (`docs/decisions.md` → `routing: the offline classifier may decide finished, since lilleman ruled a miss rate of about 1 in 100 decided close enough to none; the judge's model keeps every other verdict kind`).