noCV
ADRIFT-109 · Explain and recover

Rebuild an account entitlement projection from its ordered history

Practice briefChoreExpert

A projection bug affected a synthetic account; operators need to repair derived rights without rewriting the source change history.

Focused work estimate
6h + prerequisites
Priority in the scenario
Medium
Engineering practice
Recovery · Projection design

Estimated field mix

  • Data engineering50%
  • Backend30%
  • Database engineering20%

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 service grants storage and collaboration rights from subscriptions. Support cannot explain why delayed events restore old limits.

Setup prerequisites

  • Create a local subscription API with synthetic accounts.
  • Understand transactions and UTC intervals.

Preceding work

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

Acceptance criteria

  • Rebuild into a separate generation using deterministic ordering.
  • Compare differences before atomically selecting the generation.
  • Interrupted rebuild leaves the active projection usable.

Implementation constraints

  • Require an account scope and dry-run mode.

Verification to include

  • Compare a rebuilt generation with a clean reference history.
  • Interrupt before activation and prove the old generation still resolves.

Deliverables

  • Scoped rebuild command and difference report

Rollout and recovery

Dry-run one synthetic account; restore the previous generation pointer on mismatch.

Value of the work

For the engineer: Practice temporal rules, concurrency and explainable API decisions.

For the team: Review whether entitlement changes preserve customer access and produce supportable decisions.

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.