Skip to content

feat: seed env files from examples#5

Merged
pkudinov merged 1 commit into
mainfrom
codex/env-example-seeding
Jun 5, 2026
Merged

feat: seed env files from examples#5
pkudinov merged 1 commit into
mainfrom
codex/env-example-seeding

Conversation

@pkudinov

@pkudinov pkudinov commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add seedEnvFiles config support for committed .env.example files that create missing local env targets and append missing safe vars without overwriting developer values.
  • Add wt env seed [path] with --dry-run and --json, usable from the root worktree or branch worktrees.
  • Run the same seed pass from wt new / wt setup before slot-specific env patches, and update README plus the shipped wt skill.

Validation

  • pnpm test
  • pnpm build
  • pnpm lint
  • Temp repo CLI smoke test for wt env seed --dry-run --json and wt env seed --json, verifying developer values are preserved and missing vars are appended.

@pkudinov pkudinov marked this pull request as ready for review June 5, 2026 22:21
@pkudinov pkudinov changed the title [codex] Seed env files from examples feat: seed env files from examples Jun 5, 2026
@pkudinov pkudinov merged commit 7994b55 into main Jun 5, 2026
4 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