Repository navigation
fix(review): unblock marketplace entries reviews - #1612
Conversation
Qualify the two ordered telemetry-redaction source witnesses through the existing exact attribution owner. Select source policy for blobs and each patch witness so the shared value does not replace the refresh fixture's legacy roles or context-only contract. Refs openclaw/openclaw#145975.
|
🦞👀 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 17, 2026, 9:08 PM ET / September 18, 2026, 01:08 UTC (Revision 3). ClawSweeper reviewWhat this changesAllows reviews containing the marketplace entries test’s two synthetic credential lines while preserving the marketplace refresh test’s separate scanner policy. Merge readiness✅ Ready for maintainer review This PR remains necessary: the pinned main branch lacks the entries-fixture qualification. The captured native proof supports the fix, and inspection found no actionable correctness or security defect. Priority: P2 Review scores
Verification
How this fits togetherClawSweeper scans review prompts and committed source before starting an agent. Its fixture classifier distinguishes explicitly reviewed synthetic credentials from findings that must block admission. flowchart TD
A[Review prompt and committed source] --> B[Native secret scanner]
B --> C[Fixture policy selection]
C --> D[Check source lines and references]
D --> E[Admit review input]
D --> F[Refuse unqualified findings]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep fixture qualification in the existing host-owned classifier, with exact source witnesses and separate legacy compatibility rules. Do we have a high-confidence way to reproduce the issue? Yes: the baseline policy excludes the entries source, and the supplied native transcript records that exact refusal on the pinned OpenClaw range; this review did not rerun the scanner. Is this the best way to solve the issue? Yes: reusing exact ordered-witness attribution fixes the false refusal without broadening approval to domains, arbitrary paths, or altered fixture lines. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fdbde19bbbd4. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Related: openclaw/openclaw#145975
What Problem This Solves
ClawSweeper refuses reviews that touch the marketplace entries test because its existing synthetic telemetry-redaction fixture appears in both live and snapshot metadata. The same value was already qualified in the separate marketplace refresh test, but that approval did not cover the entries source or its two occurrences.
User Impact
The affected review can proceed after exact source admission. This qualification accepts only the observed URI detector PLAIN/HTML forms, existing raw-value digests, the entries path, regular-file mode, committed base/head roles, and both complete source lines in order. Unknown paths, altered query text, missing/reordered/extra occurrences, verified findings, and incomplete scans remain blocked.
Why This Change Was Made
Use the existing ordered-witness attribution owner for the entries fixture. Select policy by staged source references as well as value, including each patch witness, so the new row does not shadow the refresh test's existing approval. Refresh repair roles, duplicate context records, PLAIN-only decoding, and refusal of introduced fixture lines stay intact. Mixed source aliases cannot fall back to the more permissive policy.
Both fixtures have existed since openclaw/openclaw@9c5ee46; this is an additional exact qualification, not a relocation or a source-fixture rewrite.
OpenClaw Bay Impact
None. No status, queue, publication, or observer contract changes.
Documentation Impact
The active scanner contract in README.md now describes the additional source qualification and policy selection. The proof guide and runner record the native scanner boundary and its limits; update them with changes to these qualified witnesses or the scanner contract. CHANGELOG.md records the review fix.
Evidence
764a5272edade203bacbab9bfa582fb822e8bef0.pnpm run checkpassed on the same source bytes: all builds, static/docs/format checks, lint, 13 changed-coverage tests, and the full 6,350-test suite (6,314 passed, 36 skipped, zero failures). Coverage is 87.43% lines, 78.03% branches, and 90.73% functions.Real Behavior Proof
Claim: the canonical native scanner admits the complete unchanged source range that previously prevented review of openclaw/openclaw#145975.
Run the committed
docs/proof/marketplace-telemetry-fixtures/run-proof.mjswith OpenClaw base928dba98c56ae193ecb32140330abd6376d467ddand head826f30fc2f4582c25f67fdc4957ca84481f096fe. On macOS, Node 26.8.2 and pinned TruffleHog 3.97.4, the original host policy refused the base blob withsource_not_reviewed. A PLAIN-only candidate exposed the same head fixture through the native HTML decoder. The final candidate admits the complete range and records exact attribution for both base and head blobs. The pre-commit successful run observed PLAIN for both. The fresh run at committed host head764a5272edade203bacbab9bfa582fb822e8bef0observed HTML for both and also admitted the complete range. Decoder deduplication can choose different native representations between runs.The runner records bounded attribution notices and refusal diagnostics without raw fixture values. This proof scans complete committed source and a controlled prompt, with canonical verification enabled and no model execution. Hosted review must still scan its own prompt, schema, and source and publish a current result before the OpenClaw PR can land.
Captured native baseline, committed candidate, and source receipt
The baseline used the original host policy. The candidate capture was rerun after a clean build of the committed repair; tracked source remained clean at that head. Only bounded diagnostics, public source identities, and attribution notices are included.
Original policy refusal:
{ "base": "928dba98c56ae193ecb32140330abd6376d467dd", "head": "826f30fc2f4582c25f67fdc4957ca84481f096fe", "result": "refused", "notices": [], "failure": { "reason": "findings", "diagnostic": { "kind": "unclassified_finding", "reason": "source_not_reviewed", "findingCount": 2, "findingIndex": 0, "detectorType": 17, "decoder": "PLAIN", "verified": false, "scannerLine": 270, "material": { "kind": "blob", "id": "6ff70750c7a65d9e1d436ba0a66b869b0bac75e9", "referenceCount": 1, "references": [ { "revision": "928dba98c56ae193ecb32140330abd6376d467dd", "pathSha256": "fd72b4fc2e78c37a4a149008f734ba1da882b62f4bf82803cb67cb3435356f7b", "mode": "100644", "role": "base" } ] } } } }Committed candidate admission:
{ "baseSha": "928dba98c56ae193ecb32140330abd6376d467dd", "headSha": "826f30fc2f4582c25f67fdc4957ca84481f096fe", "scanner": "3.97.4", "node": "v26.8.2", "platform": "darwin", "result": "admitted", "notices": [ { "event": "agent_input_scan_classified", "notice": "Reviewed synthetic fixture findings classified as non-sensitive.", "fixtureSha256": "838f16c9fef468c069583811edaac840bd0378ff46b59008793c552bfbf1c77b", "source": "src/cli/plugins-cli.marketplace-entries.test.ts", "detector": "URI", "findings": [ { "blob": "6ff70750c7a65d9e1d436ba0a66b869b0bac75e9", "scannerLine": 270, "literalLine": 270, "decoder": "HTML", "role": "base", "occurrences": 1 }, { "blob": "be57d501ee4e2250dfe92cd676d6a236677d51fd", "scannerLine": 270, "literalLine": 270, "decoder": "HTML", "role": "head", "occurrences": 1 } ] } ], "limits": "Complete committed source range with a controlled prompt; no model execution. Hosted review must scan its own prompt, schema and source." }Committed host receipt:
{ "hostHead": "764a5272edade203bacbab9bfa582fb822e8bef0", "capturedAt": "2026-09-18T00:59:52.868609+00:00", "reportSha256": "b3c2fc793caa3873eefd5a089dc4f5235b28fcb5eae3227f805db7f7c424e416", "sourceSha256": "01153e67d8782eff05899c258888a137a10ab41211779f5bf871fca2447c6833", "compiledSha256": "335782c7da58b5a36c7c14ee79cc093902addacd4420c870780708cf49da01a0", "result": "admitted", "sourceStable": true }