Repository navigation
Session Handoff [hw-cli]: hw hardware-report CLI (#1, #16) and fork issues #3/#4 #22
Copy link
Copy link
Closed
Labels
handoffA link in the session handoff chain, one open issue per trackA link in the session handoff chain, one open issue per track
Description
Next steps, in priority order
- Dispose of CodeRabbit on Add
hwhardware-report CLI command (iteration branch) #1 and Add thehwhardware-report CLI command (rebased, hw CLI only) #16. Both were pushed and re-requested on 2026-10-02 but CodeRabbit was rate-limited ("Review limit reached"), so neither head is CodeRabbit-reviewed yet. Done means: CodeRabbit reviews head0aa6b62(Addhwhardware-report CLI command (iteration branch) #1) and78b486a(Add thehwhardware-report CLI command (rebased, hw CLI only) #16), and every finding is closed perpr-review-conduct(fix throughlocal-strict-review, or decline with evidence). Partial or unstated coverage is acceptable on this fork. - Re-run
hwon hardware. Neither branch has run on a board sincedevwas merged and the hw CLI was ported. Done means: on the RAK4631 and the Heltec V4-R8,hw,hw N,hw board,hw rtc,hw i2c,hw i2c scan,hw gps,hw sensorsandhw allanswer asdocs/Repeater_CLI_commands.mdsays, locally and over remote admin, and on a companion over the app CLI (paged to 175 bytes,next:Nintact). On the RAK4631 with a RAK12002 fitted,hw rtcshows the RV3028 adopted. Blocked on the boards being attached to WSL (see External blockers). - Request Copilot on Add
hwhardware-report CLI command (iteration branch) #1 and Add thehwhardware-report CLI command (rebased, hw CLI only) #16 once its quota is back (about 2026-10-06), and close its findings the same way. - Upstream, only with the maintainer's explicit go-ahead naming each one: Add the
hwhardware-report CLI command (rebased, hw CLI only) #16 is the presentation of thehwCLI; fork issues Companion CLI replies over 175 bytes are truncated silently #3 (marked reply truncation) and RAK4631 never uses a fitted RAK12002 RTC #4 (RAK4631 RTC) each want their own clean branch cut from the synced mirror tip. Addhwhardware-report CLI command (iteration branch) #1 stays open as the iteration log, never merged, per the hub'supstream-contribution-workflow.
External blockers
- Boards not attached. Only the ThinkNode M7 is attached to WSL. The RAK4631 and Heltec V4-R8 need
usbipd attachby the maintainer. Air rules for any flash: SoCal parameters, 1 dBm, short random name, minimal traffic. - CodeRabbit OSS review limit (resets within the hour) and Copilot quota (about 2026-10-06).
- The maintainer's go-ahead for every upstream write (step 4).
Internal dependencies
- Step 2 should follow step 1 if CodeRabbit's findings change code, so the hardware run covers the final head.
- Add the
hwhardware-report CLI command (rebased, hw CLI only) #16's seven files are byte-identical to the same files on Addhwhardware-report CLI command (iteration branch) #1; a change to either must be made on both, and re-checked withcmp.
State (re-derive at resume)
ptr727/liquidraver-ZephCore: Addhwhardware-report CLI command (iteration branch) #1work/hw-cli→dev, OPEN, head0aa6b62; Add thehwhardware-report CLI command (rebased, hw CLI only) #16hw-cli-only→dev, OPEN, head78b486a. Both have the fork'sdev(=upstream/dev3c7a7c8) merged in. Addhwhardware-report CLI command (iteration branch) #1's diff againstdevis thehwCLI plus fork issues Companion CLI replies over 175 bytes are truncated silently #3 and RAK4631 never uses a fitted RAK12002 RTC #4; Add thehwhardware-report CLI command (rebased, hw CLI only) #16's is thehwCLI alone.- Worktrees (
git worktree list): Addhwhardware-report CLI command (iteration branch) #1's is thezephcore-hwcheckout, which also holds the west workspace (Zephyr updated to the pinned1ee3b93134bthis round); Add thehwhardware-report CLI command (rebased, hw CLI only) #16's worktree symlinks itszephyr,modulesand.venvinto it, so the two share one Zephyr tree and must build one at a time. - Reviews: three local-strict-review passes recorded on each head (11, 2, then 0 findings on Add
hwhardware-report CLI command (iteration branch) #1; 9, 2, 0 on Add thehwhardware-report CLI command (rebased, hw CLI only) #16). Add thehwhardware-report CLI command (rebased, hw CLI only) #16's Copilot thread (header-only scan line) fixed and resolved. CodeRabbit pending (step 1). - Issue Tracking: hw hardware-report command — state and handoff #10 is the older free-form tracking issue for this work; this chain replaces it for state.
The parked decision queue
- This repository has no
decisionlabel; nothing is parked.
What the last round did
- The maintainer chose to merge
devinto Addhwhardware-report CLI command (iteration branch) #1 per the skill (2026-10-02). Mergeddevinto both Addhwhardware-report CLI command (iteration branch) #1 and Add thehwhardware-report CLI command (rebased, hw CLI only) #16. On Addhwhardware-report CLI command (iteration branch) #1 every conflict tookdev's version where upstream had already merged that content (reset cause, the V4-R8 board, its docs note); the two unsubmitted changes (Companion CLI replies over 175 bytes are truncated silently #3, RAK4631 never uses a fitted RAK12002 RTC #4) were re-applied wheredevmoved the code; thehwfiles were rebuilt asdevplus Add thehwhardware-report CLI command (rebased, hw CLI only) #16's delta. - Ported the
hwCLI todev(consolidatedmesh/MeshCore.h, per-device sensors, removed GPS callback) and fixed Add thehwhardware-report CLI command (rebased, hw CLI only) #16's Copilot finding. - Fixed everything the local review found:
replyCap(), paging to the companion's app frame, a resumable summary (hw N), an honestnot compiled in, the autodiscovery-disabled report, and docs that disagreed with the code. - RAK4631: replaced the full
rtc-i2c.dtsiinclude with one RV3028 node. The include let the probe adopt an IMU at 0x68 as the clock and write time into it. Commented the correction on RAK4631 never uses a fitted RAK12002 RTC #4; status on Companion CLI replies over 175 bytes are truncated silently #3. - Builds clean on
rak4631companion and repeater,heltec_wifi_lora32_v4_r8repeater, and therak6421native preset.
What not to repeat
- A bare
native_sim/native/64build ofdevfails inmain_companion.cpp; native builds go through theboards/linux_native/presets (-DEXTRA_CONF_FILE=boards/linux_native/rak6421.conf;...). The cross toolchains are not installed here, so build the preset for the host. - Trusting that
#16still builds on a moved base: it was rebased onto251269dand broke against3c7a7c8on three API changes nothing flagged. Build after every base move. - Trusting a code comment's safety claim: the RAK4631 overlay comment said the probe rejects an IMU, which the probe's code contradicts.
New learnings
- None beyond the above; nothing here belongs in governance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
handoffA link in the session handoff chain, one open issue per trackA link in the session handoff chain, one open issue per track
Activity
ptr727 commentedon Oct 2, 2026
Progress after this link was filed (2026-10-02):
hwhardware-report CLI command (iteration branch) #1 (head0aa6b62): one finding. A line too long for an empty page was never emitted, sonext:Npointed back at it forever. Fixed in24728a0, replied to and resolved.hwhardware-report CLI command (rebased, hw CLI only) #16: carries the same fix as7dbe59d.hwhardware-report CLI command (iteration branch) #124728a0, Add thehwhardware-report CLI command (rebased, hw CLI only) #167dbe59d. Both are pushed and build clean on the four targets.hwhardware-report CLI command (rebased, hw CLI only) #16 has not been reviewed yet (rate-limited), and Addhwhardware-report CLI command (iteration branch) #1's new head is unreviewed. Re-request each when the limit resets.ptr727 commentedon Oct 2, 2026
CodeRabbit on #16: it reviewed the full diff at
7dbe59dand reported "No actionable comments were generated", through its summary comment rather than a review object. #16 is therefore at its stopping point until Copilot's quota returns. #1's head24728a0is next, in the following hourly slot.ptr727 commentedon Oct 2, 2026
CodeRabbit on #1 at
24728a0: one outside-diff finding. A failed RTC read was reported as absent. It is fixed in69001b7and answered in #1's conversation. #16 carries the same fix as0057730, and a fifth local review pass on each found nothing. Heads are now #169001b7and #160057730, both pushed. A CodeRabbit pass on these heads is still owed, at one review per hour.ptr727 commentedon Oct 2, 2026
CodeRabbit on #16 at
0057730: two findings, both on the RTC probe's labels.-EIOambiguity is documented in5108d4d. Treating-EIOas unprobed instead was declined with driver evidence: every driver here reports an address NACK as-EIO.PRESENTlabel after a failed status read was declined. It isdev's unchanged acceptance rule, and the hazard behind it is filed as RTC probe adopts a chip whose status-register read failed, then writes time into it #23.hwhardware-report CLI command (iteration branch) #169ae19f, Add thehwhardware-report CLI command (rebased, hw CLI only) #165108d4d, both pushed. Each owes one more CodeRabbit pass on these docs-only heads, at one review per hour.ptr727 commentedon Oct 2, 2026
CodeRabbit on #1 at
69ae19f: one outside-diff finding. A re-probe could keep a stale adopted RTC. It is fixed in99f8cf8(on #16 as75c5c52) and answered in #1's conversation. It isn't reachable today: restore runs once at boot. Local review round 8 found nothing.Heads now: #1
99f8cf8, #1675c5c52, both pushed. CodeRabbit's last four rounds have each found one smaller issue in the same RTC probe file, mostly in code that came from upstreamdev. The loop continues at one review per hour: #16 next, then #1.ptr727 commentedon Oct 2, 2026
CodeRabbit on #16 at
75c5c52: one outside-diff finding. A localxx|prefix wasn't subtracted from the companion page cap. It is fixed in5231627(on #1 as4c8e906) and answered in #16's conversation. Local review round 9 found nothing.Heads now: #1
4c8e906, #165231627, both pushed. The hourly CodeRabbit loop continues with #1 next.ptr727 commentedon Oct 2, 2026
Upstream moved to
5b77947(2026-10-02): it adds the Seeed nRF54LM20A board and bumps Zephyr toac03a4a9085.devwas fast-forwarded and merged into Addhwhardware-report CLI command (iteration branch) #1 (35ea3e2) and Add thehwhardware-report CLI command (rebased, hw CLI only) #16 (01a03b1), both pushed. Local review round 11 found nothing new, and the rak4631 overlay merge is correct.581fe6c/0212c7a) at the maintainer's direction: a failed status read no longer adopts a chip. CodeRabbit's two findings on Addhwhardware-report CLI command (iteration branch) #1 are answered (one fixed, one declined with driver evidence).f43453290df). Plaindevfails to linkheltec_wifi_lora32_v4_r8,_v43andxiao_esp32s3. Add thehwhardware-report CLI command (rebased, hw CLI only) #16's V4-R8 build fails, while Addhwhardware-report CLI command (iteration branch) #1's links by luck.ptr727 commentedon Oct 2, 2026
Round status, 2026-10-02 17:30 UTC: #17
56fba85, #1601a03b1and #135ea3e2each have a clean CodeRabbit pass on the current head ("No actionable comments"), 0 unresolved threads,quickgreen and merge state CLEAN. The fork'sdevequalsupstream/dev5b77947. What remains is Copilot once its quota returns (about 2026-10-06), and the maintainer's go-ahead for any upstream PR. Partial or unstated coverage is acceptable on this fork.ptr727 commentedon Oct 2, 2026
Round status, 2026-10-02 (Copilot is back): #1
work/hw-cliat515dd95and #16hw-cli-onlyat47c0649. Copilot's round on each head reports no findings, both have 0 unresolved threads,quickis green, and both merge cleanly. Every Copilot finding from the earlier rounds was fixed or declined with evidence in the PR conversation. Both branches have the fork'sdevmerged in, which equalsupstream/devf9d01cf. #16's seven files are still byte-identical to the same files on #1.Fixed this round, on both PRs:
hwdispatches only on the whole word, sohwboardno longer runshw board.hw i2c scanstops a bus that times out or is busy, after printing what it had found.CommonCLIis (observers excluded).....xx|prefix on every role.unprobedRTC case.no line N, the report has M. Before, the reply was empty, and the companion app showed "Unknown command".hw i2c scannames every declaration at a shared address. The common sensor list putsbosch,bme280andbosch,bmp388both at 0x77, and a fitted BMP388 read as BME280.Declined with evidence: requiring a supported GNSS compatible in
HW_GNSS_OKAY. Theavailable:line already reports the GPS manager's verdict, and a second copy of its compatible list would drift.Issues filed from this work:
devthrough upstream.dev(an l32r literal in the double-exception vector). This is upstream's, kept as a fork issue that may need to go to Zephyr or ZephCore.xx|reply on a repeater or room server gets the fullCLI_REPLY_SIZE. This is the pre-existing class indevthat thehwfix exposed.Next steps, in order:
hwon hardware (deferred by the maintainer for now). It needs the RAK4631 and the Heltec V4-R8 attached to WSL. Air rules apply to any flash: SoCal parameters, 1 dBm, a short random name, minimal traffic. Done means each subcommand answers asdocs/Repeater_CLI_commands.mdsays, locally, over remote admin and through the companion app.35ea3e2and01a03b1. The OSS plan allows one review per hour per repository, and partial coverage is acceptable on this fork.hwhardware-report CLI command (rebased, hw CLI only) #16 is thehwCLI. Companion CLI replies over 175 bytes are truncated silently #3 and RAK4631 never uses a fitted RAK12002 RTC #4 (on Addhwhardware-report CLI command (iteration branch) #1 only) and RTC probe adopts a chip whose status-register read failed, then writes time into it #23 each want their own clean branch from the synced mirror. Addhwhardware-report CLI command (iteration branch) #1 stays open as the iteration log, never merged.What not to repeat: a review summary headline with
Findings: Nonewas twice a real bug (the empty page, the shared address). Read the headline against the code before treating the round as clean.ptr727 commentedon Oct 4, 2026
Round status, 2026-10-03 PDT. The
hwCLI is now separated from the upstreamdevdefects.The
hwCLI. #1 (work/hw-cli,ad70d15) and #16 (hw-cli-only,cc54670) now hold byte-identical trees containing thehwCLI alone.hwhardware-report CLI command (iteration branch) #1 carried were moved out by append-only commits: fork issues Companion CLI replies over 175 bytes are truncated silently #3 and RAK4631 never uses a fitted RAK12002 RTC #4 on Addhwhardware-report CLI command (iteration branch) #1, and RTC probe adopts a chip whose status-register read failed, then writes time into it #23 on both.hwhardware-report CLI command (rebased, hw CLI only) #16 and Addhwhardware-report CLI command (iteration branch) #1.Defects found in upstream
dev(f9d01cf), one iteration PR each, all into the fork'sdev:work/companion-cli-reply-truncationxx|prefix overruns the server reply bufferwork/cli-local-prefix-reply-roomwork/esp32-orphan-cpu-clock-commentswork/rtc-probe-failed-status-readwork/cli-remote-reply-echo-capwork/companion-ota-cli-never-localwork/rak4631-rak12002-rtcClosed or resolved this round:
devdefect.tcp_work2048 bytes.dev; commented, left open for the maintainer.Next:
devand open the upstream PR from it, following the "Proposed upstream PR" text in each fork PR body.Hardware left as:
lpxz.a7e2698.ptr727 commentedon Oct 4, 2026
Continued in #36, round 2 on track
hw-cli.