Skip to content

docs(adr): scope ADR set to protocol + tokenomics; reclaim 028-032 - #354

Merged
alpergundogdu merged 3 commits into
mainfrom
docs/remove-bandwidth-futures
Apr 30, 2026
Merged

alpergundogdu merged 3 commits into
mainfrom
docs/remove-bandwidth-futures

Conversation

@alpergundogdu

@alpergundogdu alpergundogdu commented Apr 30, 2026 •

Copy link
Copy Markdown
Contributor

Closes #353. Companion commits on decdn/internal main: 338dd27 (030/031/032), 3791ab8 (028/029).

What

The deCDN ADR set is for protocol and tokenomics decisions. Five ADRs were operational programs, future-product proposals, or automation layers — none of them tokenomics- or protocol-essential. The protocol works without all five. They've been moved to the internal repo as design ideas, and the contract surface is now explicitly forward-compatible so they can deploy as additive top-level contracts later without changing existing contracts.

Moved out

Was Now
ADR 028 — Native sveTOKEN Liquid-ve Wrapper internal/ideas/sve-token-wrapper.md
ADR 029 — Adaptive FeeRouter Parameters internal/ideas/adaptive-fee-router.md
ADR 030 — Pre-Seed USDC Deployment Program internal/ideas/preseed-usdc-deployment.md
ADR 031 — Burn-and-Mint Client TOKEN Prepay internal/ideas/bme-client-prepay.md
ADR 032 — Bandwidth Futures and Enterprise SLA Tier internal/ideas/bandwidth-futures-enterprise-sla.md

The protocol commits to externally-raised USDC pre-seed with a $1M floor for bootstrap; the specific program structure (allocation across operator-recruitment programs, eligibility, governance flow) is operational and lives in internal.

