Merged
Conversation
- #498 TM-DOS-046: Add validate_path() to all MountableFs write methods (write_file, append_file, mkdir, remove, rename, copy, symlink, chmod) - #498 TM-DOS-049: Add explicit depth parameter to collect_dirs_recursive capped by filesystem max_path_depth - #498 TM-DOS-050: Propagate caller-configured parser limits through parse_word_string (new parse_word_string_with_limits method) - #499 TM-PY-028: BashTool.reset() now preserves username, hostname, max_commands, and max_loop_iterations (matching PyBash.reset() behavior) All 21 security audit regression tests pass. https://claude.ai/code/session_01TTiLUJVtmMNAo1NC9aQTn1
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
validate_path()to allMountableFswrite methods — path depth/character validation no longer bypassed for mounted filesystemscollect_dirs_recursive, capped by filesystemmax_path_depthparse_word_stringvia newparse_word_string_with_limits()methodBashTool.reset()now preservesusername,hostname,max_commands, andmax_loop_iterations— matchingPyBash.reset()behaviorTest plan
cargo test --all-features— 1515+ tests)cargo fmt --checkcleancargo clippy --all-targets --all-features -- -D warningscleanruff check+ruff format --check)BashTool.reset()config preservationCloses #498, closes #499
https://claude.ai/code/session_01TTiLUJVtmMNAo1NC9aQTn1