Skip to content

heartbeat: degrade when a configured anchor goes stale or the local chain fails to verify #318

Done

Description

@blitzcrieg1

The heartbeat carries the chain seq and Merkle root, so a SIEM can spot tampering, but the recorder never says so itself. doctor stays quiet about unanchored trails on purpose (doctor.py), and that stays.

Proposal: when anchors are configured and the newest is older than a threshold, or the local chain fails to verify, the heartbeat degrades with a reason and the dashboard shows it. Unanchored installs are unaffected.

Done when a stale configured anchor and a broken chain each degrade the beat in a test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions