feat(live): fix hw_harvest boot recursion and add optional first-open diagnostics #99
Loading…
Reference in a new issue
No description provided.
Delete branch "clawdie/feat/first-open-hw-diagnostics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the FreeBSD boot-time recursion bug in clawdie_hw_harvest where
/etc/rc.subr run_rc_script() sources the rc script with $0=/etc/rc
(leaving hardware-facts.json unwritten and leaking .harvest.flock into
boot daemons so manual onestart deadlocks in lockf).
Makes hardware diagnostics an explicit, optional first-open step right
before assistant naming:
refresh the cockpit, and report honest hardware/VM facts + supported
workloads (never overclaiming local AI models on low-RAM / VM guests).
in clawdie-firstboot-confirm before assistant naming; persist choice
across reboots; keep interrupted/EOF prompts unstarted; continue on
collector failure.
artifacts exist (Skip -> memory workflow) while preserving fail-closed
manifest verification on partial or corrupted snapshots.
key presence was checked, show 'skipped (run clawdie-hw-check)', and
refuse to display a prior computer's hardware snapshot when SMBIOS
system_uuid changes.