Status: Observed (gap). Reconstructed.

Context

An allocation can carry an intended return date (AutoReleaseDate), set alongside a time-box (period + interval) when assigning — e.g. "loan this laptop for 3 months." The name implies the system will release the asset when the date arrives.

Observation

The field is persisted and surfaced in read models (formatted for the UI), but a code sweep found no scheduled job, worker, routine task, or endpoint that flips allocations to Released when AutoReleaseDate passes. Grep for AutoReleaseDate outside migrations/configs and for any asset-release routine returned nothing operational. Release only happens via the explicit Release_Asset / Release_Assets calls (a manual admin action).

Consequence / current behaviour

Options (if this becomes a requirement)

  1. Background worker — a daily job that releases allocations where AutoReleaseDate <= today and status is Assigned. (Matches the queue/worker pattern used elsewhere in the platform.)
  2. On-read lazy release — release when the allocation is next loaded past its date. Cheaper, but inconsistent (unread allocations never release).
  3. Leave manual — keep it a reminder; make the intent explicit in UI copy ("intended return date — release manually").

Recommendation: if the product wants true auto-release, option 1. Until then, document it as manual (done — see business §6, runbook §2).

Related

technical §4 · runbook §2.