fix: harden gateway contracts and lifecycle#14
Merged
Conversation
bntvllnt
added a commit
that referenced
this pull request
May 30, 2026
Promote the Unreleased changelog to 0.2.0 (namespace migration to @earendil-works/pi-*, PR #14 hardening: body cap, loopback Host guard, unsupported-parameter rejection, server timeouts, faux-provider tests, pi-package keyword, CHANGELOG-driven releases + per-push canaries). Doc-sync for the 0.2.0 behavior changes: - llms-full.txt: correct the Chat Completions 'Accepted fields' list (the params now rejected with HTTP 400 unsupported_parameter are moved to a new 'Rejected fields' note); add 413 + invalid_host rows to the status table. - README + CLAUDE: document the loopback Host-header guard, 16 MB body cap, and server timeouts under Security defaults. pnpm run check green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
Fixes #6
Fixes #7
Fixes #8
Fixes #9
Fixes #10
Fixes #11
Fixes #12
Fixes #13