Skip to content

fix: inherit environment variables in LocalShellBackend - #681

Merged
avoidwork merged 1 commit into
mainfrom
fix/corebackend-inherit-env
Aug 2, 2026
Merged

fix: inherit environment variables in LocalShellBackend#681
avoidwork merged 1 commit into
mainfrom
fix/corebackend-inherit-env

Conversation

@avoidwork

@avoidwork avoidwork commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Description

LocalShellBackend was created without inheritEnv: true, so child processes spawned by the core backend had no environment variables. This meant tools like shell, executeCode, and subagents could not access PATH, HOME, or any other env vars needed to function.

Type of Change

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes)
  • Performance improvement
  • CI / build / tooling

Testing

  • npm run lint passes
  • Tests pass with maintained line coverage
  • No forbidden patterns used
  • Conventional Commit style applied

@avoidwork avoidwork added the bug Something isn't working label Aug 2, 2026
@avoidwork
avoidwork enabled auto-merge (squash) August 2, 2026 20:02
@avoidwork
avoidwork merged commit f3412f5 into main Aug 2, 2026
3 checks passed
@avoidwork
avoidwork deleted the fix/corebackend-inherit-env branch August 2, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant