You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: convert PathTraversalError to FileNotFoundError in _resolve_prompt_file
ensure_path_within() raises PathTraversalError (a ValueError subclass)
when a symlink resolves outside the project. The existing test contract
expects FileNotFoundError with 'symlink' in the message. Wrap the
ensure_path_within call in a helper that converts PathTraversalError
to FileNotFoundError with a clear message so CI and the contract both
pass.
0 commit comments