chore: merge master into develop#2288
Merged
Merged
Conversation
Next Release
…--components--rtk chore(master): release 0.41.0
Next Release
…--components--rtk chore(master): release 0.42.0
patch(openclaw): no execSync to avoid async dangerous cmds
…--components--rtk chore(master): release 0.42.1
- Decompose compound commands for permission checks (newline, background &, subshell `( )`) in addition to &&, ||, ;, | so hidden segments are checked.
- `contains_unattestable_construct`: flag command/process substitution and file-target redirects (fd-dup `2>&1` and /dev/null exempt) — RTK can't decompose these, so they are never auto-allowed.
- Route every host hook (Claude, VS Code, Gemini, Cursor, Copilot CLI) through a single decision flow. Precedence: Deny → (defer if unattestable) → Allow → Ask → Default. Auto-allow only on a positive Allow; otherwise defer to the host's own engine.
- Gemini: ask_user instead of hardcoded allow. Cursor: empty `{}` delegation, since permission:"ask" is not enforced on its sandboxed shell.
fix(permissions): never auto-allow not evaluable cmds, defer to hosts
…--components--rtk chore(master): release 0.42.2
|
|
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.
Merges master into develop to resolve the conflict in release PR #2083.
Why this is needed: the security hardening was cherry-picked from master onto develop (PR #2286). The cherry-picks have the same content as master's originals but different SHAs, so when release-please tried develop -> master in #2083, git saw both branches modifying the same lines.
Resolution: kept develop's version on every conflict (develop is a content superset, containing master's CVE fix commits plus Copilot CLI adaptation and added tests). The bot will regenerate #2083 cleanly after this merges.