Repository navigation
fix(scanner): qualify catalog icon rejection fixture - #1739
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 October 1, 2026, 7:21 PM ET / 23:21 UTC (Revision 2). ClawSweeper reviewWhat this changesQualify one synthetic catalog-icon rejection URL for two native scanner decoders and add coverage that rejects altered source attribution. Merge readiness✅ Ready for maintainer review This remains a useful, narrow scanner repair that is absent from the pinned main branch. The updated validation evidence resolves the re-review focus, and no actionable introduced defect remains. Priority: P2 Review scores
Verification
How this fits togetherClawSweeper scans review prompts and committed source before admitting them to model review. Its host-owned fixture policy distinguishes approved synthetic test credentials from findings that must stop admission. flowchart TD
A[Review prompt and source] --> B[Native secret scan]
B --> C[Exact fixture policy]
C --> D[Identity and source checks]
D --> E[Admit review input]
D --> F[Refuse input]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep qualification limited to the observed synthetic identity and source witness while handling general decoded-source binding in its existing follow-up. Do we have a high-confidence way to reproduce the issue? Yes. The pinned main lacks the exact qualification, and the body records native baseline refusal followed by candidate admission of the unchanged range; this review did not execute target code. Is this the best way to solve the issue? Yes. Adding exact native tuples through the existing host policy is narrower than exempting a file, domain, or scanner detector. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 6566c6974a29. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
|
@clawsweeper re-review The body now records passing full validation and exact-head CI, with the initial Corepack fixture mismatch attributed and corrected to the repository pin. The canonical scanner proof and source remain unchanged. |
|
🦞👀 Re-review progress:
|
Problem
ClawSweeper stops before reviewing openclaw/openclaw#162992 because a new catalog-icon rejection test deliberately includes a synthetic credential-bearing URL. The scanner correctly detects the URI, but the host has not yet qualified its exact source witness.
Change
Add only the observed PLAIN and HTML URI tuples, bound to the native raw/rawV2 hashes, complete source-line hash, exact source path, and regular-file mode. Native verification, complete-scan checks, Git attribution, occurrence checks and every other scanner policy stay enabled.
Behavior proof
Using pinned, checksum-verified TruffleHog 3.97.4 on AWS Linux, the canonical
scanAgentInputpath refuses the original frozen OpenClaw range under the old policy, admits the same unchanged source with exactly two qualified occurrences under this commit, and refuses independently mutated credential, source-line and source-path inputs. Each canonical scan completed in about three seconds. No model ran; the hosted review must still rescan its full current input.The exact-fixture positives fail against the old policy and pass with this change. All 487 fixture/metadata tests pass, including real-Git add/remove/context attribution and changed literal, line, path, mode, role, revision, verification, decoder, occurrence, shared-blob and suffix controls. The broader scanner test passes after building its repair dependency. Independent Codex reviews before commit and on the committed branch found no actionable issues.
pnpm run checkpasses in full, and exact-head hosted CI passes (run 36938102811). The initial remote hook-fixture failure was reproduced on the clean base and traced to Corepack choosing pnpm 12.8.1 outside the repository instead of its declared 12.4.1. Pinning the existing repository version for child fixtures resolves it; no source assertion or dependency version was changed.Bay is unaffected: the existing input-safety hold and normal review states are unchanged; there is no dashboard or queue contract change.