Skip to content

docs(adr-036): fold amendment into canonical body - #1649

Merged
alpergundogdu merged 2 commits into
mainfrom
claude/adr-036-canonical-f6d0f7
Aug 10, 2026
Merged

alpergundogdu merged 2 commits into
mainfrom
claude/adr-036-canonical-f6d0f7

Conversation

@alpergundogdu

@alpergundogdu alpergundogdu commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

ADR 036 carried a standalone Amendment (#847) section describing the shift to a last-fully-elapsed-epoch vote window, even though that shift is already reflected in the Formula, Slashing zero-out, and _getVotes pseudocode. This made the ADR read as a patched draft rather than canon.

Changes

  • Remove the ## Amendment section; its rationale is retained as a plain ## Vote window subsection stated in present tense.
  • Strip the #847 / #846 change-markers throughout (formula comment, pseudocode comment, slashing paragraph, wash-trade threat model) so nothing frames the current design as a retrofit.
  • Flip Status: Draft → Accepted and drop the Date field, per the repo's ADR conventions (self-contained, present-tense canon; bare Accepted, no date).

No technical decision changes — the formula, bounds, and pseudocode are unchanged.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Finalized ADR 036 by marking it as accepted.
    • Clarified vote-window behavior and its bounded lag effects.
    • Updated wash-trading cost assumptions to reflect delivery-floor enforcement.
    • Removed outdated amendment references and draft-status details.

Remove the standalone Amendment section and the #847/#846 change-markers so
ADR 036 reads as canonical: the last-fully-elapsed-epoch window is now stated
directly in Context/Formula/Slashing rather than as a retrofit. Flip Status
Draft -> Accepted and drop the Date field per ADR conventions.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Copilot AI lite review requested due to automatic review settings August 10, 2026 14:48
@coderabbitai

coderabbitai Bot commented Aug 10, 2026 •

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@alpergundogdu, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 43 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Free

Run ID: adcf88c8-96ce-4434-b9c6-c008f86e82f5

📥 Commits

Reviewing files that changed from the base of the PR and between 2cbe662 and ca3efc2.

📒 Files selected for processing (1)
  • adr/036-served-bytes-voting-weight.md

Walkthrough

ADR 036 is now marked Accepted. Its finalized vote-window behavior remains documented. Amendment references were removed from comments. The wash-trading section now describes the near-free pre-enforcement attack and retains the delivery-floor assumption.

Changes

ADR 036 finalization

Layer / File(s) Summary
Finalize decision status and voting window
adr/036-served-bytes-voting-weight.md
The ADR status changed from Draft to Accepted. The finalized last-fully-elapsed-epoch vote window and its lag effects remain documented.
Update explanatory references and attack description
adr/036-served-bytes-voting-weight.md
Amendment references were removed from formula, slashing, and pseudocode comments. The wash-trading section now describes the near-free pre-enforcement attack and retains the delivery-floor assumption.

Estimated code review effort: 1 (Trivial) | ~3 minutes


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR finalizes ADR 036 as canonical documentation by removing “patched draft” artifacts (standalone amendment section and issue markers) and rewriting the vote-window rationale in present tense while marking the ADR as Accepted.

Changes:

  • Removes the standalone “Amendment” section and folds its content into a “Vote window” subsection.
  • Strips #847 / #846 change markers from formula and pseudocode commentary.
  • Marks the ADR status as Accepted and removes the header Date field.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread adr/036-served-bytes-voting-weight.md Resolved
@alpergundogdu
alpergundogdu merged commit 4a109cd into main Aug 10, 2026
27 checks passed
@alpergundogdu
alpergundogdu deleted the claude/adr-036-canonical-f6d0f7 branch August 17, 2026 17:48
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.

2 participants