Skip to content

docs(adr): finalize ContentBlacklist ADRs 011 + 031 (Accepted) - #674

Merged
alpergundogdu merged 2 commits into
mainfrom
docs/finalize-content-blacklist-adrs
May 22, 2026
Merged

alpergundogdu merged 2 commits into
mainfrom
docs/finalize-content-blacklist-adrs

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Summary

Stamps both ContentBlacklist ADRs from Draft → Accepted ahead of implementing the contract (Partition C of #452), and resolves the items that blocked sign-off. No code — ADR-only.

ADR 011 (core: blacklist + appeals + OriginAssignment)

  • Replaced the "string for PoC readability, bytes2 SHOULD for production" region note with a definitive statement: region is stored as bytes2 (ISO 3166-1 alpha-2; bytes2(0) global sentinel); the string form in signatures/events/struct is the external-boundary representation, canonicalized internally. This removes the PoC/production contract seam (the project ships the on-chain surface at full production shape from day one) and aligns with ADR 031's pinned bytes2 layout.

ADR 031 (appeal-contract surface)

  • Fixed three broken cross-reference links where prose had been glued into the link parentheses (§ Evidence…claration was false, § Authority and flow…roactively, § Contract surface…the same appealId).
  • Corrected the stale "an ADR 009 editorial pass is owed" note: ADR 009 § Emergency Multisig already enumerates these appeal entry points (fastTrackAppeal/unFastTrackAppeal/rejectAppeal/rejectAppealAsPerjury) as sub-modes of the regional-body-suspension capability — capability 3, not 1 as the ADR claimed — alongside the analogous SafetyReserve appeal sub-modes. Removed the now-resolved Negative-consequence bullet.
  • "production region representation" → "canonical region storage representation" (de-PoC, fixed cross-ref anchor).

Notes

  • Headers follow the repo sign-off convention (bare **Status:** Accepted, no Date field). Verified neither ADR hook (adr-book-list, adr-ref-hygiene) nor the book tooling parses Date.
  • make -C adr check-refs + check-book-list + markdownlint all pass locally.
  • The directly-analogous appeal ADRs 028/032 are Locked-for-implementation; these are stamped Accepted per the bare-Accepted convention. Flag if you'd prefer Locked-for-implementation for parity.

Once merged, ContentBlacklist (core first, then the ADR-031 appeal surface) is unblocked against frozen specs.

Test plan

  • make -C adr check-refs (no bare refs; all cross-links anchored; § spacing ok)
  • make -C adr check-book-list (in sync)
  • markdownlint (0 errors)
  • CI adr-book-check + markdownlint green
  • gemini review

🤖 Generated with Claude Code

Stamp both ContentBlacklist ADRs from Draft to Accepted ahead of
implementation, and resolve the items that blocked sign-off:

- ADR 011: replace the "string for PoC, bytes2 for production" region
  note with a definitive statement that region is stored as bytes2
  (string is the external-boundary form, canonicalized internally),
  removing the PoC/production contract seam and aligning with ADR 031's
  pinned bytes2 storage layout.
- ADR 031: fix three broken cross-reference links where prose was glued
  into the link parens (Evidence / Authority-and-flow / Contract-surface
  references); correct the stale "an ADR 009 editorial pass is owed"
  note — ADR 009 § Emergency Multisig already enumerates these appeal
  entry points as sub-modes of the regional-body-suspension capability
  (capability 3, not 1) — and drop the now-resolved Negative bullet.

ADR cross-reference, book-list, and markdownlint checks pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings May 22, 2026 16:05

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 the ContentBlacklist ADR specifications by promoting ADR 011 and ADR 031 from Draft to Accepted, and by correcting a few documentation/cross-reference issues so the blacklist + appeals contract surface can be implemented against a stable spec.

Changes:

  • Update ADR 011 and ADR 031 status to Accepted.
  • Clarify the canonical region storage representation (bytes2) and align ADR 011/031 wording.
  • Fix broken cross-references and adjust multisig capability-scope wording in ADR 031.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
adr/031-content-blacklist-appeals-contract.md Marks ADR as Accepted; fixes link/prose issues and updates wording around multisig scope and region representation.
adr/011-content-takedown.md Marks ADR as Accepted; replaces the PoC/production note with a definitive bytes2 canonical region-storage statement and links to ADR 031.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread adr/011-content-takedown.md Resolved
Comment thread adr/011-content-takedown.md Resolved

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates ADR 011 and ADR 031, transitioning both documents from 'Draft' to 'Accepted' status. Key changes include clarifying the internal storage of region codes as bytes2 (ISO 3166-1 alpha-2) while maintaining string representations for external interfaces, correcting descriptive text for appeal functions, and explicitly mapping multisig capabilities to the governance model defined in ADR 009. I have no feedback to provide as there were no review comments to assess.

- Restore the **Date:** header line on both ADRs — the repo convention
  keeps Date + Status on every ADR, including Accepted ones (000/001/002).
- ADR 011: the region note no longer claims ADR 031 pins the parent
  BlacklistEntry layout (it pins only the appeal records); the
  BlacklistEntry layout is the struct shown in 011 itself.
- ADR 031: reword the un-fast-track one-shot note so it attributes the
  AlreadyUnFastTracked revert to a second unFastTrackAppeal (the
  FastTracked->UnFastTracked direction), not the UnFastTracked->FastTracked
  edge it previously labeled.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@alpergundogdu
alpergundogdu merged commit df78034 into main May 22, 2026
19 checks passed
@alpergundogdu
alpergundogdu deleted the docs/finalize-content-blacklist-adrs branch May 22, 2026 16:14
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