Skip to content

docs(contracts): close rejection-cooldown item and reconcile ADR-031 to as-built ContentBlacklist (#688) #1014

Closed

Description

@alpergundogdu

Sub-issue of #688. Mechanism A (rejection cooldown) + ADR-031 reconciliation. No new contract logic.

Problem

#688 lists "rejection cooldown" as a deferred ADR-031 mechanism, but it is already fully implemented and tested on main. Separately, the shipped ContentBlacklist.sol has drifted from the ADR-031 spec text (6-state machine vs the ADR's 8-state; different struct layout; second- vs microsecond timestamps; no unFastTrackAppeal). The ADR is stale relative to the as-built contract.

What already exists (verify, don't rebuild)

  • rejectionCooldownWindow state + REJECTION_COOLDOWN_WINDOW_DEFAULT (ContentBlacklist.sol).
  • mapping(address => RejectionWindow) filerRejections, rolling 3-strike window.
  • Cooldown gate in openBlacklistAppeal (FilerInRejectionCooldown).
  • _recordRejection called from rejectBlacklistAppeal.
  • Governed setter setRejectionCooldownWindow (GOVERNANCE_ROLE) with bounds.
  • Tests test/ContentBlacklist.t.sol:557-692: lockout-after-three, two-don't-trip, lift-after-window, rolling-window reset, cross-filer isolation, governed-window, setter update/bounds/role-gating.

Solution / scope

Agent-suitable: yes (docs + verification only).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions