Repository navigation
fix(security): accept completed SkillSpector findings exits - #4499
Conversation
OpenClaw-Publication: 60517c55-0eae-4be2-9898-97df12186756
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
🦞👀 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: blocked before merge. What this changesThis PR accepts completed SkillSpector exit-1 findings reports with validated execution and accounting while preserving independent judge decisions. Example: SkillSpector completes with exit 1, retained stderr, valid findings and complete accounting, followed by a benign judge verdict.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Partial Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 1 item remains Keep this PR open: current main still rejects valid completed SkillSpector findings exits, and the scoped repair has no identified blocking defect; the explicit merge hold remains in force. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherThe shared typed-result validator receives native ClawScan artifacts from publication and background workers and produces retained scanner evidence and judge verdicts for existing publication gates. flowchart LR
A[Retained artifact] --> B[Native ClawScan]
B --> C[SkillSpector and AIG evidence]
C --> D[Independent judge]
D --> E[Shared typed validator]
E --> F[Worker check result]
F --> G[Existing publication gates]
Technical reviewBest possible solution: Land the bounded shared-validator repair after the recorded hold is released, keeping exact-attempt recovery subject to separate authorization and normal publication checks. Do we have a high-confidence way to reproduce the issue? Current main deterministically rejects completed SkillSpector exit-1 artifacts, and the pinned producer source confirms that such artifacts can represent successful findings runs; execution was not repeated during this read-only review. Is this the best way to solve the issue? This is the best fix location: both consumers share the rejecting validator, while changing producer exit semantics or adding retry logic would leave the consumer contract mismatch unresolved. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9e51f498708c. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
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. Review metrics
LabelsLabel 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 Reviewed November 9, 2026, 5:14 PM ET / 22:14 UTC. |
Summary
yamyeed/office-collaboration-radar@0.4.7: native SkillSpector completed successfully with exit1for findings and retainedexit status 1stderr, but ClawHub required exit 0 and empty diagnostics.Relates to #4492. No production retry, deployment, merge, rescan, policy bypass or scanner-owner change. The incident remains open; merge and recovery remain on hold.
Root cause and retained identity
Read-only inspection verified 25 retained files / 151,464 bytes. Attempt, pending version and pending-publication inventories match; every retained storage size/SHA-256 matches. Recomputed fingerprint:
fa3193b1258c79cbcd76d62488fe7ca90f4d7ce973333b726c2d60b57707930e. Parent/owner remain active; public latest remains0.4.5.All three preserved native runs completed successfully: outer exit 0, AIG completed, SkillSpector completed exit 1 with successful complete accounting, independent judge benign. ClawHub rejected every projection with
ClawScan scanner skillspector did not complete with execution provenance. Three operational failures exhausted retries before normalized reports or finalization were stored. Private immutable execution receipts exist despite publisher-visibleScan results not found. No raw private report or source is attached.The rejecting predicate was introduced in #4411 and is present in the recorded worker revision. #4351 concerns advisory Inspector state; #4468 recovers expired finalizing leases. This attempt never reached finalizing, so neither is its applicable recovery path.
Comparable before/after proof
This is synthetic/captured native-output replay, not new scanner/provider execution or production recovery. Raw captures remain private in the isolated workspace. This nonvisual worker change uses paired executable output rather than screenshots. Proof was presented before publication.
Recovery hold
The supported exact-attempt
maintenance:retryFailedPublishAttemptChecksInternaldry run returnedeligible: true,requeued: false, previous failure count 3 after validating identity, ownership/moderation, expiry and pending target. Inspection only; no retry was applied.The audited one-artifact retry must wait for authorized fixed-worker activation and fresh eligibility checks.
requiredScannerSourcebinds the native ClawScan pin, not the ClawHub consumer revision. This fix does not change that pin: the existing production owner must also ensure older queued/in-flight consumers cannot claim the retry. Recovery must pass normal secret/scanner/judge/finalization gates. On uncertain outcome, reconcile the same attempt/target/audit before any further write. Do not import a historical benign report as publication authorization.Validation
Tested commit:
91972ed90f5e1fd4c267f7fff09d9b8f8c24d2c0.bunx vitest run scripts/security/clawscan-decisions.test.ts -t "completed SkillSpector findings exits"— 3 failed before the fix with the production error.bunx --package bun@1.4.4 bun x vitest run scripts/security/clawscan-decisions.test.ts— 93 passed, including 21 fail-closed controls.-t "malformed native issues with findings alias|impossible accounting"— 2 failed before repairs; both pass in the final suite.bun .artifacts/4492/replay-retained.ts— 3/3 pass through the repaired worker boundary.bunx --package bun@1.4.4 bun run ci:static— pass (existing audit advisories remain warnings).bunx --package bun@1.4.4 bun run ci:types-build— pass.bun run ci:unit --maxWorkers=2— 673 files / 9,356 tests passed, 1 file / 5 tests skipped, 407.42s. Coverage gates pass: 89.66% statements / 83.61% branches / 91.05% functions / 92.11% lines. No coverage/timeout thresholds changed.The initial shared dependency symlink caused unrelated package-resolution errors; only this worktree received its own frozen-lockfile install, with no lockfile/shared-install changes. An earlier concurrent full run had native Bun ENOEXEC and timing failures; the complete final rerun using the installed pinned executable with no competing bunx/build jobs passed every previously failing leaf.
Canonical autoreview CLI failed authentication before yielding a review. Equivalent independent read-only review found two P2 issues (alias masking and impossible accounting); both were reproduced red and fixed. Follow-up independent review found no remaining P0–P3 findings. No credentials or review configuration changed.