Skip to content

Refactor filesystem security and execution controls across BashSession#4

Merged
zac merged 14 commits intomainfrom
security-improvements
Mar 23, 2026
Merged

Refactor filesystem security and execution controls across BashSession#4
zac merged 14 commits intomainfrom
security-improvements

Conversation

@zac
Copy link
Copy Markdown
Member

@zac zac commented Mar 23, 2026

Summary

  • extract the shell language internals in BashSession into focused control-flow, expansion, and syntax helper files
  • move filesystem primitives onto the shared Workspace package and update session/filesystem APIs to use reexported FileSystem types
  • add scoped RunOptions, execution limits, permission handling, and tighter network-policy enforcement across shell commands, git, and embedded Python
  • expand secret handling to provider-backed references, durable keychain support, and stricter redaction/resolution flows
  • refresh tests and trim documentation to match the new API surface and behavior

Testing

  • swift test

@zac zac merged commit 3e7d289 into main Mar 23, 2026
1 check passed
@zac zac deleted the security-improvements branch March 23, 2026 23:03
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