feat: honor shebang, fix safety false positives, release v0.12.0 - #63
Merged
Conversation
Match destructive commands in command position so read-only diagnostics are no longer blocked. Run script payloads under their shebang (or --shell), discover docker SQL roles from container env, and classify a missing remote psql/sqlite3 as config. Expand Windows CI to app, sshclient, and runtimepath. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
Summary
Release v0.12.0. Safety checks now match destructive verbs in command position (48 of 49 real blocked commands were false positives). Script payloads honor shebang /
--shell.sshx sql --dockerdiscovers the container role. A missing remotepsql/sqlite3iserror_kind: config. Windows CI now coversinternal/app,internal/sshclient, andinternal/runtimepath. MCPsshx_runexposesshellfor CLI parity.Test plan
make checkgo test -race -short ./...make test-e2eGOOS=windows go vet ./...and Windows test binaries compilemake build-all)After merge: tag
v0.12.0sorelease.ymlpublishes artifacts.