Locked in (closes #353)

Five protocol-level invariants made explicit so the launch contract surface stays forward-compatible with the additive deployments:

  • ADR 026 §1 — TOKEN is ERC20Burnable; any contract may burn TOKEN it holds via the standard interface.
  • ADR 026 §4 — VotingEscrow locks may be held by any address (EOA or contract); creation, increase-amount, and snapshot interfaces are stable for cross-contract integration. A future pooled-lock wrapper plugs in via these interfaces.
  • ADR 026 §5 — SafetyReserve.payout(bundleHash, recipient, amount) is contract-stable; future incident-response contracts integrate via this entry point with arbitrary evidence-bundle hashes.
  • ADR 026 §11 — Parameter setters are role-gated via AccessControl and bound-checked at the contract level. Out-of-range writes revert regardless of caller; a future automated controller granted the setter role operates within the same bounds.
  • ADR 016 §5 — New top-level contracts integrate via standard AccessControl role grants. Governance can grant roles via the standard 7-day vote + 48-hour timelock path, without changing, migrating, or redeploying existing contracts. Launch-time function signatures and events are stable for cross-contract integration.

The framing is generic — it doesn't name any specific future use case — so the surface stays neutral about what eventually lands on top.

Reference cleanup

File Change
ADR 008 §13 Regional-coverage-signal consumer is now generic ("downstream operational programs")
ADR 019 Dropped "Pre-seed USDC Bootstrap Programs" subsection (operational)
ADR 026 Dropped 028/029/030/031/032 forward-refs throughout; bootstrap framing self-contained; Convex-capture mitigation reframed as "additive top-level contract"; payout categories use the stable payout interface
ADR 027 §3 Cold-start exception simplified to "externally-funded operator-recruitment programs"
ADR 016 §1 Dropped the SveToken row from the deferred-contracts table
adr/README.md Dropped 030 cross-ref from USDC glossary; dropped sveTOKEN glossary entry
architecture.md Reading Order Chapter 4 collapsed to three ADRs (026, 027, 018); all "deferred" framing removed
architecture.md per-ADR index Removed 028/029/030/031/032 entries
Appendix: Observability Dropped ADR 029 cross-ref; metric description now generic ("any consumer")

CLAUDE.md

Next ADR number rolled back to 028. The 028/029/030/031/032 slots are reclaimed since those proposals never landed in the canonical ADR set.

Net

11 files changed, −1373 / +35 LOC. The deCDN ADR set is now scoped purely to protocol + tokenomics decisions; all operational programs, future-product proposals, and automation layers live in internal/ideas.

🤖 Generated with Claude Code

Two changes folded together (closes #353; relocates 030/031/032):

**1. Move 030/031/032 to internal/ideas (companion commit in
decdn/internal: ideas/preseed-usdc-deployment.md, bme-client-prepay.md,
bandwidth-futures-enterprise-sla.md)**

The deCDN ADR set is for protocol and tokenomics decisions. Three
ADRs were operational programs or future-product proposals — not
tokenomics- or protocol-essential. They've been moved to the
internal repo as design ideas:

- ADR 030 (Pre-Seed USDC Deployment Program) — operational
  fundraising / disbursement program. The protocol commits to
  externally-raised USDC pre-seed with a $1M floor; the specific
  five-program structure, eligibility, and governance flow are
  operational concerns and live in internal/ideas.
- ADR 031 (BME Client Prepay) — future demand-side TOKEN sink.
  Optional client path that doesn't ship at launch.
- ADR 032 (Bandwidth Futures and Enterprise SLA Tier) — future
  product surface. Doesn't ship at launch.

The deCDN protocol works without these. The contract surface is
forward-compatible (additive integration via standard AccessControl
role grants) so they can deploy as additive top-level contracts
later without changing existing contracts.

**2. Lock in additive contract surfaces (#353)**

Three properties made explicit so they don't drift:

- ADR 026 §1: TOKEN is `ERC20Burnable`; any contract may burn TOKEN
  it holds. Future contract surfaces that need a TOKEN sink integrate
  via the standard interface.
- ADR 026 §5: `SafetyReserve.payout(bundleHash, recipient, amount)`
  is contract-stable; future incident-response contracts integrate
  via this entry point with arbitrary evidence-bundle hashes.
- ADR 016 §5: New top-level contracts integrate via standard
  `AccessControl` role grants — governance can grant new roles via
  the standard 7-day vote + 48-hour timelock path, without changing,
  migrating, or redeploying existing contracts. Launch-time
  function signatures and events are stable for cross-contract
  integration.

**Reference cleanup:**

- ADR 008 §13 regional-coverage signal: dropped the "Forward
  reference: ADR 030" framing; consumer is now generic
  ("downstream operational programs").
- ADR 019: dropped the "Pre-seed USDC Bootstrap Programs" subsection
  (operational — lives in internal/ideas).
- ADR 026 §1 / §10 / Forward references: removed all 030/031/032
  forward-refs and program-structure mentions; bootstrap mechanism
  framing is self-contained.
- ADR 026 §5 payout categories: dropped the "Enterprise SLA
  compensation (per ADR 030 / 032)" item; replaced with a generic
  "future incident-response contracts that integrate via the stable
  `payout` interface".
- ADR 026 Risks bullet: dropped "Enterprise SLA credibility";
  replaced with "future incident-response contracts".
- ADR 027 cold-start exception: simplified the bootstrap-window
  rationale to "externally-funded operator-recruitment programs";
  dropped 030 program-name references.
- adr/README.md USDC glossary: dropped 030 cross-ref.
- architecture.md Reading Order: chapter 4 intro now lists only
  launch-required (026, 027, 018) + deferred (028, 029) and notes
  the additive-contract-surface forward-compatibility.
- architecture.md per-ADR index: removed 030/031/032 entries.

**CLAUDE.md:** Next ADR number rolled back to 030. The 030/031/032
slots are reclaimed since those proposals never landed in the
canonical ADR set.

Net: −919 / +18 LOC across 8 files (3 deletions plus 5 reference
cleanups). The protocol ADR set is now scoped to protocol and
tokenomics, with operational programs and future-product proposals
in their proper place.

@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 removes ADRs 030, 031, and 032, reclassifying their contents as operational concerns or deferred post-launch features rather than core protocol decisions. Key architectural updates include the formalization of an additive contract surface and interface stability for the SafetyReserve and TOKEN contracts, ensuring forward compatibility via role-based access control. Additionally, the TOKEN is explicitly defined as ERC20Burnable. Feedback was provided to refine the architectural overview in adr/architecture.md to better reflect these changes and maintain consistency with the contract interaction model.

Comment thread adr/architecture.md Resolved
Follow-up sweep after the 030/031/032 relocation. Three more spots
named specific programs that are now operational and live in
internal/ideas:

- ADR 008 §13 regional-coverage signal: dropped "Brazil, Southeast
  Asia, per the pre-seed regional-deployment priorities". The signal
  is intentionally agnostic about which regions are priorities; the
  consuming programs decide.
- ADR 026 §7 (1 Gbps node P&L): "Externally-funded pre-seed staking-
  loan and hardware-lease programs" → "Externally-funded operator-
  onboarding programs" (drops named program list).
- ADR 026 Negative Consequences: same rewording.
- ADR 027 Bootstrap-window risks: "pre-seed dominance in early
  traffic" → "externally-funded operator dominance in early traffic".
- ADR 019 Phase-2 stake paragraph: dropped the broken `[Pre-seed
  USDC Bootstrap Programs]` self-anchor (deleted earlier in this PR);
  replaced with a one-line cross-ref to ADR 026 §10.

Remaining "pre-seed" mentions in the ADR set are all generic
protocol-level commitments to the bootstrap mechanism (USDC,
externally raised, $1M floor) without naming any specific
disbursement program. ADR 026 §10 owns that commitment as before.
…Router)

Same lens as the prior commit applied to two more ADRs that fit the
"non-essential, deferrable, additive surface" shape. Companion commit
in decdn/internal: ideas/sve-token-wrapper.md, adaptive-fee-router.md.

- ADR 028 (sveTOKEN Wrapper) — defensive product the DAO might ship
  to pre-empt third-party Convex-style wrapper capture. Protocol and
  tokenomics work without it. The wrapper integrates with
  `VotingEscrow` via standard lock-creation / increase-amount /
  snapshot interfaces — additive top-level contract.
- ADR 029 (Adaptive FeeRouter) — automation layer on top of
  governance. Protocol works without it (governance just rebalances
  manually). The controller calls FeeRouter parameter setters within
  ADR 026 §11 bounds — additive top-level controller.

Both were already chapter-4 "deferred" entries. Moving them out
collapses chapter 4 to its three load-bearing ADRs (026, 027, 018).

**New protocol-level lock-ins** to support these as additive
deployments (in line with #353):

- ADR 026 §4 (VotingEscrow): "Locks may be held by any address —
  EOA or contract. Lock creation, amount increase, and time
  extension interfaces are stable for cross-contract integration. A
  future contract holding a pooled lock on behalf of multiple
  beneficiaries integrates as an additive top-level contract via
  these interfaces without changing `VotingEscrow`."
- ADR 026 §11 (Governable parameters): "Setter contract-level bound
  enforcement. Parameter setters are role-gated via `AccessControl`
  and bound-checked at the contract level — bounds are enforced
  regardless of caller. A future automated controller granted the
  parameter-setter role operates within the same bounds; out-of-
  range writes revert."

Together with the lock-ins from the prior commit (TOKEN burnable in
§1, SafetyReserve.payout interface stability in §5, AccessControl
extensibility in ADR 016 §5), the launch contract surface is
explicitly forward-compatible with the relocated proposals.

**Reference cleanup:**

- ADR 026 Risks: Convex-capture mitigation reframed from "forward-
  referenced as ADR 028" to "DAO may ship a native liquid-ve wrapper
  as an additive top-level contract".
- ADR 026 Forward references: now lists only ADR 027 (the actual
  launch prerequisite); 028 and 029 dropped.
- ADR 016 §1 Deferred contracts: dropped the SveToken row.
- adr/README.md glossary: dropped the sveTOKEN entry.
- architecture.md Reading Order chapter 4: collapsed to 026, 027,
  018; "deferred" framing removed since nothing is deferred anymore.
- architecture.md per-ADR index: removed 028 and 029 entries.
- Appendix observability: dropped the ADR 029 cross-reference; the
  metric documentation now describes any-consumer integration.

**CLAUDE.md:** Next ADR number rolled back to 028. The
028/029/030/031/032 slots are reclaimed since those proposals never
landed in the canonical ADR set.

Net effect of this PR: the deCDN ADR set is scoped to protocol +
tokenomics decisions only. Operational programs and future-product
proposals live in the internal repo.
@alpergundogdu alpergundogdu changed the title docs(adr): scope ADR set to protocol + tokenomics; reclaim 030-032 docs(adr): scope ADR set to protocol + tokenomics; reclaim 028-032 Apr 30, 2026
@alpergundogdu
alpergundogdu merged commit 361bac9 into main Apr 30, 2026
11 checks passed
@alpergundogdu
alpergundogdu deleted the docs/remove-bandwidth-futures branch April 30, 2026 17:47
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.

Lock in additive contract surfaces in core ADRs (016, 026)

1 participant