Update Proto Rig API#448
Conversation
🔐 Codex Security Review
Review SummaryOverall Risk: LOW Findings[LOW] Public hardware routes bypass simulated reboot downtime
[LOW] Locate requests can create unbounded sleeper goroutines
NotesNo changed SQL, migrations, production RPC handlers, Nmap/shell execution, Docker config, Rust/Python plugin code, or pool/wallet rewrite logic appeared in The hardware discovery auth relaxation appears intentional across OpenAPI, generated client, docs, tests, and simulator. The finding above is about losing the shared reboot gate, not the public read-only contract itself. Generated by Codex Security Review | |
Summary
miner-firmwarecommit23df12824401403ec909dd9053e8d002f4c3d1e3.Details
POST /api/v1/system/locatenow supports the newenablequery parameter and updatedled_on_timedefaults.led_on_timeauto-clears, while0or negative durations persist untilenable=false./hardware,/hardware/psus,/hashboards, and/power-supplies.useHardwarenow calls publicGET /hardwaredirectly instead of using auth retry.BlinkLEDbehavior bounded by explicitly sendingled_on_time=30, because the firmware default is now persistent.Impact
Validation
GOWORK=off go test .inserver/fake-proto-riggo test ./pkg/protoinplugin/proto./node_modules/.bin/vitest run src/protoOS/api/hooks/useHardware.test.ts src/protoOS/api/hooks/useLocateSystem.test.ts src/protoOS/components/PageHeader/GlobalActions/GlobalActionsWidgetWrapper.test.tsx