Repository navigation
Description
Decision (2026-07 ADR simplification audit). Filed under the Protocol simplifications milestone — sibling to #1396, #1394, #1419. Verdict: SIMPLIFY — drop the fast-track appeal state machine now, collapse standing to "bond = standing", and drop the Sybil-porous per-filer knobs +
totalBondsEscrowed. Enforcement (blacklist + slash) untouched. A minimal interim-relief primitive can be re-added at first-regional-body registration (see Open Questions).
Simplify the blacklist-entry-appeals machinery (ADR 011 § Blacklist Entry Appeals + all of ADR 031)
Status: proposal for discussion, not a decision.
Scope guard, stated up front. This touches only the machinery for appealing a blacklist entry. The blacklist itself —
addHashGlobal/addHashRegional/addOperator, the emergency multisig adds, the compliance window, and slashing for serving blacklisted content — is the deliberate, load-bearing compliance model and is not on the table. Nothing here weakens the ability to blacklist or to slash. The proposal only asks whether the second appeal state machine that sits on top of that enforcement is carrying its weight, and it splits into three coupled cuts with three different verdicts.
Summary
ContentBlacklist ships two ways to get a wrongful entry removed:
- The Global Override slow path —
removeHashGlobal(GOVERNANCE_ROLE, via DecdnGovernor timelock) andremoveHashRegional(REGIONAL_BODY_ROLE). Always available, independent of any appeal. PlussuspendRegionalBodyfor a systemically bad body. This is the enforcement's own undo, and it stays. - The Blacklist Entry Appeals fast-track — a full second state machine (
openBlacklistAppeal→fastTrackBlacklistAppeal|rejectBlacklistAppeal|rejectAppealAsPerjury→ratifyBlacklistAppealRemoval|reverseBlacklistAppeal|cleanupExpiredBlacklistAppeal), aStandingPathenum with three verification branches, aPublisherRegistryimmutable dependency, five auxiliary anti-abuse mappings, and atotalBondsEscrowedfield. This is ADR 031 in its entirety and the bulk of ADR 011 § Blacklist Entry Appeals.
The proposal is to collapse (2) into a much smaller surface, in three cuts:
- (1) Standing collapse — DROP. The ADR text itself says the three standing paths all grant the identical thing (permission to file) and that path 1 "confers no more than path 3." Collapse to one rule: posting the bond is standing. Scale-independent; it is redundancy the ADR concedes on its own terms, and Redesign origin addressing: namespace-as-address, drop per-hash claims and the default-open allow-list #1394 makes the publisher path weaker still.
- (2) The fast-track state machine — DROP-BUT-MARGINAL. Its only value over the slow path is fast interim relief on regional entries, and ADR 011 concedes it is "structurally non-functional" until a regional body is registered — and "At launch: No regional bodies are registered." Dormant until a governance-rollout maturity point (regional bodies exist), not a scale point. This is the cut with a real keep-case; see the counter-argument.
- (3) Per-filer anti-abuse knobs +
totalBondsEscrowed— DROP the parts that don't bind. The rejection cooldown, frequency cap, and perjury denylist are all address-keyed and (the ADR admits) trivially Sybil-defeated by splitting funds across addresses; only the bond and the concurrent-relief ceiling actually bind.totalBondsEscrowedis self-described as "not used in cap arithmetic … for off-chain dashboards" — on-chain state that buys nothing on-chain.
Motivation
-
The three standing paths are the same standing. ADR 011 § Standing spells this out. Path 3 is "the escrowed appeal bond itself — there is no separate balance threshold," gate-free. Path 1 (publisher) requires
ownerOf(namespaceId) == filer, but because hash→namespace is off-chain (ADR 002), the ADR concedes this "proves only that the filer controls the named namespace, not that the hash falls under it … acceptable because path 1 confers no more than path 3." Path 2 (operator) adds a region-match check, but standing "alone grants no automatic outcome." Three verification branches, one effective capability: the bond-poster may file. Collapsing to "bond = standing" is not a policy change; it deletes machinery the ADR already says is decorative. -
Redesign origin addressing: namespace-as-address, drop per-hash claims and the default-open allow-list #1394 weakened the publisher path further. Redesign origin addressing: namespace-as-address, drop per-hash claims and the default-open allow-list #1394 removed the on-chain
hasClaimed/namespaceOfbinding between a hash and its namespace. Path 1 was already only "filer controls this namespace" rather than "this hash is under this namespace"; with the on-chain binding gone there is even less that path 1 proves over path 3. It is now purely a credential-flex that changes nothing about the appeal's merits. -
The fast-track buys nothing until regional bodies exist. ADR 011 § Bootstrap-window degradation: with no regional bodies registered and the
DEFAULT_ADMIN_ROLEholder acting as sole governance, "the appeal path is structurally non-functional for a reason no contract check can express:addHashGlobaland emergency entries are issued by the same admin key that would sit on the multisig hearing the appeal." A global entry is filable but "buys the filer nothing — the adjudicator and the issuer are the same party — while still escrowing the bond and arming the rejection cooldown." The fast-track "becomes load-bearing only after the first regional body is registered." That is a governance-rollout precondition, not a scale threshold — so it is a legitimate defer-until-governance-maturity cut, and the surface can be added back at that milestone without a redeploy the same way regional bodies themselves are. -
The per-filer knobs are admitted to be Sybil-porous. ADR 011 § "Sybil-via-addresses is an accepted limitation": every per-filer cap (
APPEAL_FILER_FREQUENCY,APPEAL_FILER_REJECTION_COOLDOWN,FILER_CONCURRENT_RELIEF_CAP, the perjury denylist) is "keyed on the filing address," and "a holder with enough TOKEN can split funds acrossnaddresses and filenparallel appeals, evading the per-address frequency cap." The ADR's own conclusion: "the deterrent surface for organised proxy filings is the bond + concurrent-relief economics, not the per-address counters." So the knobs the appeal relies on are conceded not to bind against the adversary they target; the bond and the per-region relief ceiling are the parts that do work. -
totalBondsEscrowedis on-chain state with no on-chain consumer. ADR 031 storage-layout comment: "Public view; not used in cap arithmetic … for off-chain solvency dashboards." An off-chain indexer can sum active appeal bonds from events; a storage slot written on every open/close for a dashboard is pure carrying cost. -
The removed value is recoverable through paths we already keep. Operators wrongly slashed under an entry that was itself wrongful still have per-operator restitution via ADR 028 (
SlashAppeal) — a separate contract, untouched here. Wrongful entries still come off via the slow global/regional override. What the fast-track adds on top is speed of interim relief on regional entries and nothing else; every other function it performs is duplicated by machinery outside the cut.
What removal touches
Blast radius — grep to confirm before cutting; anchors approximate.
ADRs
adr/031-content-blacklist-appeals-contract.md— deleted in full (it is only the appeal-contract surface). Archive toadr/_history/per the retirement convention; free the number is not possible (031 already assigned).adr/011-content-takedown.md— rewrite: delete § Blacklist Entry Appeals and its subsections (Scope, Standing, Filing window, Authority and flow incl. the mermaid sequence, Bond and frequency caps, Evidence, Interaction with active slashes, Contract surface appeal bullets, Global Override's mid-appeal lazy-lapse paragraph). Trim theIContentBlacklistinterface block: removeopenBlacklistAppeal,fastTrackAppeal,unFastTrackAppeal,rejectAppeal,ratifyAppealRemoval,reverseAppeal,cleanupExpiredAppeal, theStandingPathenum, and the sevenBlacklistAppeal*events. Removesuspended/suspendedAtUsfromBlacklistEntryonly if cut (2) lands — those two fields exist solely for interim-relief suspension; without a fast-track nothing sets them.getBlacklistVersionloses its "appeal-driven suspend/resume" increment source but is otherwise unchanged.adr/009-governance.md§ Emergency Multisig capability 3 — prune the sub-mode list: dropfastTrackAppeal/unFastTrackAppeal/rejectAppeal/rejectAppealAsPerjury, leavingsuspendRegionalBodyas capability 3's sole surface. (The § Consequences "subject to the blacklist-entry appeal process" clauses at lines ~181/~205 need softening to "subject to the global-override removal path.")adr/028-slashing-appeals.md— the "narrower regional-blacklist appeal … tracked separately under ADR 011" cross-refs (~lines 10, 22, 195) become dangling; reword to point at the slow-path override, or drop the "tracked separately" clause. ADR 028's own machinery is untouched.adr/030-node-region-self-attestation.md— coupling, read carefully.REGION_STABILITY_WINDOWserves two evasion vectors (§ Threats): (a) appeals-standing flip (path-2 gating) and (b) reactive blacklist-scope flip / slash eligibility. Cut (1) removes vector (a) entirely — no path-2 standing means no standing to flip for — so the § Standing item 1, the appeals-standing clauses in § Threats/§ Consequences, and the "appeals path filings inside the window remain admissible at multisig discretion" soft-norm all go. Vector (b) and the window itself stay — the reactive-scope flip is an enforcement evasion (shedding the obligation to drop content and the regional slash exposure), which is squarely inside the enforcement model we are keeping. Do not delete the window; delete only its appeals-standing leg. This is a dependency for the separate ADR-030 proposal, not this one.
Contracts (ADR 016 is the canonical contract surface; reconcile there too)
contracts/src/ContentBlacklist.sol(1,577 lines) — remove: theStandingPathenum (~165), theBlacklistAppealstruct +_appealsarray (~346–358), the five auxiliary mappings (lastRatifiedSuccessAt,regionActiveReliefCount,filerRegionActiveRelief,filerRejections,perjuryDenylistUntilAt~360–399),totalBondsEscrowed, the sevenBlacklistAppeal*events (~426–442), the appeal-specific errors (UnauthorizedStanding,OperatorRegionMismatch, and the cap/cooldown/perjury reverts ~505+), and the six appeal entry points (openBlacklistAppeal~846,fastTrackBlacklistAppeal~970,rejectBlacklistAppeal,rejectAppealAsPerjury,ratifyBlacklistAppealRemoval,reverseBlacklistAppeal,cleanupExpiredBlacklistAppeal). TheRejectionWindowstruct and theREGION_/FILER_CONCURRENT_RELIEF_CAPconstants go with them.IPublisherRegistryStandingimmutable dependency drops out ofContentBlacklist. Verified: the standing interface (contracts/src/interfaces/IPublisherRegistryStanding.sol) is consumed only byContentBlacklist's Publisher-path check.OriginAssignmentreachesPublisherRegistrythrough a separate interface,IPublisherRegistryOwnership— so removing the appeal machinery lets us deleteIPublisherRegistryStanding.soland thepublisherRegistry_constructor arg fromContentBlacklist(~556–570) without touchingPublisherRegistrythe contract (OriginAssignmentstill needs it). One fewer immutable constructor wiring in the deploy script (DeployProtocol).- The
_removeHashRegionalinternal body stays — the slow-pathremoveHashRegionalstill uses it; only the appeal wrapper that called it viaratifyBlacklistAppealRemovalgoes.entry.suspended/suspendedAtfield writes disappear (nothing sets them post-cut). SlashJudgeinteraction: theBlacklistEntrySuspendeddistinct-revert path (ADR 011 § Interaction with active slashes) is removed — with no suspension,isBlacklistednever returns false-due-to-appeal, soSlashJudgesees only blacklisted / not-blacklisted. ConfirmSlashJudge.solhas no hard dependency on the suspended-revert branch.
Tests
contracts/test/ContentBlacklist.t.sol(2,203 lines; ~392 lines matchappeal|standing|perjury|relief|fasttrack) — delete the appeal, standing, perjury, relief-cap, and cleanup suites. The enforcement suites (add/remove hash, operator eject, emergency add/expiry, regional body register/suspend, compliance window, blacklist version) stay.- Storage-layout pin test (
forge inspect ContentBlacklist storageLayout) re-blessed after the struct/mapping removals.
What we keep
Everything that is the compliance model:
- The Global Override slow path —
removeHashGlobal(GOVERNANCE_ROLE / DecdnGovernor timelock) andremoveHashRegional(REGIONAL_BODY_ROLE, reverts on the global sentinel). This is the always-available route to remove a wrongful entry, appeal or no appeal, and is what ADR 011 already calls "the operative recourse during the bootstrap window." suspendRegionalBody(+ratifyRegionalBodySuspension/unsuspendRegionalBody) — the body-level tool for a systemically misbehaving regional body, and the emergency multisig capability-3 core that survives the sub-mode pruning.- Emergency-entry auto-expiry —
emergencyAdd/emergencyAddOrigincategory-based expiry and the permissionlessexpireEmergencyEntry/expireEmergencyOriginmaterialization, with thegetBlacklistVersionadvance they drive. Untouched. - Per-operator restitution via ADR 028 — an operator slashed under an entry later removed by the slow path still files a
SlashAppeal. Separate contract, separate ADR, out of this cut. - The entire ENFORCEMENT capability — blacklisting hashes/origins (global, regional, emergency), the compliance window and
effectiveAtstamping,addOperator→CapacityBond.ejectNode, and slashing for serving blacklisted content past the window. None of this is touched.
Counter-argument (strongest honest keep-case)
[your call] — this is the real decision, and it is entirely about cut (2).
Once a regional body is registered, the fast-track does something the slow path genuinely cannot: grant fast interim relief on a wrongful regional entry. The slow global-override route runs through a DecdnGovernor proposal + timelock (~10-day order of magnitude); the fast-track lets the 3-of-5 emergency multisig flip entry.suspended = true in one transaction, so a wrongly-delisted publisher's content is servable again in hours instead of a governance cycle — with DecdnGovernor ratification following to make it permanent. For a network that markets regional performance and legal-compliance credibility, being slow to un-censor is a real reputational and possibly legal cost (a valid DMCA counter-notice, a body drifting outside its jurisdiction, a misidentified hash). The fast-track is precisely the tool for "a single disputed entry" that suspendRegionalBody over-serves (freezing every entry the body issued). That value is not scale-dependent — it appears the moment the first regional body exists, at any network size.
Weighing against it: at launch there are no regional bodies, so today the surface is provably dormant — every honest verdict here says this is deferrable to the regional-body milestone, not deletable forever. The proportionate move is to cut it now and re-introduce a minimal interim-relief primitive (multisig suspend + governor ratify on a single (hash, region), standing = bond, no per-filer knobs, no StandingPath, no totalBondsEscrowed) at the same governance vote that registers the first regional body — reusing the "surface added by vote, no redeploy" pattern the ADR already commits to for the bodies themselves. My read: DROP (2) now, tracked as a re-add gated on first-regional-body registration. If the counter-view is that the interim-relief primitive is cheap enough to keep dormant rather than re-add later, that is the legitimate KEEP position on (2) — but even then, cuts (1) and (3) still apply inside the kept machinery, shrinking it to bond-standing + bond + concurrent-relief cap.
Note the two cuts that are not in doubt: (1) standing collapse is strong regardless — you would collapse StandingPath to bond-only even if you keep the fast-track. (3) totalBondsEscrowed and the Sybil-porous per-filer knobs come out regardless — the bond and the per-region relief ceiling are the only deterrents the ADR itself credits.
Open questions
- Does
SlashJudgestructurally depend on theBlacklistEntrySuspendeddistinct revert? If any challenger-side or evidence-window logic (ADR 014 evidence-age againstsuspendedAtUs) is wired to the suspension state, confirm it degrades cleanly whensuspendedcan never be set. ThesuspendedAtUsmicrosecond field exists only to serve appeal-suspension evidence math; it should be removable with the rest. - Keep
entry.suspendedfor a future re-add, or delete it now? Leaving the two struct fields in place (unused) preserves storage layout for a clean re-add at the regional-body milestone; deleting them is cleaner today but forces a storage migration later. Cheap-to-keep vs. clean-to-cut. - If (2) is deferred-not-deleted, where is the re-add tracked? It should be a named line item on the "register first regional body" governance runbook, not a loose TODO — otherwise the network could seat a regional body with no interim-relief path for its wrongful entries, which is the exact gap the fast-track was built to fill.
- Does keeping
removeHashRegionalas a regional body's unilateral removal power (no vote) create any asymmetry once appeals are gone? Today a body can both add and remove its own regional entries; the appeal path was one external check on a body removing too slowly. With appeals gone, the only external check on a bad body issuspendRegionalBody. Confirm that is sufficient for the threat model, or whether the slow global override needs to be the documented recourse for "body won't remove its own wrongful entry." - ADR 030 coupling confirmation. Verify with whoever owns the ADR-030 proposal that removing the appeals-standing leg of
REGION_STABILITY_WINDOWwhile retaining the reactive-scope leg is consistent with their draft — the window must survive this cut.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
altanoruc commentedon Jul 24, 2026
Automated implementation triage note for a later run: the broad simplification verdict is recorded, but contract implementation still needs the storage-layout choice pinned: delete BlacklistEntry suspended/suspendedAt fields now versus retain reserved fields for the first-regional-body re-add. Please also name where that re-add is tracked and split this issue into bounded ADR/contract slices; the current cross-ADR plus ContentBlacklist removal is likely beyond the small-PR ceiling.