Skip to content

fix: reject unknown keys in nested quirk objects - #39

Merged
TheGreatAxios merged 1 commit into
mainfrom
fix/reject-unknown-nested-quirks
Nov 4, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
fix/reject-unknown-nested-quirks

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Closes CL-12062

Nested quirk objects (headers, headers.fromOption[], systemPrompt, reasoning) now reject unknown keys, matching the top level and the README. A typo like reasoning.sumary throws at construction instead of being ignored.

Quirks with unknown nested keys now throw. No API change, so a patch release. Checked consumers (corbits-builder, codex-provider, xai-provider) pass only known keys.

@linear-code

linear-code Bot commented Nov 4, 2026

Copy link
Copy Markdown

CL-12062

@TheGreatAxios
TheGreatAxios merged commit 92711f2 into main Nov 4, 2026
2 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