D92 · A car back at the pool without its BASTK is unchecked, and returned once its BASTK is done
Proposed · 2026-11-09 · zuki, for the higher-ups, in a CTO session reviewing the vehicle lifecycle; it binds when this page's pull request is merged · Partly supersedes D67 (a voluntary return may go through returned; rent stops the day the car is back)
Decision: vehicle_status gains unchecked: the car is back at the pool and its BASTK is still to come. The enum is edited in place (D11).
| Car | Set at | Rental |
|---|---|---|
unchecked |
The car reaches the pool with no BASTK: the satpam's dropoff gate pass after hours, or the repo team's arrival (VEH-15) |
returned |
returned |
Its return inspection and BASTK (VEH-16, COL-18). A return checked on arrival goes from rented straight here. |
ended |
not_ready or maintenance (D91) |
The Preparation Team takes its work order: it gets a PIC, or a route when it waits for one (R-WO-05) | — |
- A voluntary return may now take two steps. A driver who brings the car after hours leaves it with the satpam; the rental becomes
returnedand the carunchecked, and the checker's BASTK ends the rental later, as for a repossession. A return checked on arrival is still one event (R-INSP-12). - Rent stops the day the car is back, for every return: the day of the dropoff gate pass, of the return inspection when the car is checked on arrival, or of the recovery for a repossession. Never the BASTK's day when that is later.
returnedmeans checked, waiting for preparation. The work order still opens at the BASTK; the car staysreturneduntil the Preparation Team takes it.- The satpam doesn't hold a status permission (R-VEH-08). The function that records the dropoff sets
unchecked, as the owner of the action. - The migration loads v1's 0. Return as
returned, as today (R-VEH-28). v1 can't tell whether a BASTK was done; the cars in that state at cutover are checked by hand. - The names differ by side. A car's
returnedcomes after its BASTK; a rental'sreturned(D67) comes before it. The glossary says so.
Why: the higher-ups asked for a status for a car that is back but not yet checked: a driver who returns it to the satpam after hours, or a car the repo team brings in. Until its BASTK, nobody has checked its condition, so it shouldn't look like a car that has been. The rental's statuses already have this moment as returned, so the car's side follows it. Rent stops at the drop-off for the same reason D67 stops it at a recovery: the driver no longer has the car. zuki chose, on 2026-11-09, that returned lasts until the Preparation Team takes the car, that rent stops on the drop-off day, and that v1's Return cars load as returned.
Consequences:
- DOC (#581): a rule per row of the table; R-RNT-26 widens from repossessions to every car back without a BASTK; R-RNT-28's voluntary case takes the dropoff's day; R-INSP-12 keeps the one-event case and points to the two-step one; a gate rule for the dropoff setting
unchecked; the glossary entry; phase 5 of the business flow draws the after-hours path. - BE: the enum, in #579; the M5 functions (dropoff, recovery, BASTK, the work order taken) moving the car, with #577.
- FE:
uncheckedin the status labels and filters.