Skip to content

fix: stop treating scan budget limits alone as high-risk findings - #5010

Merged
Patrick-Erichsen merged 2 commits into
mainfrom
qualify-skillspector-2-13-7
Nov 30, 2026
Merged

Patrick-Erichsen merged 2 commits into
mainfrom
qualify-skillspector-2-13-7

Conversation

@Patrick-Erichsen

@Patrick-Erichsen Patrick-Erichsen commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Related: #4993

What Problem This Solves

A skill author can receive a HIGH finding simply because the scanner ran out of time or output space while inspecting references. That tells the author the scan was incomplete, not that the scanner found dangerous content.

User Impact

After the upgraded worker is active, new scans will still say when inspection was partial, but will not report a HIGH finding solely for reaching a host budget. Content-related findings and failed inventory remain reportable. Existing reports are not rewritten.

Why This Change Was Made

Both worker paths use the reviewed ClawScan release with SkillSpector 2.13.7 and keep the previous host limits (64 batches, bounded applicability, 600 seconds). Issue #4993 stays open after merge until a fresh scan is stored in production.

Evidence

The Test companion deployed at 0430542c1d3bad568626e412f09cc4b13032506b. The protected nonpublishing check passed on its first attempt at that exact revision. Its receipt verified the host source and binary, named the qualified image sha256:72c4c360b8761d190a60d873528c9e72748cc5a32b907e8dd51d30e7ca37ab53, and recorded completed native evidence and a benign verdict for the fixed Template fixture. The fixture hash matched the eight committed files, the workspace was removed, and the publication step was skipped. This satisfies the pre-merge Test hold; it is not a production skill verdict.

Three-reference fixture HIGH AE1 findings Inspection
Budget limits only, previous scanner 3 Partial
Same input, upgraded scanner 0 Partial
Upgraded scanner, with an additional content-related parse limit 1 Partial

The ClawHub installers passed 24 judge, 212 SkillSpector and 259 AIG checks on macOS arm64 with Python 3.12.14. Both worker paths accepted the installed source, binary and immutable image. The published image passed both Linux native architectures on the same attempt.

On aaa5150a3f6, 213 focused tests passed. Full coverage on the unchanged commit passed with 10,633 tests and 22 skipped. Static checks, types/build and both package TypeScript checks passed. Independent review through P3 found no actionable issue. The changed scanner inputs, fixed fixture and qualification workflow match the Test candidate; the schema-inclusive bundle differs only in two unrelated optional featured-selection download-count fields.

@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clawhub Ready Ready Preview Nov 30, 2026 11:16pm UTC

Request Review

@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Pull request received.

ClawSweeper review complete

ClawSweeper finished reviewing this revision.

View the workflow run.

@clawsweeper clawsweeper Bot added the P2 Normal backlog priority with limited blast radius. label Nov 30, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Nov 30, 2026
@clawsweeper

clawsweeper Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

Updates both scanning workers to the reviewed SkillSpector 2.13.7 runtime while preserving their existing inspection budgets.

Example: The upstream fixture contains three references with budget-only inspection gaps.

  • Before: SkillSpector 2.12.0 produces three HIGH AE1 findings and partial coverage.
  • After: SkillSpector 2.13.7 produces zero budget-only HIGH findings and retains partial coverage; adding a content-driven parse limitation retains one HIGH finding.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, source-verified runtime adoption with no actionable findings; behavioral confidence remains limited to offline and harness evidence.
Proof confidence 🦐 gold shrimp (3/6) Contributor proof is exempt; offline fixture results, worker subprocess controls, and successful native runtime publication support the change, but do not establish live-provider recovery or a fresh production report.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Skill authors receive HIGH findings for the scanner exhausting its own inspection budget.
Reason: The correction separates coverage uncertainty from evidence of dangerous content, and the maintainer-authored direction preserves existing security boundaries.

Merge readiness

⛔ Blocked before merge - 1 item remains

Keep open: this maintainer-authored PR addresses a verified scanner defect that remains on main, with no actionable patch findings; its explicit Test qualification hold still applies.

Reviewed head: aaa5150a3f6d583c709fbba1940a6bf30cfebe6b

