Repository navigation
fix: bind retired OCE fixtures to source blobs - #1746
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 3, 2026, 4:46 AM ET / 08:46 UTC (Revision 5). ClawSweeper reviewWhat this changesRestrict two retired OpenClaw Enterprise scanner fixtures to exact historical source blobs while preserving existing FTP qualification checks. Merge readiness✅ Ready for maintainer review This remains useful scanner hardening beyond current main. The prior missing-base finding is resolved, the current proof exercises that range, and no blocking patch defect was found. Priority: P2 Review scores
Verification
How this fits togetherClawSweeper scans review inputs before sending them to the reviewer. Its host-owned fixture policy distinguishes approved synthetic credentials from findings that must stop admission. flowchart TD
A[Committed review sources] --> B[Native secret scanner]
B --> C[Fixture identity checks]
C --> D[Whole source hash check]
D --> E[Line and source attribution checks]
E --> F[Admit review inputs]
D --> G[Refuse unreviewed inputs]
E --> G
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep historical fixture admission bounded to reviewed whole-source hashes, with exact native metadata and source attribution enforced. Do we have a high-confidence way to reproduce the issue? Not applicable as an outstanding bug reproduction: the prior base-admission failure is addressed, and the captured current-head proof exercises that production range. Is this the best way to solve the issue? Yes. Reusing whole-source pin enforcement narrows the existing fixture policy without introducing a parallel admission mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 15a53b4f065f. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
Summary
Dependency and compatibility scope
OCE #955 removed the complete credential-like literals from current OCE source. A live inventory on 2026-10-03 found 13 open OCE PRs that still modify
tests/conformance/kubernetes-compute.test.mjs:Their reported base and head files deduplicate to 21 exact source hashes. No role-only or path-only exemption remains, and blobs from open PRs that do not change this file are not included.
Behavior proof
Claim: the production review path admits the retired fixtures on an exact known historical source blob, including when it is the head side of a live PR, while refusing an unlisted source blob.
Reviewed head:
8580477535f0aceeada96cf8e5d46475f08079c6Environment: macOS, Node 24.16.0, local-only ClawSweeper review with the production native input scanner and current OCE GitHub state; no GitHub mutation or apply command.
Command:
Observable result:
agent_input_scan_classifiedfor both retired URI fixturesheadandbasede0ab632d71500684a479a8bb15825094a109a1band actual base3ab78e1a5c1f702bd1f1b2361959e5c068408dca; nosource_not_reviewedrefusal occurredThe focused regression independently pins a synthetic URI source, admits the exact blob, then changes an unrelated byte and observes
source_not_reviewed. Against pre-fixff794d1e0ea135eb8d97407d661778e321e87d22, that test fails at policy validation because URI source pins are unsupported; it passes on this head.Validation
pnpm run buildnode --test test/agent-input-scan-fixtures.test.ts: 487 passed, 0 failedPATH=/opt/homebrew/bin:$PATH pnpm run check: passed with Bash 5.3, including static checks, builds, formatting, lint, changed coverage, and the full coverage suitemapfileharness mismatch; its exact test passes under Bash 5.3858047753: no code findings; its requested native proof is the OCE test(review): fix stray reference broken by a rename in the placeholder recovery test #662 run aboveFinding disposition
Limits
The proof exercises scanner admission and advisory review completion. It does not publish a hosted review, execute apply behavior, or invoke automerge.