Skip to content

chore: restructure config schemas into modular files - #748

Merged
avoidwork merged 1 commit into
mainfrom
chore/restructure-config-schemas
Aug 10, 2026
Merged

chore: restructure config schemas into modular files#748
avoidwork merged 1 commit into
mainfrom
chore/restructure-config-schemas

Conversation

@avoidwork

Copy link
Copy Markdown
Owner

Summary

Restructure src/config/schemas.js (293 lines) into per-section files under src/config/schemas/ and rename mutate.jspatch.js.

What Changes

  • Split monolithic schemas.js into 9 per-section schema files
  • Create schemas/index.js for backward-compatible re-exports
  • Rename mutate.jspatch.js with updated imports
  • Evaluate DEFAULT_CONFIG redundancy against Zod defaults

OpenSpec

Full spec available at openspec/changes/restructure-config-schemas/

Related

Fixes #739

- Create proposal, design, tasks, and spec artifacts
- Define modular schema organization
- Plan rename of mutate.js → patch.js
@avoidwork avoidwork self-assigned this Aug 10, 2026
@avoidwork
avoidwork enabled auto-merge (squash) August 10, 2026 05:00
@avoidwork
avoidwork merged commit 8b7342e into main Aug 10, 2026
3 checks passed
@avoidwork
avoidwork deleted the chore/restructure-config-schemas branch August 10, 2026 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: restructure src/config to reduce schemas.js complexity

1 participant