How mark-alexander-hub/winvitals works
WinVitals is a Windows PC diagnosis and repair tool. Its main workflow is to scan selected system areas, turn observations into findings, explain them in the interface or an HTML report, and offer previewed, reversible repairs with a verified restore point and persistent undo. The graph also preserves the documented command-line scan and weekly scheduled check-up. Some UI and orchestration source was not sampled, so uncertain internal wiring is omitted; capability nodes use exact paths from the tree.
Main entry points: ResultsView.xaml.cs Findings and actions · Collectors System collectors · Collector.cs Scan runner · RepairSession.cs Repair session
Components 29
User experience
- Application entry
src/WinVitals.App/App.xaml.cs - Main window
src/WinVitals.App/MainWindow.xaml.cs - Home dashboard
src/WinVitals.App/Views/HomeView.xaml.cs - Scan experience
src/WinVitals.App/Views/ScanView.xaml.cs - Findings and actions
src/WinVitals.App/Views/ResultsView.xaml.cs - Command-line scan
src/WinVitals.App/Cli.cs
PC diagnosis
- Symptom playbooks
src/WinVitals.Core/Core/Playbook.cs - Scan runner
src/WinVitals.Core/Core/Collector.cs - System collectors
src/WinVitals.Core/Collectors - System checks
src/WinVitals.Core/Collectors/SystemCollector.cs - Power and sleep
src/WinVitals.Core/Collectors/PowerCollector.cs - Storage checks
src/WinVitals.Core/Collectors/StorageCollector.cs - Other check modules
src/WinVitals.Core/Collectors
Repair and undo
- Repair catalog
src/WinVitals.Core/Remediation/FixCatalog.cs - Repair session
src/WinVitals.Core/Remediation/RepairSession.cs - Repair actions
src/WinVitals.Core/Remediation/Fixes - Restore-point guard
src/WinVitals.Core/Remediation/RestorePointGuard.cs - Undo journal
src/WinVitals.Core/Remediation/UndoJournal.cs - Startup manager
src/WinVitals.Core/Remediation/StartupManager.cs
Reports and scheduling
- HTML report
src/WinVitals.Core/Report/HtmlReport.cs - Weekly check-up
src/WinVitals.App/Scheduler.cs - Scheduled summary
src/WinVitals.App/SpeedupSnapshot.cs
Shared runtime
- Scan findings
src/WinVitals.Core/Core/Model.cs - Report redaction
src/WinVitals.Core/Core/Redactor.cs - Event log reader
src/WinVitals.Core/Core/EventLog.cs - Windows command access
src/WinVitals.Core/Core/Shell.cs - WMI access
src/WinVitals.Core/Core/Wmi.cs
Other components
- PC owner
- Windows system
Connections 37
- PC owner → Application entry: starts
- Application entry → Main window: opens interface
- Application entry → Command-line scan: dispatches arguments
- PC owner → Home dashboard: requests check-up
- Home dashboard → Scan experience: starts scan
- Scan experience → Symptom playbooks: selects checks
- Symptom playbooks → Scan runner: configures scan
- Command-line scan → Scan runner: runs scan
- Scan runner → System collectors: runs modules
- System collectors → System checks: includes
- System collectors → Power and sleep: includes
- System collectors → Storage checks: includes
- System collectors → Other check modules: includes
- Scan runner → Scan findings: builds results
- Scan experience → Findings and actions: shows findings
- Findings and actions → Repair catalog: looks up repairs
- Findings and actions → Repair session: applies confirmed fixes
- Repair session → Restore-point guard: prepares safety net
- Repair session → Repair actions: runs repairs
- Repair session → Undo journal: records undo
- Findings and actions → Startup manager: manages sign-in items
- Command-line scan → HTML report: writes report
- Findings and actions → HTML report: exports report
- Scan runner → Report redaction: redacts findings
- Home dashboard → Weekly check-up: configures weekly scan
- Weekly check-up → Scheduled summary: updates summary
- Power and sleep → Event log reader: reads events
- Storage checks → Windows command access: runs system commands
- Power and sleep → Windows command access: runs system commands
- System checks → WMI access: queries Windows
- Storage checks → WMI access: queries Windows
- Windows command access → Windows system: reads or changes
- WMI access → Windows system: queries
- Event log reader → Windows system: reads logs
- Restore-point guard → Windows system: creates restore point
- Undo journal → Windows system: persists undo data
- Startup manager → Windows system: reads and changes startup