Repository navigation
fix(review): admit the approved browser CDP fixture - #1620
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 20, 2026, 12:23 PM ET / 16:23 UTC. ClawSweeper reviewWhat this changesAdds exact scanner identities for OpenClaw’s synthetic browser discovery credential fixture, with regression coverage and native scan evidence. Merge readiness✅ Ready for maintainer review This remains useful: current main lacks the exact browser fixture qualification. The narrow policy addition preserves the existing rejection checks, and the recorded native before/after and mutation proof supports it. No actionable defect found. Priority: P2 Review scores
Verification
How this fits togetherClawSweeper scans review inputs before sending them to a model. Its host-owned fixture policy classifies known synthetic credentials while blocking unmatched findings. flowchart TD
A[Committed source and review inputs] --> B[Native secret scan]
B --> C[Exact fixture policy]
C --> D{All findings qualify?}
D -->|Yes| E[Admit review inputs]
D -->|No| F[Refuse review]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Use the existing exact-attribution policy for this synthetic fixture while retaining native scanning and rejection of altered or unrelated findings. Do we have a high-confidence way to reproduce the issue? Yes: the pinned source range and native before-scan artifact identify the exact main-branch refusal. Source inspection confirms the missing qualification; this review did not rerun the scanner. Is this the best way to solve the issue? Yes: extending the existing exact identity table is a narrow repair, and the native mutation control demonstrates that changed credentials remain blocked. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 20e7ed8e9aab. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
What Problem This Solves
ClawSweeper refuses the browser automation repair in openclaw/openclaw#153597 because its unchanged credentialed-CDP discovery test contains a synthetic URI that has not been qualified.
User Impact
The approved browser test can pass input admission and reach review. Altered or unrelated findings remain blocking.
Why This Change Was Made
Adds only the two maintainer-approved URI detector 17 PLAIN/HTML records. Each binds the exact Raw/RawV2 digests, complete source line, original test path, regular-file mode, and committed base/head references. Scanner options, verification, completion checks, and execution gates are unchanged. The regression reuses the existing exact-fixture harness.
OpenClaw Bay Impact
Unaffected: this changes host-side fixture admission only, with no dashboard API, telemetry schema, or public action changes.
Documentation Impact
Updated the active scanner-policy description in README.md. The historical proof section and retained JSON bind the observed behavior to the immutable source range below; future fixture identity changes require fresh qualification and proof.
Real Behavior Proof
Claim and surface: the canonical
scanAgentInputentry point admits the approved fixture while still rejecting a one-byte change. The complete OpenClaw source range isca128370df1057f5d1169e5918dfe551ac212a81..2d674c57c1d9e5e174c0cecc6961763cf4230157.Environment: macOS arm64, Node 26.8.2, pnpm 12.4.1, pinned native TruffleHog 3.97.4 with canonical verification enabled; local host, no container image or lease.
Before: ClawSweeper main
20e7ed8e9aab5e58217708f4aebe89d3af157b8frefused withfindings / literal_not_reviewed. After: the identical complete range admitted in 6.4 seconds, classifying this fixture at both endpoints and the separately approved documentation fixture. A disposable one-byte fixture mutation still refused withliteral_not_reviewed.Commands, identity evidence, before/after results, and negative-control records are committed with this PR. Only safe hashes and classification metadata are retained.
Limits: no model ran in the controlled proof. Hosted review must independently scan its own prompt, schema, and complete source inputs.
Evidence
The three new positive regression cases failed on the unqualified policy. The candidate covers real Git-generated additions, removals, context, both qualified decoders, and refusal of altered values, lines, paths, modes, roles, verification, decoder, and extra occurrences.
Independent review of the complete candidate is clean through P2. Repository CI remains required before landing.