Repository navigation
docs: cross-reference probe cache TTL ↔ slashing window dependency (ADR 003, 005) - #115
Conversation
…n ADR 003, 005 ADR 001 derives probe cache TTL as slashing_window/2 (15s = 30s/2) but ADR 003 and 005 which define the 30s slashing window had no back-reference. Add "Dependent parameters" notes so changes to the window surface the coupling with the probe cache TTL. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates ADR 003 and ADR 005 to explicitly document the dependency between the 30-second slashing validity window and the 15-second probe cache TTL. The feedback identifies an ambiguity in ADR 003 where 'half this window' could be misinterpreted due to the mention of a 24-hour window in the preceding sentence, and suggests explicitly referencing the 30-second window for clarity.
There was a problem hiding this comment.
Pull request overview
Adds explicit cross-references in the ADRs that define the 30-second slashing validity window so future edits to that window surface its coupling to the probe cache TTL defined in ADR 001.
Changes:
- Document the dependency between the 30s slashing window and the 15s probe cache TTL in ADR 005 (
cdn/probe/v1slashing evidence section). - Document the same dependency in ADR 003 (phantom blob announcement slashing section).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
adr/005-protocol.md |
Adds a “Dependent parameters” note linking the 30s slashing window to the probe cache TTL in ADR 001. |
adr/003-payments.md |
Adds a “Dependent parameters” note in the phantom announcement slashing discussion linking back to ADR 001’s probe cache TTL. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The preceding sentence mentions a 24-hour counter-window, making 'half this window' momentarily ambiguous. Qualify as 'this 30-second window' to match the phrasing in ADR 005. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Summary
slashing_window / 2(15s = 30s / 2), but ADR 003 and ADR 005 — which define the 30-second slashing window — had no back-reference to this dependencyTest plan
🤖 Generated with Claude Code