testsAndMisc/docs/superpowers/contracts/linux-config-polling-hardening-2026-05-14.json
Krzysztof kuhy Rudnicki 11c792ef3a fix(linux_configuration): harden polling/runtime scripts and add tests
- music_parallelism.sh + thesis_work_tracker.sh: tighter state-output and
  error paths; expanded regression tests.
- hosts-file-monitor.sh + shutdown-timer-monitor.sh: harden against partial
  failures, matching new test branches.
- i3blocks persist_common.sh helper improved (consumed by activitywatch /
  warp status blocks).
- setup_midnight_shutdown.sh + thesis_work_status.sh: state parsing tuned.
- pacman_blocked_keywords.txt: drop one obsolete entry.
- New test_thesis_work_status.sh regression script.

All six bash regression tests pass.
2026-05-14 19:55:42 +02:00

17 lines
1.1 KiB
JSON

{
"title": "Linux configuration polling/runtime hardening 2026-05-14",
"objective": "Continue hardening the i3blocks and digital-wellbeing shell scripts against fork-storm/polling anti-patterns and runtime bugs while adding regression tests; preserve fail-closed behavior across hosts/shutdown monitors.",
"acceptance_criteria": [
"All modified shell scripts pass their bash regression tests under linux_configuration/tests/.",
"music_parallelism.sh, thesis_work_tracker.sh, shutdown timer/hosts file monitors, and persist_common.sh keep deterministic state output even under partial failures.",
"New test_thesis_work_status.sh regression script covers the state-parsing helper.",
"No new noqa/shellcheck suppressions introduced."
],
"out_of_scope": [
"Changing i3 keybindings or systemd unit topology.",
"Modifying screen_locker or steam_backlog_enforcer in this commit.",
"Refactoring pacman blocklist policy beyond the single keyword adjustment."
],
"verifier": "bash linux_configuration/tests/test_*.sh (all six modified/new tests) plus pre-commit run on staged files"
}