Skip to content

fix: remove unused cwd parameter from createCoreBackend#520

Merged
avoidwork merged 2 commits into
mainfrom
feat/root-filesystem-access
Jul 3, 2026
Merged

fix: remove unused cwd parameter from createCoreBackend#520
avoidwork merged 2 commits into
mainfrom
feat/root-filesystem-access

Conversation

@avoidwork

@avoidwork avoidwork commented Jul 3, 2026

Copy link
Copy Markdown
Owner

Description

Changes createCoreBackend in src/agent/coreBackend.js to root the filesystem backend at / instead of process.cwd(), giving the agent unrestricted filesystem access. A follow-up fix removes the now-unused cwd parameter from the function signature.

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

N/A — no new tests were written or run as part of this PR.

Coverage

N/A — no coverage data available.

Checklist

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

@avoidwork avoidwork changed the title feat: set rootDir to '/' for unrestricted filesystem access fix: remove unused cwd parameter from createCoreBackend Jul 3, 2026
@avoidwork avoidwork merged commit 6464598 into main Jul 3, 2026
2 checks passed
@avoidwork avoidwork deleted the feat/root-filesystem-access branch July 3, 2026 17:00
@avoidwork avoidwork mentioned this pull request Jul 3, 2026
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