feat(scripts): add quarterly home-audit hygiene sweep#340
Merged
Conversation
Deterministic substrate for the recurring $HOME hygiene reminder (taskwarrior project:home-cleanup): scripts/home-audit.sh enumerates the in-scope top-level entries of $HOME, reports the delta since the last run (baseline in $XDG_STATE_HOME/home-audit/), and flags known-junk patterns (empty dirs, backup-suffixed names, zero-byte files, node_modules, .DS_Store) with an allowlist for intentional sentinels (.hushlogin etc.). Never deletes — it only enumerates and flags, reproducibly, so the human triages a small delta each cycle instead of re-running the full 8-agent audit. Out-of-scope names mirror the 2026-07 breadth-first audit exclusions (caches, macOS dirs, active config, repos/Downloads). Exposed as `just -g home-audit` via a new maint.just module. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
|
| Status | Count |
|---|---|
| 🔍 Total | 170 |
| ✅ Successful | 160 |
| ⏳ Timeouts | 0 |
| 🔀 Redirected | 0 |
| 👻 Excluded | 9 |
| ❓ Unknown | 0 |
| 🚫 Errors | 1 |
Errors per input
Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md
- [404] https://docs.anthropic.com/claude-code/commands | Failed: Network error: Not Found
Full Github Actions output
Please fix the broken links before merging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A deterministic
$HOMEtop-level hygiene sweep —scripts/home-audit.sh, exposed asjust -g home-auditvia a newmaint.justmodule.Why
Follow-up to the 2026-07 breadth-first
$HOMEaudit (taskwarriorproject:home-cleanup). Re-running the full 8-agent classification (~750k tokens) every quarter is wasteful — the enumeration is mechanical and belongs in a script (peroffload-to-deterministic-substrate). The recurring reminder triggers this; the human triages a small delta.How
.config,repos//Downloads/).$XDG_STATE_HOME/home-audit/baseline.txt); reportsNEW_SINCE_BASELINE/GONE_SINCE_BASELINE.*.bak*,*.backup*,*-backup), zero-byte files,node_modules,.DS_Store— with a sentinel allowlist (.hushlogin,.gitkeep…).KEY=VALUE/STATUS=OK|REVIEWrollup. Never deletes.Verification
shellcheckclean.NEW=0 GONE=0and flags 19 known-junk candidates.just -g home-auditregistered; global justfile parses.🤖 Generated with Claude Code