Skip to content

feat(core): parse shell permission commands - #39567

Merged
rekram1-node merged 13 commits into
v2from
shell-command-parsing
Jul 30, 2026
Merged

feat(core): parse shell permission commands#39567
rekram1-node merged 13 commits into
v2from
shell-command-parsing

Conversation

@rekram1-node

Copy link
Copy Markdown
Collaborator

Summary

  • parse Bash and PowerShell commands with tree-sitter before permission checks
  • split compound shell input into independent permission resources
  • derive reusable command-prefix approvals using V1 arity rules
  • preserve V2 explicit-workdir-only external-directory checks

Validation

  • bun test test/shell-parse.test.ts test/tool-shell.test.ts in packages/core
  • bun typecheck in packages/core
  • git diff --check

@rekram1-node
rekram1-node merged commit 1297193 into v2 Jul 30, 2026
8 of 11 checks passed
@rekram1-node
rekram1-node deleted the shell-command-parsing branch July 30, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant