Repository navigation
fix: qualify reviewed hardware probes in release checks - #139046
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 5, 2026, 7:44 AM ET / 11:44 UTC. ClawSweeper reviewWhat this changesUpdates release security checks to recognize the reviewed llama.cpp hardware probe for current and 2026.9.2 candidates while preserving 2026.9.1 expectations. Merge readiness✅ Ready for maintainer review Keep open: the release-qualification gap remains on current main. The patch addresses it without introducing a blocking correctness or security defect. Priority: P2 Review scores
Verification
How this fits togetherRelease qualification scans inert plugin packages using trusted tooling and compares critical findings against a reviewed inventory. The resulting pass or failure feeds the plugin prerelease gate. flowchart TD
A[Candidate plugin packages] --> B[Trusted security scanner]
C[Release context] --> D[Reviewed inventory]
B --> E[Exact finding comparison]
D --> E
E --> F[Qualification report]
F --> G[Plugin prerelease gate]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +49, Other +12. Total +61 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep qualification in the existing trusted scanner; the small policy split is justified by the frozen release contract and avoids duplicating scanning logic. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main rejects the hardware execution finding and cannot select release/2026.9.2. The supplied replay corroborates this; the reviewer did not execute it. Is this the best way to solve the issue? Yes. Updating the existing reviewed inventory fixes the owning boundary while retaining exact-count enforcement; weakening scanner rules or disguising the hardware call would be worse. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e55f25b15ea6. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Backport the reviewed hardware scan inventory and exact release/2026.9.2 registration from #139046, preserving the frozen 2026.9.1 policy. Backport Undici 8.10.2/7.29.1, the approved version-specific overrides and cooldown exceptions, paired NO_PROXY normalization, and locked release toolchain digests from #139056. Validated 31 scanner/hardware tests, 205 proxy/guard/dispatcher tests, frozen dependency installation, full build and SDK/UI budgets, and independent P0-P2 review. Both patches match their canonical main landings. (cherry picked from commit 9010252) (cherry picked from commit d7a1753)
What Problem This Solves
Release qualification rejects the reviewed llama.cpp hardware probe as an unexpected critical finding. The trusted scanner on main also lacks the exact
release/2026.9.2context registration already present in the approved release preparation, so that release cannot select its inventory.Why This Change Was Made
Record the explicitly approved
@openclaw/llama-cpp-provider:dangerous-exec:src/hardware.tsfinding with required count 1, and register onlyrelease/2026.9.2against the current policy. Preserverelease/2026.9.1's existing required counts separately; its frozen source predates the hardware detector. Extended-stable counts, optional packed findings, layout discrimination, unknown-context rejection, and scanner rules remain unchanged.The detector added in #138464 uses one private
execFilewrapper for fixed read-only hardware commands. Arguments are passed separately, with a 3-second timeout, 64 KiB output limit and cancellation. Direct Node runtime inspection confirmed the defaultshell: false; the detector is called during setup, not inference. This change records the reviewed finding without rewriting runtime code to evade detection.User Impact
Current and 2026.9.2 release checks can qualify the reviewed hardware probe. Additional execution findings still fail the exact-count inventory check. The frozen 2026.9.1 policy remains unchanged, and unregistered release contexts continue to fail closed.
Evidence
2329399cf6a9a2ca0c19d6c620b713a2768f9125, verifying every tarball hash before and after. Before: 58 findings, 50 reviewed critical findings, one unexpected hardware finding. After: 58 findings, 51 reviewed, zero unexpected, passing for both current andrelease/2026.9.2.ad6fe23aecb9b833d68139b0ddc9f239b894d2f1has nohardware.ts.release/2026.9.3remains rejected.b88b7fb691745c0e809732f0729f239f2b91c8b4; there is no broad release-ref fallback.This proof covers supplemental inert checked-in npm input, not final built publication bytes. Product runtime changes: 0. Tooling: +12 net lines, principally separating the frozen map; tests: +49 net lines. Fresh managed P2 review found no actionable findings.