noCV
RRETENTION-107 · Apply removal safely

Record a reopened case without silently resetting attachment history

Practice briefBugAdvanced

Reopening a case overwrites its closure timestamp. Support can no longer explain whether an attachment was eligible when a purge started.

Focused work estimate
3h + prerequisites
Priority in the scenario
High
Engineering practice
Lifecycle history · Policy versioning

Estimated field mix

  • Privacy engineering60%
  • Data engineering40%

Field percentages are editorial estimates of the ticket's engineering focus. They total 100%; they are not measured time, proficiency scores, or ownership evidence.

Your next step

Review it, then add it to your workspace.

The board opens an editable draft; nothing is saved until you confirm it. Sign-in and workspace permissions apply, and Demo boards remain ephemeral.

Project context

A fictional support service keeps uploaded diagnostic files indefinitely. The exercise policy expires attachments 30 days after case closure, while a separately authorized investigation hold pauses removal. These are invented product rules, not legal advice or compliance certification.

Setup prerequisites

  • Create synthetic cases, attachment metadata and a fake object store with controllable failures.
  • Use an injected UTC clock and an authorized operator fixture; no real support uploads are needed.

Preceding work

Complete these dependencies, or supply their agreed outputs before taking this ticket.

Acceptance criteria

  • Append case lifecycle events and derive the current retention clock under an explicit reopening rule.
  • Preserve previous decisions and completed removal history.
  • Prevent reopening from implying deleted attachments can be recovered.

Implementation constraints

  • Define the exercise rule before coding: reopening pauses eligibility; a later closure starts a new 30-day period for remaining attachments.

Verification to include

  • Reopen before expiry and verify ineligibility, then close again and verify the new boundary.
  • Reopen after confirmed purge and show the attachment remains removed with its original decision history.

Deliverables

  • Reopening policy and historical decision tests

Rollout and recovery

Version the policy and preview changed eligibility before activating the new clock behavior.

Value of the work

For the engineer: Practice temporal policy, deletion races, exception authority and truthful recovery reporting.

For the team: Develop inspectable retention behavior that a company can review against its own approved data policy.

Evidence boundaries

Outcome Evidence: Tests, patches, and runbooks are requested deliverables. They become Outcome Evidence only through a qualified Mission and immutable Evidence IDs.

Ownership Evidence: Independent adaptation must be observed under a declared verification policy and cite immutable Evidence IDs. Completing a planning ticket establishes no Ownership Evidence.