Skip to content

Author closed sets as typed constants - #560

Merged
SaladDay merged 1 commit into
mainfrom
refactor/typed-closed-sets
Oct 8, 2026
Merged

SaladDay merged 1 commit into
mainfrom
refactor/typed-closed-sets

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Core closed sets were repeated in producers, schema tags and generated client constants, allowing strict response validators to drift from real responses. Define them with typed Go constants at their existing owners, use those constants in producers and validators, and regenerate shared OpenAPI/TypeScript enum references. Reuse the model-provider protocol definition and check the retained official/Runtime diagnostic tags against their owners.

Wire values, required fields, nullability and stored data are unchanged; all three normalized reachable API schemas match the baseline. Runtime observation and allocation tags remain for the coordinated cutover follow-up.

Validation: whole-module build/vet; changed and dependent Go packages (including PostgreSQL); focused database integration and schema contract tests; client/Web typechecks and focused unit tests; OpenAPI generation/freshness, generator tests, documentation checks and naming guard. Coordinator reviewed the complete diff.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit bf822ba into main Oct 8, 2026
20 checks passed
@SaladDay
SaladDay deleted the refactor/typed-closed-sets branch October 8, 2026 12:11
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