# RigDoctor โ€” Module Catalog (DRAFT v0.2) Status: โฌœ not started ยท ๐ŸŸฆ designing ยท ๐ŸŸจ in progress ยท โœ… done > Final module set (D14). **M7 (stress/repro) was dropped (D7).** M10/M11 are the GUI and > tray modules (D10/D11). GPU scope reads "all (NVIDIA first)" โ€” NVIDIA is implemented first, > others via the vendor abstraction (D4). | ID | Module | Bundle | Key deps | GPU scope | Priority | Status | |----|--------|--------|----------|-----------|----------|--------| | M1 | Sensor core | Essential | none (nvidia-smi, sysfs) | all (NVIDIA first) | P0 | โฌœ | | M3 | Crash-capture logger | Essential | none (opt: smartmontools) | all (NVIDIA first) | P0 | โฌœ | | M4 | Health report (log scan) | Essential | none (opt: smartmontools) | all (NVIDIA first) | P0 | โฌœ | | M2 | Live monitor (TUI) | Monitoring | none (stdlib curses) | all | P1 | โฌœ | | M8 | Alerting | Monitoring | libnotify (opt) | all | P2 | โฌœ | | M5 | System inventory | Diagnostics | none (opt: lm-sensors, dmidecode) | all | P1 | โฌœ | | M6 | Gaming env checks | Diagnostics | none | all | P2 | โฌœ | | M10 | Desktop GUI | Desktop UI | **python3-pyside6** | all | P2 | โฌœ | | M11 | Tray / menu-bar applet | Desktop UI | **python3-pyside6** (+ AppIndicator on GNOME) | all | P2 | โฌœ | | M9 | Installer | (meta) | none | all | P1 | โฌœ | | ~~M7~~ | ~~Stress / repro~~ | โ€” | โ€” | โ€” | โ€” | โŒ dropped (D7) | ## Notes per module - **M1 Sensor core** โ€” the foundation everything else samples from. Stdlib-only. Abstracts NVIDIA/AMD/Intel + hwmon behind one interface; **ship the NVIDIA + hwmon path first**. - **M3 Crash-capture logger** โ€” the highest-value piece for the seed use case. `fsync` per sample; GPU-lost detection via query timeout; bounded rotation; `systemd --user` service with a **user-selectable trigger mode** (always-on / game-launch / manual โ€” D6). - **M4 Health report** โ€” turns scattered logs into a prioritized, plain-language findings list with **suggested** fixes (read-only, D9). Reuses M1 for a live snapshot. Also powers the **guided diagnostic session** (with M3): pick a game โ†’ focused capture โ†’ scan โ†’ findings (see SPEC ยง4). - **M2 Live monitor** โ€” depends on M1; the terminal "HWMonitor for Linux" face. Stdlib-only. - **M5 / M6 Diagnostics** โ€” inventory export + gaming-env checks; M6 flags risky settings and suggests the fix command but does not apply it (D9). - **M8 Alerting** โ€” threshold/event notifications; integrates with the tray applet (M11). - **M10 Desktop GUI** โ€” PySide6 graphical front-end over the core engine (dashboard, log browser, report viewer, logger controls). Optional; adds the Qt dependency. - **M11 Tray applet** โ€” `QSystemTrayIcon` menu-bar applet. Dropdown shows live M1 readouts (CPU temp, GPU temp, memory used/total, status dot) and is led by a **Run Diagnostic** action (the guided diagnostic session), plus Open dashboard / Start-Stop recording / Snapshot / Quit (D13). Optional; shares the Qt dependency with M10. - **M9 Installer** โ€” interactive wizard layered on the `.deb` (D8); apt-first dependency resolution; enables the logger service and trigger mode. ## Bundles (final โ€” D14) - **Essential:** M1 + M3 + M4 *(the MVP, NVIDIA-only โ€” D5)* - **Monitoring:** M2 + M8 - **Diagnostics:** M5 + M6 - **Desktop UI:** M10 + M11 *(adds PySide6)* ## MVP candidate โ€” *confirmed (D5)* **M1 + M3 + M4 (Essential), NVIDIA-only, CLI-first.** Gives a working tool that captures the GPU crash and explains the logs โ€” deliverable before the installer, GUI/tray, or multi-vendor work.