Repository navigation
docs(adr): add ADR 028 slashing appeals path - #419
Conversation
Resolves the issue #403 gap on governance-level appeal authority for slashes when an operator missed the 24h counter-evidence window for a legitimate operational reason (network outage, NTP drift, regional ISP failure). Reuses existing primitives — emergency multisig fast-track + 14-day ve-Governor ratification (mirrors ADR 011's regional-body suspension), SafetyReserve restitution (already an eligible payout category in ADR 026 §5). No new contracts or governance bodies. Escrow-until-ratification eliminates clawback exposure; 365-day frequency cap with a correlated-attack waiver bounds abuse. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request introduces ADR 028, establishing a formal slashing appeal and dispute escalation mechanism that allows node operators to seek restitution from the SafetyReserve for slashes resulting from legitimate operational failures. The process involves a 30-day filing window, an appeal bond, and a two-stage approval process via emergency multisig fast-tracking and ve-Governor ratification. Feedback from the review highlights the need to clarify escalation logic for maxed-out tiers, ensure unique slash identifiers are generated for all offense types to facilitate referencing, acknowledge market risks associated with the TOKEN-to-USDC conversion during the appeal window, and resolve internal contradictions regarding the restitution cap versus the goal of making operators whole.
There was a problem hiding this comment.
Pull request overview
Adds a new governance ADR specifying an in-protocol appeal path for operator slashes (covering cases like legitimate outages and “immediate-execution” offenses), and wires it into the ADR index so it’s discoverable alongside the existing verification/enforcement and governance specs.
Changes:
- Introduces ADR 028 documenting the slashing-appeals flow (multisig fast-track + ve-Governor ratification) and key parameters (windows, bond, restitution cap, frequency limits).
- Updates the ADR architecture index (reading order + numeric list) to include ADR 028 under verification/enforcement.
- Bumps the “next ADR number” note in
CLAUDE.mdto 029.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
CLAUDE.md |
Updates the “next ADR number” guidance after adding ADR 028. |
adr/architecture.md |
Adds ADR 028 to the Chapter 5 reading order and the numeric ADR index. |
adr/028-slashing-appeals.md |
New ADR specifying the governance-level slashing appeal and restitution mechanism layered on existing slash execution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- §3 perjury re-slash: handle tier-3 case (auto-ejection on perjury when already at 50% tier); call out secp256k1/EIP-712 explicitly to distinguish from Ed25519 wire identity - §6 contract surface: document dependency on SlashJudge emitting unique slashId for all four offense types (including immediate-execution phantom/rate/blacklist) - §2 mermaid: split bond approval (TOKEN.approve) from openSlashAppeal call to match the §6 function signature - §8 abuse table: relax "(b) required" claim — all three §3 evidence types are cryptographically bound to a third-party signing identity, so collusion across ≥2 independent parties is required regardless of which two are picked - Risks (cross-subsidy): rephrase "made whole, not partially compensated" to acknowledge the §5 MAX_APPEAL_RESTITUTION cap; large stakers absorb the residual above the slashable-stake floor - Negative consequences: add TOKEN→USDC market-risk bullet (operator bears price-appreciation risk during the up-to-60-day appeal lifecycle since restitution settles at slash-block TWAP) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Replace semicolons in sequence-diagram message text with em-dashes — GitHub's mermaid parser treats `;` as a statement separator inside message bodies, which broke rendering at the first `else` branch. Also drops the bracketed annotation in the openSlashAppeal call for the same reason. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
- Sequentialize the §2 mermaid: 48h SafetyReserve counter-bundle window completes before the 14d ratification window opens; add the counter-bundle branch and align §6 prose accordingly. Update the Positive/Negative consequence wait times to ~16d (48h+14d). - Replace the FIFO/deferred-claim language in §5 with a "pending claim" path that requires a subsequent payout authorization, and defer cross-category ordering to a future ADR 026 §5 amendment so this ADR does not silently extend ADR 026's payout model. - §1: scope-limit appeals to the slash event itself on operational- failure grounds; route content-policy disputes about a ContentBlacklist entry to ADR 011 / issue #131. - §4 bond economics: split into 5 cases. Successful counter-bundle routes 50% directly to the filer (true ADR 014 §3 mirror); intake- rejection burns 100%; ve-Governor reversal continues to fund the challenger-incentive pool used in future windows. - §6: clarify fastTrackAppeal/rejectAppeal as sub-modes of ADR 009 capability (4) "SafetyReserve fast-track authorization", not new multisig powers; queue an editorial amendment of ADR 009's exhaustive list in Forward references. - §Risks: new bullet on gauge-eligibility tier loss persisting across a successful appeal (§7 reputation preservation has a real ADR 008 / ADR 026 §3 economic consequence). - §5 table: clarify CORRELATED_ATTACK_WAIVER scope (opens after first ratification, capped at 3 additional appeals per cluster, lapses with cluster); pin MAX_APPEAL_RESTITUTION TWAP to ADR 018 § Buyback execution via Balancer V3 for single-oracle auditability. - Forward references: enumerate the 4-item SafetyReserve-split migration checklist; add ADR 009 + ADR 026 §5 amendment bullets. - Touches header: add ADR 008 and ADR 018. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…-appeals # Conflicts: # adr/architecture.md
Code reviewFound 2 issues:
🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
- Add 028-slashing-appeals.md to the reading-order pandoc list in adr/README.md so adrs-book.pdf includes it (lockstep with the Chapter 5 reading-order entry per the maintenance note at architecture.md:53). - Add a "Window timing invariant" paragraph after the §5 parameter table documenting that APPEAL_FILING_WINDOW, MULTISIG_REVIEW_WINDOW, and RATIFICATION_WINDOW are sequential and run on independent clocks from distinct events. Documents the contract-layer enforcement (openSlashAppeal reverts past APPEAL_FILING_WINDOW; no post-filing path re-consults it) and clarifies that MULTISIG_REVIEW_WINDOW may exceed APPEAL_FILING_WINDOW since they measure different intervals.
|
Both fixed in b3c4782.
Different from PR #390's pattern in that ADR 009's invariants pair parameters with a genuine ordering relationship ( |
Summary
SafetyReserverestitution routed through the existing stablepayout()interface (already an eligible payout category per ADR 026 §5). All four offense types appealable; 30-day filing window; 1 accepted appeal per operator per 365 days with a coordinated-attack waiver.adr/architecture.mdChapter 5 + numeric list) and next-ADR counter inCLAUDE.mdupdated.Resolves #403.
Test plan
[ADR NNN](…)cross-reference inadr/028-slashing-appeals.mdresolves to a real heading anchor in the linked file.MAX_APPEAL_RESTITUTIONdenomination + the Balancer V3 80/20 TWAP source (§5) are consistent with ADR 018's buyback-and-burn TWAP machinery.🤖 Generated with Claude Code