Repository navigation
unslop-windows v1.5.2
Security
- Activated Batch Security Suite in Default Quality Gate (ADR-049): Added
'Unit'tag totests/unslop.bat.Tests.ps1line 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-StartupEntryfor OneDrive was previously nested inside the non-Undo debloat branch, orphaning archived startup keys inStartupBackupon-Undo. Hoisted startup entry, policy, CLSID unpinning, and scheduled task handling symmetrically outsideif ($IsUndo)acrossunslop-win11.ps1andunslop-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
$taskLookupFallback Code (ADR-049): Removed unreachableelse { 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 theelsebranch. - Consolidated Classic Context Menu Handling (ADR-049): Unified duplicate CLSID unpinning logic on
$IsUndoinunslop-win11.ps1Module 9, eliminating redundant branches. - Optimized Master Quality Gate Test Targets (ADR-049): Consolidated triplicated custom target PSObjects in
scripts/Test-MasterGate.ps1into reusable$targetW11and$targetW10instances, cutting 25 lines of duplicate boilerplate. - Scope Sanitization & Directory Hoisting (ADR-049): Moved
$allRunKeysbelow the dot-source guard to prevent scope leakage during test execution, hoistedNew-Item -Path $logDirpost-reparse resolution, and hoistedFINAL_ARGSinitialization in:runinunslop.bat.
Added
- Multi-Script Code Coverage Profiling & Threshold Enforcement (ADR-047, ADR-048):
- Added
-ShowCoverageand-CoverageThreshold <double>parameters toscripts/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 atdocs/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.
- Added
Quick Installation & Usage
- Download
unslop-windows-v1.5.2.zipfrom Assets below. - Extract the archive to any directory.
- Right-click
unslop.batand choose Run as administrator (or double-click and accept the UAC elevation prompt). - 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.
- [1] Windows 11: Targets 26H2, 26H1, 25H2, 24H2, 23H2, 22H2, 21H2 (runs
- 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