Skip to content

docs(exec): document group-name sanitization for SRC_/OUT_/TOOL_ env vars#58

Merged
raphaelvigee merged 1 commit into
mainfrom
claude/laughing-lovelace-4iss7y
Jul 1, 2026
Merged

docs(exec): document group-name sanitization for SRC_/OUT_/TOOL_ env vars#58
raphaelvigee merged 1 commit into
mainfrom
claude/laughing-lovelace-4iss7y

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

Summary

hephbuild/heph#141 fixed a bug where deps/out/tools group names containing characters outside [A-Za-z0-9_] (e.g. ., -, /) produced invalid, non-POSIX environment variable names (SRC_MY-GROUP), which shells reject or silently drop — so the dependency never reached the sandbox. The fix uppercases the group name and replaces any character outside [A-Z0-9_] with _.

This changes what a user should expect their SRC_<group> / OUT_<group> / TOOL_<group> env var to be named, so the docs need to state the actual rule rather than implying a plain .to_uppercase().

  • Added a note to website/docs/plugins/exec.md (Dependencies section) documenting the sanitization rule, with an example (my-group$SRC_MY_GROUP).
  • Mirrored the same note in the reference twin plugins/heph-expert/skills/heph/references/authoring.md (Dependency kinds section), per the reference-drift rule in this repo's CLAUDE.md.

Test plan

  • Docs-only change; no build attempted per instructions (no build env available in this session). Please review rendering of the new note in the Dependencies section of exec.md.

Refs: hephbuild/heph#141 (fix(plugin-exec): sanitize dep-map group names into valid env vars)


Generated by Claude Code

…vars

heph/heph#141 fixed a bug where dep-map, out, and tools group names
containing `.`, `-`, `/`, etc. produced invalid (non-POSIX) env var
names. Document the actual sanitization rule so users know exactly
what env var name a group name maps to.
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://9ad07d24.hephbuild.pages.dev
Commit 28cc7c4

@raphaelvigee raphaelvigee merged commit 612409a into main Jul 1, 2026
3 checks passed
@raphaelvigee raphaelvigee deleted the claude/laughing-lovelace-4iss7y branch July 1, 2026 10:10
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