From 794123c2c9c9b6a3ccd40636e275f52cdd43a793 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sat, 21 Nov 2026 10:07:56 +0100 Subject: [PATCH] Prune two oldest evidence artifacts main CI went red: docs/superpowers/evidence held 61 files, over the 60 cap (repo-size-cap hook). Co-Authored-By: Claude Opus 5.5 --- ...ompulsive-block-stale-orig-2026-10-11.json | 36 ------------------- ...rack-usr-local-bin-scripts-2026-10-11.json | 36 ------------------- 2 files changed, 72 deletions(-) delete mode 100644 docs/superpowers/evidence/compulsive-block-stale-orig-2026-10-11.json delete mode 100644 docs/superpowers/evidence/track-usr-local-bin-scripts-2026-10-11.json diff --git a/docs/superpowers/evidence/compulsive-block-stale-orig-2026-10-11.json b/docs/superpowers/evidence/compulsive-block-stale-orig-2026-10-11.json deleted file mode 100644 index 886ccc5e..00000000 --- a/docs/superpowers/evidence/compulsive-block-stale-orig-2026-10-11.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "intent": "check_compulsive_blocker stops reporting a messaging app as wrapped when its package was removed and only /usr/bin/.orig (the real launcher, a blocker bypass) is left; the repair deletes it.", - "scope": [ - "linux_configuration/periodic_background/lib/services_apps.sh, linux_configuration/periodic_background/lib/tests/test_services_apps.sh", - "Installer/hook side lives in digital-wellbeing (commit 6867f29); non-goal: no change to the full-installer repair path" - ], - "changes": [ - "_pkg_owns_path reads ${SYSROOT}/var/lib/pacman/local/*/files (0 owned, 1 unowned, 2 undeterminable) instead of calling the wrapped pacman", - "A .orig on an unowned /usr/bin/ is a warning 'stale .orig left after package removal' and is removed via run (plus a dangling wrapper) unless --status; an unreadable db never prunes" - ], - "verification": [ - { - "command": "periodic_background/lib/tests/run_all.sh", - "result": "pass", - "evidence": "test_services_apps.sh 38 passed 0 failed (new cases fail 8/38 against HEAD); all services suites pass" - }, - { - "command": "vmbox guest cco: check_compulsive_blocker on a real stranded /usr/bin/discord.orig", - "result": "pass", - "evidence": "--status: warning, file kept; repair: FIXES=1, file gone; rerun: ok. Passed in vmbox, not verified on the host" - }, - { - "command": "shellcheck -x services_apps.sh test_services_apps.sh", - "result": "pass", - "evidence": "clean" - } - ], - "risks": [ - "A package that ships the app under a different path than /usr/bin/ would make its .orig look stale", - "The host's next periodic run will delete /usr/bin/discord.orig itself" - ], - "rollback": [ - "git revert the commit", - "Run check_and_enable_services.sh --status and confirm the compulsive_blocker section" - ] -} diff --git a/docs/superpowers/evidence/track-usr-local-bin-scripts-2026-10-11.json b/docs/superpowers/evidence/track-usr-local-bin-scripts-2026-10-11.json deleted file mode 100644 index a41aeccd..00000000 --- a/docs/superpowers/evidence/track-usr-local-bin-scripts-2026-10-11.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "intent": "Every script installed to /usr/local/bin is a tracked repo file: sync-dot-cert.sh is installed from linux_configuration/scripts/ instead of being generated from a heredoc.", - "scope": [ - "linux_configuration/scripts/sync-dot-cert.sh, linux_configuration/features/setup_dot_resolver.sh, linux_configuration/features/lib/dot_resolver_install.sh, linux_configuration/features/lib/tests/test_dot_resolver_install.sh", - "Non-goal: stunnel config and units stay generated; deluge-fix-lt.py is not in this commit (repo lint blocks a verbatim copy)" - ], - "changes": [ - "scripts/sync-dot-cert.sh takes (defaults = the installer's) instead of baking them in; install_cert_sync does sudo install -m 755 of it and dies if it is missing", - "dot-cert-sync.service ExecStart and the installer's first sync pass the three arguments, so a non-default --domain reaches the timer; unused cert_source_dir removed" - ], - "verification": [ - { - "command": "shell_coverage_jail.sh --subject features/lib/tests/test_dot_resolver_install.sh --min 0 --fail-on-case-error", - "result": "pass", - "evidence": "no case errors; a mutated sync script (reload removed) makes the jail fail" - }, - { - "command": "vmbox guest cco: install_cert_sync + install_units as root over a stale generated copy, then the installed script against a docker shim", - "result": "pass", - "evidence": "installed == tracked (cmp), 755 root, ExecStart passes domain/container/dir, docker cp paths identical to the live script, second run silent. Passed in vmbox, not verified on the host" - }, - { - "command": "shellcheck -x on the four shell files", - "result": "pass", - "evidence": "clean" - } - ], - "risks": [ - "The live /usr/local/bin/sync-dot-cert.sh and dot-cert-sync.service stay the old generated ones until setup_dot_resolver.sh is re-run", - "A bare manual sync-dot-cert.sh run uses the defaults, which must track the installer's constants" - ], - "rollback": [ - "git revert the commit and re-run setup_dot_resolver.sh", - "Check systemctl start dot-cert-sync.service and setup_dot_resolver.sh --check" - ] -}