Repository navigation
fix(scan): reviews refused for PRs touching the update failure report test - #2136
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. What this changesThis PR qualifies the exact synthetic credential URL in OpenClaw’s update failure report test for PLAIN and HTML scanner findings. Example: Reviewing openclaw/openclaw#190365 includes the synthetic URL https://user:[email protected]/config.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it addresses a confirmed review-admission blocker with a narrow fixture qualification, and inspection found no actionable patch defects. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe host-owned input scanner checks review prompts and committed source before invoking the reviewer; exact fixture attribution classifies approved synthetic findings without exempting their files from scanning. flowchart LR
A[Review request] --> B[Stage committed source and prompt]
B --> C[Native secret scanner]
C --> D[Exact fixture attribution]
D --> E[Admit review]
D --> F[Refuse unmatched findings]
Technical reviewBest possible solution: Use the existing exact-attribution owner to qualify these two observed synthetic findings while retaining all scanner and provenance safeguards. Do we have a high-confidence way to reproduce the issue? The exact synthetic source fixture is absent from baseline policy, and the linked discussion confirms scanner refusal; no reproduction was executed during this read-only review. Is this the best way to solve the issue? This is a focused repair using the established policy table and regression harness, with no competing classifier or broader exemption. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 83b1126bd157. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 1, 2026, 9:00 PM ET / November 2, 2026, 02:00 UTC. |
What Problem This Solves
Fixes: reviews of any OpenClaw PR touching
src/infra/update-failure-report-config.test.tsare refused by the input scanner (unclassified_finding/literal_not_reviewed). Example: openclaw/openclaw#190365, failed run https://github.com/openclaw/clawsweeper/actions/runs/41368493203.User Impact
Reviews proceed when this existing synthetic fixture is the only scanner blocker.
Why This Change Was Made
The test checks that update failure reports never publish credentialed URLs, so it holds one synthetic
https://user:…@private.example/configliteral (line 113). This adds PLAIN and HTML rows for that exact value (Raw1b950d6c…,RawV2a844b0f4…), complete source line (81a1d346…), path and regular-file mode, and lists the path with the other exact URI sources. No file, domain, detector or decoder allowlist is widened.OpenClaw Bay Impact
No queue, status, publication or dashboard contract changes.
Documentation Impact
None; the exact-fixture qualification contract is unchanged.
Evidence
update failure reportregression intest/agent-input-scan-fixtures.test.ts: add/remove/context admission plus literal, line, path, mode, role, revision, verified, decoder and extra-occurrence refusals. Full file: 512/512.pnpm run check:fast(static checks, all builds, lint) passes. Full coverage suite not run locally.Real Behavior Proof
Production
scanAgentInputvia the unmodifieddocs/proof/native-worker-fixtures/run-proof.mjs, TruffleHog 3.99.4 (linux_arm64, release checksume6285aff…),node:24-bookwormin Docker with--network noneand a cleared environment. Target: OpenClaw base18e52ca69eae→ PR #190365 headf397c0b9f644; no OpenClaw code executed.main83b1126bunclassified_finding/literal_not_reviewed, base blob41383fe781a1d346…)A PLAIN-only first draft was refused (
finding_not_reviewed, HTML), so both observed decoders are required. The hosted review must still scan its own complete inputs after this merges and deploys.