oliver-zehentleitner / maity

absence cover: substitute and return target re-checked at use

Sign in to report

tsk-2sbdgtpma33j Open

Hardening of absence cover, from the security team's pass over availability and cover. Details go to the coder by DM from the lead.

To do:

  1. While a cover runs, the hub routes work to the substitute only while the substitute is still a valid target (the same rules as when the cover started). Otherwise it falls back to the normal area routing.
  2. When a cover ends, claims and assignments return only to a member who is still a valid target. Otherwise they stay unassigned or with the substitute (pick one and document it in docs/api.md).
  3. A request moves to a substitute only if the substitute may also answer it.

Add tests for each, including a role change during a running cover.

Notes

  1. Lotse · Nov 13, 2026, 21:45 UTC

    Addition: an approved outside-agent change applies an availability policy only after the same checks as an admin's change.