Skip to content

docs(adr): complete ADR 026 split — ADR 034/035; 026 → Tokenomics umbrella (#590) - #598

Merged
alpergundogdu merged 1 commit into
mainfrom
claude/split-adr-026-part2
May 19, 2026
Merged

alpergundogdu merged 1 commit into
mainfrom
claude/split-adr-026-part2

Conversation

@alpergundogdu

@alpergundogdu alpergundogdu commented May 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Completes the ADR 026 per-bucket split (#590). Part 1 (#595, merged) extracted SafetyReserve → ADR 033. This PR extracts the remaining two contract-bearing buckets and turns ADR 026 into the slim economic-model umbrella.

  • New ADR 034 — Gauge Boost and Voting Escrow — §3 gauge-boost formula (degenerate-input fallbacks, the per-operator gauge-share cap that is the canonical wash-trading defense) + §4 VotingEscrow (historical checkpointing, lock ownership, contract), moved verbatim.
  • New ADR 035 — Delegator Pool — §6 USDC→TOKEN buy-and-distribute pipeline + DelegatorBuyer, moved verbatim.
  • ADR 026 retitled # ADR 026: Tokenomics — now the canonical umbrella: Context, §1 supply, §2 FeeRouter six-bucket split, §7 operator economics, §8 slashing-burn, §9 governance-weight, §10 bootstrap, §11 governable parameters, Consequences. §3/§4/§5/§6 are one-paragraph pointers with the numbered headings preserved. ADR 026: 659 (pre-split) → 254 lines.

Your question — the eventual 026 title

# ADR 026: Tokenomics (applied in this PR). It's no longer gauge-boost-specific; it's the umbrella that holds the supply schedule, the six-bucket FeeRouter split table that ties the buckets together, operator economics, slashing-burn, bootstrap, and the governable-parameter bounds — pointing to ADR 033/034/035 for the three contract-bearing buckets.

Filename kept as 026-gauge-boost-tokenomics.md — renaming it to 026-tokenomics.md would break ~100 inbound 026-gauge-boost-tokenomics.md links across the corpus. That's a mechanical filename-rename better done as its own dedicated PR if you want the filename to match; flagging it for your call.

Anchor safety

The repo's check-book-list only checks file presence, not anchors, so I used the same technique as #595 plus the github-slugger-accurate corpus link checker:

  • Subsection headings moved with text unchanged → slugs identical, only the file changes.
  • Numbered §-headings kept in the 026 umbrella → #3-gauge-boost-formula, #4-…, #5-…, #6-… top anchors and their inbound refs stay valid.
  • 13 inbound subsection refs repointed (11 #per-operator-gauge-share-cap → 034, 2 #contract-delegatorbuyer → 035); 3 026-internal dangles fixed; link text/prose updated from "ADR 026 §N" → "ADR 034/035 §" wherever the href now points to 034/035 (the consistency class review flagged on docs(adr): split SafetyReserve out of ADR 026 → ADR 033 (#590 part 1) #595 — fixed proactively here).
  • Link checker: total broken 10 → 10 (all pre-existing and unrelated; e.g. the #6-delegator… em-dash-slug mismatch predates this work and is unchanged because the §6 heading text is preserved verbatim). 0 new breaks, 0 on any split anchor.
  • make check-book-list green (26 ADRs + 12 appendices); MD001 clean; adr/ self-contained; pre-commit green.

Review fixes carried in

Also addresses the PR #595 Gemini comments that were resolved on that branch before merge: stale "ADR 026 §5" link text → "ADR 033 §" in 028/032, and a note on the Incident struct declining the field-reorder (both orders pack to 4 slots, not 6→4; gas-tuning is out of scope per ADR 032).

Closes #590.

Grouping — confirmed. Supply (§1), the FeeRouter six-bucket split (§2), operator economics (§7), slashing-burn (§8), governance-weight (§9), bootstrap (§10), and governable parameters (§11) remain as ADR 026 umbrella content — not split further. Rationale: these are short, cross-cutting, and have no dedicated contract, unlike the gauge / delegator / safety buckets which each had a contract and a natural home (ADR 034 / 035 / 033). No open decisions remain on this PR.

@alpergundogdu
alpergundogdu force-pushed the claude/split-adr-026-part2 branch from 5f1ba10 to 82eae02 Compare May 19, 2026 14:04

@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 refactors the protocol's tokenomics documentation by splitting the monolithic ADR 026 into three distinct documents: ADR 026 (Tokenomics umbrella), ADR 034 (Gauge Boost and Voting Escrow), and ADR 035 (Delegator Pool). The refactoring includes updating all cross-references across the documentation suite to point to the new locations. Feedback identifies several high-severity issues where internal section references within the new ADRs were broken during the split, as well as a missing anchor in a cross-link and several opportunities to improve link consistency and conciseness.

Comment thread adr/034-gauge-boost-voting-escrow.md Resolved
Comment thread adr/034-gauge-boost-voting-escrow.md Resolved
Comment thread adr/034-gauge-boost-voting-escrow.md Resolved
Comment thread adr/034-gauge-boost-voting-escrow.md Resolved
Comment thread adr/architecture.md Resolved
Comment thread adr/003-payments.md Resolved
Comment thread adr/003-payments.md Resolved
Comment thread adr/016-contract-interactions.md Resolved
Comment thread adr/026-gauge-boost-tokenomics.md Resolved
…nomics.md umbrella (#590)

Rebuilt on post-#599 main (resolves the #599 conflict by re-deriving
034/035 from #599-improved content rather than merging stale copies)
and addresses all PR #598 review comments.

- ADR 034 (Gauge Boost and Voting Escrow) = §3+§4; ADR 035 (Delegator
  Pool) = §6, moved verbatim from post-#599 026 (so they inherit #599's
  cross-ref linking). 026 → slim "Tokenomics" umbrella (254 lines),
  numbered §3/§4/§6 stub headings kept for anchor stability; §5 stays
  (umbrella from #595).
- File renamed 026-gauge-boost-tokenomics.md → 026-tokenomics.md; all
  refs updated corpus-wide (incl. _history, Makefile, architecture
  reading-order + numeric index, CONTRIBUTING).
- Review comments (gemini-code-assist):
  * 034 broken intra-doc §N refs (§11/§2/§7/§4 + governance §8→§9
    correction) → proper cross-ADR / intra-034 links. The §8→§9 fix
    corrects "governance pattern in §8 (Slashing)" to §9 (Governance);
    flagging as a content correctness change, not just a move.
  * 19 empty-"§" link-text artifacts filled corpus-wide (Gemini flagged
    2: 003:116/446, 016:249); 016:249 redundant phrasing removed;
    026:211 "§ "-prefix nit fixed; architecture §6 entry now uses the
    correct double-dash slug.
- Subsection refs repointed corpus-wide (#per-operator-gauge-share-cap
  → 034, #contract-delegatorbuyer → 035, §3/§4/§6 top refs → 034/035);
  3 026-internal dangles fixed. de-PoC: "PoC `PaymentChannel`" →
  "`PaymentChannel`" (003:532) — single launch+prod contract.
- CLAUDE next→036 (+034/035 canonical, on top of #596's ledger);
  architecture Chapter 4 + numeric index updated.

Verified: github-slugger-accurate link checker — broken links 7
(post-#599 baseline) → 5 on this branch (0 new, 2 pre-existing §6
em-dash refs fixed); no bare §N prose in 034/035; make
check-book-list green (26 ADRs + 12 appendices); MD001 clean;
adr/ self-contained; pre-commit green.

Closes #590.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@alpergundogdu
alpergundogdu force-pushed the claude/split-adr-026-part2 branch from c1d7e06 to 0443ce1 Compare May 19, 2026 14:29
@alpergundogdu
alpergundogdu merged commit d37df62 into main May 19, 2026
11 checks passed
@alpergundogdu
alpergundogdu deleted the claude/split-adr-026-part2 branch May 19, 2026 14:52
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.

Split ADR 026 Gauge-Boost Tokenomics into per-bucket ADRs

1 participant