mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-11 16:14:12 +01:00
linux_configuration/periodic_background/hosts/ is now github.com/kuhyx/hosts-blocker, cloned at ~/hosts-blocker. Clears 5 of the 46 directory-depth violations; the remaining 41 are all digital_wellbeing, so --warn stays on the depth hook until that unit moves too. History was filtered across ALL FOUR paths the unit has lived at (hosts/, linux_configuration/hosts/, linux_configuration/scripts/periodic_background/ hosts/, and the current one). Filtering on the current path alone would have preserved 1 commit out of 51 -- the flatten moved it recently, so a naive single --path silently truncates the history to the flatten commit and still looks fine in `git log | head`. No source line changed: all 15 files are byte-identical to the copies removed here. install.sh already resolved its lib/ via BASH_SOURCE. The six callers now resolve the checkout through a new shared helper, linux_configuration/lib/extracted_repos.sh, which reads the invoking user's home from SUDO_USER's passwd entry rather than $HOME -- several of these scripts re-exec under sudo, where $HOME is /root. A missing checkout fails loudly with a clone instruction; it is never a silent skip, which is the failure mode that left screen-locker's self-repair dead for five months after the 2026-05-15 reorg. The live blocker is untouched: /etc/hosts keeps its chattr +i, and the guards load their plugins from /usr/local/share/guard-lib-plugins/ (byte-identical by md5), not from a repo path. Verified: 25 tests pass from ~/hosts-blocker; shellcheck clean on the helper and all six callers; sudo resolution prints /home/kuhy/hosts-blocker; test_setup_dns_blocker.sh passes; report_live_state.sh --check is byte-identical before and after, so no new stale references. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PJrqKERAo5QUeEHWS5Asgp |
||
|---|---|---|
| .. | ||
| artifact-prune-mode-2026-08-23.json | ||
| cap-artifact-growth-2026-08-23.json | ||
| ci-mirror-serialise-under-pressure-2026-08-23.json | ||
| extract-hosts-blocker-2026-08-23.json | ||
| fix-bats-diag-path-2026-08-23.json | ||
| fix-music-parallelism-drift-guard-2026-08-23.json | ||
| flatten-linux-configuration-2026-08-23.json | ||
| hosts-guard-tests-2026-08-23.json | ||
| live-state-installed-scripts-2026-08-23.json | ||
| nvidia-config-allowlist-2026-08-23.json | ||
| nvidia-config-seams-restore-2026-08-23.json | ||
| nvidia-config-tests-2026-08-23.json | ||
| precommit-workflow-dispatch-2026-08-23.json | ||
| prettier-endurain-readme-2026-08-23.json | ||
| prune-superpowers-artifacts-2026-08-23.json | ||
| python-tests-minimal-deps-2026-08-23.json | ||
| python-tests-path-filter-symlink-2026-08-23.json | ||
| quarantine-arch-sysctl-cases-2026-08-22.json | ||
| restructure-step0-safety-net-2026-08-23.json | ||
| shell-coverage-bar-back-to-presence-2026-08-23.json | ||
| skip-duplicated-pytest-in-precommit-ci-2026-08-23.json | ||
| split-boot-repair-2026-08-23.json | ||
| suite-speedup-2026-08-23.json | ||
| template.json | ||
| thorium-repairs-tests-2026-08-23.json | ||
| ubuntu-perf-fixes-tests-2026-08-23.json | ||
| wire-shell-coverage-ratchet-2026-08-23.json | ||
| wire-structure-gates-2026-08-23.json | ||