Skip to content

feat: move env seeding onto envFiles#6

Merged
pkudinov merged 1 commit into
mainfrom
codex/env-seedfrom-api
Jun 5, 2026
Merged

feat: move env seeding onto envFiles#6
pkudinov merged 1 commit into
mainfrom
codex/env-seedfrom-api

Conversation

@pkudinov

@pkudinov pkudinov commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace top-level seedEnvFiles with envFiles[].seedFrom so seeding and patching live on the same env-file entry.
  • Make envFiles[].patches optional, defaulting to an empty array for seed-only env files.
  • Update README, shipped wt skill, config tests, env command tests, and env patcher tests for the new API.

Validation

  • pnpm test
  • pnpm build
  • pnpm lint
  • Temp repo CLI smoke test using envFiles: [{ source: ".env", seedFrom: ".env.example" }] with omitted patches, verifying developer values are preserved and missing vars are appended.

@pkudinov pkudinov changed the title [codex] Move env seeding onto envFiles feat: move env seeding onto envFiles Jun 5, 2026
@pkudinov pkudinov marked this pull request as ready for review June 5, 2026 22:42
@pkudinov pkudinov merged commit e552e32 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