D43 · Drivers gain the stages available and inactive
Accepted · 2026-10-15 · zuki · Partly superseded by D66 (a repossession, and what inactive means) and D79 (the stage available is removed)
Decision: driver_stage gains two values: available, a driver in good standing with no car (the flow's "Aktif" after a return), and inactive, a driver not accepted back after a rejoin request (DRV-26). When a rental's return starts, the driver's stage follows its reason: on leave → on_leave, resigned → resigned, suspended or PM → suspended, accident, breakdown or contract ended → available, repossessed → blacklisted (DRV-22, DRV-23). A blacklisted driver's NIK is refused at the queue, at lead registration and at booking (DRV-27). A queue ticket closes after MAX_QUEUE_MISS skips, and a NIK has at most one open ticket (DRV-02, DRV-05).
Why: V13 has no stage for a driver who returned a car through no fault of their own and may rent again, or for one who was refused after asking to come back. The sheet's mapping was an AI agent's call that the higher-ups didn't comment on, so it stands (D41).
Consequences:
- inactive is a resting stage. It doesn't lead to blacklisted by itself; blacklisting is a separate call for a problematic driver (zuki, 2026-10-15).
- Still open on #159: whether a repossession that never passes DRV-22 blacklists the driver, who blacklists and lifts a blacklist, what happens to a driver who never asks to rejoin, and the stage's Indonesian label.
- MAX_QUEUE_MISS becomes a pool setting, default 3, set by an admin.
- The enum values are added in BE pack G2, because the data phase maps v1's lead statuses onto the stages. The rules that move drivers between them are built in M3 (queue and rejoin) and M5 (returns).