Skip to content

doc: decision record for #5809 — versioning, negotiation & forward-compatibility policy - #8199

Merged
dezren39 merged 1 commit into
mainfrom
queue/12799-5809-version-negotiation
Nov 10, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/12799-5809-version-negotiation

Conversation

@dezren39

@dezren39 dezren39 commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Decision record for #5809: versioning, negotiation & forward-compatibility policy for the ID wire format.

Queue task 12799 (lane code-g, direct execution per #8187).

What this is

One new file: doc/2026-11-10_decision_id5809_versioning_negotiation.md — the decision record issue #5809 asks for. No code, no implementation.

Decisions in brief

  • Wire version is the envelope (major, minor) pair; minors are additive-only, anything else is a major bump (D1).
  • Negotiation at session start: peers advertise a supported range per major line, the session settles on the highest mutually supported version, no overlap is a defined error (never a silent unversioned fallback), and the result is bound into the handshake transcript so a relay cannot silently force a downgrade (D2).
  • A v1 peer receiving a v2 frame must not parse it and must not silently drop it: endpoints answer with the defined unsupported-version error; relays forward opaquely, byte-for-byte. Same-major newer-minor frames: parse known fields, preserve unknown extension/TLV data (D3).
  • Deprecation in three steps with at least one major cycle of dual acceptance; golden vectors are the conformance contract (D4).
  • Seven implementation invariants, headed by: nothing is silently dropped.

Ordering constraint

The closing record is ordered after parent #5674's decision record, which has not landed. Per task 12799's acceptance alternative, this record is decided explicitly against a named draft of the parent — the #5674 issue body as checked 2026-11-10, in particular its §1 and §2 — states the precedence (parent wins on any conflict), and flags its one addition (transcript binding, D2) explicitly in §7 instead of folding it in silently. A cross-reference note naming that addition is posted on issue #5674.

Refs #5809 (issue stays open until this record is merged, per its acceptance).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 10, 2026 19:50
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T19:50:50.562102Z
We couldn’t complete this review. Comment @codex review to try again.
93ecda5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: add3f003-5cee-467d-8213-7207f88f6150
Commits

Reviewing files that changed from the base of the PR and between af20f77 and 93ecda5.

Files selected for processing: 1

  • doc/2026-11-10_decision_id5809_versioning_negotiation.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@dezren39

Copy link
Copy Markdown
Member Author

🤖 Agent note · review disposition + CI status (task 12799, lane code-g)

  • Codex: the Codex code review on this PR failed to run — "You have reached your Codex usage limits for code reviews" (chatgpt-codex-connector[bot], 2026-11-10T19:50Z). It produced no findings: the PR has zero inline review comments. There is therefore no undispositioned Codex finding on this PR; if a later Codex run posts findings, they must be dispositioned before merge per the fleet gate.
  • CodeRabbit: rate-limited, no findings posted.
  • CI: all basic: checks were still QUEUED after the 5-minute active poll (fleet-wide CI stall; other PRs' checks are queued the same way). This PR is a single docs file, so no targeted test applies beyond the repo checks.
  • State: task 12799 is parked as a CI wait on this PR. Resume: when the checks complete green, merge PR doc: decision record for #5809 — versioning, negotiation & forward-compatibility policy #8199 (issue id: design: versioning, negotiation & forward-compatibility policy (from #5674) #5809 closes on merge per its acceptance), confirm no Codex findings appeared in the meantime, and clean the issue's queue/work/status labels.

@dezren39

Copy link
Copy Markdown
Member Author

state: parked
task: 12799
issue: #5809
pr: #8199
lane: code-n

CI wait + Codex disposition (lane code-n, 2026-11-10 ~21:00Z):

@dezren39
dezren39 merged commit 9ea1d34 into main Nov 10, 2026
4 of 8 checks passed
@dezren39
dezren39 deleted the queue/12799-5809-version-negotiation branch November 10, 2026 21:59
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