Skip to content

docs: document path normalization and workspace-root escape error#48

Merged
raphaelvigee merged 1 commit into
mainfrom
claude/busy-albattani-ps7flc
Jun 25, 2026
Merged

docs: document path normalization and workspace-root escape error#48
raphaelvigee merged 1 commit into
mainfrom
claude/busy-albattani-ps7flc

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

What changed\n\nFollows hephbuild/heph#128, which fixed package-relative path joins across three callsites (file(), glob(), and out/support_files). The change also made .. segments that escape the workspace root a hard error instead of silently mangling the path.\n\nfs.md already carried a path-normalization note for heph.fs.glob. This PR adds matching notes to the two pages that were missing them:\n\n- buildfile.md — extends the abs = True sentence in the file() / glob() section to state that paths are lexically normalized and that escaping the workspace root is an error.\n- exec.md — adds a one-sentence note after the support_files description in the Output groups section.\n\n## No new behavior documented\n\nThis is a bug-fix commit. The normalization of ./-prefixed paths is the correction of silent wrong behavior. The only net-new constraint is the hard error on workspace-root escape — users with ..-heavy paths that previously produced wrong-but-silent output will now get a clear error message.\n


Generated by Claude Code

Paths passed to file(), glob(), out, and support_files are now
lexically normalized and hard-error when .. escapes the workspace
root (hephbuild/heph#128). Document this behavior in buildfile.md
and exec.md to match the existing note in fs.md.
@github-actions

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://7176cce0.hephbuild.pages.dev
Commit 1a0e792

@raphaelvigee raphaelvigee merged commit fcd035b into main Jun 25, 2026
3 checks passed
@raphaelvigee raphaelvigee deleted the claude/busy-albattani-ps7flc branch June 25, 2026 08:50
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.

1 participant