Files
stack/scripts
jason.woltje afc176de02 fix(scripts): row 211 R5 busy check literal listing, flat form, sourced word walk (#1709)
From the GPT review of R4 (row211-r4-gpt.md, N1 and N2), for #1709 and #426:

- slot-busy.sh (N1): gone() lists the proc root with
  ls -f -1 --quoting-style=literal, so QUOTING_STYLE can't quote a pid
  out of the listing, and the script exports LC_ALL=C before any tool
  runs. A failed or denied listing is still never gone.
- slot-busy.sh (N2): a command line holding quotes, backslashes, shell
  operators or uneven whitespace gets a flat form, made in awk. The
  snapshot rule reads the flat form. The general rules read the flat
  form, then the raw text. A wrapper's text goes through an awk word
  walk: every word of a source or . span counts, quoted text is read
  again, and the wrapper's own snapshot is skipped. More than 32 walk
  levels, an awk failure or bad output is exit 2, "cannot classify".
- test-git-guard.sh: 48 new cases, 153 in all. The new cases cover
  QUOTING_STYLE, the locale, the rule shapes, depth, awk failure, and
  live wrappers for the review's 13 shapes plus a CLEAR control.
- mutants.sh: sites R5 moved are updated, and 27 new mutants bring the
  total to 57, all killed.

RED 119/34 on fd1aa8cc8's slot-busy.sh, GREEN 153/0. The hook and the
installer are unchanged.
2026-11-02 17:53:26 -06:00
..