V2 publishes moderation, anti-cheat, and DSR audit events through
@oshun/audit-platform. Oshun retains and exports those canonical events from
the shared append-only audit store; V2 services do not keep local forensic logs
for these flows.
Ownership#
@oshun/audit-platformowns the canonical event envelope, ingest allow-list, immutable store, retention tags, and investigation export metadata.@v2/kuanyin-first-line-moderationpublishes moderation decisions with thev2.moderation.decision_publishedaction.@v2/nous-anti-cheat-classifierspublishes human-review-only anti-cheat classifier suite events with thev2.anti_cheat.review_publishedaction.@v2/themis-privacy-dsr-routingpublishes DSR workflow route events with thev2.dsr.workflow_publishedaction.
Contract#
Every V2 publication request includes:
metadata.v2Publishes: truemetadata.oshunRetainsAndExports: truemetadata.auditPlatformPackageName: "@oshun/audit-platform"- a V2-specific retention tag for moderation, anti-cheat, or DSR
- an investigation export kind of
compliance,audit, orprivacy
The service-level surfaces return the canonical ingest request as
auditPublication, allowing the runtime publisher to pass it directly to the
shared audit-platform ingest service and allowing CI to assert the route without
duplicating the Oshun store implementation inside V2.
Verification#
V2/ue/Tools/check-v2-audit-platform-routing.py pins the shared helper,
publisher dependencies, service specs, docs, TODO entry, lockfile, and V2 CI
workflow. Targeted Vitest coverage validates the canonical request builder and
the three V2 service surfaces.