pub fn normalised_code_search_path(path: &str) -> StringExpand description
Lexically normalize a search path without erasing leading .. components.
The shared path helper intentionally clamps a relative path at an empty
buffer, which is useful for some workspace display paths but would make an
escaping ../target search collide with an in-workspace target cache
entry. Preserve unresolved parents so replay identity remains fail-closed.