Repository navigation
docs: add slash-risk observability metrics - #169
Conversation
Honest operators lack monitoring for conditions that can lead to slashing. Add six slash-risk metrics (probe hold violations, hold slot saturation, rate bounds clamping, blacklist sync lag/version gap, slash evidence exposure) to the observability section and cross-reference from ADRs 004, 005, and 011. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates several Architecture Decision Records (ADRs 004, 005, 011, and architecture.md) to incorporate requirements for exposing slash-risk metrics. These metrics provide early warnings for conditions that could lead to node slashing, such as probe hold violations, rate clamping, and blacklist synchronization lag. The review feedback identifies opportunities to improve documentation consistency by including blacklist violations in the summary of slashable offenses in ADR 004 and adding a missing cross-reference for the slash_evidence_exposure metric in the architecture document.
There was a problem hiding this comment.
Pull request overview
Adds operator-focused “slash-risk” observability metrics to the architecture documentation and cross-references them from relevant ADRs, improving early-warning guidance for slashing-related failure modes.
Changes:
- Document six new slash-risk metric names and meanings in
adr/architecture.mdunder Observability. - Add cross-references from ADR 004/005/011 to the new Observability metrics section.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| adr/architecture.md | Adds a new “Slash-risk metrics” subsection and defines six metric names for operator monitoring. |
| adr/004-tokenomics.md | Adds a cross-reference directing readers to the slash-risk metrics in the architecture Observability section. |
| adr/005-protocol.md | Adds guidance to expose probe-hold and rate-clamp related metrics with a link to Observability. |
| adr/011-content-takedown.md | Adds guidance to expose blacklist sync metrics with a link to Observability. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Clarify that the metric only fires on contradictory probe+stream pairs within the 30-second slashing window, not on any arbitrary pair. Add missing ADR 005 cross-reference for consistency with the other metrics. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Summary
architecture.md:probe_hold_violations,probe_hold_slots_used,rate_bounds_clamp_events,blacklist_sync_lag_seconds,blacklist_version_behind,slash_evidence_exposureCloses #150
Test plan
#observability) resolve correctlyprobe_hold_duration,max_probe_holds,rate_per_mb,getBlacklistVersion())🤖 Generated with Claude Code