Make every scan explicit
The dashboard never starts a filesystem scan silently. Users select the roots and run the scanner themselves, keeping scope and cost visible.
Windows support extension
A local storage-analysis and guided-cleanup extension that turns a broad disk-space warning into clear evidence, focused review and deliberately recoverable action.
Technology architecture
Local storage evidence and guarded cleanup workflow
Explicit Python scanners produce validated local reports for a loopback-only Flask interface, while deterministic policy and immediate revalidation guard every cleanup action.
Overview / 01
Storage Insights extends the diagnostic toolkit beyond a simple low-space warning. An explicitly started scanner records local file metadata, drive capacity, coverage and inaccessible paths, then presents non-overlapping categories that explain where physical drive space is being used without pretending partial evidence is complete.
The dashboard supports individual-file, folder and file-type exploration. Stored aggregates let filters and ranked folders update without silently rescanning the drive, while protected locations, review-only items and incomplete coverage remain visible instead of being simplified into unsafe cleanup recommendations.
Selecting an item changes nothing. Cleanup requires a separate exact-path preview and explicit confirmation, followed by immediate checks of scope, metadata, risk and reparse-point state. Eligible unchanged items are sent to the Windows Recycle Bin; permanent deletion is never used as a fallback.
Try it / 02
This example analyses one drive. Replace C:\ with the drive you want to review; repeat it with different output names only when you need another drive.
Open PowerShell in the downloaded project folder, then create the local environment and install its requirements.
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements-dev.txtCreate the Windows report, storage analysis and File-Type Explorer index. Change C:\ to the drive you want to inspect.
powershell.exe -NoProfile -ExecutionPolicy Bypass -File '.\collector\Collect-Diagnostics.ps1' -OutputPath '.\reports\first-report.json'
python -m storage --root 'C:\' --output 'selected-drive-report.json'
python -m storage.file_type_indexer --drive 'C:\' --output 'selected-drive-file-types.json'Start the private local dashboard with the three reports you just created, then open the local address shown in PowerShell.
python -m dashboard --report '.\reports\first-report.json' --storage-report '.\storage-reports\selected-drive-report.json' --file-type-index '.\storage-reports\selected-drive-file-types.json'
http://127.0.0.1:5000Thinking / 03
The dashboard never starts a filesystem scan silently. Users select the roots and run the scanner themselves, keeping scope and cost visible.
Drive categories do not overlap, partial scans disclose their limits and folder hierarchy totals are never misrepresented as uniquely recoverable physical space.
Filters, selections and previews remain read-only. Cleanup requires another confirmation and live revalidation before Windows receives a Recycle Bin request.
Protected paths, reparse points, changed files, review-only risks and incomplete evidence disable cleanup rather than being treated as permission to proceed.
Evidence / 04
This extension analyses local metadata and supports guided review; it does not claim that an old or large item is safe to remove. Recycle Bin recovery remains controlled by Windows.