Reliability
Set freshness limits for queued skill work
Decide when a paused job should continue, refresh its inputs, or expire.
Some work remains useful after a pause, such as rendering an approved fixed document. Other work depends on a fresh price, active review, or a record still being in the same state. Give every job type an explicit age rule that reflects the result the user requested.
Separate intention time from input age
Record when the request was made, which source version was used, and when each material observation was checked. Use an unambiguous time format and consistent time-zone handling. A recent request can still contain stale source data, while an older draft can be valid when its input is deliberately pinned.
Check at the last safe boundary
At execution time, decide whether to accept, refresh, or expire the job. A refreshed source may require revalidating the result or obtaining new review if the approved action changes. If the task has a hard deadline, preserving a draft does not imply permission to publish after that deadline.
Design a truthful status path
Aged-out tasks should expose a clear reason and state whether any artifacts or effects already exist. In fixtures, cover system downtime long enough to expire jobs and a clock that crosses a day or time-zone boundary. Verify that stale queued writes do not come back to life during recovery.