pub const MAX_DIR_DEPTH: usize = 128;
Maximum directory nesting depth for all traversal operations. Prevents stack overflow from pathological or circular directory trees. 128 levels accommodates any realistic project structure.