fix(opencode-plugin): clear the high advisory blocking the release gate - #17
Merged
Conversation
The release workflow runs `npm run gates`, which ends in `npm audit --audit-level=high`. GHSA-2883-xcg3-v3hh (js-yaml, high) was published after 0.2.1 shipped, so the v0.2.2 publish failed on the gate before reaching the registry -- nothing was published, and the tag now points at a version npm does not have. js-yaml reaches this package only through eslint -> @eslint/eslintrc, so it is dev-only and never shipped, but the gate is deliberately blind to that and it is the right default: a lockfile carrying a known high advisory is worth failing on even when the artifact does not contain it. `npm audit fix` resolves it non-breaking, 4.3.1 -> 4.3.2. The two remaining advisories are moderate (vitest) and below the gate's threshold; clearing them needs vitest 5, which is a breaking upgrade and does not belong in a release hotfix. pi-extension and claude-plugin do not resolve js-yaml at all, so neither is affected. Gates pass end to end: check, 29 tests, pack, audit. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HvvVk5xnS9hRBL9u1WcP6p
Merged
phall1
added a commit
that referenced
this pull request
Sep 9, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>opencode-plugin: 0.2.3</summary> ## [0.2.3](opencode-plugin-v0.2.2...opencode-plugin-v0.2.3) (2026-09-09) ### Bug Fixes * **opencode-plugin:** clear the high advisory blocking the release gate ([#17](#17)) ([f103772](f103772)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
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.
opencode-plugin-v0.2.2was tagged but never published. The releaseworkflow runs
npm run gates, which ends innpm audit --audit-level=high, andGHSA-2883-xcg3-v3hh (js-yaml, high) landed after 0.2.1 shipped. The gate failed
before the publish job, so the tag points at a version npm does not have.
The gate did its job — nothing reached the registry.
js-yaml reaches this package only through
eslint → @eslint/eslintrc, so it isdev-only and never shipped. The gate is deliberately blind to that, and that is
the right default: a lockfile carrying a known high advisory is worth failing on
even when the published artifact does not contain it.
npm audit fixresolves it non-breaking,4.3.1 → 4.3.2. The two remainingadvisories are moderate (vitest) and below the gate's threshold; clearing them
requires vitest 5, a breaking upgrade that does not belong in a release hotfix.
pi-extensionandclaude-plugindo not resolve js-yaml at all, so neither isaffected.
Rather than retag
v0.2.2— a destructive rewrite of a published ref — thislands as a normal fix so release-please cuts
0.2.3and the OpenCode V2plugin fix from #16 finally reaches npm.
Gates pass end to end locally: check, 29 tests, pack, audit.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HvvVk5xnS9hRBL9u1WcP6p