Skip to content

Launch RecallManager v1 beta#1

Merged
antonflor merged 13 commits into
mainfrom
agent/recallmanager-v1-launch
Jul 24, 2026
Merged

Launch RecallManager v1 beta#1
antonflor merged 13 commits into
mainfrom
agent/recallmanager-v1-launch

Conversation

@antonflor

@antonflor antonflor commented Jul 19, 2026

Copy link
Copy Markdown
Owner

What changed

Turns the original one-question DISM toggle into a state-aware Recall management module (src/RecallManager) with public commands (Get-RecallStatus, Get-RecallAudit, Get-RecallPlan, Set-RecallProfile, Restore-RecallConfiguration, Export-RecallReport), four desired-state profiles, Pester tests, CI workflows, and docs.

This branch also includes two fixes found during live testing on a Windows 11 device (build 26200):

  • Get-RecallWindowsInfo: renamed local $isWindows -> $isWindowsOs. Assigning to the read-only automatic $IsWindows variable throws in PowerShell 6+ (PSScriptAnalyzer error).
  • Tests: import the module at file scope so InModuleScope resolves during Pester's discovery phase. Previously the "Effective state reasoning" block failed to load, so 3 of 7 tests never ran.

Safety impact

  • Audit-only change (read-only commands verified)
  • Changes Windows policy (via SnapshotsOff / PrivacyHardened profiles)
  • Changes an optional feature (PrivacyHardened disables/removes the component)
  • May delete existing Recall snapshots (per Microsoft policy behavior)
  • May require restart

Validation

  • PSScriptAnalyzer (0 errors; 16 intentional warnings - CLI Write-Host, -Profile param)
  • Pester on Windows PowerShell 5.1
  • Pester on PowerShell 7 (7/7 passing)
  • Tested on a device where Recall is unavailable (read-only Status/Audit/Plan + JSON verified live)
  • Tested on an eligible Copilot+ PC
  • Restore tested
  • Screenshots redacted

Documentation

No doc changes in the fix commit. Change-path testing (Apply/Restore on a Copilot+ device, screenshots) is still outstanding per docs/testing.md before tagging the beta.

🤖 Generated with Claude Code

antonflor and others added 13 commits July 18, 2026 19:55
- Get-RecallWindowsInfo: rename local $isWindows to $isWindowsOs; assigning
  to the read-only automatic $IsWindows variable throws in PowerShell 6+
  (PSScriptAnalyzer error).
- Tests: import the module at file scope so InModuleScope resolves during
  Pester's discovery phase. Previously the "Effective state reasoning" block
  failed to load, so 3 of 7 tests never ran.

Suite now: PSScriptAnalyzer 0 errors, Pester 7/7 passing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@antonflor
antonflor marked this pull request as ready for review July 24, 2026 06:22
@antonflor antonflor self-assigned this Jul 24, 2026
@antonflor
antonflor merged commit 46855bb into main Jul 24, 2026
@antonflor
antonflor deleted the agent/recallmanager-v1-launch branch July 24, 2026 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant