{ "intent": "Bring meta/scripts/disk_cleanup_check.sh (329 lines) under the 250-line cap by moving its formatting, sizing, confirmation and output helpers into a sourced lib.", "scope": [ "meta/scripts/disk_cleanup_check.sh", "meta/scripts/lib/disk_cleanup_common.sh (new)", "Non-goal: no change to which directories are checked, what is reported, or what --clean deletes" ], "changes": [ "Move the six colour constants and human_readable/dir_size_kb/report/confirm/try_clean into lib/disk_cleanup_common.sh.", "Move the report-only loop and the summary block into print_report_only and print_summary in the same lib; the entry script now ends with two calls.", "Add SCRIPT_DIR resolved from BASH_SOURCE so the source line works from any cwd, and set CLEAN/TOTAL_RECLAIMABLE before sourcing, since confirm reads CLEAN and report accumulates into TOTAL_RECLAIMABLE." ], "verification": [ { "command": "meta/scripts/trace_shell_split.sh