Skip to content

refactor(core): drop redundant current_working_directory from ToolUseContext#359

Merged
wsp1911 merged 1 commit intoGCWing:mainfrom
wsp1911:main
Apr 7, 2026
Merged

refactor(core): drop redundant current_working_directory from ToolUseContext#359
wsp1911 merged 1 commit intoGCWing:mainfrom
wsp1911:main

Conversation

@wsp1911
Copy link
Copy Markdown
Collaborator

@wsp1911 wsp1911 commented Apr 7, 2026

This removes the current_working_directory field introduced in #297.
In the current implementation it overlaps with workspace semantics and is not
meaningfully maintained in the main execution flow, so keeping it adds API and
path-resolution complexity without real value.

  • remove current_working_directory from ToolUseContext
  • remove cwd-based path resolution branches
  • update tool context builders and tool validation paths
  • simplify related tests to workspace-root-only behavior

…Context

This removes the current_working_directory field introduced in GCWing#297.
In the current implementation it overlaps with workspace semantics and is not
meaningfully maintained in the main execution flow, so keeping it adds API and
path-resolution complexity without real value.

- remove current_working_directory from ToolUseContext
- remove cwd-based path resolution branches
- update tool context builders and tool validation paths
- simplify related tests to workspace-root-only behavior
@wsp1911 wsp1911 merged commit 1178a1d into GCWing:main Apr 7, 2026
4 checks passed
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