Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
toolkits/internalintotoolkits/shell-processCandidate implementation details
src/core/tools/toolkits/shell-process/run-shell.tssrc/core/tools/toolkits/shell-process/shell-policy.tssrc/core/tools/toolkits/shell-process/toolkit.tssrc/core/tools/toolkits/shell-process/index.tstoolkits/internalnow keeps only true internal workflow tools such asupdate_plansrc/index.tsstill expose the same run-shell APIs from the new implementation pathPolicy/execution split made
shell-policy.tsnow owns:run-shell.tsnow owns:Behavior compatibility preserved
This candidate is intended to preserve:
Behavior tests added or strengthened
No new tests were added in this pass; existing behavior-locking tests were kept and passed against the new boundary:
src/__tests__/unit/tools/run-shell.command.test.tssrc/__tests__/unit/core/project-approval-rules.test.tssrc/__tests__/integration/tools/tools.test.tssrc/__tests__/integration/core/agent-loop.test.tsVerification
yarn typecheckyarn vitest run src/__tests__/unit/tools/run-shell.command.test.tsyarn vitest run src/__tests__/unit/core/project-approval-rules.test.tsyarn vitest run src/__tests__/integration/tools/tools.test.tsyarn vitest run src/__tests__/integration/core/agent-loop.test.tsForbidden leftovers checked
Used:
rg -n "toolkits/internal/run-shell|current M12|M13 is the planned" src/core src/cli src/__tests__ README.md docsAfter cleanup, this returned no matches.
What became clearer
toolkits/internalnow clearly means internal workflow/state toolsRemaining risks / follow-up
run-shell.tsstill re-exports policy items for compatibility and ease of transition; reviewer can decide whether any further internal direct-import cleanup is desirableThis is a candidate implementation, not a milestone-complete claim.