Repository navigation
feat: add native stream JSON and credit foundations - #296
Merged
Merged
Conversation
This was referenced Oct 23, 2026
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
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.
Adds the protocol and flow-control foundations for #294 after the shared history extraction in #295. This slice provides codec and credit modules; the native endpoint and session integration remain subsequent work.
dataremains opaque and wider/compound delta identities retain their strings.346c473f55979ff2dd841aa2bbba4bcfebc49ef7. Execute all 37 shared wire vectors and verify the frozen protocol, manifest, 24 state scenarios and two network-session fixtures by SHA-256. Session/network fixture execution awaits the server integration.Validation at
e8dd91a7693ad22fbfd4d98c0c2ec46461f6256a: Bun 1.4.4 whole-project check (256 files), TypeScript 7.0.2 artifact build and all 91 focused history/filter/codec/credit tests pass on Node 22.23.3 and 24.19.0. Regressions cover serialization reentry/error/retirement, exact credit release, malformed known metadata, opaque payloads and unrelated root counts, and descending frame blocks. CI includes the native suites; independent final Standards/Spec reviews found no remaining scoped issues; artifacts were independently hash-verified. All nine final-head CI jobs passed. Merged asd665dc6a6211079cacd2bee6bba0a44c5f4ba321; its tree equals the reviewed head. Post-merge CI is running.This PR registers no route or operator default. #294 and #231 remain open for endpoint, retained-history, proxy, recovery and real server/client acceptance. No throughput, peak-memory recovery or Bun indexing-runtime qualification is claimed.