You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
follow-up(#5135): hardware-autoresearch board identification flashes firmware and trusts port mapping #5193
coderabbit-followupFollow-up for a CodeRabbit finding missed at merge timesanitizedTitle, body and conversation screened; review text requires separate screening.
Unaddressed CodeRabbit review finding(s) from #5135, checked against current master.
1. agents/docs/hardware-autoresearch.md:28
Step 3 tells agents to identify the chip by running bash autoresearch ... --upload-port. That flashes the board even when the user only asked which boards are attached, and it can overwrite firmware the user wants to keep.
Suggested fix: Use non-flashing evidence first, such as fbuild port doctor or a chip-id probe. Before deploying, ask the user and confirm the existing firmware can be recovered. If that is not possible, report the chip as unconfirmed.
2. agents/docs/hardware-autoresearch.md:29
When an RP board does not re-enumerate after flashing, AutoResearch can follow another port that has the same USB serial. A successful RPC from that port is then credited to the requested board.
Suggested fix: Require independent confirmation that the port belongs to the board (for example, a matching unique chip ID in the RESULT line) before using the response as evidence for that port.
Missed CodeRabbit review: merged before the review was read (clud pr_merge_watch bug, fixed in talos-hq/clud#2719).
coderabbit-followupFollow-up for a CodeRabbit finding missed at merge timesanitizedTitle, body and conversation screened; review text requires separate screening.
Activity
docs(autoresearch): identify boards without flashing; require indepen…