Repository navigation
docs(adr): tokenomics v3 rollout — ADRs 026-032 + 11 ADR mods - #338
Conversation
Design spec rethinks ADR 004 tokenomics. Root cause: burn flow is 0.014%/yr of supply (noise vs. vesting inflation) and token has no yield utility for passive holders. Core changes: - 500M supply (halved from 1B) - 6y vesting + auto-ve-lock 1-2y on vest — kills vesting-cliff dumps - New FeeRouter: all channel settlements route through it, split 75/12/8/5 (operator / ve-lockers / burn / treasury) - New VotingEscrow (veTOKEN): non-transferable, 4y max lock, no early exit, linear decay, powers governance and ve-locker yield - ve-weighted governance replaces 1-token-1-vote - Fee discount mechanic removed (regressive under new split) - Slashing schedule unchanged - ADR 018 POL mechanics unchanged (inflow rate only) Spec path: decdn/docs/superpowers/specs/2026-04-18-tokenomics-v2-design.md Promotes to ADR 025 after user review. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Switch FeeRouter split from T2 (75/12/8/5) to T2b (80/10/6/4) after benchmark review of two-sided marketplaces and decentralized infra networks: Storj ~75% Uber ~75% Akash ~80% Fiverr 80% DoorDash ~80% Amazon 85% eBay 87% Etsy 93.5% OpenSea 97.5% 75% was at the low end of peer distribution; 80% is median. Operator recruitment is the reflexive bootstrap bottleneck per ADR 004 — losing operators on thin margins is unrecoverable. The reduction in ve-pool / burn / treasury (4/2/1 pts) is small vs. that risk. Impact: - Gross client rate $0.0133/GB → $0.0125/GB (25% above Bunny.net, vs 33% above with T2) - Operator net P&L unchanged (~$165/mo on a 1 Gbps 30K GB/mo node) - Burn flow 10× today's (vs 13× with T2) — ~1.08%/yr of supply at 1K mature nodes × $0.05 TOKEN - ve-locker APR ~6% at mature scale (vs ~5.8% with T2 — same order) - Router skim 20% (vs 25% with T2) — easier client-side messaging Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Alternative to T2b that splits the 80% operator bucket into 40% direct + 40% ve-weighted boost pool, using Curve's veCRV gauge formula (working_bytes = min(bytes, 0.4·bytes + 0.6·ve_share·total)). Same aggregate split, same burn/ve-pool/treasury flows, same gross client rate. Difference: redistribution of the operator share based on ve-commitment. Key numbers at 1 Gbps, 30K GB/mo, $0.0125/GB: - No-lock operator: $101/mo (39% below T2b) - Fair-share ve (~$5K capital): $267/mo (62% above T2b) - Over-ve (~$20K capital): $379/mo (130% above T2b) Trade-off vs T2b: - Pulls operators into ve-locking via ~40% APR on ve-capital from boost-delta alone (Case A → Case B) - No mandatory TOKEN exposure, no gross-rate blowup - Added complexity: per-epoch byte counters, working-balance math - Cold-start penalty for new operators (no ve history) - Case A operators run thin margins (designed pressure, but risk) If adopted, supersedes T2b; if not, T2b remains reference design. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Change both T2b flat-80% and gauge-boost variant specs to use gross rate \$0.01/GB (parity with Bunny.net's budget CDN tier). The router's 20% skim is absorbed by operators in thinner USDC margins, not passed to clients via rate increase. Preserves deCDN's budget-CDN positioning: "drop-in replacement" at the same price point as the cheapest legacy option, 7-20x cheaper than CloudFront/Akamai/KeyCDN. Trade-off: operator USDC margins compress. 1 Gbps "comfortably profitable" threshold rises from ~20K to ~40K GB/mo. Operators are compensated via TOKEN-economy value (bootstrap subsidies, ve-yield, TOKEN appreciation). Filter effect: commodity operators may exit; crypto-aligned operators accept the shift. Updated math (mature scale: 1K nodes * 30K GB/mo): - Network revenue \$300K/mo (was \$375K) - Burn flow \$18K/mo = \$216K/yr (was \$22.5K/\$270K) - Supply burn 0.86%/yr at \$0.05 TOKEN (was 1.08%) - ve-pool \$30K/mo (was \$37.5K) T2b 1 Gbps 30K GB/mo P&L: \$105/mo (was \$165) Gauge-boost P&L updated: Case A \$53, Case B \$186, Case C \$276 Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Two changes: 1. Fix allocation-table arithmetic bug in the T2b spec. Liquidity was shown as 5% / 25M, which summed to 95% with the other buckets. Root cause: a confused "halved 10%→5%" narrative — 10% of 500M is already 50M, so halving the nominal token count happens via the supply halving itself, not via a percentage change. Restored liquidity to 10% / 50M to sum to 100%. Gauge-boost spec inherits the fix via its "Identical to T2b §2.1" reference. 2. Add §9 "Visual reference" to gauge-boost spec with 7 mermaid diagrams: token distribution pie, fee-split pie, FeeRouter flow, gauge boost formula, contract architecture class diagram, epoch lifecycle sequence, and operator P&L progression. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
…pecs Aligns the v2 tokenomics specs with the convention introduced in #335: ADR 021 is the source of truth for L2 selection, so other docs cite it rather than naming the chain incidentally. - Acceptance criteria #1 (both specs): "local Arbitrum fork" → "local fork of the canonical L2 (per ADR 021)". - Gauge-boost spec open question #7: "$8–$1500/yr in gas on Arbitrum" → "$8–$1500/yr at typical L2 gas prices" — the claim is about cost, not the chain. No semantic changes. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Author seven new ADRs: - ADR 026 — Tokenomics v3 (gauge-boost). Supersedes ADR 004 in full. 1B fixed supply, 30/24/19/15/10/2 allocation, FeeRouter 40/40/7/5/5/3 split with safety reserve, Curve-style gauge boost on bytes delivered, opt-in VotingEscrow (no auto-ve-lock-on-vest), USDC pre-seed bootstrap, 50K min stake, slashing distribution 50/30/20. - ADR 027 — Distinct-client delivery receipts. Priority-1 follow-up; required for gauge-pool security at v1 launch. - ADR 028 — Native sveTOKEN liquid-ve wrapper (deferred; ship within 6 months of v1). Pre-empts Convex-style governance capture. - ADR 029 — Adaptive FeeRouter parameters (deferred). Lock-rate and price-floor automated feedback within ADR 026 §11 safety bounds. - ADR 030 — Pre-seed USDC deployment program. Charter for the $1M+ pre-seed capital: POOs, hardware leasing, staking loans, regional grants, Enterprise SLA fund. Replaces ADR 004's TOKEN bootstrap fund. - ADR 031 — Burn-and-Mint client TOKEN prepay (deferred to v2). Helium BME pattern; demand-side TOKEN sink. - ADR 032 — Bandwidth Futures + Enterprise SLA tier (deferred to v2). TOKEN-denominated futures backed by SafetyReserve and pre-seed fund. Modify 11 existing ADRs to integrate the new contract surface and v3 parameters: ADR 003 (FeeRouter integration, voucher bytesDelivered), ADR 004 (Superseded marker + forwarding note), ADR 007 (wash-trading detection + receipt validator role), ADR 008 (gauge-pool eligibility gating), ADR 009 (ve-weighting + 6-bucket safety bounds + SafetyReserve authorization), ADR 016 (FeeRouter / VotingEscrow / SafetyReserve contract surface), ADR 018 (router-driven inflow + delegator swap + hardened MEV protection), ADR 019 (USDC pre-seed bootstrap; 50K min stake; discount-threshold removed), ADR 020 (v3 metrics surface), ADR 021 (L2 keeper-cost validation note), ADR 023 (PoC production seams for new contracts). Update architecture.md with index entries for ADRs 026-032; bump CLAUDE.md next-ADR counter to 033. Numbering note: ADR 026 conflicts with the in-flight remote branches adr/024-026-client-improvements and adr/027-content-discovery-namespace -registry (the latter introduces a competing 025-...). Coordinate with those branch authors before merging this set to main. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request introduces the Tokenomics v3 economic model, which replaces the previous dual-currency model with a new FeeRouter-based split, gauge-boost mechanism, and updated slashing distributions. It also adds necessary contract interfaces, updates ADR documentation, and includes security-critical invariants for settlement and fee routing. My feedback focuses on ensuring robust reentrancy protection for the new FeeRouter integration and validating contract addresses during deployment.
There was a problem hiding this comment.
Pull request overview
This PR rolls out the Tokenomics v3 documentation set (ADR 026–032) and updates existing ADRs/indices to align the broader architecture/governance/ops docs with the new FeeRouter/VotingEscrow/SafetyReserve contract surface and v3 economic parameters.
Changes:
- Add 7 new ADRs (026–032) covering Tokenomics v3 and follow-on/deferred specs (receipts, sveTOKEN wrapper, adaptive routing, pre-seed USDC, BME prepay, bandwidth futures/Enterprise SLA).
- Update multiple existing ADRs to cross-reference v3 tokenomics, add new operational requirements (MEV/private-RPC, liquidity caps), and incorporate new wiring seams/metrics.
- Update ADR index pointers and the “next ADR number” note.
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| adr/architecture.md | Adds ADR 026–032 entries and marks tokenomics summary as superseded by ADR 026. |
| adr/026-tokenomics-v3.md | Introduces canonical Tokenomics v3 spec (allocation, router split, gauge boost, ve governance, safety reserve, bootstrap). |
| adr/027-distinct-client-receipts.md | Specifies distinct-client receipt protocol to secure gauge pool accounting. |
| adr/028-sve-token-wrapper.md | Draft spec for native liquid ve wrapper sveTOKEN (deferred). |
| adr/029-adaptive-fee-router.md | Draft spec for adaptive FeeRouter parameter hooks (deferred). |
| adr/030-preseed-usdc-deployment.md | Draft charter for $1M–$3M pre-seed USDC deployment programs. |
| adr/031-bme-client-prepay.md | Deferred v2 design for optional client TOKEN prepay (BME). |
| adr/032-bandwidth-futures-enterprise.md | Deferred v2 design for bandwidth futures + Enterprise SLA tier. |
| adr/023-poc-production-seams.md | Adds new PoC/production seams for v3 tokenomics contract clients/readers/helpers. |
| adr/021-l2-chain-selection.md | Adds v3 gas/keeper-cost validation requirements for the chosen L2. |
| adr/020-observability.md | Adds a new section defining Tokenomics v3 metrics for router/ve/safety/gauge ops. |
| adr/019-node-onboarding.md | Updates onboarding guidance to v3 min stake and adds pre-seed bootstrap paths section. |
| adr/018-liquidity-strategy.md | Aligns liquidity/buyback strategy with router-driven inflows and v3 MEV hardening. |
| adr/009-governance.md | Updates governance framing to ve-weighted voting and adds v3 FeeRouter/SafetyReserve sections. |
| adr/008-reputation.md | Adds gauge-pool receipt-tier gating rules and related PoC/production scope updates. |
| adr/007-watchtower.md | Extends watchtower responsibilities to include wash-trading detection + receipt validation. |
| adr/004-tokenomics.md | Marks ADR 004 as superseded by ADR 026 with a forwarding note. |
| CLAUDE.md | Updates the “next ADR number” counter to 033. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
PR review fixes: - ADR 003: add nonReentrant guard requirement to settlement invariant; add extcodesize check to FeeRouter address validation in constructor. - ADR 007: align receipt-fraud challenge resolution with ADR 027 — gauge forfeiture is the standard remedy; stake slashing applies only on the stronger fraud-proof bar (deliberate forgery / key compromise). - ADR 009: voting period 3 → 7 days (was inconsistent with ADR 026/029); timelock wording 2 days → 48 hours for consistency. - ADR 019: drop stale "ADR 030 not yet authored" wording (030 lands in this rollout). - ADR 020: ve_lock_rate metric now uses TOKEN.balanceOf(VotingEscrow) / TOKEN.totalSupply() — underlying-locked, not time-weighted ve-supply. Aligns with ADR 029 hook semantics. - ADR 026: drop stale "ADR 030 not yet authored" wording. - ADR 028: typo "wides" → "widens". - ADR 029: lock-rate hook reads underlying TOKEN locked (TOKEN.balanceOf(VotingEscrow)), not VotingEscrow.totalSupplyAt (which is time-weighted ve-supply with different units — would mis-fire the 15%/50% thresholds). ADR naming convention: - Rename adr/026-tokenomics-v3.md → adr/026-gauge-boost-tokenomics.md. No other ADR uses a version suffix; the ADR number is the version. - H1 title: "Tokenomics v3 — Gauge-Boost Design" → "Gauge-Boost Tokenomics". Drops the colon+em-dash dual-separator combo that no other ADR uses. - Update architecture.md heading and supersede callout to match. - Update all ~250 cross-references across 18 files. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
- architecture.md: drop "fee discounts" from ADR 004 tagline (mechanic removed in v3 per ADR 026 §7); update ADR 009 summary to ve-weighted voting + 7-day vote + 48h timelock (was stale TOKEN-weighted + 2-day timelock) - ADR 026 §"ADRs to update on acceptance": drop residual "100M /" prefix on the bootstrap fund row (every other reference says only 200M-TOKEN) - ADR 007: fix broken anchor #8-slashing-rates-and-redistribution → #8-slashing-and-burn (matching the actual ADR 026 §8 heading) - ADR 009 prose: 5 days minimum → 9 days minimum governance latency, matching the v3 §1 table (7-day vote + 48h timelock) - ADR 026 forward references: replace 8 same-page #forward-references anchors with direct file links to 027/028/030/032 (those ADRs now exist in this same PR; "forward-referenced" wording was stale) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Cuts ~93 LOC of implementation sketches and re-derived rationale: - Drop fenced EIP-712 typehash Solidity block (boilerplate; the §1 field set is the load-bearing piece). - Drop fenced keccak256 Merkle-leaf abi.encode block; keep the construction summary cross-referencing ADR 014. - Replace formula reproduction in Context with cross-ref to ADR 026 §3. - Condense wash-trading walkthrough from a 5-step numbered scenario to a 2-sentence summary. - Condense five-invariant enumeration to a single sentence. - Condense "Why not Ed25519" to one sentence + cross-refs. - Condense suspicious-clustering heuristic catalogue (interface fixed, catalogue implementation-defined). - Condense privacy mitigations (in-ADR + future-work) into two short paragraphs. - Condense rollout sequencing (5 numbered steps → one sentence). - Replace "ADRs to update" table with link list (each touched ADR carries its own delta).
Cuts ~246 LOC across two deferred-to-v2 ADRs: ADR 028 (sveTOKEN wrapper, ~51 LOC out): - Condense Convex/cvxCRV/Frax history (Context) to one paragraph. - Drop "why no protocol-level redemption" 3-bullet enumeration. - Drop §6.2 External-interfaces Solidity sketch (final ABI lands with the implementation, not the ADR). - Replace §10 8-row risk table with a 4-row Risk-vs-Mitigation table (depeg, cascade, contagion, governance capture); auto-compound griefing + unbounded recompound + oracle + wind-down failure are implementation-test items, not decision-record risks. - Tighten Pos/Neg/Risks blocks (drop redundant precedent + complexity restatements). ADR 029 (adaptive FeeRouter, ~195 LOC out — largest single condense): - Compress §1 lock-rate hook: keep table + parameter bounds, drop per-paragraph rationale/hysteresis/clamping prose. - Compress §2 price-floor hook: same pattern; collapse TWAP-defense bullets into one sentence. - Replace §5 override table + "two consequences" prose with two sentences (vote always wins by evaluation order; never violates §11). - Compress §6 implementation: drop bullet enumeration of invariants the contract enforces (sum-to-100, ADR 018 oracle reuse). - Compress §7 Deferment rationale from 3 numbered reasons + multi- paragraph prose to one paragraph. - Tighten Pos/Neg/Risks (each block was 5-6 bullets re-stating §1-§6). - Compress Forward-references trailer.
Cuts ~93 LOC of false-precision sizing and runbook prose: - Hedge sizing context (~178 / ~1,778 nodes; $20K/$200K/$2M/mo) to rounded S0/S1/S2 framing + cross-ref to finance/notebooks. - Hedge per-program allocation arithmetic at TOKEN=$0.05 in §2a, §2c, §2e to range descriptions + cross-refs (figures depend on TOKEN/USDC TWAP at lend time and re-modelling pending). - Compress §3 rebalancing rules from 4-row table + 3 prose paragraphs to a single paragraph stating the bounds. - Compress §4 reporting checklist to one paragraph. - Compress §5 SafetyReserve coordination summary. - Tighten Pos/Neg/Risks (collapse 6+5+5+6 bullets each into 5+6+5). - Replace "ADRs to update" table with a link list (each touched ADR carries its own delta). §2a–§2e per-program detail kept in place per the single-PR constraint; a follow-up runbook split is recommended but out of scope here.
Cuts ~72 LOC across two deferred-to-v2 ADRs: ADR 031 (BME client prepay, ~18 LOC out): - Condense §3 Coexistence Option A/B narrative — keep table + 1-sentence trade-off summary (option choice already deferred to v2). - Condense §5 contract-sketch decision narrative. - Drop §6 "Three-pronged demand structure" enumeration; restates ADR 026 §3, §6, §7 demand sources. - Drop "Discount tuning is reflexive" + "Client-side speculation" risk bullets (v2 calibration concerns, not v1 architectural risks). ADR 032 (bandwidth futures + Enterprise SLA tier, ~54 LOC out): - Condense §1.5 Oracle/MEV considerations; restates ADR 018 + ADR 027 defenses — one paragraph cross-referencing both is sufficient. - Condense §3 Freemium/Pro/Enterprise tier table to a paragraph (the table is product positioning, not architectural). - Tighten Negative bullets on regulatory exposure / TOKEN-USD basis / counterparty-adjudicator conflict. - Replace "ADRs to update on acceptance" table with link list.
Cuts ~122 LOC of cross-ADR restatement. ADR 003 (~89 LOC out): - Drop full IFeeRouter interface block (claim paths + view methods); the canonical interface lives in ADR 016. ADR 003 keeps only the routeSettlement signature relevant to the StablePaymentChannel boundary. - Drop full SettlementRouted event block; canonical event set is in ADR 016. ADR 003 references it. - Drop the 35-line settlement-sequence mermaid diagram (client→node flow + cache-miss bypass); ADR 016's USDC-flow diagram is the canonical visualization. ADR 003 cross-references it. - Condense the 6-invariant settlement-path list to the 3 invariants specific to the StablePaymentChannel↔FeeRouter boundary; conservation, same-tx satellite legs, and epoch-consistency invariants live with the router itself. ADR 016 (~33 LOC out): - Drop the parallel PoC USDC-flow mermaid diagram (ADR 003 / ADR 004 document the PoC fee model); keep only the v3 production diagram. - Drop the PoC fee-allocation table (40/20/20/20 dev/audit/eco/burn); the v3 split is in ADR 026 §2 and the PoC mechanic is documented in ADR 004. - Replace the six FeeRouter-share rows in the governance-controlled parameters table with a one-line cross-ref to ADR 026 §11; the table also dropped the `boostFloor` row (same canonical home).
…s-refs Cuts ~68 LOC of content owned by ADR 026 / 027 / 030. ADR 007 (watchtower, ~21 LOC out): - Condense §1a wash-trading-detection 4-row indicator table to a single paragraph; the four indicators are catalogue, not decision. - Condense §1b receipt-validator 4-step validation enumeration to a single sentence; the validation rules and N-distinct gate are ADR 027's content. ADR 007 commits the role, ADR 027 owns the rules. ADR 018 (liquidity strategy, ~7 LOC out): - Condense the Option A / Option B delegator-pool swap-path table + decision narrative to a one-paragraph cross-reference. Final selection tracked in ADR 016 when the v3 contract surface ratifies. ADR 019 (node onboarding, ~40 LOC out): - Compress the §"Pre-seed USDC Bootstrap Programs" section from a 4-bullet program description + funding-mechanism prose to a one-paragraph back-reference to ADR 030 (canonical home for path mechanics, eligibility, sizing, and governance).
Cuts ~14 LOC by tightening each new-ADR entry (026-032) in the index to one paragraph + cross-references. The index should be a TL;DR with links, not a substitute for the ADRs themselves. Specifically removes: - Full FeeRouter bucket enumeration (40/40/7/5/5/3) duplicated from ADR 026 §2. - Full working_bytes formula reproduction duplicated from ADR 026 §3. - Full pre-seed five-program split (30/25/15/20/10) duplicated from ADR 030 §2 (table). - Multiple references to "200M-TOKEN bootstrap fund" framing (canonical home is ADR 026 §10). - Restated three-pronged TOKEN demand prose (operator/delegator/client) for ADR 031 — owned by ADR 026 §Consequences. - Long restatements of ADR 026 §Risks for ADR 027 / 028 — owned by ADR 026. Each ADR 026-032 entry now matches the index style used elsewhere in this file: one bold one-liner + one paragraph of architectural framing.
The ADR was framed as "we're changing things from ADR 004 / earlier internal drafts." Since the protocol hasn't launched and no v1/v2/v3 exists externally, the ADR should read as the definitive design statement and route comparison content to Alternatives Considered. Rewrites: - Context: motivate from four design pressures (deflationary lever scaling with usage, real-yield path, progressive operator incentive, TOKEN-price-insulated bootstrap) instead of "ADR 004 had four flaws". - Decision opener: "the protocol's economic model is..." instead of "the protocol adopts the v3 model". - §1, §2, §6, §7, §8, §9, §10: strip "v3 model", "v2 interim", "vs ADR 004" comparison phrasing; state each rule definitively. - §8: replace ADR-004-vs-this-ADR slashing-distribution comparison table with a single-line definitive statement (50% challenger / 30% safety reserve / 20% burn). Pure-burn variant moves to Alternatives. - §10: drop "ADR 004's 200M-TOKEN bootstrap fund is replaced by..." framing; just state the bootstrap mechanism. - Forward references: "v1 launch" → "mainnet launch", "deferred to v2" → "post-launch follow-up". - Consequences: drop "operator share = 80% identical to ADR 004", "higher contract surface than ADR 004", "replaces a familiar discount mechanic" framings; tighten to consequences of the design itself. - Alternatives Considered: NEW section capturing rejected variants — the original ADR 004 model, auto-ve-lock-on-vest, USDC distribution to passive ve-pool, pure-deflationary slashing, TOKEN-denominated bootstrap. Each entry: variant + why rejected. ADR 004 stays Superseded (front-matter signal); the body of ADR 026 no longer narrates the supersession.
Replaces internal-version language with launch-relative phrasing: - "v1 launch prerequisite" → "Launch prerequisite" (heading + callout) - "v1 launch blockers" → "launch blockers" - "v1 mainnet-readiness" → "launch readiness" - "reasoned default for v1" → "reasoned default at tens-of-nodes-scale" - Slashing-schedule cross-refs from [ADR 004] → [ADR 026 §8] (the canonical home for the 5/15/50 schedule under the current model) No semantic change — the launch prerequisite remains the same; the text just doesn't claim there's an "v1" externally.
ADR 028: - Front matter / status note: "v1 mainnet" → "mainnet". - §3 leg-2: drop "in v1 we assume zero" / "wrapper is not an operator in v1" framing — just state the wrapper is not an operator. - §6.1 / §10 risk table: "Frax v1 sfrxETH" → "Frax sfrxETH" (the reference implementation, not their internal versioning). - §7 governance options table + recommendation: "Verdict for v1" → "Verdict"; "Recommended for v1" → "Chosen"; "defer to v2" → "deferred follow-up"; "sub-ADR (provisionally ADR 028.1)" → "follow-up ADR". - §8 POL seed: "$200K-$500K notional at v1 prices" → "...at then-current prices". - §9 phasing table: "Pre-launch (v1)" → "Pre-launch"; "v1 mainnet" → "mainnet"; "Why deferred to within 6 months of v1" → "Why deferred — not at launch"; "Not blocking for v1" → "Not blocking for launch". - Consequences: "the v3 'real yield in TOKEN' lever" → "the 'real yield in TOKEN' lever". ADR 029: - Status: "post-v1" → "post-launch". - Context: "the v3 design surfaces" → "the design surfaces". - Deferment paragraph: "v1 governance dynamics" → "post-launch governance dynamics". - Deferment rationale: "not deployed at v1" → "not deployed at launch"; "for v1" → "at launch".
The ADR led with "ADR 004 had a 200M-TOKEN bootstrap fund... we're replacing it." Since the protocol hasn't launched, framing the design as a replacement reads internal-iteration; the design just IS the bootstrap mechanism. Rewrites: - Front matter: drop "Replaces ADR 004's 200M-TOKEN node-bootstrap fund" field — this is internal-iteration metadata, captured in Alternatives Considered. - Context: replace the "ADR 004 was reflexive → ADR 026 §10 replaces it → this ADR is the charter" cascade with a single paragraph that just states the bootstrap mechanism. Reflexivity-vs-USDC is the design rationale, not a compare-and-contrast against a prior version. - §1 No-protocol-issuance paragraph: drop "ADR 004's 200M-TOKEN bootstrap supply does not exist under ADR 026 §1" — the protocol doesn't mint TOKEN for this pool, full stop. - "Prerequisite for v3 mainnet" → "prerequisite for mainnet". - Negative consequence: "v3 mainnet" → "mainnet". - Add Alternatives Considered section: TOKEN-denominated bootstrap variant (ADR 004 shape) with rationale for rejection (reflexive purchasing power, concentrated dilution, TOKEN-price-dependent program structure).
Both ADRs framed as "shipped in v2 after v1 stabilizes" — since there's no v1/v2 externally, replace with launch-relative phrasing. ADR 031 (BME client prepay): - Front matter status: "v2 mainnet, post v1 stability" → "post-launch follow-up after stability". - Drop "v3 source design spec" qualifier (the spec is the spec). - §"Why deferred": "ready for v1" → "ready for launch"; "v1 contract scope" → "launch contract scope"; "v1 launches" → "mainnet ships"; "v2 will revisit" → "the follow-up adoption pass revisits". - Decision opener: "in v2" → "in a post-launch follow-up"; "no v1 implementation is committed" → "no launch-time implementation". - §1 sizing-intent column / discount bounds: "v2 sizing intent" → "Sizing intent"; "Set at v2 launch" → "Set at adoption". - §3 Coexistence: drop the "v1 (USDC) and v2 (BME)" framing; just describe the two paths with "Launch" / "Deferred follow-up" status. - §4 Oracle: "v2 sizing intent" → "Adoption-time sizing intent"; "for v2 launch" → "at adoption"; "v1-stability pre-requisite" → "post-launch operating-data prerequisite". - §5 / §7 / Forward references / Open questions: replace "v2" with "the adoption pass" / "the follow-up" throughout. - Heading "v1 prerequisites (for future v2 implementation)" → "Launch prerequisites (for future BME adoption)". ADR 032 (bandwidth futures + Enterprise SLA): - Front matter status: "v2 mainnet" → "post-launch follow-up". - Context: "v1 deCDN serves..." → "deCDN serves...at launch"; drop "the v3 economic model" / "v3 risk analysis" labels (just "the economic model" / "gauge-pool security"). - Decision: "Both products ship in v2" → "Both products ship together in the adoption pass"; "from v2 forward" → "once these products land". - §1.1 contract format / §1.2 / §1.4: "v2 launch" → "at adoption"; "v2-implementation ADRs" → "adoption-time implementation ADRs". - §2.1: "ratified at v2 launch" → "ratified at adoption". - Consequences positives: "v1 infrastructure" / "v1 deliverables" / "v2 wires" → launch / launch / adoption. - Risks: "v2 readiness gate" / "v2 launch readiness gate" → "adoption readiness gate". - "Regulatory exposure ... v2 prerequisites" → "...adoption-time prerequisites". - Heading "v1 prerequisites for v2 implementation" → "Prerequisites for adoption"; gate-row text updated; "blocks v2 implementation" → "blocks adoption"; "delaying v2 globally" → "delaying it globally". - Forward references trailer: "v2 implementation will produce" → "Adoption will produce"; "demand at v2-launch + 6 months" → "demand at adoption + 6 months"; "v1 prerequisite set" → "launch-time prerequisite set". - ADRs to update: "no v1 ADRs change. At v2 implementation, deltas land in..." → "no launch-time ADRs change. At adoption, deltas land in...".
Mirror the framing changes from ADRs 026-032 in the architecture.md
index entries. Replace internal-iteration language ("v1 launch",
"deferred to v2", "v3-era surface") with launch-relative phrasing
("mainnet launch", "post-launch follow-up").
ADR 026 entry: replace "Replaces the original tokenomics" with a
definitive "Canonical economic model" framing; "v3-era surface" →
just "the surface".
ADR 027 entry: "v1 launch" → "mainnet launch".
ADR 028 entry: "6 months of v1 mainnet" → "6 months of mainnet".
ADR 029 entry: "post-v1 governance dynamics" → "post-launch governance
dynamics"; "if v1 governance rebalancing" → "if post-launch governance
rebalancing".
ADR 030 entry: drop "Replaces ADR 004's 200M-TOKEN bootstrap fund"
sub-headline (the design just IS the bootstrap mechanism); "v3 mainnet
launch" → "mainnet launch"; "v3-launch prerequisite" → "launch
prerequisite".
ADR 031 entry: "Deferred to v2" → "Deferred — post-launch follow-up";
"v1-stability data" → "post-launch operating data".
ADR 032 entry: "Deferred to v2 mainnet" → "Deferred — post-launch
follow-up"; "from v2 forward" → "once these products land"; "v1 must
first establish" → "the launch deployment must first establish".
Mechanical anchor and link fixes from the integrity audit: Em-dash anchor mistakes (GFM strips em-dash + collapses surrounding whitespace into a single hyphen, not two): - adr/018:96,102,184, adr/019:358, adr/027:84, adr/030:11, adr/031:16 - Replace `#6-delegator-pool--usdc--token-conversion` with `-usdc-token-` - Replace `#10-bootstrap-mechanism--pre-seed-usdc` with `-mechanism-pre-` Non-existent #challenge-bond anchor in ADR 014: - adr/007:42,45,226,247,533 redirected to existing `#bond-handling` Renamed section in ADR 003: - adr/007:81 → `#fee-routing-on-disputed-closes` (was `#fee-calculation`) - Surrounding sentence updated from "protocol fee" framing to "FeeRouter routing" framing matching ADR 003's current shape. Unreachable spec links (the docs/superpowers/specs/ tree is not in the repo): - adr/026:6,7 — front-matter source-spec links replaced with internal-name references (no link). - adr/031:6 — same pattern. - adr/003:542 — drop the "design spec ..." link from the §FeeRouter Integration paragraph; ADR 026 cross-ref carries the design.
After ADR 026 supersedes ADR 004, several modified ADRs still pointed at ADR 004 for current-design parameters. Redirected: ADR 008: - Wash-trading cost analysis used the removed "3% standard / 1.5% discount" fee mechanic. Rewrote against the FeeRouter non-base skim (60% per ADR 026 §2). Min stake reference updated 1,000 → 50,000 TOKEN with cross-ref to ADR 026 §7. - §1 corruption-slash auto-ejection cross-ref → ADR 026 §8. ADR 009: - "Staking, slashing, and fee parameters defined in ADR 004" → defined in ADR 026 §7-§8 and §11. - Slash-amounts and auto-ejection anchors `(004#auto-ejection)` and `(004#slash-amounts-escalating)` → ADR 026 §8. ADR 018: - Context "treasury is TOKEN-rich (200M TOKEN bootstrap fund, 100M TOKEN liquidity allocation)" → drop the 200M clause; the bootstrap fund doesn't exist under the canonical model. Cite ADR 026 §1 for the 100M POL allocation. ADR 019: - Phase 1 step 1 "Node Unit Economics" cross-ref ADR 004 → ADR 026 §7. - Re-onboarding section: drop "carries over the auto-ejection rule from ADR 004" parenthetical. - Pre-seed bootstrap section: drop "ADR 004's 200M-TOKEN bootstrap fund is removed" clause; that's history not current spec. - "v3 bootstrap is USDC-denominated" → "the bootstrap mechanism is USDC-denominated". ADR 020: - Slash-safety metrics cross-ref `(004#staking-and-slashing-schedule)` → ADR 026 §8. architecture.md: - ADR 011 entry "subject to the escalating schedule in ADR 004" → ADR 026 §8. Also fixes ADR 019 §"prepare Ethereum key" residual "v3 model removes the v2 / ADR 004 discount-stake threshold" iteration framing → "There is no discount-stake threshold".
…ADRs The reframe pass converted ADRs 026-032 to definitive framing but didn't reach as deep into the modified ADRs. This pass cleans up the remaining "(v3)" / "v3 production" / "v3 model" stragglers — the PoC vs Production distinction stays (that's a real deployment phasing), but iteration-version labels are dropped. ADR 016 (largest footprint): - "(v3 production)" / "(v3 launch)" / "(v3)" tags on Production-tier contract rows → drop or rename to "(production)". - "**v3:**" / "**v3 production:**" / "**v3 inflow source:**" callouts → "**Production:**" / "**Production inflow source:**". - "the v3 contract surface" → "the production contract surface". - "v3 surface adds three new fund-holding contracts vs the ADR 004 baseline" → "the new surface adds...". - "[ADR 026 — Tokenomics v3 (Gauge-Boost Design)]" → "[ADR 026 — Gauge-Boost Tokenomics]". ADR 018: - "v3 alignment (2026-04 update)" callout heading → "ADR 026 alignment". - "100M TOKEN at genesis (10% of the 1B v3 supply)" → "10% of the 1B supply". - "v2→v3 transition" / "v3 supply" qualifiers in Source row → drop. - "v3 market-dynamics analysis" → "market-dynamics analysis". - "the v3 inflow rate (~8× higher)" → "the higher per-revenue inflow rate (~8× the prior manual-treasury rate)". - ADR 026 cross-ref title in Related ADRs → "Gauge-Boost Tokenomics" (matches the ADR's actual title). ADR 020: - "Tokenomics v3 Metrics" section heading → "Tokenomics Metrics". - "v3 tokenomics surface" → "tokenomics surface". ADR 003: - "under v3 the inflow source is" → drop "under v3". - "are not part of the v3 interface" → "are not part of the production interface". - "minimum stake under v3 is" → "minimum stake is". - "the new reentrancy surface introduced by v3" → "the new reentrancy surface". ADR 007: - "**v3 tokenomics driver.**" callout → "**ADR 026 driver.**". ADR 008: - "**Tokenomics v3 cross-reference.**" callout → "**Tokenomics cross-reference.**". - "(modified per the v3 rollout plan)" parenthetical → drop. ADR 009: - "the v3 `FeeRouter` shares" → "the `FeeRouter` shares".
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2 inline review comments — both valid. ADR 018:90 — broken cross-reference: - Per-epoch liquidity cap line said "ADR 026 §2.6 / economic model §4" but the link target was `#8-slashing-and-burn` (slashing, unrelated to liquidity caps), and ADR 026 has no §2.6. Removed the misleading cross-ref entirely; calibration of the cap fraction is deferred to the operator runbook (and tracked via finance/notebooks/ analyses) — it isn't parameterized in ADR 026 §11. Now points to §11 only as context for what *is* governable there (no individual cap parameter). ADR 027:63 — `lifetimeDepositOf` not defined in ADR 003: - Distinct-client gating cited `StablePaymentChannel.lifetimeDepositOf` with "(see ADR 003 storage extension)", but ADR 003 didn't actually define the counter or the view. - Made ADR 003 the canonical home: added `lifetimeDepositOf` to the `IStablePaymentChannel` interface, added counter increments to the `topUp` behavior block, and added a standalone semantics block spelling out the storage slot, monotonicity invariant, increment events (`openChannel` + `topUp`), and gas footprint (one SSTORE per funding call). - ADR 027 §3 row now points to ADR 003's StablePaymentChannel section with "added per ADR 027 §3" framing on the ADR 003 side, so the causal direction is unambiguous: ADR 027 introduces the requirement, ADR 003 specifies the on-chain extension.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
3 inline review comments — all valid. ADR 032:228 — wrong priority number after §2.2 restructure: - §2.4 said "the §2.2 priority-3 source is retired" but the prior pass collapsed §2.2 from three priorities to two. Corrected to "priority-2 source". ADR 027:40 — `epochId` field staleness inconsistency: - Field description said receipts not matching the "receipt-batch settlement epoch" are rejected, but §4 explicitly allows a single batch to span multiple epochs (each receipt buckets by its own `epochId` into the corresponding `EpochReceiptSummary`). Reworded to reflect the per-epoch bucketing model: a receipt is rejected if its `epochId` does not match the specific epoch root/summary it is being committed under, with no requirement that all receipts in a physical batch share the same `epochId`. Cross-link to §4 Per-epoch bucketing for the full explanation. ADR 029:66 + architecture.md:308 — lock-rate denominator alignment: - ADR 029 said `token_locked_underlying / token_circulating_supply`, but `token_circulating_supply` was undefined and ADR 020's canonical `decdn_ve_lock_rate` metric uses `TOKEN.totalSupply()` as the denominator. Aligned ADR 029 §1 and architecture.md to the canonical on-chain expression `TOKEN.balanceOf(address(VotingEscrow)) / TOKEN.totalSupply()`. Implementer ambiguity removed; the denominator matches ADR 020's metric exactly so the on-chain hook and the observability dashboard read the same number.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2 inline review comments — both valid.
ADR 029:103-104 — hook default-enabled / risks-disabled inconsistency:
- Hook-parameter table set both adaptive hooks (lock-rate, price-floor)
to enabled=true by default, but Risks block at line 153 says
"Recommended deployment posture: hooks disabled by default, turned
on by explicit vote once dynamics are observable."
- Aligned to the recommended posture: defaults are now enabled=false.
Matches the ADR's "merge the spec, do not deploy" stance — the ADR
is Status: Deferred and any post-launch adoption requires an
explicit governance enable.
ADR 030:34-35, 42-48, 293, 344, 367 — custody/authority misalignment
with ADR 009:
- Capital-structure table mixed two custody models: it said the pool
is a "Multisig USDC wallet, DAO-controlled" and also "same
Timelock-custodied wallet pattern", and granted "fast-track
emergency-multisig authorization within the hard caps below".
- ADR 009:130 explicitly says the emergency multisig "Cannot change
parameters, withdraw funds (other than gated SafetyReserve
payouts)..." — so a parallel emergency-multisig fast-track for the
pre-seed pool would directly contradict ADR 009.
- Aligned ADR 030 to the ADR 026 §2 treasury-share pattern:
- Custody → "Dedicated Timelock-custodied USDC account, DAO-
controlled; same Timelock-custodied wallet pattern as the ADR 026
§2 treasury share, with a dedicated sub-account..."
- Spending authority → "Standard governance proposal per ADR 009;
the ADR 009 emergency multisig has no withdrawal authority over
this pool."
- Removed the "Hard caps (immutable at deploy time) for the
multisig fast-track path" table (§1) — that fast-track no longer
exists.
- Added "Authority clarification" block making the no-emergency-
path stance explicit: disbursements are bounded only by the
per-program allocation ranges in §2 and rebalancing rules in §3.
- §4 reporting: "signed by the multisig" → "authorized via
standard governance proposal".
- §Risks: "Multisig compromise" → "Timelock / governance-key
compromise".
- "ADRs to update on acceptance": dropped the ADR 009 entry —
"(parallel multisig fast-track caps)" is no longer needed since
no parallel fast-track is being introduced. Also corrected a
stale "third-priority funding source" reference to "second-
priority funding source" (§2.2 has two priorities post-restructure).
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2 inline review comments — both valid. ADR 028:40-44 — SveToken proxy contradicts ADR 016 no-proxy rule: - Capabilities table set `Upgrade path` to "Proxied; upgrades governed by Timelock", but ADR 016:97 explicitly states no deCDN contract uses proxy patterns — the rule is rooted in EIP-712 domain-separator preservation (signatures are bound to the concrete deployed address via `immutable` separators in constructors). - Aligned to non-proxied deployment with explicit migration path (DAO-governed redeploy + migration). Added a clarifying paragraph noting the rationale (preserves ERC-20 `permit` / EIP-712 assumption); future versions deploy a new wrapper at a new address rather than upgrading in place. ADR 026:249 — internally contradictory wash-trading mitigation: - Bullet ended "Strongly recommended for production launch; not optional" — if it's not optional, it's a requirement, so the "strongly recommended" framing was self-contradictory. - Reworded to the more precise sequencing language already established in ADR 027 §9: "The protocol can launch with the gauge pool paused, but enabling and paying the gauge pool requires distinct-client receipts to be live." Cross-link to ADR 027 §9 for the full launch-prerequisite specification.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2 inline review comments — both valid. ADR 023:253-254 — `SafetyReservePayout` trait docstring incomplete: - Trait docstring said the production variant "queues a governance proposal subject to all four gates", but the section prose above (line 249) and the PoC/Prod table below (line 264) both correctly list governance OR fast-track multisig within hard caps as acceptable production paths. - Updated docstring to match: "queues either a governance proposal or fast-track emergency-multisig authorization (within the hard caps per ADR 009), subject to all four gates (evidence bundle, authorization, 48h appeal, post-incident reporting)". ADR 028:192 — leftover proxy reference after pass 6 fix: - Negative-consequences bullet still said "`SveToken` proxy + implementation + vote-mirroring policy", but pass 6 (commit 6b99ee9) made `SveToken` non-proxied per ADR 016. Reworded to "contract surface / ABI + vote-mirroring policy" (Copilot's suggested form).
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 22 out of 22 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
* docs(adr): pre-launch cleanup — anchors, framing, superseded ADR Lands #339, #341, and #342 together since they overlap on several files and share the same definitive-framing rationale (the protocol has one design pre-launch; ADRs read as the canonical design, not as an iteration log). #339 — cross-reference hygiene (13 broken anchors) Em-dash collapse fixes (`--` → `-` in anchors): GFM strips em-dashes from headings and collapses surrounding whitespace into a single hyphen. Touched: ADR 002, ADR 005 (3 instances), ADR 013 (2 self-anchors), ADR 015 (3 instances). Renamed/missing target fixes: - ADR 011 → ADR 005 phantom-announcement: target heading didn't exist; repointed to the parent `cdn/probe/v1 — latency probe` heading where the mechanism is described inline. - ADR 012 → ADR 024 session-keys: heading was renamed; repointed to the actual `#3-session-keys-deferred-to-production-via-erc-7579-smartsessions`. - ADR 022 → ADR 013 schema-evolution-strategy: target didn't exist; repointed to `#protocol-enums` (the relevant section for the per-ALPN protocol enum pattern). Programmatic check post-fix: zero broken `*--*` anchors across the ADR tree. #341 — v3-iteration framing sweep (ADRs 009, 021) The PR #338 reframe pass missed several pockets. Cleaned up: - ADR 009 §Bootstrap consideration: "drops the auto-ve-lock-on-vest pattern from earlier v2 interim designs" → "Under ADR 026, vesting contracts release TOKEN unlocked... (no auto-ve-lock-on-vest)". - ADR 021 §Tokenomics Validation Requirements: dropped 8 instances of "v3 Tokenomics" / "deployment of v3 contracts" / "in v3" / "under v3" / "v3 deployment" / "during v3 contract integration testing". Section now reads as a definitive validation gate against ADR 026, not as a migration narrative. Programmatic check post-fix: zero `\bv3\b` hits in production ADR corpus excluding legitimate Balancer V3 / Uniswap V3 references. #342 — drop superseded ADR 004 + 'ADRs to update on acceptance' sections ADR 004 deletion. Pre-launch there's no v1 deployment to preserve historical record for. Audited every inbound cross-ref (54 hits across 13 files) and either: - repointed to ADR 026's canonical home (ADR 026 §1 supply, §7 staking parameters, §8 slashing/auto-ejection/challenge-bond, §11 governable parameters); - repointed to ADR 003's Deposit Economics for the gas-cost numbers (which ADR 003 already carries verbatim); or - dropped iteration-narrative phrasing entirely ("under ADR 004", "earlier drafts", "supersedes ADR 004", "ADR 004's X mechanic" etc.). Notable repoint targets: - ADR 005 / 011 / 014 challenge-bond + slash-schedule refs → ADR 026 §8 - ADR 001 staking refs → ADR 026 §7 - ADR 014 §Integration with Existing Contracts: dropped the `submitFraudProof()` historical-replacement note entirely. - ADR 016 §Contract Inventory table: removed [004] cells from TOKEN / StakingRegistry / BuybackBurner rows. - ADR 018 §Context: collapsed two paragraphs of "ADR 004 says X but ADR 026 changes it to Y" iteration narrative into one definitive block. - ADR 021 §Context + §Updates: reframed from "resolves ADR 004 deferral" to "selects production L2"; renamed §Updates to Prior ADRs → §Cross-ADR alignment. - architecture.md: dropped the standalone ADR 004 entry; updated ADR 026 summary to drop "Supersedes ADR 004 in full". - ADR 026 frontmatter: dropped "Supersedes: [ADR 004] in full". - ADR 026 / ADR 030 Alternatives Considered: dropped [ADR 004] links but kept the rejected-alternatives prose intact. "ADRs to update on acceptance" section deletions. Once #338 landed and the touched ADRs were updated, these sections became stale inventory of past work. Removed from: - ADR 026 (touched-list pointer) - ADR 027 (touched: 003, 007, 008, 014, 017, 026) - ADR 030 (touched: 008, 016, 019, 026 — minus the dropped 009 entry) - ADR 032 (deferred — touched on adoption: 003, 018, 026, 030) Final state: ADR tree contains 26 ADRs (001–003, 005–020, 022–032); ADR 004 slot retired (numbering doesn't reuse). No broken anchors. No v1/v2/v3 iteration framing in the canonical corpus. * docs(contributing): repoint ADR 004 ref → ADR 026 Side effect of deleting ADR 004 in this PR — the consistency-checks section pointed at `004-tokenomics.md` for token names / contract references / fee parameters. ADR 026 is now the canonical home for that surface. * docs(adr): address Copilot + Gemini review pass Six review comments. All valid; the em-dash anchor question reframed the original #339 fix. Em-dash anchor standardization (Gemini #1, #2, #3 — also rolls back part of this PR's own #339 fix) Issue #339's premise was wrong. GitHub's slugger (github-slugger) replaces *each* whitespace character with a hyphen — it does NOT collapse runs. So a heading like `Foo — Bar` becomes: 1. Lowercase: `foo — bar` 2. Strip `—`: `foo bar` (two consecutive spaces remain) 3. Each space → hyphen: `foo--bar` (double hyphen) The double-hyphen anchors in main were therefore CORRECT, not broken. This PR's earlier "fix" (single-hyphen) introduced the broken anchors. Reverted, and standardized on the actual GFM-generated form (`--`) across the ADR set: - `cdnprobev1--latency-probe` (heading: `cdn/probe/v1 — latency probe`) - `gossip--rate-change-announcements` (heading: `Gossip — rate change announcements`) - `tier-1--minor-no-coordination` (heading: `Tier 1 — Minor (no coordination)`) - `content-discovery-dht--probe` (heading: `Content Discovery (DHT + Probe)` — `+` removal also leaves two spaces) - `3-session-keys--deferred-to-production-via-erc-7579-smartsessions` (heading: `3. Session Keys — Deferred to Production via ERC-7579 smartsessions`) Also fixed two pre-existing single-hyphen refs that were never correct on main: `001-network.md:154` and `014-on-chain-verification.md:278`. ADR 002:34 (Copilot) — challenge bond ref repointed to ADR 014 Cross-ref pointed at ADR 026 §8 for "challenge bond requirements", but ADR 026 §8 only lists the bond as part of slashing distribution; the canonical home for bond mechanics (amount, transfer, forfeit rules) is ADR 014's `#### Bond Handling` section. Repointed. ADR 011:128 (Copilot) — keep single stake value (no PoC/Prod split) Copilot suggested adding "1,000 TOKEN PoC / 50,000 TOKEN production" to match other places. Per direction "PoC and Prod should follow the same structure, we'll just modify the fee router," the stake minimum is unified. Kept the single 50,000 TOKEN value here, and aligned ADR 016:143 (constructor deps row for StakingRegistry) to drop its own `PoC 1,000 TOKEN; production: 50,000 TOKEN` split. Also dropped the adjacent "discount-threshold parameters removed" framing since it was historical-iteration narrative left over from the ADR 004 deletion sweep — now reads as a definitive statement. ADR 016:28 (Copilot) — Phase column typo `FeeRouter` / `VotingEscrow` / `SafetyReserve` rows had Phase column "Production (production)" — duplicated/typoed. Normalized all three to "Production only" matching the other rows in the table.
* docs(adr): Tier 2 — chapter intros + ADR 026 connective opener Closes #345. Most of Tier 2's originally-scoped work (cross-cutting concept lifts: epoch mechanics, FeeRouter surface, reentrancy, challenge bonds, slashing schedule) was absorbed by earlier passes: - #338 reframe: cross-cutting concepts framed as definitive design in their canonical homes (ADR 026 §2, §8; ADR 014 § Bond Handling). - #343 cleanup: ADR 004 deletion forced canonical-cross-ref discipline across the set; 60+ inbound links repointed. - #349 demotion: 5 implementation/deployment ADRs moved to appendices; protocol-level invariants extracted to consuming ADRs along the way. - #351 reframe: encrypted-content publishing terminology aligned with ADR 002. Remaining Tier 2 deliverables that this commit lands: 1. **Chapter intros in `architecture.md` § Reading Order.** Each of the 8 chapters now opens with a one-paragraph intro framing what the chapter is for and how the ADRs in it relate. Chapter 4 (Tokenomics) explicitly directs readers at ADR 026 first and ADR 027 second; Chapter 5 cross-refs the slashing schedule's canonical home; thin chapters (7, 8) get a one-sentence frame so they don't read as orphaned ADRs. 2. **ADR 026 Context opener.** Replaced "A bandwidth-CDN protocol with paid byte delivery, slashable operator stake, and on-chain settlement needs an economic model..." (project-level restatement at chapter-4 entry) with "The economic model — sitting on top of paid byte delivery (ADR 003) and the slashing primitive (ADR 014) — has to hold up under four pressures..." The four-pressure framing carries the load; the new opener connects to the chapters the reader has just finished. What was considered and skipped: - ADR section structure standardization (forcing all ADRs into Context/Decision/Consequences with explicit Positive/Negative/ Risks subsections). The current variation is intentional and works for each ADR's content shape; mass-converting would be cosmetic churn. - ADR 022's `## §N — Title` non-canonical heading style. Works in context; standardizing to plain `## ` would reorder the existing numbered sub-decisions. Skip. - Aggressive Context-section trimming. Spot-checks of the longest Contexts (ADR 029 44 lines, ADR 032 50 lines) found each was carrying its own load; tightening would lose context. * docs(adr): correct chapter 4 launch-vs-deferred categorization Address Gemini review on PR #352 + sharpen post-launch framing. **Gemini's points (both valid):** - ADR 030 (pre-seed USDC) is an explicit mainnet-launch prerequisite ($1M floor required before launch), not a "program/follow-up". - ADR 018 (Balancer V3 POL) is the destination for the 10% genesis liquidity allocation and is required at launch for buyback + delegator-pool mechanics, not an "extension". **Reframed categorization:** - **Launch-required:** 026 (canonical), 027 (gauge security), 018 (Balancer V3 POL), 030 (pre-seed USDC pool). - **Deferred adoption:** 028 (sveTOKEN wrapper), 029 (adaptive FeeRouter) — spec lands now, deployment decision waits on post-launch dynamics; either may close as Rejected if launch dynamics make them unnecessary. - **Post-launch additions:** 031 (BME prepay), 032 (bandwidth futures + Enterprise SLA) — they build on launch-time infrastructure to deliver the demand-side TOKEN sink and the Enterprise revenue tier. "Deferred from launch, not from the design" — these are crucial parts of the long-term economic model that don't ship at launch but are not optional/nice-to-have. The earlier "post-launch follow-ups" framing understated their importance; the reframe makes their role explicit. * docs(adr): tighten chapter 4 intro Same launch-vs-deferred-vs-additive structure, ~80% shorter: launch-required path enumerated as a list (ADRs without sub-explanations — those live in each ADR), deferred and additive each get one clause. Length now matches other chapter intros (3 sentences, ~50 words).
Summary
FeeRouter,VotingEscrow,SafetyReserve) and the canonical economic parameters: 003, 004, 007, 008, 009, 016, 018, 019, 020, 021, 023. Also updatesarchitecture.mdindex andCLAUDE.mdnext-ADR counter (→033).working_bytesformula, opt-inVotingEscrow, 50K min stake, slashing distribution 50% challenger / 30% safety / 20% burn, USDC pre-seed bootstrap.Numbering risk — please coordinate before merge
ADR 026 conflicts with two in-flight remote branches:
origin/adr/024-026-client-improvementsclaims 024–026 in its name (no actual ADR files at HEAD).origin/adr/027-content-discovery-namespace-registryintroduces a competing025-content-discovery-namespace-registry.md(collides withmain's already-Accepted025-local-admin-http.md).Renumbering this set is mechanical if needed; the relative ordering is what matters.
Review/audit history
This PR has been through several passes since opening:
0406cd9, 8 auto-resolved by earlier passes; replied on each thread).946623b.Known follow-ups (now landed in this PR)
All 6 doc-rot items previously deferred to post-merge issues are addressed:
946623b).finance/notebooks/during trim.946623b).NNN-topic.mdslot when authored (commit946623b).Follow-up issues filed
poc-blocking; depends on this PR + feat(contracts): scaffold PoC EVM contract set per ADR 016 #237 landing first.Test plan
Status: Superseded by [ADR 026]and the forwarding note explains what carries over (slashing rates 5/15/50) vs. what is replaced.classDiagram) renders without syntax errors.finance/notebooks/_shared/params.pyupdate (out of scope here): addFeeRouterParamsfor the canonical split, replacebootstrap_token_allocationwithpreseed_usdc_target_usd, addSafetyReserveParamsandVeEscrowParams. Re-run affected notebooks (02_bootstrap_runway.ipynb,04_token_flows.ipynb).🤖 Generated with Claude Code