Before merge

  • Await maintainer action - A maintainer should run the existing nonpublishing qualification on deployed next revision 0430542 and verify success before landing.

Findings

None.

Agent review details

How this fits together

ClawHub workers scan submitted artifacts through source-pinned ClawScan and its scanner adapters, pass their evidence to an independent judge, and store the resulting reports.

flowchart TD
  A[Submitted artifact] --> B[ClawHub workers]
  B --> C[Host skill scanners]
  B --> D[Immutable plugin and Template runtime]
  C --> E[Independent evidence judge]
  D --> E
  E --> F[Stored security report]
Loading

Technical review

Best possible solution:

Both worker lanes use the qualified upstream correction while preserving coverage uncertainty, content findings, independent judgment, and historical reports.

Do we have a high-confidence way to reproduce the issue?

The current-main scanner pin and upstream finalization path establish the budget-only AE1 defect, supported by the reported before/after fixture; no target code was executed during this review.

Is this the best way to solve the issue?

Best-fix verdict: best. Adopting the corrected producer preserves raw evidence; filtering findings in ClawHub would duplicate scanner policy, and increasing budgets would leave the scoring defect intact.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6367c64b69a2.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Pinned patch, current-main behavior, ownership, and landing hold: Reviewed the complete root AGENTS.md, introduced merge-base-to-head diff, both worker dispatch paths, shared environment policy, installer verification, adjacent tests, specs, discussion, and current-main history; no nested governing AGENTS.md or maintainer notes were present. Main still selects ClawScan 9bc83753a6f1af7ff077917262190ada0152891b. The PR consistently advances the source, source tree, runtime tree, and immutable image and supplies 64/1/600 host budgets. fix: qualify partial skill scan findings on Test #5009 merged to next, and Deploy Test run 46535013515 succeeded on 0430542. The latest listed successful qualification instead used 5c3f4d0. The PR body expressly holds landing until qualification succeeds. A local follow-history search reached an unavailable older object; inspected commits and REST evidence establish the relevant ownership and intent. (scripts/security/securityModelPolicy.ts:44, aaa5150a3f6d)
  • Affirmative dependency contract and verified runtime publication: ClawHub executes this exact source and installs scanner sources and patches from its runtime Dockerfile, establishing the dependency-policy boundary. Read its complete root AGENTS.md and relevant runtime changes. fix(runtime): keep scanner budget limits visible without flagging skill content clawscan#225 advances SkillSpector to c323ad4c43e3c8f2de051572cc25b2711d11e648 while retaining raw partial evidence and independent judgment. REST tree metadata matches both proposed tree pins. Publication run 46527933418 attempt 2 succeeded for native amd64, native arm64, and the complete manifest. Its regression controls distinguish budget-only gaps, mixed content limitations, and failed inventory. (docker/clawscan-runtime/Dockerfile:10, d5c03ade5570)
  • Source-verified suppression boundary: The selected implementation suppresses AE1 only for partial targets whose entire gap consists of recognized budget limitations, with complete ledger evidence and no fatal, invalid-status, or duplicate-inventory condition; failed inventory and mixed content limitations retain findings. (src/skillspector/nodes/finalize_inspection_ledger.py:1054, c323ad4c43e3)

Likely related people:

  • Patrick Erichsen: Raw commit 21841f0 adds scripts/security/securityModelPolicy.ts:17 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 21841f02786c; files: scripts/security/securityModelPolicy.ts)

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #4993
Summary: This PR carries the main-branch consumer upgrade for the canonical budget-only AE1 report; the companion provides the Test deployment path.

Members:

These related items are listed for context. Any action on an item requires its own checks.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.

Label justifications:

  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on maintainer: Only explicit maintainer approvals or decisions remain; merge is still blocked.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 30, 2026, 6:28 PM ET / 23:28 UTC.

@Patrick-Erichsen
Patrick-Erichsen merged commit 85a7bba into main Nov 30, 2026
50 of 51 checks passed
@Patrick-Erichsen
Patrick-Erichsen deleted the qualify-skillspector-2-13-7 branch November 30, 2026 23:35

This branch was successfully deployed

1 active deployment
Preview – clawhub — aaa5150a Deployed Nov 30, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on maintainer Only explicit maintainer approvals or decisions remain; merge is still blocked.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant