/ docs · functional specification

The full platform
functional reference.

Every functional area of AI API Mapper documented at implementation depth so architects, security reviewers, and platform engineers can evaluate the product with real technical context.

Jobs Worker · Scheduling

Jobs Worker Scheduling Support

Purpose

This functional area manages recurring background work through the scheduler.

Main Capabilities

  • recurring job registration
  • scheduled workload triggering
  • scheduler health visibility

Functional Value

This area enables predictable maintenance and automation behavior without manual operator intervention.

Registered Recurring Jobs

Job Default schedule Purpose
data-lifecycle-retention Configurable cron Applies retention rules: expires stale device flow sessions, purges terminal sessions, deletes aged audit records and refresh token sessions.
stale-enrichment-run-reaper Every 5 minutes Re-queues semantic enrichment runs whose worker died without reporting an outcome, so they resume from their checkpoints; fails and releases those that cannot be recovered. See Jobs Worker Semantic Enrichment Processing.

The stale-enrichment-run reaper is registered independently of the data lifecycle configuration. Disabling retention does not disable recovery of interrupted enrichment runs, because the two address unrelated concerns.