Pattern
Sanitize Before Persist/Queue
sanitize-before-persist-queue
Raw user data gets inspected for moderation or queued work without consistently applying the sanitized representation, so payloads, cron telemetry, and persisted findings diverge from the expected schema—causing noisy alerts and type/import mismatches across modules.