Preparing your design workspace

Loading the problem and your latest saved attempt…

Signing Confirmation Loss Recovery

Recover confirmations after successful signing using typed signing and notification evidence, without mistaking document volume or absent logs for failed delivery.

Problem statement

The report describes an E-Sign service, a notification service and logs. After a faulty night, about half of users signed successfully but did not receive notifications. The E-Sign service has successful signed-document IDs, and the logs contain successful E-Sign requests.

Explain what those datasets can prove, how to recover missing notifications and how to prevent a recurrence. For this exercise, assume one confirmation is intended for the authorized signer after each successful signing event.

An authoritative signing-event and recipient-policy ledger can be obtained; if it cannot, report the evidence gap instead of inventing users from document IDs. Separate signing success, intended confirmation, provider handoff and recipient receipt.

Recover justified missing work under stable identities, preserve uncertain historical attempts, and recheck current recipient eligibility before a new send. Provider idempotency or status lookup must be established; absent those capabilities, expose the duplicate-versus-loss tradeoff.

Signature verification and invitations to people who have not signed are outside scope.

A second reported variant supplies a table containing millions of document IDs and logs of sent notifications, with failed notifications absent from those logs, and asks how to scale identification. Keep its notification observations separate from the first case's successful E-Sign requests.

Document IDs do not enumerate signing events, recipients or intended confirmation pairs, and the table is not assumed to contain only fully completed documents.

For this exercise, retain the existing per-successful-signing-event confirmation policy; the second source does not resolve that trigger against a notice after whole-document completion. The latter is a different recovery scenario.

For this exercise, use typed observations with their source, immutable input revision, recorded action, supported outcome boundary and any event/recipient/policy/provider-operation identity. E-Sign success proves signing only.

A notification-send observation supports handoff only when its validated meaning and identity establish that boundary; a coarse document-only or ambiguous sent record remains an evidence gap. Neither observation proves recipient receipt.

Build expected confirmation intents from authoritative events and policy, then compare them with compatible notification/attempt/provider evidence using bounded pages or partitions. Retain input coverage and late-data boundaries.

An absent success record, even in a complete closed range, is not proof of a failed external send and does not by itself authorize replay; provider or intent history must justify recovery, otherwise preserve uncertainty. Do not turn document count minus success-log count into a failed-notification count.

What to build

  1. An authorized operator can scope signing events and distinguish proved handoff, justified missing, uncertain, ineligible and evidence-gap confirmation work.
  2. Recovery conditionally resumes justified missing confirmations for currently authorized recipients without allocating new identities on retry.
  3. New signing events durably make intended confirmation work discoverable, and operators can inspect and reconcile missing or uncertain outcomes.

At scale

  • For this exercise, retain 1 million historical signing events and scope at most 200,000 eligible events within a 24-hour bug interval; existing signed-document IDs are not assumed to enumerate per-user events.
  • For this exercise, target justified recovery within 2 hours under a 100 handoffs/s provider budget, reserving live traffic capacity and revising feasibility when evidence or provider availability is insufficient.
  • For this exercise, persist attempt/intent and recovery progress for 30 days; retries and worker replacement may occur, while recipient authorization and policy can change.
  • For this exercise, successful signing state and its confirmation intent survive one instance failure. A provider handoff is not a claim that a recipient received or read a message.
  • The second report names millions of documents, not millions of failed notifications. For this exercise, assume a catalog of 2 million document IDs and up to 5 million typed success observations, each at most 256 bytes, with 128 MiB RAM per reconciliation worker. Preserve the existing 1 million retained signing-event and 200,000 scoped-event bounds separately; not every catalog document is a signed event or a missing confirmation. Use bounded pages or partitions rather than materializing the entire input in one worker.