Repository navigation
fix: qualify synthetic model egress review fixtures - #1656
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 23, 2026, 2:01 AM ET / 06:01 UTC (Revision 2). ClawSweeper reviewWhat this changesQualifies three synthetic credential-bearing test URLs for review admission through six exact decoder records, with regression coverage and documentation. Merge readiness✅ Ready for maintainer review The qualification is still needed on the inspected main branch. The current patch is narrowly scoped, preserves the existing refusal controls, and has sufficient recorded native scanner proof; no actionable defect remains. Priority: P2 Review scores
Verification
How this fits togetherClawSweeper scans review inputs for secrets before starting a model. Its host-controlled fixture classifier admits explicitly reviewed synthetic test values while rejecting findings that do not match their recorded identities and source context. flowchart TD
A[Review prompt and committed source] --> B[Native secret scanner]
B --> C[Exact fixture qualification]
D[Host policy and source witnesses] --> C
C -->|All findings qualify| E[Model review admission]
C -->|Any finding fails| F[Review refused]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Retain the existing exact-attribution classifier and qualify only these reviewed synthetic identities, requiring requalification whenever their bytes or source context change. Do we have a high-confidence way to reproduce the issue? Yes: the inspected main policy lacks these identities and refuses their native findings; the captured before/after proof identifies the complete source range and scanner environment. This review did not execute the scanner. Is this the best way to solve the issue? Yes: adding exact records to the existing classifier is the narrow supported repair, without introducing competing admission logic or target-controlled exemptions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bc921e100e13. 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 branch and main PR body now include the completed native scanner proof, final focused regression results, passing full check, and independent committed-branch review. Please review the current head and body. |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
What Problem This Solves
ClawSweeper refuses to review OpenClaw's protected model-egress change because three synthetic credentialed-URI fixtures are not yet qualified.
User Impact
The affected tests can reach review while altered credentials and unreviewed source contexts remain rejected. Scanning and credential verification stay enabled.
Why This Change Was Made
Add six exact native decoder attributions for three reviewed identities. Each requires matching Raw/RawV2 digests, complete source-line bytes, committed test path, regular-file mode, and observed decoder. The existing classifier and regression helper retain ownership; there are no target-controlled ignores or broader fixture patterns.
Related: openclaw/openclaw#156207
OpenClaw Bay Impact
None. This updates host-side scanner qualification data and changes no queue, API, dashboard, or publication contract.
Documentation Impact
Updated the active scanner documentation and existing native proof runbook. The input-scan owner and committed fixture identities remain the source of truth; changed fixture bytes, paths, modes, or native decoder observations require requalification.
Real Behavior Proof
The canonical input-admission runtime scanned the complete OpenClaw source range from
8868f7ed8c1e340c5eb70d796b58955d042638d4to15c14e982fd7640a77b0c2b9bab6e5b4b168f705, the revision refused by hosted run https://github.com/openclaw/clawsweeper/actions/runs/35822733897. Execution used macOS arm64, Node 26.8.2, and pinned TruffleHog 3.97.4 with normal verification enabled. A hash-only observer recorded the native scanner/classifier results without changing their arguments or responses; the existingdocs/proof/agent-input-scan-context/run-proof.mjsdocuments the reproducible admission path.Before qualification, admission refused six unverified URI findings in 2.058 seconds. After qualification, the same source range was admitted with six exact source/patch classification notices in 1.778 seconds. Native observations established both PLAIN and HTML for each identity. The qualification patch itself was also admitted with zero findings in 1.712 seconds.
This proves the host scanner boundary; it does not replace the subsequent hosted model review or qualify any real credential.
Evidence
The original focused regression had nine intended-admission failures while its refusal cases passed. The final 33 focused cases pass, including changed values, lines, paths, modes, roles, verification status, unsupported decoders, and extra literal occurrences (
node --test --test-name-pattern='Crabbox model proxy|configured model proxy|configured model endpoint' test/agent-input-scan-fixtures.test.ts: 54.46 seconds wall on the shared host). Independent Codex review is scoped-clean through P2 both before commit and on the committed branch.The required full
pnpm checkpassed: 6,517 tests passed, 36 skipped, zero failures (808.85 seconds). The same native policy also admitted the rebased OpenClaw range59cdcf7c7f0044394348a069c752a6f7393ba866..904c09157561c83e2e9b5e130065f2ff10e2374ein 2.916 seconds with six classification notices.