Skip to content

Pass host environment to Fold Bash subprocesses - #20

Merged
K-Mistele merged 1 commit into
mainfrom
phase10-bash-environment
Aug 27, 2026
Merged

Pass host environment to Fold Bash subprocesses#20
K-Mistele merged 1 commit into
mainfrom
phase10-bash-environment

Conversation

@K-Mistele

Copy link
Copy Markdown
Contributor

Summary

  • add a host-provided processEnvironment option to Fold's Bash tool
  • forward the option through codingTools so embedding hosts can configure every session subprocess
  • preserve Fold's managed-bin PATH prefix while honoring a host-provided PATH
  • verify direct Bash and codingTools environment propagation with real subprocess tests

Why

Riptide commit attribution installs per-session Git hook configuration through environment variables. Fold embedding hosts need a session-scoped environment seam so commits created by Bash subprocesses inherit that attribution configuration.

Verification

  • bun run typecheck
  • bun run test
  • bun run lint
  • bun run format:check

@K-Mistele
K-Mistele merged commit a0f0ffb into main Aug 27, 2026
5 checks passed
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