WorkIt 0.5.0 adds effective deadline introspection, shared retry admission budgets, and bounded attempt evidence.
Highlights:
- TaskContext.deadlineAt exposes the earliest effective deadline across scope and wrapper composition.
- RetryOpts.retryBudget limits additional attempts across sibling operations through the existing atomic scope budget.
- task:attempt records terminal evidence for each admitted outer retry invocation.
- @workit/core/replay adds bounded, secret-redacted attempt enrichment.
- @workit/core/time-policy can assess aggregate retry demand against runtime budget snapshots.
- Release publishing now requires a signed tag matching the package version.
Compatibility note: exhaustive TaskEvent consumers must add a case for task:attempt.
New articles:
- A Receipt For Async Work
- Plan Retries Before They Run
- A Terminal Activity Boundary After Restart
Validation: 375 tests, 100% statement/branch/function/line coverage, 22 evidence files, 19 article benchmarks, package-consumer fixtures, SBOM, vulnerability audit, size gates, signed-tag verification, and npm provenance.