Skip to content

docs(adr): drop dangling internal/ pointers in wash-trading prose - #525

Merged
alpergundogdu merged 1 commit into
mainfrom
claude/serene-napier-3014fd
May 11, 2026
Merged

alpergundogdu merged 1 commit into
mainfrom
claude/serene-napier-3014fd

Conversation

@alpergundogdu

Copy link
Copy Markdown
Contributor

Summary

Replacement for #523. The four wash-trading-defense citations point at internal/ideas/wash-trading-economics.md — a private-repo path that never existed and (per workspace policy) is never going public. Rather than promoting an internal economic analysis to a public ADR appendix (#523's approach), drop the dangling pointers and let the surrounding ADR prose stand on its own.

Why not the appendix in #523

#523 resolves the dangling references by authoring the analysis in adr/appendix-wash-trading-economics.md (135 lines). That moves the leak from "broken pointer into internal" to "public-derivable derivation of internal analysis":

  • The closed-pool dilution argument, the ve-boost amplification factor, the 8¢ leakage floor, the per-cap capture table, and the sybil capital-lockup arithmetic come directly from the internal economic model.
  • The references section explicitly names the source design spec by codename and date (tokenomics-v2-gauge-boost-design, 2026-04-18), telling readers a private spec exists and how recent it is.
  • The mitigation reasoning at the cap upper bound, the share-drift residual-risk analysis, and the bootstrap total_ve == 0 carve-out all surface internal modeling assumptions that haven't been vetted for public release.

The auditability concern raised in #453 risk 4 — that an external auditor can't independently verify the launch prerequisite from public ADRs alone — is real. But publishing a derivation that traces back to a non-public source spec doesn't fix it; it just shifts the leak. The right answer is to delete the broken pointers and either (a) accept that this rationale is internal-only, or (b) commission a clean-room public economic appendix as a separate, scoped piece of work.

The four edits

Site Before After
adr/008-reputation.md:253 ... at any reasonable TOKEN price (see internal/ideas/wash-trading-economics.md). ... at any reasonable TOKEN price.
adr/026-gauge-boost-tokenomics.md:97 (§2 Pre-launch gauge accumulation) ... — wash-trading at TOKEN price 3–5× genesis is net-profitable without that cap (see internal/ideas/wash-trading-economics.md). ... — without the cap, the ve-boost factor in §3's working_bytes formula admits an effective gauge slice exceeding fee-contribution share, which opens a wash-trading route on self-routed settlements (see §3 [Per-operator gauge-share cap](adr/026-gauge-boost-tokenomics.md#per-operator-gauge-share-cap) for the structural defense and trade-offs).
adr/026-gauge-boost-tokenomics.md:158 (§3 Rationale) trailing Quantitative analysis: internal/ideas/wash-trading-economics.md. (sentence dropped)
adr/026-gauge-boost-tokenomics.md:619 (Risks) ... at any reasonable TOKEN price — see internal/ideas/wash-trading-economics.md for the quantitative analysis. ... at any reasonable TOKEN price.

The §2 rewrite is the only one with new prose: the original sentence quoted a specific quantitative result from the internal analysis (3–5× genesis is net-profitable), and removing the citation alone would leave a dangling quantitative claim. The replacement restates the structural reason in terms of §3's already-public working_bytes formula — no new economics surfaced, no quantitative result moved across the public/internal boundary.

What this leaves open

#453 risk 4 ("Wash-trading-defense analysis is in internal/ideas/, not in the canonical ADR set") needs its resolution path updated. Both originally-proposed resolutions — promote the analysis to an ADR appendix and inline the assumption table and breakeven derivation into ADR 026 §3 — involve publishing material derived from the internal spec. Suggested rebaseline: close risk 4 as resolved by this PR, with the understanding that the public ADR set is intentionally not a substitute for the internal economic model.

If clean-room public derivation is wanted later (separate analyst, only public ADR text as input, explicit non-derivation from the internal spec), that can be opened as a fresh issue.

Test plan

  • pre-commit run --files adr/008-reputation.md adr/026-gauge-boost-tokenomics.md passes
  • grep -rn 'internal/' adr/ returns zero matches (was 4 before this PR)
  • Surrounding prose still describes the wash-trading defense (cap, closed-pool, sybil cost) — no rationale gaps introduced

Refs #453 risk 4. Supersedes #523.

🤖 Generated with Claude Code

The four wash-trading-defense citations pointed at `internal/ideas/wash-trading-economics.md`,
a file in the private repo that never existed and never will — the `internal/` repo will
not be made public. Replace the pointers with self-standing structural prose:

- adr/008-reputation.md §12: drop parenthetical pointer; the design claim ("economically
  marginal at any reasonable TOKEN price") stands alone.
- adr/026-gauge-boost-tokenomics.md §2 Pre-launch gauge accumulation: replace the
  quantitative claim ("net-profitable at 3-5× genesis") with the structural reason
  already public via §3's formula — ve-boost amplification opens an effective-slice >
  fee-contribution-share asymmetry. Link to §3 for the defense.
- adr/026-gauge-boost-tokenomics.md §3 Rationale: drop the trailing
  "Quantitative analysis: …" sentence; the paragraph above already explains the
  closed-pool dilution + sybil capital-lockup defense.
- adr/026-gauge-boost-tokenomics.md Risks: drop the "see … for the quantitative analysis"
  clause from the wash-trading bullet.

Refs #453 risk 4. Supersedes #523 (which created a public appendix derived from the
internal source spec — that is a leak in the opposite direction).

@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 008 and ADR 026 to refine the explanation of wash-trading defenses and remove references to an internal economics document. The updates clarify that without the per-operator gauge-share cap, the ve-boost factor in the gauge formula could allow an operator's share to exceed their fee contribution, creating a profitable wash-trading route. As there were no review comments provided, I have no feedback to offer.

@alpergundogdu
alpergundogdu merged commit 07aeafc into main May 11, 2026
11 checks passed
@alpergundogdu
alpergundogdu deleted the claude/serene-napier-3014fd branch May 11, 2026 10:56
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.

1 participant