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

Function scanReasonOutbound

internal/agent/screening.go:252–257  ·  view source on GitHub ↗
(agg piguard.Aggregate)

Source from the content-addressed store, hash-verified

250}
251
252func scanReasonOutbound(agg piguard.Aggregate) string {
253 if len(agg.Categories) == 0 {
254 return "content scan flagged the message"
255 }
256 return "content scan: " + agg.Categories[0].Name
257}
258
259// writeProtectionEvents appends the audit rows best-effort (deterministic ids make
260// it idempotent, so writing outside any message tx is safe).

Callers 1

screenOutboundMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected