D66 · A repossession makes a driver inactive, and inactive is the way back through rejoin
Accepted · 2026-10-20 · zuki · Closes #159 · Partly supersedes D43 (a repossession blacklists, and what inactive means) · Partly superseded by D73 (the data phase's drivers step) and D79 (the month applies to approved with no live rental; available is removed)
Decision: A repossession makes the driver inactive, not blacklisted. His repossession that reaches the organization's limit blacklists him. The limit is an organization setting, max_repossessions, which defaults to 2. A driver who stays available (D43: good standing, no car) for 30 days with no booked or active rental also becomes inactive. inactive now means can't rent again until the Driver Team takes him back through a rejoin request, whatever led there: a repossession, a month without a car, or a refused rejoin. A blacklist is set and lifted with driver:blacklist, which admin_driver, admin and super_admin hold (D63). A lifted driver becomes inactive.
Why: The higher-ups' answers on #159 (Syamsul Haris, 2026-10-19): "for repo, need to be inactive, but repeated activity of repo causing blacklisted"; "driver become inactive if status not assigned stay for month"; "only driver admin can lift up the blacklisted". zuki's choices on 2026-10-20: the limit is 2, as an organization setting; the month applies to available only, since a driver who is approved and waiting for a car is approved; admin and super_admin may lift a blacklist too; and v1's blacklisted drivers stay blacklisted. D43 had made a repossession blacklist at once and given inactive one way in, a refused rejoin.
Consequences:
- The stage changes when the car is back, at the repo BAST that closes the rental with reason repossessed (General Flow VEH-14). Opening a repo request (REP-01) changes no stage, because a request can fail and be queued again while the driver still has the car. R-DRV-21 is retired: a return with reason repossessed now makes the driver
inactive, orblacklistedwhen it reaches the limit. - The count comes from rental history: rentals of that driver ended with reason repossessed, the one just closed included, at any pool of the organization. No counter column. Lowering the setting doesn't blacklist anyone by itself; it applies at the next repossession.
- The month is counted from the day the stage became
available(stage_changed_at) by a daily job, and stops counting the day a rental is booked.on_leave,suspendedandresigneddon't turninactiveby themselves. - A rejoin request may come from
inactiveas well as fromavailable,on_leave,resignedandsuspended(General Flow DRV-24). Approved, the driver goes back to onboarding (DRV-17); refused, he stays or becomesinactive. Nothing blacklists an inactive driver by itself (R-DRV-23). Blacklisting is a repossession reaching the limit, or a call by a holder of driver:blacklist. - In the app,
availablereads "Aktif" andlistedreads "Listed" (D29). v1's "Aktif" covered both, and staff already know "Listed" from v1's onboarding status. - The data phase's drivers step:
- v1's Blacklist stays
blacklisted, even where a single repossession set it. The Driver Team lifts case by case. - A driver with a repossession in v1 who isn't blacklisted becomes
inactive. - A driver in good standing with no car becomes
available, and the 30 days start at cutover, not at his last return in v1. Otherwise many v1 drivers would turninactiveon the first Monday.
- v1's Blacklist stays
- Built: the setting and the stage change at the repo BAST in M5, with the rental lifecycle (#155); the daily job, rejoin from
inactiveand lifting a blacklist in M3, with the rejoin record (#156). The enum values are BE pack G2's (#212); this decision adds none.