Repository navigation
docs(adr-026): condense Alternatives Considered to bulleted list - #355
Merged
Merged
Conversation
Closes #346 (alternative resolution). Instead of the Tier 3 _history/ migration, just shortened the Alternatives Considered section in ADR 026 (the only canonical ADR with a substantial one — ADR 022's was already tight). Format change: each alternative was a sub-heading with a paragraph description and a multi-bullet "Rejected because:" list. Now: a flat bulleted list where each entry is name, one-sentence description, semicolon-separated rejection rationale. Section size: 56 lines → 8 lines. Information preserved: - All five alternatives still listed by name - Each rejection retains its specific reasoning (semicolon-joined) - Cross-refs to relevant sections (§3, §6, §8, §9, §11) preserved - The "replaced by externally-raised USDC pre-seed" framing for the bootstrap-fund alternative stays Information dropped: the prefatory "Earlier internal drafts of the tokenomics model explored alternative shapes..." paragraph (the heading itself signals what the section is); per-alternative sub-headings (the bold name lead does the same job in less vertical space).
There was a problem hiding this comment.
Code Review
This pull request refactors the 'Alternatives Considered' section of the tokenomics ADR, condensing the descriptions of rejected designs into a concise bulleted list. Feedback includes correcting a numerical inconsistency regarding the vesting rate, restoring context that the section serves as a canonical record, and adding a cross-reference to §10 for consistency.
Address Gemini review on PR #355. 1. Vesting rate was "~22%/yr" in the bullet, but §1 ("~24%/yr during the active vesting window") and §Consequences ("~24%/yr during vesting window") both use 24%. Aligned to 24% with explicit "per §1" cross-ref. The 22% figure was preserved verbatim from the pre-shortened original (which had inherited the drift); fixed here since the shortening pass is the natural moment to correct. 2. The bootstrap-fund alternative now cross-refs §10 (chosen alternative) — matches the §3, §6, §8, §9, §11 cross-ref style of the other bullets. (Skipped Gemini's other suggestion to restore "this section serves as the canonical record of rejected designs" intro — the heading itself already signals what the section is, and adding a one-line intro for a flat 5-bullet list reads as ceremony.)
Merged
4 tasks done
thiras
added a commit
that referenced
this pull request
Apr 30, 2026
…-business economics Closes #257. future-product proposals into internal/ideas. This PR continues that scoping work for the remaining canonical ADR set: residual operator-facing economics that don't define a protocol mechanism are moved out of the protocol ADRs into a new appendix. The audit was conservative — most "economic prose" in protocol ADRs turns out to be load-bearing protocol-mechanism rationale (challenge bonds, rate-floor justifications, gas amortisation arguments) rather than duplicated operational analysis. Two genuine cleanup spots: 1. ADR 007 §Break-Even Economics → adr/appendix-watchtower-economics.md. The §Monthly cost model and break-even tables are operator-decision territory (sensitive to L2 gas markets and channel-deposit distributions); the protocol mechanism — heartbeat batching, fee formula, dispute-gas bonus — stays in ADR 007 §5 as a renamed §Heartbeat batching subsection. Net: ADR 007 loses ~22 lines. 2. ADR 009 §Governable Parameters with Safety Bounds → cross-ref to ADR 016 §FeeRouter (production) for the cashflow-invariant rationale. The 20% node-base-share floor justification was a verbatim duplicate across ADR 009 / ADR 016 / ADR 026 §11. ADR 009 now cross-refs the canonical statement in ADR 016 instead of restating it. The boostFloor justification (ADR-009-specific) is preserved. Things deliberately not touched after audit review: - ADR 005 cost asides justify protocol mechanisms (RTT cost, handshake amortisation) — load-bearing, not duplicative. - ADR 012 §Economic threshold justifies the parallel-fetch --min-blob-size default with channel-lifecycle cost arithmetic cross-referenced from ADR 003 — protocol-policy rationale, not duplication. - ADR 014 challenge-bond economics are protocol mechanism. - ADR 016 already cleanly cross-refs ADR 026 §11 / §8 for tokenomics; only the §Cashflow invariant block is a target, but ADR 009's pointer (this PR) is the cleaner path than shortening 016 itself. - ADR 026, 027, 018, 010, 003 are themselves the tokenomics/payments ADRs and economic prose is in scope. Index updates: - adr/README.md: appendix-list prose updated in both Reading Order and Decision-Record-Context sections to mention the new appendix. - adr/architecture.md: new entry 6 in §Appendices — Reference Patterns. Net LOC for protocol ADRs: -17. Total workspace LOC: +37 (the new appendix). The salient metric is protocol-ADR LOC reduction, not total LOC; the cost-model content is preserved verbatim, just relocated to its proper home. ADR 026 is unchanged in this PR (per the plan, to avoid conflicting with #355). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
thiras
added a commit
that referenced
this pull request
Apr 30, 2026
…-business economics (#362) * docs(adr): scope protocol ADRs to protocol — relocate watchtower side-business economics Closes #257. future-product proposals into internal/ideas. This PR continues that scoping work for the remaining canonical ADR set: residual operator-facing economics that don't define a protocol mechanism are moved out of the protocol ADRs into a new appendix. The audit was conservative — most "economic prose" in protocol ADRs turns out to be load-bearing protocol-mechanism rationale (challenge bonds, rate-floor justifications, gas amortisation arguments) rather than duplicated operational analysis. Two genuine cleanup spots: 1. ADR 007 §Break-Even Economics → adr/appendix-watchtower-economics.md. The §Monthly cost model and break-even tables are operator-decision territory (sensitive to L2 gas markets and channel-deposit distributions); the protocol mechanism — heartbeat batching, fee formula, dispute-gas bonus — stays in ADR 007 §5 as a renamed §Heartbeat batching subsection. Net: ADR 007 loses ~22 lines. 2. ADR 009 §Governable Parameters with Safety Bounds → cross-ref to ADR 016 §FeeRouter (production) for the cashflow-invariant rationale. The 20% node-base-share floor justification was a verbatim duplicate across ADR 009 / ADR 016 / ADR 026 §11. ADR 009 now cross-refs the canonical statement in ADR 016 instead of restating it. The boostFloor justification (ADR-009-specific) is preserved. Things deliberately not touched after audit review: - ADR 005 cost asides justify protocol mechanisms (RTT cost, handshake amortisation) — load-bearing, not duplicative. - ADR 012 §Economic threshold justifies the parallel-fetch --min-blob-size default with channel-lifecycle cost arithmetic cross-referenced from ADR 003 — protocol-policy rationale, not duplication. - ADR 014 challenge-bond economics are protocol mechanism. - ADR 016 already cleanly cross-refs ADR 026 §11 / §8 for tokenomics; only the §Cashflow invariant block is a target, but ADR 009's pointer (this PR) is the cleaner path than shortening 016 itself. - ADR 026, 027, 018, 010, 003 are themselves the tokenomics/payments ADRs and economic prose is in scope. Index updates: - adr/README.md: appendix-list prose updated in both Reading Order and Decision-Record-Context sections to mention the new appendix. - adr/architecture.md: new entry 6 in §Appendices — Reference Patterns. Net LOC for protocol ADRs: -17. Total workspace LOC: +37 (the new appendix). The salient metric is protocol-ADR LOC reduction, not total LOC; the cost-model content is preserved verbatim, just relocated to its proper home. ADR 026 is unchanged in this PR (per the plan, to avoid conflicting with #355). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * docs(adr): fix stale section name in watchtower-economics appendix This PR renames ADR 007 §5 from "Break-Even Economics" to "Fee Model" and adds a new §"Heartbeat batching" subsection, but the new appendix still cited the old path. Update to point at the canonical anchor. Caught by reviewer follow-up on PR #362. --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #346 via shortening rather than migration to
adr/_history/.Why not Tier 3?
After the 028-032 relocation in #354, the canonical ADR set is down to 21 protocol+tokenomics ADRs and only two of them have an
Alternatives Consideredsection — ADR 022 (already tight) and ADR 026 (56 lines). Migrating that one section toadr/_history/for the audit-trail-richness benefit would create more directory complexity than it removes from the protocol body.Shortening in place gets ~80% of the readability benefit at <5% of the surgery.
What
ADR 026 §Alternatives Considered: 56 lines → 8 lines. Each alternative was a sub-heading + paragraph + multi-bullet rejection list; now a flat bulleted list with name, one-sentence description, semicolon-joined rejection rationale.
All five alternatives still named; rejection reasoning preserved (joined by semicolons); cross-refs to §3, §6, §8, §9, §11 stay.
Test plan
🤖 Generated with Claude Code