返回顶部
w

wip-license-hook

License rug-pull detection. Scans dependencies and forks for license changes, gates upstream merges, maintains a license ledger, and generates a public compliance dashboard.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.9.68
安全检测
已通过
654
下载量
0
收藏
概述
安装方式
版本历史

wip-license-hook

# wip-license-hook Detect license rug-pulls before they reach your codebase. ## Commands ### Initialize ledger for a project ```bash wip-license-hook init --repo /path/to/repo ``` Scans all current dependencies and forks, records their licenses, creates `LICENSE-LEDGER.json`. ### Scan all dependencies ```bash wip-license-hook scan --all ``` Checks every dependency and fork against the ledger. Updates `last_checked`. Flags any changes. ### Pre-merge gate ```bash wip-license-hook gate --upstream <remote> ``` Fetches upstream without merging. Checks license. Returns exit code 0 (safe) or 1 (changed/blocked). Use in git hooks or CI. ### Generate report ```bash wip-license-hook report ``` Outputs a human-readable license health report. ### Generate dashboard ```bash wip-license-hook dashboard --output ./docs ``` Creates a static HTML dashboard from the ledger. Deploy to GitHub Pages. ## Daily Cron Usage Add to HEARTBEAT.md or as a cron job: ``` wip-license-hook scan --all --alert ``` If any license changed, sends alert via configured channel (email, iMessage, Discord). ## What It Detects - LICENSE file content changes - package.json license field changes - SPDX header changes - License removal (file deleted) - License downgrade (permissive → restrictive) ## What It Does NOT Do - It does not legal advice make - It does not auto-merge anything ever - It does not modify upstream code ## Alert Levels - 🟢 **Clean** — license unchanged since adoption - 🟡 **Warning** — license metadata inconsistency (e.g., LICENSE file says MIT but package.json says ISC) - 🔴 **Blocked** — license changed from what was adopted. Merge blocked. Human review required. ## MCP Tools: `license_scan`, `license_audit`, `license_gate`, `license_ledger` Add to `.mcp.json`: ```json { "wip-license-hook": { "command": "node", "args": ["/path/to/tools/wip-license-hook/mcp-server.mjs"] } } ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 wip-license-hook-1776123429 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 wip-license-hook-1776123429 技能

通过命令行安装

skillhub install wip-license-hook-1776123429

下载 Zip 包

⬇ 下载 wip-license-hook v1.9.68

文件大小: 34.21 KB | 发布时间: 2026-4-15 14:59

v1.9.68 最新 2026-4-15 14:59
# Release Notes: wip-ai-devops-toolbox v1.9.68

Closes #239

## Four-track release pipeline

The release tool now supports four tracks: alpha, beta, hotfix, and stable. This replaces the single-track model where every release was public.

Alpha is silent (no public release notes by default). Beta publishes prerelease notes to the public repo. Hotfix publishes to npm @latest without syncing code to public. Stable is the full deploy: npm + code sync + release notes. Developers can iterate on private, ship betas to testers, and only go public when ready.

Version numbering uses standard semver prereleases: `1.9.68-alpha.1`, `1.9.68-beta.1`. The installer (`ldm install --beta` / `--alpha`) pulls the right tag from npm.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部