Version 0.1.1 Release #2
Merged
Merged
Conversation
- skillgate review summary PATH with Markdown/JSON output, baseline/policy awareness, artifact links, high-risk finding summaries, policy violations, and active waivers. - Composite Action inputs: summary-output, json-output, and step-summary. - GitHub Step Summary integration via the Action. - skillgate mcp registry compare --format markdown. - Structured summary.registry_drift rows for SG013 JSON output. - v0.1.1 version bump, changelog entry, README/docs updates, future roadmap cleanup, and tests. - Minor update to README: add appropriate badges
- Added a GitHub-first Node wrapper for `npx --yes github:charliechenye/SkillGate#v0 -- ...` usage, backed by checksummed GitHub Release binaries instead of PyPI or npm registry publication. - Added a release-binary workflow and manifest builder so future stable GitHub Releases can publish verified platform binaries for the Node wrapper.
1. Prevent Accidental npm Publication 2. Add Bounded Downloads To The Node Wrapper
| const { URL } = require("node:url"); | ||
|
|
||
| const REPOSITORY = "charliechenye/SkillGate"; | ||
| const DEFAULT_RELEASE_BASE = `https://github.com/${REPOSITORY}/releases`; |
| if (!Number.isSafeInteger(expectedBytes)) { | ||
| throw new Error(`Content-Length is too large while fetching ${url}`); | ||
| } | ||
| if (expectedBytes > byteLimit) { |
| reject(statError); | ||
| return; | ||
| } | ||
| if (stats.size > byteLimit) { |
| if ( | ||
| response.statusCode >= 300 && | ||
| response.statusCode < 400 && | ||
| response.headers.location |
| } | ||
| const chunks = []; | ||
| let totalBytes = 0; | ||
| let exceeded = false; |
| let exceeded = false; | ||
| response.on("data", (chunk) => { | ||
| if (exceeded) { | ||
| return; |
| return; | ||
| } | ||
| totalBytes += chunk.length; | ||
| if (totalBytes > byteLimit) { |
| totalBytes += chunk.length; | ||
| if (totalBytes > byteLimit) { | ||
| exceeded = true; | ||
| response.destroy(new Error(`download for ${url} exceeds limit of ${byteLimit} bytes`)); |
| } | ||
| chunks.push(chunk); | ||
| }); | ||
| response.on("end", () => resolve(Buffer.concat(chunks))); |
| "description": "Thin GitHub-release launcher for the SkillGate Python scanner.", | ||
| "license": "MIT", | ||
| "repository": { | ||
| "type": "git", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
release-consistency and adoption-hardening release, not a large feature release.