Skip to content

v1.5.2

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 08:29
· 2 commits to main since this release

unslop-windows v1.5.2

Security

  • Activated Batch Security Suite in Default Quality Gate (ADR-049): Added 'Unit' tag to tests/unslop.bat.Tests.ps1 line 117, ensuring SEC-04 (elevation quoting injection defense), SEC-05 (whitelist synchronization), and SEC-06 (KeepClock omission) execute during standard local quality gate runs without requiring -IncludeIntegration.

Fixed

  • OneDrive Startup Entry Restoration Symmetry (ADR-049): Resolved an active restoration asymmetry where Remove-StartupEntry for OneDrive was previously nested inside the non-Undo debloat branch, orphaning archived startup keys in StartupBackup on -Undo. Hoisted startup entry, policy, CLSID unpinning, and scheduled task handling symmetrically outside if ($IsUndo) across unslop-win11.ps1 and unslop-win10.ps1.
  • Start Menu Shortcut False Preview Logging on Undo (ADR-049): Wrapped IrisService programmable tiles and sponsored Start menu shortcut removal routines in if (-not $IsUndo) across both engines, eliminating deceptive [PREVIEW] Would remove... log emissions during live restoration passes.

Changed

  • Eliminated Dead $taskLookup Fallback Code (ADR-049): Removed unreachable else { Set-TaskState ... } fallback blocks across 6 call sites in Modules 11 and 14 across both Windows 11 and 10 engines where truthy PowerShell hashtable evaluation ([bool]@{} -eq $true) permanently blocked the else branch.
  • Consolidated Classic Context Menu Handling (ADR-049): Unified duplicate CLSID unpinning logic on $IsUndo in unslop-win11.ps1 Module 9, eliminating redundant branches.
  • Optimized Master Quality Gate Test Targets (ADR-049): Consolidated triplicated custom target PSObjects in scripts/Test-MasterGate.ps1 into reusable $targetW11 and $targetW10 instances, cutting 25 lines of duplicate boilerplate.
  • Scope Sanitization & Directory Hoisting (ADR-049): Moved $allRunKeys below the dot-source guard to prevent scope leakage during test execution, hoisted New-Item -Path $logDir post-reparse resolution, and hoisted FINAL_ARGS initialization in :run in unslop.bat.

Added

  • Multi-Script Code Coverage Profiling & Threshold Enforcement (ADR-047, ADR-048):
    • Added -ShowCoverage and -CoverageThreshold <double> parameters to scripts/Test-MasterGate.ps1, aggregating command-level coverage across core engines (unslop-win11.ps1, unslop-win10.ps1) and support utility scripts (scripts/Measure-SystemState.ps1, scripts/Install-GitHooks.ps1, scripts/Test-MasterGate.ps1, scripts/Test-Coverage.ps1).
    • Added standalone code coverage profiler and reporter (scripts/Test-Coverage.ps1) generating formatted console tables, unexercised command diagnostics (-Detailed), and automated documentation reports at docs/coverage-report.md.
    • Added comprehensive Pester test suite (tests/Test-Coverage.Tests.ps1) covering AST syntax, parameter bindings, mutual exclusivity contracts, ValidateRange boundary enforcement, and markdown generation structures.

Quick Installation & Usage

  1. Download unslop-windows-v1.5.2.zip from Assets below.
  2. Extract the archive to any directory.
  3. Right-click unslop.bat and choose Run as administrator (or double-click and accept the UAC elevation prompt).
  4. Select your operating system from the selection menu:
    • [1] Windows 11: Targets 26H2, 26H1, 25H2, 24H2, 23H2, 22H2, 21H2 (runs unslop-win11.ps1).
    • [2] Windows 10: Targets 22H2, 21H2, 20H2, Enterprise LTSC, Builds 10240-19045 (runs unslop-win10.ps1).
    • [0] Exit: Close the launcher.
  5. Choose an option from the OS feature menu:
    • [1] Full Debloat: Remove OneDrive, telemetry and provisioned bloatware.
    • [2] Gamer Preset: Debloat, keep Xbox & Gaming Services (-KeepXbox).
    • [3] Productivity Preset: Debloat, keep OneDrive & Microsoft To-Do (-KeepOneDrive -KeepTodos).
    • [4] Interactive Toggles: Configure custom feature combinations with visual toggle states.
    • [5] Safe Dry-Run Audit: Inspect all changes safely with zero system modifications (-DryRun).
    • [6] Full Restore / Undo: Symmetrically revert all tweaks back to defaults (-Undo).
    • [7] Custom CLI Flags: Manually enter parameter switches (e.g. -KeepTodos -KeepXbox -NoRestart).
    • [8] Back to OS Selection: Return to the main OS choice screen.
    • [0] Exit: Close the launcher.

Verification & Integrity

Verify archive integrity using the published SHA256SUMS.txt:

Get-FileHash .\unslop-windows-v1.5.2.zip -Algorithm SHA256