Repository navigation
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 historical synthetic scanner fixtures so reviews can inspect their removal. Example: Review deletion of test/agent-input-scan-mcp-apps.test.ts containing https://user:[email protected].
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR addresses a confirmed review-admission blocker with narrow fixture qualifications; the earlier documentation finding is resolved, and no actionable correctness or security findings remain. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherReview admission scans prompts, committed Git blobs, and patches with native TruffleHog, then checks findings against host-owned fixture policy before permitting model execution. flowchart LR
A[Review inputs] --> B[Committed source staging]
B --> C[Native TruffleHog scan]
C --> D[Host fixture qualification]
D --> E[Admit or refuse review]
Technical reviewBest possible solution: Retain the narrow source-bound MCP qualification and the corrected description of unchanged Git-metadata behavior. Do we have a high-confidence way to reproduce the issue? Main lacks the exact MCP test-source qualification required for removed patch material, matching the recorded hosted refusal; this read-only review executed no target code. Is this the best way to solve the issue? Extending the existing attribution owner is appropriate; the metadata additions repeat effective qualifications without introducing a competing admission path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e7fd6690127d. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes: No label 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 HistoryReview history (1 earlier review cycle)
Reviewed November 12, 2026, 11:39 PM ET / November 13, 2026, 04:39 UTC (Revision 2). |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
What Problem This Solves
Fixes: ClawSweeper cannot review the removal of the existing MCP-app synthetic scanner fixture in #2201 because its deployed input scanner lacks exact source qualification for that historical file.
User Impact
Allows the deployed scanner to inspect the exact retired MCP-app fixture. Its source edits, changed values, and different paths remain blocked. Existing Git-metadata value and ordered-line qualifications continue to allow surrounding edits. This is a prerequisite for the hosted review of that PR; it does not implement that PR's broader approval policy.
Why This Change Was Made
The hosted attempt stopped before model review: https://github.com/openclaw/clawsweeper/actions/runs/43361960847. Deleted base-side material is still review input, so a change only on the PR branch cannot qualify it in the deployed scanner.
The MCP-app attribution rows bind its existing synthetic URI value pair to native Raw/RawV2 hashes, observed PLAIN/HTML decoders, complete ordered line witnesses, path, regular file mode, and complete source hash. The new owning path also requires nonempty valid source hashes in schema validation. Added Git-metadata rows repeat existing effective qualifications; the existing rows without source hashes still permit surrounding edits with matching values and ordered lines. This change does not add a whole-file restriction to Git-metadata fixtures. Existing scanner switches, verification checks, native completion checks, patch provenance, and runtime classification are unchanged.
Documentation Impact
Reviewed the README input-scanner contract; it remains accurate because this only extends the existing source-bound fixture inventory. Added a one-bullet changelog fragment and a historical proof harness with its owner, implementation, and rerun triggers.
Evidence
pnpm run check:fast: passed.e7fd6690127d9c46412546045a97f8de2f748d39: admitted; no model call.pnpm run checkon8e2814b98183328b91e99c4c39be11da36a98656(runtime code identical to current head): passed in the task-owned Ubuntu UTM guest with Node 24.22.1: 7,168 tests, 7,146 passed, 22 skipped, zero failures or cancellations; coverage thresholds passed.pnpm run check:docsandgit diff --checkpassed; native proof refreshed for the current head.e7fd6690127d9c46412546045a97f8de2f748d39through clean head697ef52d7b5b1de3109dc88d976e5c0e342aa3ad, including full classifier and patch-owner source context. Static review did not independently execute the fixtures; native execution is recorded below.Real Behavior Proof
scanAgentInput, invoking the real pinned native scanner, admits the exact retired MCP-app fixture and the complete dependent PR range while refusing MCP-app source, value, or path mutations. The unchanged Git-metadata qualifications are exercised through the complete range; those existing rules do not require whole-file identity.697ef52d7b5b1de3109dc88d976e5c0e342aa3ad; receipt recordssourceDirty: false.8ba1ab445ed086863bbd9749237cfcb7096bae7a..1ccf77313d8b0736a8ea8340b93dc16be218fe65, plus controlled repositories made from the original MCP-app fixture. All credential-shaped input comes from existing synthetic fixtures.clawsweeper-pr2201-20261112, UUID0201A977-496A-4C7C-8416-025C52065B50; Ubuntu Linux arm64, Nodev24.22.1. Provider: UTM; no Crabbox run. No production Docker or services used.3.99.4, verified Linux arm64 archive SHA-256e6285aff62e692131255dca91ad300a62a479330e0b72e4eb1d60ae58908f8d5; executed binary SHA-256b57ff51268b83496fd58889b252e61549cd1071467aed4f4706b1df53ec13150.pnpm run build:allat the prior head; its identical runtime build was reused for this documentation-only follow-up. ThenPATH="/home/dev/bin:$PATH" node docs/proof/pr2201-fixture-retirement/run-proof.mjs /home/dev/clawsweeper 8ba1ab445ed086863bbd9749237cfcb7096bae7a 1ccf77313d8b0736a8ea8340b93dc16be218fe65 /home/dev/qualification-native-proof-2.json.passed: true.5/5 expected outcomes passed. Limits: native synthetic admission/refusal with a controlled prompt; no hosted hydrated context, model call, live credentials, or database authentication. Hosted review remains a separate gate. Merging this prerequisite requires explicit maintainer approval.
Hosted Finding Disposition
Accepted the P3 finding at #2204 (comment). The guide and this body now scope whole-source binding and mutation-refusal controls to the MCP-app fixture, and explicitly describe the unchanged Git-metadata qualification behavior. Runtime policy is unchanged by the documentation follow-up.