Skip to main content

Module decision

Module decision 

Source
Expand description

Centralized decision event helpers: detection, extraction, domain parsing.

Functions§

extract_decision
Extract DecisionPayload from an event payload. Prefers structured payload.decision object, falls back to text parse for backward compatibility with legacy events.
extract_domain
Extract domain from a decision key: "db.engine""db".
is_decision
Check if a payload represents a decision event (note with “decision” tag).
is_session_digest
Check if a payload represents a session digest event (note with “session_digest” tag).