Skip to content

[codex] Escape enumerated tree paths#254

Draft
Flerpharos wants to merge 1 commit into
mainfrom
codex/escape-enumerated-node-paths
Draft

[codex] Escape enumerated tree paths#254
Flerpharos wants to merge 1 commit into
mainfrom
codex/escape-enumerated-node-paths

Conversation

@Flerpharos

Copy link
Copy Markdown
Collaborator

Summary

  • escape emitted path segments from tree enumeration
  • preserve / as only the join separator between already-escaped segments
  • cover slash and backslash node names round-tripping through traverse()

Fixes #193

Validation

  • uv run --python 3.10 pytest --no-cov tests\tree\test_mixins.py
  • uv run --python 3.10 pre-commit run --all-files
  • uv run --python 3.10 pre-commit run --all-files --hook-stage pre-push

@Flerpharos Flerpharos force-pushed the codex/escape-enumerated-node-paths branch from 54110b9 to b96ab87 Compare July 9, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enumerate_nodes returns paths that cannot round-trip names with separators

1 participant