Skip to content

Commit ba7b912

Browse files
authored
chore(skills): sync autoreview to TruffleHog-based canonical (#130122)
The mirrored autoreview script was frozen at agent-skills 7ae9260, before the heuristic secret scanner was replaced by TruffleHog pack scanning (agent-skills #145 and follow-ups through ca100e6). The old heuristics refused any branch diff deleting a Swift file with benign status-string cases like `case "ok-empty", "ok-token":` near value returns (reproduced with apps/macos/Sources/OpenClaw/MenuContentView.swift): the "ok-token" key shape stayed risky even after value redaction, so the deletion could never be redacted and the whole review was refused. Sync the complete skill directory from canonical agent-skills main (0f71fd2), which replaces the heuristics with a fail-closed TruffleHog scan and adds a regression fixture for this exact pattern. Every replaced mirror file was byte-identical to upstream 7ae9260, so no repo-local variants existed. Verified in place: the deletion bundle passes validate_review_patch byte-identical and a live TruffleHog pack scan.
1 parent c1176f9 commit ba7b912

7 files changed

Lines changed: 4661 additions & 13742 deletions

File tree

‎.agents/skills/autoreview/SKILL.md‎

Lines changed: 59 additions & 172 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)