Files
CommandForge/tests/CommandForge.Tests
poli0981andClaude Opus 4.8 e66b3cffbc Phase 3b: confirmation, restore point, revert, deep admin commands
- IConfirmationService + confirmation dialog: Caution confirms (with optional
  restore point); Dangerous requires typing the command title to enable Run
  (golden rule #8).
- Restore Point as a catalog command (system.restorepoint, Checkpoint-Computer)
  run via the broker before risky commands — shares the one session UAC.
- Revert: detail-panel button runs the command's revertCommandId (with its own
  confirmation if risky); added revert pairs.
- 10 catalog commands incl. DISM RestoreHealth, SFC, Winsock reset, Defender
  quick scan, hibernate on/off, hide/show extensions, and the telemetry pair
  (Dangerous + revert) + EN/VI strings.
- Block app exit while a command is running (confirm, then cancel).
- Tests: confirmation gating (Caution always; Dangerous type-to-confirm) — 38 total.

Build -c Release: 0 warnings. dotnet test: 38/38. UX verified manually.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-17 21:25:57 +07:00
..