Skip to content

Fixed: use soft-canonicalize for allowed path resolution

f272b0e
Select commit
Loading
Failed to load commit list.
Merged

Add AllowedGlobResolver for fine-grained path sandboxing with glob patterns #89

Fixed: use soft-canonicalize for allowed path resolution
f272b0e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 6, 2026 in 1s

81.26% (+0.06%) compared to 3a2560c

View this Pull Request on Codecov

81.26% (+0.06%) compared to 3a2560c

Details

Codecov Report

❌ Patch coverage is 85.18519% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.26%. Comparing base (3a2560c) to head (f272b0e).

Files with missing lines Patch % Lines
...llm-coding-tools-core/src/path/allowed_glob/mod.rs 86.79% 7 Missing ⚠️
...-coding-tools-core/src/path/allowed_glob/policy.rs 85.71% 5 Missing ⚠️
src/llm-coding-tools-core/src/path/allowed.rs 55.55% 4 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #89      +/-   ##
==========================================
+ Coverage   81.19%   81.26%   +0.06%     
==========================================
  Files          99      102       +3     
  Lines        4009     4109     +100     
==========================================
+ Hits         3255     3339      +84     
- Misses        754      770      +16     
Files with missing lines Coverage Δ
...ding-tools-core/src/path/allowed_glob/normalize.rs 100.00% <100.00%> (ø)
src/llm-coding-tools-core/src/path/allowed.rs 75.75% <55.55%> (-5.50%) ⬇️
...-coding-tools-core/src/path/allowed_glob/policy.rs 85.71% <85.71%> (ø)
...llm-coding-tools-core/src/path/allowed_glob/mod.rs 86.79% <86.79%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.