ReviewOS

also looking at this

stacks/drone

feat: own runtime firmware candidates

#49
Merged chris wants to merge codex/runtime-candidate-ownership into main
24 files +1245 -92
docs/diagnostics.mdmodified+9-6
Changes to docs/diagnostics.md
@@ -155,12 +155,15 @@ Physical flash power-loss, full-medium and electrical I/O fault campaigns are st
155155- Measure board flash/storage latency, loss/rotation policy, logging deadlines and RAM under load.
156156 Exercise ENOSPC/EDQUOT, torn sectors, storage removal, host crash, power loss and reset causes on
157157 the actual Pi/Pico setup. Disabled loads and independent authority remain required.
158- [Offline signed image staging](runtime-updates.md) now authenticates TUF roles,
159 declared target compatibility and a caller-supplied release floor. Protected initial
160 trust enrollment is available; build trust/key lifecycle and persistent
161 metadata/release high-water state, interrupted update
162 recovery and a known-good rollback slot before flashing. Each staging invocation
163 currently starts from the independently supplied root; it is not full anti-rollback.
158- [Signed image staging and protected preparation](runtime-updates.md) authenticate
159 TUF roles, declared compatibility and actual image bytes. Independently pinned
160 enrollment/store records retain metadata and clock/release floors; historical
161 recovery retains floors only. Owned candidate reservation/status/retirement retain
162 exact identities and files without granting boot authority. Complete key revocation/repair, installed and
163 known-good slot coordination, current-policy rollback and exact-image boot/session
164 health before flashing. Standalone staging/inspection still need explicit trust
165 and are separate from protected-current-policy selection. Host preparation does
166 not satisfy full update/rollback or hardware anti-rollback acceptance.
164167- Implement a commissioning workflow backed by measured wiring, neutral outputs, watchdog,
165168 estimator calibration, RC override/kill and recovery evidence from #2/#3/#4/#6.
166169