feat: drop the plugin-dcg preset - #123
Merged
Merged
Conversation
dcg 0.13 ships its own OpenCode plugin: `dcg install --opencode` writes ~/.config/opencode/plugins/dcg-guard.js, and upstream's install.sh calls it automatically wherever opencode is detected. Installing opencode-plugin-dcg on top of that runs dcg twice per bash call, so the preset goes. Removes the conf, its PIN_SOURCES entry (test/pin-sources.test.ts fails on an orphan), the README row and section, and the two test tables that named it. Fixtures that only used dcg as a sample binary or plugin spec move to shellcheck / superpowers; the @requires-bin machinery stays, though no shipped preset declares one any more.
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.
dcg 0.13 ships its own OpenCode plugin:
dcg install --opencodewrites~/.config/opencode/plugins/dcg-guard.js, and upstream'sinstall.shcalls it automatically wherever opencode is detected (configure_opencode()). Installingopencode-plugin-dcgon top of that runs dcg twice per bash call, so the preset goes.Removed:
presets/plugin-dcg.conf, itsPIN_SOURCESentry (test/pin-sources.test.tshard-fails on an orphaned key), the README table row and the wholeChecking commands with dcgsection, and the two hardcoded test tables that named it.Fixtures that only used dcg as a sample binary or plugin spec moved to
shellcheck/superpowers, so the tests keep their coverage and the tree greps clean. The@requires-binmachinery stays, though no shipped preset declares one any more - the corpus test now asserts that, which is what catches one arriving unannounced.No migration path for existing installs, by design.
Verified:
npm test198/198,npm run check-pinsall current, andopencode-presets listagainst a temp config no longer shows the preset.