Skip to content

docs: acknowledge heartbeat proves chain liveness not voucher state in ADR 007 - #111

Merged
thiras merged 1 commit into
mainfrom
docs/watchtower-heartbeat-limitation-007
Apr 2, 2026
Merged

thiras merged 1 commit into
mainfrom
docs/watchtower-heartbeat-limitation-007

Conversation

@thiras

@thiras thiras commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds explicit Limitation note to the Fee Accountability section of ADR 007 clarifying that watchtower heartbeats prove chain-monitoring liveness only — they do not attest to voucher state
  • A watchtower that lost its voucher database would continue submitting valid heartbeats but be unable to dispute a stale close
  • Cross-references the two existing mitigations: off-chain liveness testing (Fee extraction without service) and voucher resync on reconnection (Voucher state desynchronisation)

Test plan

  • Verify the new paragraph reads naturally after the existing Production heartbeat specification
  • Confirm the internal anchor links (#fee-extraction-without-service, #voucher-state-desynchronisation) resolve correctly in rendered markdown

🤖 Generated with Claude Code

…n ADR 007

Heartbeats only include the latest ChannelCloseInitiated block number,
so a watchtower that lost its voucher database would still submit valid
heartbeats but be unable to dispute a stale close. Add explicit
limitation note cross-referencing the mitigations (liveness testing,
voucher resync).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings April 2, 2026 04:10

@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 the watchtower architecture decision record (ADR) to include a limitation regarding the heartbeat mechanism. It clarifies that heartbeats only attest to chain-monitoring liveness and do not guarantee voucher state integrity, which is handled by other protocols. I have no feedback to provide.

Copilot AI 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.

Pull request overview

This PR updates ADR 007’s Fee Accountability section to explicitly clarify a limitation of the proposed on-chain “heartbeat” mechanism: heartbeats demonstrate chain-monitoring liveness but do not prove the watchtower still has the latest voucher state needed to dispute a stale close.

Changes:

  • Adds a Limitation paragraph under the Production heartbeat/escrow model explaining that valid heartbeats don’t attest to voucher state.
  • Documents the failure mode where a watchtower that lost its voucher DB can still send heartbeats but can’t dispute.
  • Cross-links this gap to the existing mitigations: off-chain liveness testing and voucher resync on reconnection.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@thiras
thiras merged commit de7dd55 into main Apr 2, 2026
4 checks passed
@thiras
thiras deleted the docs/watchtower-heartbeat-limitation-007 branch April 2, 2026 04:14
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.

2 participants