WorkIt Receipts Turn Async Lifecycles Into Evidence

An async operation can return successfully while leaving an awkward question behind: what actually happened inside it?For a small function, the return value may be enough. For a provider call with retries, cancellation and cleanup, it is not. Operators need to know which attempts ran, why the operation stopped, whether cleanup timed out and whether owned work remained pending. WorkIt receipts preserve those lifecycle facts as data. import { run } from "@workit/core"; import { createReceiptRecorder } from "@workit/core/replay"; // Application-owned provider boundary. declare function callProvider(ctx: { signal: AbortSignal; }): Promise<{ answer: string }>; let observedScope; let recorder
…