Skip to main content

Retention and Cleanup

Audience

Developers, QA and support engineers, data reviewers, implementation partners, solution architects, privacy reviewers and security reviewers.

Reference Content

Summary

No source-backed lifecycle retention schedule or cleanup job was found for onboarding, exit, audit/timeline, outbox, processed-event or notification delivery records.

Data classes requiring policy

ClassExamplesPolicy question
Candidate/onboardingCandidate, offer, onboarding, compatibility payloadsHiring purpose and deletion/anonymization trigger
Employee/workforceProfile, employment, bank/document childrenEmployment and statutory retention
ExitRequest, reason, decisions, auditLegal hold and dispute period
Audit/timelineContext-local evidenceImmutability, redaction and archival
MessagingOutbox, processed events, attempts, email queueReplay window and bounded growth
ProjectionsPayroll/leave/attendance employee profilesDeactivation and upstream erasure propagation

Lifecycle

Current status

Retention duration, cleanup cadence, archive location, deletion authority, legal hold, data-subject request propagation and proof of deletion all Require confirmation.

Safety

Until policy exists, operators should not manually remove lifecycle or messaging records. Cleanup must preserve referential, audit and replay requirements and must be tested against every owning context.

Requires confirmation

Unless explicitly confirmed above, production migration governance, rollback, reconciliation, retention, privacy, performance, concurrency and operational ownership require confirmation.

Source References

  • microservices/src/recruitment-service/Infrastructure/RecruitmentDbContext.cs
  • microservices/src/notification-service/Infrastructure/NotificationDbContext.cs

See Also

Keywords

  • Onboarding database
  • Offboarding database
  • Lifecycle persistence

Revision Information

  • Status: Draft
  • Last reviewed: 2026-07-20
  • Review cycle: Quarterly