feat(rebuild): #56 human rebuild errors point at doctor
Some checks failed
Check / eval (push) Has been cancelled

sys-update / sys-rebuild / home-update tee output and on failure print
the last 40 log lines plus nomarchy-doctor + RECOVERY.md. theme-sync HM
switch failure notify/die text matches. Close #56.

Verified: V1 (HM rebuild; failure-footer shell smoke).
This commit is contained in:
Bernardo Magri
2026-07-10 08:45:33 +01:00
parent e81529c1bb
commit a102dff508
4 changed files with 81 additions and 25 deletions

View File

@@ -63,20 +63,6 @@ Next slice: on hardware, run `hyprctl clients` while each is open, read
the real `class`, then append rules. Also revisit whether blueman/s-c-p
actually float once seen (regex tolerance for the `.…-wrapped` form).
### 55. Fingerprint menu: enroll / list (+ optional PAM toggle)
VISION § A / HARDWARE.md §5. Installer enables fprintd on known USB VIDs
but enroll is CLI-only (`fprintd-enroll`) and PAM is a commented rebuild.
Self-gated System row when `fprintd` is present: enroll, list, delete;
optional “use for login” that writes `settings`/system intent + rebuild
note (Control Center Bluetooth pattern). Full enroll path is
`[blocked:hw]` / V3; menu surface + self-gate + dry paths are V1V2.
### 56. Human rebuild errors
VISION § A. On failed `sys-rebuild` / HM switch, point the user at the
last log lines + `nomarchy-doctor` instead of a raw Nix wall. Likely
home: menu rebuild wrapper and/or control-center path. Cost: medium
pkgs/menu; V1 + V2 smoke of the failure path (can force a bad eval).
## LATER
- **Wallpapers artifact split** (ROADMAP § Faster switches — decided,
@@ -423,8 +409,9 @@ autodetect is strong; day-2 lifecycle (firmware, biometrics, re-detect,
NVIDIA depth) is still mostly CLI. Items below are product work on top
of that doc — design notes live there (§4§10).*
_(`nomarchy-detect-hw` CLI → **#58**; Fingerprint menu → **#55**;
Installer NVIDIA commented guidance → **#59** ✓ 2026-07-10.)_
_(`nomarchy-detect-hw` CLI → **#58** ✓ 2026-07-10; Fingerprint menu → **#55**
2026-07-10 (V3 enroll on reader); Installer NVIDIA commented guidance →
**#59** ✓ 2026-07-10.)_
_(hardware-db ∈ nixos-hardware → #49; usbutils on install PATH → #50;
i2c README table → #48.)_