noCV
RTELEMETRY-107 · Enforce collection limits

Expire raw workflow events while preserving only approved aggregates

Practice briefChoreAdvanced

Correlation-bearing raw events remain forever although reporting needs only daily counts.

Focused work estimate
3h + prerequisites
Priority in the scenario
Medium
Engineering practice
Retention engineering · Aggregation

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 document workspace wants to measure upload completion and failure. Its prototype sends filenames, document titles and raw errors to general analytics. Replace that path with a minimal event contract using synthetic traffic.

Setup prerequisites

  • Create synthetic upload workflows and a local collector that captures received payloads.
  • Define measurement questions and a separate restricted diagnostic store fixture.

Preceding work

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

Acceptance criteria

  • Version fictional raw-event and aggregate retention rules.
  • Remove expired raw events from the declared sink and replay buffers.
  • Report unresolved copies and avoid assuming aggregates cannot identify people.

Implementation constraints

  • Use injected time and local adapters; retention values are exercise inputs, not real-world policy advice.

Verification to include

  • Advance beyond raw expiry and verify sink and replay cleanup while permitted counts remain.
  • Fail one cleanup adapter and verify its unresolved location appears in the report.

Deliverables

  • Telemetry retention job and copy-reconciliation cases

Rollout and recovery

Preview eligibility before removal and version aggregate definitions when collection changes.

Value of the work

For the engineer: Practice minimization, safe failure handling and correct aggregates.

For the team: Produce useful operational measurements with a reviewable collection boundary and disclosure regression suite.

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.