Add bounded User-Agent protocol metadata - #921
Merged
Merged
Conversation
codeon:
version: 1
authority: FWN-324
description: |-
Add the shared rttp-protocol User-Agent primitive with bounded RFC 9110 product and comment parsing, singleton field enforcement, iterative comment nesting validation, typed read-only accessors, deterministic serialization, and privacy-safe diagnostics. Export the module, add focused protocol coverage, and document the metadata-only behavior.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Implement bounded typed RFC 9110 User-Agent metadata in rttp-protocol. The new singleton parser validates ordered products and comments under input, member, and nesting bounds, preserves accepted spelling, serializes deterministically, exposes typed read-only accessors, and keeps diagnostics privacy-safe. Focused tests cover valid, malformed, boundary, duplicate-field, round-trip, and debug-safety cases; the README documents its metadata-only scope.