FrankenTerm

Notification Identity Keys

150 words1 min read4 subsectionsFrom the README at ft 0.15.21

On this page4
CompositionWhy this mattersFinding identity keysMute semantics

A notification identity key is the deduplication primitive for the notification pipeline. Two notifications with the same identity key are treated as duplicates and the second is suppressed (subject to the throttling window) or muted.

Composition

Identity keys are deterministic functions of:

  • rule_id (or other event taxonomy key)
  • pane_id (when pane-scoped)
  • Severity bucket
  • Optional payload digest (when the rule's content is the dedup axis, not just the ID)

Why this matters

  • Storm suppression. A pane producing the same warning every second won't flood operators with notifications.
  • Mute granularity. ft mute add <identity_key> mutes one specific dedup class without silencing the entire rule.
  • Auditable. notification_history records every emission with the identity key, so operators can trace exactly which channel got pinged for which class.

Finding identity keys

bash
ft events --format json | jq '.[] | {id, identity_key: .dedupe_key, rule_id, muted}'

Mute semantics

bash
ft mute add <identity_key>                          # permanent
ft mute add <identity_key> --for 1h                 # time-bounded
ft mute add <identity_key> --scope global           # all workspaces
ft mute add <identity_key> --reason "investigating"
ft mute list
ft mute remove <identity_key>

Mute scope workspace (default) only mutes for the current workspace; global mutes across every workspace on this host.