RootCauseunvalidated
The existing scanner lived in the package entrypoint, while queue helpers lived in a separate package module. — A new helper inside that queue module would have created a circular import if it imported the public entrypoint for sanitization. Tension: Existing app paths also showed that audit/order bugs can persist raw bodies if moderation is called before the shared sanitize frame. Outcome: The package-level helper also needed to avoid depending on app-layer database code.
ca6452b2-23ce-4db0-a5d6-3a390a6db3aa
The existing scanner lived in the package entrypoint, while queue helpers lived in a separate package module. — A new helper inside that queue module would have created a circular import if it imported the public entrypoint for sanitization. Tension: Existing app paths also showed that audit/order bugs can persist raw bodies if moderation is called before the shared sanitize frame. Outcome: The package-level helper also needed to avoid depending on app-layer database code.