Skip to content

fix(harness): honor isolation scope for shell working directory#2364

Open
logicwu0 wants to merge 2 commits into
agentscope-ai:mainfrom
logicwu0:fix/2329-isolated-shell-working-directory
Open

fix(harness): honor isolation scope for shell working directory#2364
logicwu0 wants to merge 2 commits into
agentscope-ai:mainfrom
logicwu0:fix/2329-isolated-shell-working-directory

Conversation

@logicwu0

Copy link
Copy Markdown
Contributor

Summary

  • apply USER/SESSION namespaces before selecting the shell working directory
  • preserve the configured project directory when no namespace applies
  • add cross-platform regression coverage for SESSION, USER, and GLOBAL isolation

Testing

  • mvn -pl agentscope-harness -Dtest=ProjectAwareOverlayTest,LocalFilesystemModeTest test
  • git diff --check

Fixes #2329

@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

[Bug]:IsolationScope (SESSION/USER) does not apply to execute_shell_command working_directory

1 participant