Repository navigation
docs(observability): drop tokenomics metrics - #1449
Conversation
|
Warning Review limit reached
Next review available in: 41 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (2)
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
ReviewReviewed against #1439. The removal is clean, complete, and matches the filed verdict. One documentation-consistency nit in What I verified
Findings1. That table's stated scope is explicit: "Off-chain components — clients and nodes — also need a stable set of view functions." Before this PR the row's off-chain justification was the governance-dashboard metric. With that clause dropped, the only remaining consumer named is Suggested fix: drop the row. The surface stays fully covered at 016:23 (Contract Inventory), 016:436 (cross-contract call table), and 016:654 (CapacityBond view/access table). Alternatively keep it with a genuine off-chain consumer named, if one is intended. The sibling 2. The keeper carve-out was decided silently (low — suggest recording, not changing) The issue marked open question 1 as [your call]: if keepers are expected to scrape node 3. Pre-existing, out of scope: The issue lists this under "what we keep," and it exists in code ( VerdictThe core change is right, and the "cancels future collectors, deletes no shipped code" framing in the PR body is accurate — I confirmed none of these collectors exist in Generated by Claude Code |
Retracting finding 1 — no change neededWent to apply the Two things I missed:
The table's stated scope is broader than I treated it. Line 456: "a stable set of view functions for cold-start peer discovery and live state inspection … were not surfaced here, leaving room for them to be missed during contract scaffolding." That's a scaffolding-completeness spec for the off-chain-facing read surface, not a census of current off-chain callers. "Live state inspection" is exactly what a governance UI, indexer, or operator checking their own vote weight does with these two views. Which makes the deletion actively wrong: it would leave the table listing one ADR 036 vote-weight input and omitting the other, when anyone reproducing vote weight off-chain needs both. And that reader is more central after this PR, not less — pushing those consumers to read the chain directly is the whole rationale, so documenting the surface they read is the thing that should stay. Findings 2 (record the chain-native keeper-consumption model in the PR body) and 3 ( Everything in the "What I verified" section above still holds. LGTM as-is. Generated by Claude Code |
Summary
Rationale
Network-global tokenomics and governance state remains authoritative on-chain and should be consumed directly by indexers, governance interfaces, and keepers instead of being re-exported from each node's Prometheus endpoint.
Impact
This cancels future node-side collectors only. It does not change Rust, contracts, monitoring assets, settlement metrics, or operator-local slash-safety signals.
Validation
make -C adr check-book-list check-refsnpx --yes [email protected] --dot '**/*.md' --ignore '.github/agents/**' --ignore '.github/workflows/*.md' --ignore 'adr/_build/**'crates/,monitoring/,contracts/, or.github/The full
make -C adr MERMAID=0PDF build was also attempted locally. Pandoc 3.10.1 generates a Typst compatibility expression referencing the removedhorizontalRulesymbol, which Typst 0.14.2 rejects; the same failure reproduces from a one-line Markdown input and is independent of this change.Closes #1439