Repository navigation
quest: the cut waits on a credit model, #9210, and a bounded relay cache - #9248
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kixelated
marked this pull request as ready for review
November 20, 2026 19:10
kixelated
enabled auto-merge
November 20, 2026 19:10
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Approach: sound. It gates the cut on a model of receive credit and a bounded relay cache default, and keeps the JS frame cap out of the blockers.
Reviewed changes
Planning docs only; no runtime behavior changes.
quest/m1/credit-model.md: a TLA+ model of receive credit, pausing, and the sender's credit wait, with safety and liveness properties and the code each action maps to.quest/m1/paused-allowance.md: #9210 merges once the model passes on its design.quest/m1/relay-memory-default.md: moq-relay defaults tocache.headroom10%, and the quest says to settle how an operator spells "unbounded" without a magic value.quest/m1/js-frame-cap.md: both JS wire readers reject received frames over 32 MiB, as Rust does. It does not block the cut.quest/m3/release/cut.md: records the decision and links the three blockers under Required.
claude-sonnet-5-5 | 𝕏
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
Plans the pre-cut flow-control audit. The main → release cut now waits on three quests:
quest/m1/credit-model.md[L]: a TLA+ model of receive credit, pausing, and the sender's credit wait. It checks that held credit never exceeds the window and that every stream progresses or is evicted.quest/m1/paused-allowance.md[S]: moq-dev/moq#9210 merges once the model passes on its design, then deletes this quest.quest/m1/relay-memory-default.md[S]: moq-relay defaults tocache.headroom10%, so a stock relay's cache is bounded.Also adds
quest/m1/js-frame-cap.md[XS], which is not a cut blocker: both JS wire readers reject received frames over 32 MiB, matching Rust.All four are in m1 because none needs a breaking release. The cut lists each blocker directly in its
Required, as it already does for m0's rind adapters.Decisions
Settled by the maintainer on 2026-11-20 in the /quest-plan interview:
headroom10% (rejected:capacity50%; both).The evidence for a model: four credit bugs in two weeks (#8794, #8808, #8774, #8607), two of them hangs.
Validation
quest check: 496 documents ok. Planning only; no behavior to exercise.Models
Size: S
Implementer: Claude Code, claude-opus-5-5, unknown effort
(Written by Opus 5.5)
🤖 Generated with Claude Code
Review
Rewritten by
quest reviewafter each round.Head: 42d50a8
Base: origin/main at 9828a20
Risk: low,
Only quest plans and release prerequisites change; no consumer or peer behavior or agent authority changes, and a revert fully undoes the planning changes.Classified: low by Codex, gpt-6.1-sol, low effort, session
01a1fa5d-2f08-7263-8e25-0e6830754106Reviewer: Codex, gpt-6.1-sol, medium effort
Session:
01a1fa5d-4428-73d1-9b8e-b142d3193550, round 1Score: 10/10,
The change adds only quest plans and release prerequisites, with no runtime changes or actionable defects.Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0
Findings: none