aboutsummaryrefslogtreecommitdiff
path: root/docs/PLAN-dotfiles-separation.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-10 23:07:14 -0500
committerCraig Jennings <c@cjennings.net>2026-07-10 23:07:14 -0500
commitfca664ac7131a1f48e864afac700d503fbc3975b (patch)
tree52f913af5a114c10a026092d6d3cb320d870ded4 /docs/PLAN-dotfiles-separation.org
parent24d36d624f6b4cf5763d7f626a96ec3e84fe2f7b (diff)
downloadarchsetup-fca664ac7131a1f48e864afac700d503fbc3975b.tar.gz
archsetup-fca664ac7131a1f48e864afac700d503fbc3975b.zip
docs: add the run-time privilege model as a doctor decision
The input and output doctor reaches firmware, ALSA saved state, modprobe, and packages, which need root. The parent spec decided "no sudo anywhere," correct when the feature was user-scope PipeWire. This supersedes that. The doctor resolves its privilege at run time from three signals: passwordless sudo (sudo -n true, which never hangs), a tty to prompt at, and whether it is the GUI panel. Four remedy classes follow. Auto is user-scope and runs anywhere. Privileged needs sudo, so it runs where passwordless sudo exists, prompts on a CLI, and degrades to Guide otherwise. Reboot-tail runs the applicable part, then instructs the reboot. Guide is physical, BIOS, or wait-for-upstream. Passwordless sudo is not consequence-free, so every Privileged and Reboot-tail remedy defaults to Confirm or Arm, never silent Auto. This was Craig's call, and he wants it as a cross-panel standard. I filed a task to factor the privilege resolution into a shared helper the net, bluetooth, maint, and audio doctors all use.
Diffstat (limited to 'docs/PLAN-dotfiles-separation.org')
0 files changed, 0 insertions, 0 deletions