SPB Git

Repository Public

0007-unprivileged-agent.md 948 B 8 lines markdown

1# 0007 — The agent runs without root; unmeasurable metrics are declared, not estimated23**Context (observed).** Passwordless sudo exists on 7 of 28 Macs only. On Apple Silicon, temperature and power need `powermetrics` (root) or private SMC access.45**Decision.** The agent runs as the ordinary user (LaunchAgent, or LaunchDaemon with `UserName` on the node without a graphical session). It collects what documented, unprivileged interfaces provide (CPU, load, memory and pressure, swap, disks, network, GPU utilization through the IORegistry, processes, service managers). For everything else it reports an explicit availability state — `unsupported`, `permission_denied` or `unavailable` — and the server stores no sample. Clients display that state; nothing is interpolated or shown as zero.67**Consequences.** Temperature and power are absent in v1. A future optional privileged helper would be a separate, separately approved component.8
Files main
Menu

Theme