Recover Completed-Document Notifications
Recover missing notices after full document completion using authoritative completion state, sent evidence and one stable provider identity, while preserving uncertain outcomes.
Problem statement
For this exercise, assume an existing signing application has fixed a bug that disrupted completion notifications. It supplies a database of fully completed document revisions and logs indicating which completion notices were sent.
An authorized operator must reconcile the affected interval and restore eligible missing notices without sending duplicate logical notices. Document creation and signature collection are outside scope: a completion notification is considered only after all required signatures have been committed.
For this exercise, assume each completed revision records one designated owner and a frozen notification policy. That owner is the sole intended recipient; a document with more than 500 signatures does not create 500 notification recipients.
A stable tenant/document/completion-revision/owner/policy key binds one logical notice and immutable payload. A frozen completion snapshot, incident interval and versioned log objects identify one recovery job.
Valid sent observations provide evidence of provider acceptance for that key, not proof that a user read or received the notice. Absence from success-only logs does not establish that no external send occurred.
For this exercise, assume the existing provider accepts repeated dispatch of the same key/payload idempotently and supports status queries for 30 days. Select an incident spanning at most 7 days and stay within supported retention. Resolve prior effects using positive evidence or provider status.
Keep unresolved effects unknown; never create a fresh identity merely because a response or log is missing. When that provider capability or retained evidence cannot be established, hold automatic redispatch and expose the uncertainty.
Before new recovery dispatch, revalidate that the same revision is still fully completed, the original owner still has access and the policy remains eligible. Suppress new work if the document has reopened, its completion has been superseded, or owner access is revoked.
Keep prior delivery outcome separate from current eligibility: accepted evidence remains accepted. An already authorized or in-flight provider operation may act after eligibility or ownership changes and cannot be recalled by a local flag.
Coordinate parallel scans, retries and worker restarts through one durable notice identity, and expose accepted, known-absent, unknown, suppressed and in-progress recovery evidence honestly. Do not build unsigned-signer invitations, per-signature notices or a general multichannel notification platform.
What to build
- An authorized operator can submit one recovery job over immutable completion/log inputs and the affected interval, then recover or cancel that same job.
- The system identifies expected completion notices and exposes known provider acceptance, known absence, unknown prior effects and current eligibility without calling missing logs proof of nonreceipt.
- The system restores eligible known-missing notices through the same stable provider key/payload, without duplicate logical delivery after parallel scans or a lost response.
- Operators can inspect versioned progress and evidence, including accepted outcomes, suppressed work, unresolved effects, provider-limit pressure and recoverable worker failures.
At scale
- For this exercise, assume one recovery interval spans at most 7 days and includes up to 10 million fully completed document revisions plus 100 million success-log observations, which may contain duplicates.
- For this exercise, some documents require more than 500 signatures, while the authored policy still creates one completion notice to the designated owner.
- For this exercise, the provider permits 1000 combined status-query and dispatch calls per second and retains stable-key idempotency/status evidence for 30 days; workers must use bounded queues and retry budgets.
- For this exercise, target completion of one healthy bounded recovery pass within 8 hours after its frozen inputs and provider are available. Unknown effects or ineligible recipients remain explicitly unresolved or suppressed; the target is not a guarantee of end-user receipt through outages.