Fail the test suite on a process kill by pattern

What

A restart written as a pattern kill of simulation.sh matches every concurrent simulation on the machine, so it can kill another operator's provisioning. The operations guide already forbade it, but the skill's own rules did not, and nothing checked that no recipe or script does it.

Changes

  • SKILL.md rule 2 now says to stop only your own run, by the PID you started or with down --instance <name>, never by a pkill -f pattern.
  • The operations paragraph on the same rule is tightened to pay for that line in the word budget (net +2 words).
  • tests/run.sh gains a check that scans every tracked file, except the rule's own prose and the released changelog, for a pattern kill. It also flags a kill fed from a process search through xargs or command substitution. Probe lines prove the check flags each shape and passes a kill by PID.

No recipe or script in the repository uses a pattern kill today, so the check passes on main and fails the moment one appears.

Testing

  • tests/run.sh: 639 passed, 0 failed.
  • just commit-trailers and just word-budget pass.

Closes #18 (closed)

Merge request reports

Loading
Loading