MCPcopy Create free account
hub / github.com/Mnexa-AI/e2a / NewProtectionEventID

Function NewProtectionEventID

internal/identity/screening.go:51–51  ·  view source on GitHub ↗

NewProtectionEventID returns a fresh random screening-event id.

()

Source from the content-addressed store, hash-verified

49
50// NewProtectionEventID returns a fresh random screening-event id.
51func NewProtectionEventID() string { return "scr_" + generateID() }
52
53// DeterministicProtectionEventID derives a stable id from the dedupe key
54// (message + source + reason + detector) so that re-screening the same message — e.g.

Callers 1

CreateProtectionEventMethod · 0.85

Calls 1

generateIDFunction · 0.85

Tested by

no test coverage detected