Repository navigation
docs(adr): surface-lock ADR 026/028/032 (resolve #451) - #575
Conversation
Surface-lock review pass for #451 over ADR 026 (gauge-boost tokenomics), ADR 028 (slashing appeals), and ADR 032 (the appeal contract-surface pin ADR 028 normatively defers to). ADR 027 no longer exists — its distinct-client/receipt machinery was deliberately collapsed into the ADR 026 §3 per-operator gauge-share cap (ADR 003 §116 / ADR 016 §249 pin "no separate commit step"), so #451 §B is resolved-by-removal. Findings resolved: - ADR 026 §A: claim-rounding direction was unspecified — a surface-changing gap (compiles into bytecode). Pin floored integer division (no round-up; final-claimant revert safety) and route per-claim truncation dust through the existing 26-epoch claim-window treasury sweep, explicitly distinct from the §3 next-epoch rollover path. - §B: drop the stale "delivery receipts" item from the adr/README.md reading order (ex-ADR-027 remnant; matches architecture.md Chapter 4). ADR 028 §C lock-targets (appeal state machine, six SafetyReserve entry points, three-window timing model, payout integration, bond/restitution caps) are fully pinned across ADR 028 §6 + ADR 032 §1–4; no surface change required. Status flipped Draft -> Locked-for-implementation on ADR 026, 028, 032, unblocking #452. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates the status of several Architecture Decision Records (ADRs) to 'Locked-for-implementation' and introduces a new 'Claim rounding' section to ADR 026, which specifies the use of floored integer division for payouts and the handling of truncation remainders. A review comment correctly identified an internal documentation inconsistency in ADR 026 regarding a section reference for 'Pre-launch gauge accumulation'.
There was a problem hiding this comment.
Pull request overview
This PR locks down the implementation surface for ADR 026/028/032 in response to #451 by marking them “Locked-for-implementation”, clarifying a previously underspecified rounding rule in ADR 026, and removing a stale “delivery receipts” reference from the ADR reading order.
Changes:
- Mark ADR 026, ADR 028, and ADR 032 as Status: Locked-for-implementation.
- Specify claim rounding direction and dust handling for gauge/delegator bucket claims in ADR 026.
- Update
adr/README.mdreading order to drop the removed “delivery receipts” reference.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| adr/README.md | Removes the stale “delivery receipts” mention from the suggested reading order. |
| adr/026-gauge-boost-tokenomics.md | Adds an explicit “Claim rounding” rule and updates status to locked. |
| adr/028-slashing-appeals.md | Updates ADR status to locked. |
| adr/032-safety-reserve-appeals-contract.md | Updates ADR status to locked. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Review feedback on #575: - "Pre-launch gauge accumulation" is in §2, not §3 — corrected the cross-ref to §2 (matches the existing §627 prose style). - "§Epoch-mechanics" → "[§2 Epoch mechanics](#epoch-mechanics)" for consistency with the rest of the ADR and a working anchor. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…sion PR #575 review: "round toward zero — the EVM's native /" was accurate (all operands uint) but could be misread as a signed- division claim by an implementer. State unsignedness explicitly. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Surface-lock review pass for #451 over ADR 026 (gauge-boost tokenomics), ADR 028 (slashing appeals), and ADR 032 (the appeal contract-surface pin ADR 028 normatively defers to).
Context
#451 names "ADR 026/027/028". ADR 027 no longer exists — its distinct-client / delivery-receipt machinery (
DeliveryReceiptEIP-712 shape, receipt-batch Merkle anchoring,commitEpochReceiptRoot/commitEpochSummary) was deliberately collapsed into the ADR 026 §3 per-operator gauge-share cap. ADR 003 §116 and ADR 016 §249 both pin the replacement invariant ("gauge bytes flow throughsettleChanneldirectly with no separate commit step"). There are zero dangling references to the removed surface. So #451 §B is resolved-by-removal, not relocated — there is no receipt surface left to lock.Findings resolved in this PR
adr/README.mdreading order to matcharchitecture.mdChapter 4.No surface change required
ADR 028 §C lock-targets (appeal state machine; the six
SafetyReserveentry points; the three-window timing model;payoutintegration; bond/restitution caps) are fully pinned across ADR 028 §6 + ADR 032 §1–4. ADR 032 pins the exact 6-state machine, all six event signatures, escrow accounting, and CEI ordering — it is ADR 028's normative contract-surface dependency, so it is locked alongside.Status
Draft → Locked-for-implementationon ADR 026, 028, 032. This satisfies the #451 acceptance criteria and unblocks #452.Per-ADR sign-off / findings reasoning posted as review comments on #451.
🤖 Generated with Claude Code