Skip to content

RNT · Rentals and contracts

A rental links a driver to a car over time, with the rates frozen on it. A pending rental is waiting for a car. A return or a repossession runs before the rental ends: returning, or repossessing then returned, and the BASTK ends it (D67). Contracts hang off the rental: a new car or a renewal is a new contract, and a rate change starts a new rental. Code RNT.

These questions are open in #82. Each gets a rule with a new ID once it is answered.

  • RNT open 1 · Who reads rentals
  • RNT open 2 · Pending means paid?
  • RNT open 3 · Where a new rental's rates come from
  • RNT open 4 · Contract term
  • The data phase's rentals step (#302, written in #355 from BE-DP-34's tables of 2026-10-28). Counts only (D15). What the tables show and no decision covers, each with a proposal for the CTO:
    • What the 1,820 onboarding rows with a kontrak date and no contracts row mean. The date is a contract's start; v1's contracts table has 291 rows. Answered: they load their rental with starts_on read as in the date item below and no contract, as R-RNT-44 says; still open for zuki: whether a contract should exist for them, since the contracts may be on paper only.
    • The original assignment date (Listed 30). v1's original assignment has no column in rentals or contracts, and R-RNT-17 would make it a chain's first handover. The reconcile lists it until a step claims it or zuki signs it (R-MIG-10). For zuki. Booking, release and the deduction end are answered (R-RNT-62).
    • A driver at one pool and a car at another. Table 4 does not print it. The load does not call the booking function, so R-RNT-04 does not refuse it. Proposal: a row whose driver's pool differs from its car's home pool is listed as unmatched (R-MIG-04), never moved.
  • Is an amended contract a new row in v2? (D84, Open) v1 edits the current contract in place, which zuki calls wrong; R-RNT-70 keeps only the time of v1's last edit. For the contracts module, when its rules are next written; carried over from #405.
  • Training before handover is not checked or recorded until the training flow (DRV-19) is designed, after cutover (D64). Drivers are still trained in practice; driver_trainings stays in the schema, unused. R-RNT-19 is retired.
  • The rental lifecycle (#155): D67. Three statuses join V13's: returning, repossessing and returned; ended is the flow's Closed, set by the BASTK; pending, paused and cancelled stay. R-RNT-20 to R-RNT-31 and R-INSP-12 to R-INSP-14, R-MON-49 for the rent. R-RNT-01 and R-RNT-02 are replaced by R-RNT-20 and R-RNT-21, and retire in the pull request that moves their tests (#229).
  • How v1's onboarding rows load (#302, #355): by v1 status first (D69, R-RNT-32 to R-RNT-37); D78's cancelled for an Approve row whose driver is on leave or suspended, extended to every such driver by D82 and to every stage but approved by D83 (R-RNT-33); On Process loads no rental, and the 33 rate-history rows from activity_log are not used (the CTO on #302, 2026-10-28; R-RNT-37, R-RNT-43); no v1 rental is repossessing (zuki on #301, 2026-10-27: "1 accepted"; R-REP-10 opens zero on the copy).
  • The rentals step's open choices (#302, zuki 2026-10-29: "I'll go with your recommendation"):
    • Template and status of a migrated contract: the inactive placeholder stays, and the status follows the rental (R-RNT-54, R-RNT-55).
    • A contract's term: no invented 6; a contract with no validity in v1 loads with no term and is listed as "no term in v1" (R-RNT-61), until zuki gives it one (R-RNT-67).
    • A plate-only change in the rate history (253 rows of 877): no chain row; a row begins only at a change of the fee (R-RNT-41).
    • A rate change dated before the handover: not part of the chain and not carried; the first row starts at the handover with the fee in force then (R-RNT-41; zuki, 2026-10-29: "I accept your suggested rule").
    • Several rate changes on one day: one new row at the last rate of the day (R-RNT-59).
    • The history of a pending rental: not chained; one row at v1's current fee (R-RNT-41).
    • Booking, release and deduction end: signed as ignored (R-RNT-62).
    • kontrak_platform: signed as ignored if no step claims it (R-RNT-63). survey_type belongs to the drivers step (D79).
  • The Approve rows with an empty fee name, an empty frequency and the empty flag (#369, zuki 2026-10-29, as the CTO records):
    • The 33 Approve rows with no fee name (32 with no frequency either, and 1803 with a fee set and a frequency) are mostly from the data before v1, and whatever the lead's source (BE-DP-36's first run found "Migrasi data lama" on 1 of the 33): zuki, 2026-10-29: "Inactive, no rental, all 33". The drivers step makes the drivers inactive (R-DRV-55) and the rentals step loads no rental for them (R-RNT-64). zuki's "(b)" is read as accepting the empty tariff and frequency, not as loading a pending rental with empty values. For 1803, a resigned driver, zuki said "considered data before v1" and "just remove anything connected to it for now" (#369, 2026-10-29): the load carries nothing of the row into v2 beyond the driver the drivers step loads. v1 is not changed and the driver is not deleted.
    • Which tariff 1803 has is no longer asked: its row is not loaded.
    • An empty deduction_frequency on a loaded row is daily, a value_map row zuki signs, for a driver who left before v1 and rejoined: 1170 and 1990 (R-RNT-65). 2155's is empty too, and it loads nothing (R-RNT-66).
    • The Listed row with an empty deduction_stopped flag: "a deduction stopped", so the empty flag maps to paused (R-RNT-36); but zuki called that row an anomaly, and after a check in v1 found that the driver is not in a rental, it loads nothing and is ignored on purpose (zuki on #369, 2026-11-05; R-RNT-66).
  • v1's rate-change audit and contract columns (#302, #405): D84. They are kept as legacy_ columns, rentals.legacy_data and contracts.legacy_updated_at, which no app role writes; the changes the chain doesn't carry are counted in five kinds, not stored; both nama columns are signed as ignored (R-RNT-69 to R-RNT-73; R-RNT-43 amended). The fifth kind, for audit rows whose rental isn't loaded as an active chain: zuki on #405 (2026-11-02: "Add a 5th kind").
  • The company's daily cost in the data phase (#302): v1 holds no source for it, and v2 does not implement the cost or the margin yet. It loads as 0 and the reconcile counts it as "no source in v1" (zuki in a lead session, 2026-10-28; R-RNT-53).
  • A migrated contract's number and which rows get a contract (#302): the number is read from the contract's html as printed, and a rental with no contracts row gets no contract (zuki in a lead session, 2026-10-28; R-RNT-44, R-RNT-45). onboarding.kontrak is a date, not a number (BE).
  • v1's deduction end (#302): it is not carried into billing_ends_on, which stays empty on a booked, active or paused rental until a car comes back (zuki in a lead session, 2026-10-28: "go with the recommendation"; R-RNT-57, R-RNT-28, D67).
  • The details D67 left open (#228, 2026-10-20):
    • Where a return or a repossession starts: a return only from active; a repossession from active, or from returning when the driver never brings the car; a paused rental starts neither, and ends by its BASTK or goes back to active; booked and pending rentals are cancelled instead. zuki accepted the CTO's corrected recommendation (R-RNT-24, R-RNT-25, R-RNT-27, R-RNT-31).
    • What paused means: the driver no longer holds the car (zuki; R-RNT-30).
    • Where the return's reason lives: the rental's end_reason, set at returning or repossessing; the return inspection takes it (the CTO; R-RNT-24, R-RNT-25, R-INSP-14).
    • Where the recovery day is recorded: on the rental, as billing_ends_on (the CTO; R-RNT-28).
    • A repossessed car's inspection: the return inspection with its BASTK at the pool, not at the recovery (the CTO; R-INSP-13).

R-RNT-01 · A car has at most one live rental (booked, active or paused)

Section titled “R-RNT-01 · A car has at most one live rental (booked, active or paused)”
  • Status: built
  • Example: given a car booked for driver A, when it is booked for driver B, then it is refused.
  • Refusal: none: unique_violation (23505), from rentals_one_live_per_vehicle.
  • Who: every writer.
  • Source: D9 (P1); the M0 acceptance checks. Replaced by R-RNT-20 under D67; it retires in the pull request that moves its test there (#229).

R-RNT-02 · A driver has at most one live rental (pending, booked, active or paused)

Section titled “R-RNT-02 · A driver has at most one live rental (pending, booked, active or paused)”
  • Status: built
  • Example: given driver A with a pending rental, when a second rental is created for them, then it is refused.
  • Refusal: none: unique_violation (23505), from rentals_one_live_per_driver.
  • Who: every writer.
  • Source: D9 (P1); the M0 acceptance checks. Replaced by R-RNT-21 under D67; it retires in the pull request that moves its test there (#229).

R-RNT-03 · A rental's pool is its car's home pool at booking

Section titled “R-RNT-03 · A rental's pool is its car's home pool at booking”
  • Status: built
  • Example: given a car whose home pool is PML, when it is booked, then the rental's pool_id is PML, whatever pool the request gave.
  • Refusal: none: the pool is set, not refused.
  • Who: every writer.
  • Source: D9 (P5); the M0 acceptance checks.

R-RNT-04 · Booking refuses a car whose home pool differs from the driver's pool

Section titled “R-RNT-04 · Booking refuses a car whose home pool differs from the driver's pool”
  • Status: built
  • Example: given a driver at PML and a car at SBY, when the car is booked for them, then it is refused with the detail {"driver_pool_id": "…", "vehicle_pool_id": "…"}; the driver is transferred first.
  • Refusal: rental.cross_pool
  • Who: every writer.
  • Source: D9 (Q5, P5); the M0 acceptance checks.

R-RNT-05 · A pending rental with no car takes the driver's pool

Section titled “R-RNT-05 · A pending rental with no car takes the driver's pool”
  • Status: built
  • Example: given a driver at SBY who passes their virtual check, when their pending rental is created with no car, then its pool is SBY.
  • Refusal: none.
  • Who: every writer.
  • Source: [Ref] Database rules and conventions, Bookings.

R-RNT-06 · A rental without a car can only be pending or cancelled

Section titled “R-RNT-06 · A rental without a car can only be pending or cancelled”
  • Status: built
  • Example: given a pending rental with no car, when its status is set to booked, then it is refused.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Database rules and conventions, Bookings; [Ref] Data model V13: rentals.

R-RNT-07 · An ended rental has an end reason

Section titled “R-RNT-07 · An ended rental has an end reason”
  • Status: built
  • Example: given an active rental, when it is ended with no end_reason, then it is refused; ended with contract_ended, it is accepted.
  • Refusal: none: check_violation (23514).
  • Who: every writer, except for a row that a later row of its chain continues (D38): it ends without a reason, because the rental itself goes on (R-RNT-17).
  • Source: [Ref] Database rules and conventions, Bookings; [Ref] Data model V13: rentals; the chain exception: the CTO on #162 (BE pack G2's choice 2).

R-RNT-08 · App users can't change a rental's status directly; only database functions can

Section titled “R-RNT-08 · App users can't change a rental's status directly; only database functions can”
  • Status: built
  • Example: given an admin_fleet, when they update rentals.status from booked to active, then it is refused and the status stays booked.
  • Refusal: rental.status_locked
  • Who: every app user (authenticated). Database functions, jobs and the migration may.
  • Source: D9 (P9); [Ref] Database rules and conventions, Status and stage only through functions.

R-RNT-09 · A rental row keeps the driver daily rate it started with

Section titled “R-RNT-09 · A rental row keeps the driver daily rate it started with”
  • Status: planned
  • Example: given a rental row at Rp 150.000 a day, when its rent is billed, then each rent charge is Rp 150.000; a new rate starts a new row (R-RNT-10). The daily cost paid to the rental company changes by an admin's edit, as today.
  • Refusal: none.
  • Who: the booking function and the rent job.
  • Source: D38; #144 (rnt 09).

R-RNT-10 · When a pricing group's driver daily rate changes, each active rental in it ends that day and a new row at the new rate starts the next day

Section titled “R-RNT-10 · When a pricing group's driver daily rate changes, each active rental in it ends that day and a new row at the new rate starts the next day”
  • Status: built
  • Example: given an active rental at Rp 150.000 in a group whose rate changes to Rp 160.000 on 2026-10-14, then that row ends on 2026-10-14 and a new row at Rp 160.000 starts on 2026-10-15, pointing to the one before; the driver signs nothing new.
  • Refusal: none.
  • Who: the rate-change function (data phase, BE pack G2).
  • Source: D38; #144 (rnt 09; zuki's answer 1). Replaces "a rate change on renewal makes a new rental and contract". A rental that hasn't billed takes the new rate in place instead (R-RNT-22); one in return or repossession keeps its rate (R-RNT-23).

R-RNT-11 · A contract's admin fee stays as signed; an admin-fee change applies only to drivers who register after it

Section titled “R-RNT-11 · A contract's admin fee stays as signed; an admin-fee change applies only to drivers who register after it”
  • Status: planned
  • Example: given a contract signed with an admin fee of Rp 200.000, when the pricing group's admin fee changes to Rp 250.000, then the contract still reads Rp 200.000 and only new drivers are charged Rp 250.000. A contract states no daily rate.
  • Refusal: none.
  • Who: the booking function and the registration function.
  • Source: D38 (contracts.daily_rate is dropped); #144 (rnt 11; zuki's answer 1).

R-RNT-12 · A contract number is unique within the organization

Section titled “R-RNT-12 · A contract number is unique within the organization”
  • Status: built
  • Example: given a contract numbered by TOP, when a second contract with the same number is saved in the organization, then it is refused.
  • Refusal: none: unique_violation (23505).
  • Who: every writer.
  • Source: [Ref] Data model V13: contracts.

R-RNT-13 · A contract's term is a positive number of months

Section titled “R-RNT-13 · A contract's term is a positive number of months”
  • Status: built
  • Example: given a new contract, when term_months is saved as 0, then it is refused.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: [Ref] Data model V13: contracts.

R-RNT-14 · A rental is never deleted; it ends or is cancelled

Section titled “R-RNT-14 · A rental is never deleted; it ends or is cancelled”
  • Status: built
  • Example: given a super_admin, when they delete a cancelled rental, then nothing is deleted.
  • Refusal: none: no effect, as there is no delete policy.
  • Who: every app user.
  • Source: D9 (P13); [Ref] Roles, policy matrix.

R-RNT-15 · onboarding:read or booking:read at a rental's pool lets a user read the rental and its contracts

Section titled “R-RNT-15 · onboarding:read or booking:read at a rental's pool lets a user read the rental and its contracts”
  • Status: built
  • Example: given a viewer at PML, when they read rentals, then PML's rentals and their contracts come back.
  • Refusal: none: hidden without them.
  • Who: super_admin, admin, admin_driver, admin_fleet and viewer hold one of these.
  • Source: [Ref] Roles, policy matrix.

R-RNT-16 · Adding or changing a rental or a contract needs booking:write, onboarding:write or inspection:handover at its pool

Section titled “R-RNT-16 · Adding or changing a rental or a contract needs booking:write, onboarding:write or inspection:handover at its pool”
  • Status: built
  • Example: given a finance user at PML, when they edit a PML contract, then nothing changes; a checker at PML, who holds inspection:handover, may.
  • Refusal: none: insufficient_privilege (42501) on insert; no effect on update.
  • Who: super_admin, admin, admin_driver, admin_fleet and checker hold one of these.
  • Source: [Ref] Roles, policy matrix.

R-RNT-17 · The rows of one rental's chain count as one rental

Section titled “R-RNT-17 · The rows of one rental's chain count as one rental”
  • Status: planned
  • Example: given a rental that moved to a new row on 2026-10-15, when the next checkpoint, the billing day or the one-active-rental-per-car check is computed, then they continue from the first row's handover as if nothing changed.
  • Refusal: none.
  • Who: every function and view that reads rentals.
  • Source: D38 (rows chain).

R-RNT-18 · Booking a car for a blacklisted driver is refused

Section titled “R-RNT-18 · Booking a car for a blacklisted driver is refused”
  • Status: planned
  • Example: given a driver blacklisted after a repossession, when staff book a car for them, then it is refused and the car stays ready.
  • Refusal: driver.blacklisted
  • Who: the booking function (M4).
  • Source: D43; General Flow DRV-18, DRV-27.

R-RNT-19 · A handover is refused unless the driver has a passed onboarding training

Section titled “R-RNT-19 · A handover is refused unless the driver has a passed onboarding training”
  • Status: retired (D64: no training check until the training flow exists)
  • Example: given a booked driver whose only onboarding training is no_show, when their handover is recorded, then it is refused; a returning driver with an onboarding training passed in 2025 is handed over without training again.
  • Refusal: handover.training_required
  • Who: the handover function (M4).
  • Source: D44, superseded by D64; General Flow DRV-19 → DRV-20 (Data Constraints: the active guard).

R-RNT-20 · A car has at most one live rental: booked, active, paused, returning, repossessing or returned

Section titled “R-RNT-20 · A car has at most one live rental: booked, active, paused, returning, repossessing or returned”
  • Status: built
  • Example: given a car whose rental is returned (repossessed, back at the pool, its BASTK still to come), when it is booked for driver B, then it is refused; once that rental is ended, the booking goes through. A cancelled rental doesn't count.
  • Refusal: none: unique_violation (23505), from rentals_one_live_per_vehicle.
  • Who: every writer. A pending rental has no car (R-RNT-06).
  • Source: D9 (P1); D67 (every status from pending to returned is live). Replaces R-RNT-01.

R-RNT-21 · A driver has at most one live rental: pending, booked, active, paused, returning, repossessing or returned

Section titled “R-RNT-21 · A driver has at most one live rental: pending, booked, active, paused, returning, repossessing or returned”
  • Status: built
  • Example: given driver A whose rental is repossessing, when a pending rental is created for them, then it is refused; once the repossessed rental is ended, a new one is accepted (if their stage allows it).
  • Refusal: none: unique_violation (23505), from rentals_one_live_per_driver.
  • Who: every writer.
  • Source: D9 (P1); D67. Replaces R-RNT-02.

R-RNT-22 · When a pricing group's driver daily rate changes, a rental in it that hasn't billed yet takes the new rate in place, with no new row: a pending or booked rental, or a chain row that starts the next day

Section titled “R-RNT-22 · When a pricing group's driver daily rate changes, a rental in it that hasn't billed yet takes the new rate in place, with no new row: a pending or booked rental, or a chain row that starts the next day”
  • Status: built
  • Example: given a booked rental at Rp 150.000 in a group whose rate changes to Rp 160.000 on 2026-10-14, then that same row reads Rp 160.000 and no row is added; the same holds for a pending rental of a driver whose preferred model is in the group, and for a chain row made by an earlier change that day, which starts on 2026-10-15 (R-RNT-10).
  • Refusal: none.
  • Who: the rate-change function (BE). How a pending rental, which has no car, is found in the group is asked of BE on #162.
  • Source: D38; zuki on #212 and #162 (2026-10-20: booked and pending rentals take the new rate in place, as they never billed); D67; BE pack G2's choice 3 (a row that hasn't started).

R-RNT-23 · A returning or repossessing rental keeps its rate when its pricing group's rate changes, until it ends

Section titled “R-RNT-23 · A returning or repossessing rental keeps its rate when its pricing group's rate changes, until it ends”
  • Status: built
  • Example: given a rental returning at Rp 150.000 in a group whose rate changes to Rp 160.000 on 2026-10-14, then the row keeps Rp 150.000, no row is added, and its last rent charge is billed at Rp 150.000.
  • Refusal: none.
  • Who: the rate-change function (BE).
  • Source: D67 (Syamsul Haris on #155: a rental in return or repo keeps its last rate).

R-RNT-24 · A return starts only from an active rental, setting it to returning with the return's reason in its end_reason

Section titled “R-RNT-24 · A return starts only from an active rental, setting it to returning with the return's reason in its end_reason”
  • Status: planned
  • Example: given an active rental, when the driver's return is started with reason resigned (VEH-13), then the rental is returning with end_reason resigned, it is still billed (R-MON-49), and the car is still not free to book (R-RNT-20). Starting it with no reason is refused, and so is a return of a paused rental, whose driver has no car to bring (R-RNT-30); a booked or pending rental is cancelled instead.
  • Refusal: a key named by BE in M5, for a return with no reason or of a rental that isn't active.
  • Who: the return function (M5), with inspection:handover (R-INSP-09).
  • Source: D67 (returning is set at VEH-13, and return_reason is set there); General Flow VEH-13; the CTO's review on #228 (2026-10-20) (one column, the rental's existing end_reason, set at returning; no new column); zuki on #228 (2026-10-20) (a return starts only from active). R-RNT-07 still requires end_reason on every ended row.

R-RNT-25 · A repo request starts from an active rental, or from a returning one whose driver never brought the car, and sets it to repossessing with end_reason repossessed

Section titled “R-RNT-25 · A repo request starts from an active rental, or from a returning one whose driver never brought the car, and sets it to repossessing with end_reason repossessed”
  • Status: planned
  • Example: given an active rental whose driver Collection put to repo (COL-12), when the repo request is opened (REP-01), then the rental is repossessing with end_reason repossessed, rent is still billed until the car is recovered (R-RNT-28), and the driver's stage doesn't change yet (D66). A rental returning with reason resigned whose driver never brings the car goes to repossessing the same way, its end_reason now repossessed. A repo request for a paused rental is refused: its driver has no car to recover (R-RNT-30).
  • Refusal: a key named by BE in M5, for a rental that is neither active nor returning.
  • Who: the function that opens a repo request (M5), which opens the request in the same call (R-REP-06); the request's own rules are under Repossession (D71).
  • Source: D67; General Flow REP-01; D66 (opening a request changes no stage); the CTO's review on #228 (2026-10-20) (the reason is end_reason, set here); zuki on #228 (2026-10-20) (from active, or from returning when the driver never brings the car).

R-RNT-26 · A repossessed car back at the pool, with its BASTK still to come, sets the rental to returned

Section titled “R-RNT-26 · A repossessed car back at the pool, with its BASTK still to come, sets the rental to returned”
  • Status: planned
  • Example: given a rental repossessing, when the repo team brings the car to the pool on 2026-10-21 (VEH-14, VEH-15) and its BASTK is planned for 2026-10-23, then the rental is returned from 2026-10-21, it isn't billed (R-MON-49), and the car still can't be booked (R-RNT-20).
  • Refusal: none.
  • Who: the repo function (M5).
  • Source: D67 (returned: the car is back at the pool and its BAST is still to come); General Flow VEH-14, VEH-15.

R-RNT-27 · Only a BASTK ends a rental that is returning, returned or paused, with its end reason

Section titled “R-RNT-27 · Only a BASTK ends a rental that is returning, returned or paused, with its end reason”
  • Status: planned
  • Example: given a rental returning with reason resigned, when its return inspection and BASTK are recorded on 2026-10-20, then the rental is ended with end reason resigned, in one step; a returned repossession ends when its BASTK is recorded on a later day, with reason repossessed; a paused rental ends by its BASTK too. Setting any of them to ended without a BASTK is refused.
  • Refusal: a key named by BE in M5.
  • Who: the return and handover functions (M5), with inspection:handover (R-INSP-09). D66's stage change runs in the function that ends a repossessed rental.
  • Source: D67 (ended is the flow's Closed, set by the BAST; a voluntary return goes from returning to ended in one step); General Flow VEH-16, COL-18; zuki on #228 (2026-10-20) (a paused rental ends by its BASTK). A chain row's end is R-RNT-10's, not a BASTK's.

R-RNT-28 · A returned or repossessed rental's billing_ends_on is the day the car came back: the return inspection's day, or the day the repo team recovered it

Section titled “R-RNT-28 · A returned or repossessed rental's billing_ends_on is the day the car came back: the return inspection's day, or the day the repo team recovered it”
  • Status: planned
  • Example: given a voluntary return whose return inspection is on 2026-10-20, then billing_ends_on is 2026-10-20 and no rent is billed for 2026-10-21; given a repossession whose car is recovered on 2026-10-21 and whose BASTK is on 2026-10-23, then billing_ends_on is 2026-10-21, never 2026-10-23. The recovery's function sets it on the rental while it is still repossessing; the rental becomes returned when the car reaches the pool (R-RNT-26), which may be a later day.
  • Refusal: none.
  • Who: the return function, and the function that records the recovery (VEH-14), in M5, in the pool's date (R-CONV-10). The rental's billing_ends_on is the one record of the day; whatever the repo task keeps (#156) is extra.
  • Source: D67 (rent stops when the car is back, never at the BAST's day; Syamsul Haris on #155: for a repo, rent is cut at the repossession); the CTO's review on #228 (2026-10-20) (the recovery day is the rental's billing_ends_on).

R-RNT-29 · A paused rental records why it was paused

Section titled “R-RNT-29 · A paused rental records why it was paused”
  • Status: built
  • Example: given an active rental, when a function pauses it with no reason, then it is refused; the reason says what happened to the car, which the driver no longer holds (R-RNT-30). A v1 row in status Listed with deduction_stopped is migrated as paused with a reason saying it came from v1; a v1 row in status Approve becomes pending whatever the flag says (D69). While paused, it isn't billed (R-MON-49).
  • Refusal: none: a check on the rental, or a key named by BE.
  • Who: every writer. A rental is paused only by a step of a defined flow (R-RNT-08); no step in v2 pauses one yet, and the flow that needs it names its reason in a decision or a rule.
  • Source: D67 (paused stays, as the result of a flow and never its trigger, with a clear reason); the data phase's rentals step (v1's deduction_stopped), mapped by v1 status first (D69).

R-RNT-30 · A paused rental's driver doesn't hold the car

Section titled “R-RNT-30 · A paused rental's driver doesn't hold the car”
  • Status: planned
  • Example: given a rental paused because the driver gave the car up, when its status is read, then the car isn't counted as with the driver: no rent is billed (R-MON-49), the driver can't start a return or be repossessed for it (R-RNT-24, R-RNT-25), and the car still can't be booked by anyone else until the rental ends (R-RNT-20).
  • Refusal: none.
  • Who: every function that pauses a rental, and every reader of rental status. A repossessed car the repo team has recovered isn't paused: D67's own statuses carry it (R-RNT-28, R-RNT-26).
  • Source: zuki on #228 (2026-10-20) (paused is used so that a driver is never charged rent when they no longer hold the car); D67 (a paused rental isn't billed). It adds what D67 left unstated and contradicts nothing in it (the CTO on #228).

R-RNT-31 · A paused rental goes back to active only when its driver takes the car again

Section titled “R-RNT-31 · A paused rental goes back to active only when its driver takes the car again”
  • Status: planned
  • Example: given a paused rental, when the driver takes the car back, then the rental is active again and rent is billed from that day (R-MON-49); without the driver taking the car, a paused rental ends only by its BASTK (R-RNT-27).
  • Refusal: a key named by BE, for setting a paused rental active without the car going back to the driver.
  • Who: the function of the flow that paused it (R-RNT-29).
  • Source: zuki on #228 (2026-10-20) (a paused rental ends by its BASTK, or goes back to active if the driver takes the car again); D67.

The rules below are for the step that loads v1's onboarding rows as rentals and contracts (#302), written from BE-DP-34's tables on the v1 copy of 2026-10-28. The counts describe the copy that day; the step applies each rule to whatever v1 holds on the night it runs. The step runs after the drivers step, writes through the migration machinery (Migration) and bills nothing.

R-RNT-32 · The migration loads a v1 onboarding row in Approve as a pending rental when its driver is approved, whatever its deduction_stopped flag says

Section titled “R-RNT-32 · The migration loads a v1 onboarding row in Approve as a pending rental when its driver is approved, whatever its deduction_stopped flag says”
  • Status: planned
  • Example: given v1 onboarding rows in Approve, 729 with deduction_stopped true and 29 with it empty, when the rentals step runs, then each loads as a pending rental with no car if its driver is approved (R-RNT-33 gives cancelled for any other stage), and none is paused. The flag plays no part in Approve's mapping, so an empty one is not an unmapped value here (R-RNT-36 is Listed's).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: D69 (zuki on #155: "approve → pending"); BE-DP-34, table 1, on #302. D78, D82 and D83 change the rows of a driver who is not approved (R-RNT-33).

R-RNT-33 · An Approve row loads as pending only for an approved driver, and as cancelled for any other stage; the reconcile lists one line for each stage

Section titled “R-RNT-33 · An Approve row loads as pending only for an approved driver, and as cancelled for any other stage; the reconcile lists one line for each stage”
  • Status: planned
  • Example: given a v1 onboarding row in Approve, when the drivers step has put its driver on approved, then the row loads as a pending rental (R-RNT-32); when they are on any other stage (on_leave, suspended, blacklisted, resigned or inactive), then it loads as a cancelled rental with no car, so that a driver who is not approved cannot book a car on the first Monday. This holds for every such driver, repossessed or not (D82, D83), and the 33 rows of R-RNT-64 load no rental at all. On the copy of 2026-10-29, BE-DP-36's first full run loaded 652 cancelled rentals: 275 for drivers on on_leave, 22 on suspended, 294 on blacklisted and 61 on resigned, and 70 pending (derived from the run, BE confirms); D78's 5 repossessed drivers on leave are among the cancelled. The reconcile's rentals cancelled check prints one line for each driver stage with its count, not one for each row: k is the stage, v is "N rentals cancelled for a driver on (D83)", because 652 rows are too many to sign one by one. zuki signs the stage lines (R-MIG-06), and the rows are found by a query. A signed line is the expected count, not an error. They come back through a rejoin request (R-DRV-33).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), reading the stage the drivers step set.
  • Source: D78 (zuki on #310, 2026-10-27: "go with (a)"), an exception to D69; D82 (zuki on #302, 2026-10-29: "(a)"), which extends it to every driver on leave or suspended; D83 (zuki on #302, 2026-10-29: "Cancelled, like D82", after the first full run loaded 355 pending rentals for blacklisted and resigned drivers), which gives every stage but approved the same answer. cancelled holds no car (rentals_car_unless_pending), and the reason it came from v1 is the reconcile's line, not a column.

R-RNT-34 · The migration loads a v1 onboarding row in Booked as a booked rental with the car its plate names

Section titled “R-RNT-34 · The migration loads a v1 onboarding row in Booked as a booked rental with the car its plate names”
  • Status: planned
  • Example: given v1 onboarding rows in Booked, all 20 with a plate that finds a car, when the rentals step runs, then 20 booked rentals load, each on that car and with that driver; the car's pool is the rental's pool (R-RNT-03).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), through value_map (R-MIG-02).
  • Source: D67 (booked stays); BE-DP-34, tables 1 and 3, on #302.

R-RNT-35 · The migration loads a v1 onboarding row in Listed with deduction_stopped false as an active rental with the car its plate names

Section titled “R-RNT-35 · The migration loads a v1 onboarding row in Listed with deduction_stopped false as an active rental with the car its plate names”
  • Status: planned
  • Example: given v1 onboarding rows in Listed with deduction_stopped false, 1,526 on the copy, each with a plate that finds a car, when the rentals step runs, then 1,526 active rentals load, each on that car and with that driver. The 2 Listed rows with the flag true load as paused (R-RNT-29), and the 1 with it empty is R-RNT-36's.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), through value_map (R-MIG-02).
  • Source: D67; D69 (Listed with deduction_stopped is paused, so without it Listed is the rental the driver holds); BE-DP-34, tables 1 and 3, on #302.

R-RNT-36 · A v1 Listed row whose deduction_stopped flag is empty has no mapping, so the run stops until zuki maps it; zuki's answer maps it to paused

Section titled “R-RNT-36 · A v1 Listed row whose deduction_stopped flag is empty has no mapping, so the run stops until zuki maps it; zuki's answer maps it to paused”
  • Status: planned
  • Example: given 1 Listed row with the flag empty and no value_map row for it, when the unmapped values are read, then they list the field, Listed with an empty flag, and 1 row, and every step is refused; the row is never loaded as active or paused by guess. Once zuki maps it, in a pull request, the steps run. zuki has answered ("a deduction stopped"): the value_map row maps Listed with an empty flag to paused, signed in that pull request. The one row it covers, 2155, loads nothing (R-RNT-66).
  • Refusal: migration.unmapped_values (R-MIG-02).
  • Who: the migration machinery, for the rentals step's value fields.
  • Source: D69 (a row whose flag is empty is an unmapped value in the reconcile, never guessed); R-MIG-02; BE-DP-34, table 1; zuki on #369 (2026-10-29).

R-RNT-37 · A v1 onboarding row in On Process loads no rental and no contract, and the reconcile counts it as mapped with no rental

Section titled “R-RNT-37 · A v1 onboarding row in On Process loads no rental and no contract, and the reconcile counts it as mapped with no rental”
  • Status: planned
  • Example: given 133 On Process rows, none with a plate, an assignment date or a contract end, 34 of them carrying a kontrak date, when the rentals step runs, then no rental loads for them and no contract, since a contract belongs to a rental. The unmapped values do not list On Process, and the driver's stage stays the one the drivers step set (on_process, D73). Check 2 (R-RNT-52) reads Approve 758, Booked 20, Listed 1,529 and On Process 133 against pending and cancelled, booked, active and paused, and none.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: the CTO on #302 (2026-10-28, settled from D67 and D73: pending is "approved, no car yet", and On Process is earlier than Approve); BE-DP-34, tables 1 and 3. zuki can overrule it on #302.

R-RNT-38 · A loaded v1 row with an empty rental fee name is an unmapped value, never given a rate

Section titled “R-RNT-38 · A loaded v1 row with an empty rental fee name is an unmapped value, never given a rate”
  • Status: planned
  • Example: given a loaded onboarding row whose rental fee name is empty, when the unmapped values are read, then they list the field, the empty name and how many rows hold it, and every step is refused, even when the row has a fee set; once zuki gives each row its tariff in v1, or maps it, the steps run. On the copy, 34 rows had an empty name (Approve 33, Listed 1); the 33 Approve rows with an empty fee name (R-RNT-64, 1803 among them) and the Listed row 2155 (R-RNT-66) are not loaded rows, so no loaded row remains in this case and the rule stops the run for none of them. Derived from #369's lists; BE confirms. The 133 On Process rows have an empty name too, but load no rental (R-RNT-37). A name that is a tariff in rentalFees maps to its pricing group.
  • Refusal: migration.unmapped_values (R-MIG-02).
  • Who: the migration machinery, for the rentals step's value fields.
  • Source: the CTO on #302 (2026-10-28: unmapped values for zuki to review, never defaulted); D69; BE-DP-34, table 2. Amended by zuki on #369 (2026-10-29): the 33 rows of R-RNT-64 are out of scope.

R-RNT-39 · A loaded v1 row with an empty deduction_frequency is an unmapped value, never defaulted to daily by the code; zuki's value_map row maps it to daily

Section titled “R-RNT-39 · A loaded v1 row with an empty deduction_frequency is an unmapped value, never defaulted to daily by the code; zuki's value_map row maps it to daily”
  • Status: planned
  • Example: given 2,272 rows with deduction_frequency Daily and 168 with it empty (35 of them on loaded rows: Approve 34, Listed 1), when the rentals step is about to run, then Daily maps to the daily billing_frequency, and a loaded row with it empty is listed as an unmapped value (field, empty, how many rows) and stops the steps until zuki maps it, however much the other 2,272 look like Daily. The 32 rows with an empty frequency among the 33 of R-RNT-64 are not loaded rows, so of the 35, 3 remain: 1170 and 1990, which load, and 2155, which loads nothing (R-RNT-66). zuki has answered that an empty frequency on a rejoined old driver is daily (R-RNT-65), and that answer is a value_map row, not a default in the code. Derived from #369's lists; BE confirms.
  • Refusal: migration.unmapped_values (R-MIG-02).
  • Who: the migration machinery, for the rentals step's value fields.
  • Source: the CTO on #302 (2026-10-28); D69; BE-DP-34, table 6; zuki on #369 (2026-10-29).

R-RNT-40 · A migrated rental keeps the driver daily rate v1 holds for its row, as a frozen rate

Section titled “R-RNT-40 · A migrated rental keeps the driver daily rate v1 holds for its row, as a frozen rate”
  • Status: planned
  • Example: given a loaded row whose fee is Rp 150.000 a day, when the rentals step runs, then the rental's driver_daily_rate is Rp 150.000; the pricing group's rate today never replaces it (R-RNT-09). The company's daily cost is R-RNT-53's.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: D38 (a rental row keeps the rate it started with); R-RNT-09; the CTO's brief on #302. BE found no company cost in v1 (2026-10-28).

R-RNT-41 · The migration turns the rate history of a rental it loads as active into a chain of rental rows, one for each rate paid, never one row at today's rate; a change of the plate alone is no row

Section titled “R-RNT-41 · The migration turns the rate history of a rental it loads as active into a chain of rental rows, one for each rate paid, never one row at today's rate; a change of the plate alone is no row”
  • Status: planned
  • Example: given a driver whose rate history shows their fee went from Rp 150.000 to Rp 160.000 on 2026-10-14 (in the pool's date, R-CONV-10), when the rentals step runs, then their rental has two rows: the first from their handover to 2026-10-14 at Rp 150.000, ended with no end_reason because a later row continues it (R-RNT-07); the second from 2026-10-15 at Rp 160.000, in the status their v1 row maps to, pointing to the first (rentals_previous_unique). A driver with no rate change has one row, no chain. A fee change dated before the rental's handover (its assignment date, in the pool's date) is not part of the chain and is not carried: the first row starts at the handover with the fee in force then, which is the fee after the last change before the handover, or the fee before the first change when none is before it; only changes on or after the handover make rows. The reconcile's rentals rate history print says how many drivers had changes set aside before the handover and how many changes ("N drivers with M changes before the handover not carried"). Only the chain's ended rows carry a billing_ends_on, the day the rate changed; the live row's stays empty (R-RNT-57). A change of the plate with the fee unchanged begins no row, and the rental loads with the car v1 holds today: of the 877 rows, 253 change the plate only and make none. A rental loaded as anything but active is not chained: a pending rental loads as one row at v1's current fee and its audit rows are not chained (on the copy, 477 drivers with an Approve row appear in the history, 461 of them with a fee change, and no Booked driver appears; none of them is chained). The history is v1's v_rental_fee_audit, and only the rows where the fee changed make a row: on the copy, 624 of 877 rows, from 844 bills_archive rows, between 2026-08-29 and 2026-10-21; of the drivers with a fee change (578 of the 758 in the history), the step's chained_drivers counts the ones that load as active and chain: 98 on the copy of 2026-10-29 (101 drivers with changes, less 3 whose changes net to zero that day) and 112 on the copy of 2026-11-02 (answered on #302 and #398, Q-04c). These are a night's figures from the copy named, not a rule: they move with v1.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: D38 (rows chain; the data phase maps v1 onto chains); R-RNT-10; BE's count of v_rental_fee_audit on #302 (2026-10-28). A chain has one more row than the driver has fee changes. The driver_id in the history is the v1 lead id (BE). The changes before the handover: zuki on #302, 2026-10-29: "I accept your suggested rule" (the earlier changes belong to the approval, not to a rental that had not started). Plate-only changes and pending rentals: zuki on #302 (2026-10-29: a chain row begins only at a change of the fee; a pending rental is not chained); a pending rental has no car and has never billed (R-RNT-22, R-RNT-06).

R-RNT-42 · A driver whose chain doesn't hold together is listed as unmatched by v1 driver id, and their chain is never filled in by picking a row

Section titled “R-RNT-42 · A driver whose chain doesn't hold together is listed as unmatched by v1 driver id, and their chain is never filled in by picking a row”
  • Status: planned
  • Example: given a driver whose rate history leaves a gap (a change that starts from a fee no earlier row ended at), or whose last rate differs from the fee on their v1 onboarding row today, the changes before the handover (R-RNT-41) being set aside first, the changes at one identical timestamp being ordered first by walking back from the fee on the row today, a tie no change fits keeping the fee order (R-RNT-59; SOL-15), when the rentals step runs, then migration.unmatched lists them against the run with the step, the v1 table, their v1 driver id and the reason, and no row of their chain loads (R-MIG-04); the CTO is asked, and nobody picks a row to close the gap.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: the CTO on #302 (2026-10-28); D38; D18 (zero means zero unexplained differences). On the copy of 2026-10-29, the first full run left 3 drivers unmatched with a last rate that isn't today's fee (the ledger's LED-RNT-07); they stay so until zuki looks at them.

R-RNT-43 · The 33 rate-history rows that come from activity_log are not used, and the reconcile prints them as ignored on purpose

Section titled “R-RNT-43 · The 33 rate-history rows that come from activity_log are not used, and the reconcile prints them as ignored on purpose”
  • Status: planned
  • Example: given 877 rows in v_rental_fee_audit, 844 from bills_archive and 33 from activity_log, when the rentals step runs, then the chain is built from the 844 only, and the rentals rate history check counts the 33 as its first kind ignored on purpose (R-RNT-72), so that the kinds and the rows used add up to the 877 on the copy of 2026-10-29. The migration doesn't carry activity_log. v2's audit log starts at cutover (build/cutover.md, step 2); v1's rate-change audit is kept as rentals.legacy_data (R-RNT-69), read-only v1 data and not an audit entry.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: zuki on #324 (2026-10-28), as the CTO records on #302; BE's count of v_rental_fee_audit. If a chain needs one of the 33 to be whole, R-RNT-42 lists the driver. Amended by D84: the audit is no longer "not carried"; the chain rows' audit rows are kept as legacy_data.

R-RNT-44 · A migrated contract's number is read from the html of v1's contract and kept exactly as written; a rental with no contracts row gets no contract

Section titled “R-RNT-44 · A migrated contract's number is read from the html of v1's contract and kept exactly as written; a rental with no contracts row gets no contract”
  • Status: planned
  • Example: given a v1 contracts row whose html prints "No. AAA/AAA/9999/9999", when the rentals step loads its rental, then the rental has one contract whose number is that text after "No.", character for character, with no case change and no reformatting into the format a contract made in v2 gets (R-NUM). A rental in a chain (R-RNT-41) has its contract on the row that is live today. A loaded rental whose onboarding row has a kontrak date but no contracts row (1,820 such onboarding rows on the copy) loads with no contract: no number is made up and no contract is invented from the date. A contracts row whose onboarding row loads no rental (R-RNT-37, R-RNT-47) loads no contract either; 291 contracts rows exist on the copy, so 291 is the most the step loads.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: zuki in a lead session, 2026-10-28 (parse the number from contracts.html); the CTO's brief on #355 ("a contract keeps v1's number as written, one per rental"); R-NUM (numbering applies to contracts made in v2); BE on #355, 2026-10-28 (the number follows "No." in all 291 rows in the shape AAA/AAA/9999/9999; onboarding.kontrak is a date). The step reads what BE reported and no other pattern.

R-RNT-45 · A v1 contract with no parseable number, or with a number that another contract shares, is listed as unmatched by v1 contract id, never defaulted or picked between

Section titled “R-RNT-45 · A v1 contract with no parseable number, or with a number that another contract shares, is listed as unmatched by v1 contract id, never defaulted or picked between”
  • Status: planned
  • Example: given a contracts row whose html prints no number after "No.", when the rentals step runs, then no contract loads for it and migration.unmatched lists it against the run with the step, the v1 table, its v1 contract id and the reason (R-MIG-04); given two contracts that print the same number, then neither loads and both are listed, each by its own id, instead of one being refused by the unique number (R-RNT-12), renumbered or chosen. The 291 numbers on the copy are all distinct, so a clean night lists nothing.
  • Refusal: none: the number's unique_violation (23505) is what the step avoids.
  • Who: the migration's rentals step (data phase row 5).
  • Source: zuki in a lead session, 2026-10-28; R-RNT-12; R-MIG-04; BE on #355, 2026-10-28 (0 duplicates in 291).

R-RNT-46 · Each migrated contract gets the same v2 id on every run, and is registered in id_map by its v1 onboarding id

Section titled “R-RNT-46 · Each migrated contract gets the same v2 id on every run, and is registered in id_map by its v1 onboarding id”
  • Status: planned
  • Example: given the onboarding row 1042 with a contract, when tonight's run and tomorrow's rebuilt run each load its contract, then both give it the same id, and id_map holds the entity contract with key 1042, so the photo copy attaches v1's driver folder contract files (63 of the 291 rows in v1's contracts table name a file) to it (R-MIG-07).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: R-MIG-03; BE's brief on #302 (data phase pack R6).

R-RNT-47 · A v1 row whose lead is missing or deleted is listed as unmatched, and loads no rental

Section titled “R-RNT-47 · A v1 row whose lead is missing or deleted is listed as unmatched, and loads no rental”
  • Status: planned
  • Example: given 4 onboarding rows that belong to a deleted lead, when the rentals step runs, then no rental loads for them, and migration.unmatched lists each against the run with the step, the v1 table, its key and the reason (R-MIG-04); the drivers step has no driver to give them.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: R-MIG-04; R-DRV-41 (a lead the drivers step doesn't load is no driver); BE-DP-34, table 4.

R-RNT-48 · A car or a driver that two live v1 rows claim is listed as unmatched on both rows, never resolved by picking one

Section titled “R-RNT-48 · A car or a driver that two live v1 rows claim is listed as unmatched on both rows, never resolved by picking one”
  • Status: planned
  • Example: given two onboarding rows in Listed with the same plate, when the rentals step runs, then neither loads, and migration.unmatched lists both against the run, each with its v1 key and the reason "car on two live rows"; the same holds for one driver on two live rows. A live row with no plate that is not Approve, or a plate that finds no car or two, is listed the same way. Table 4 of BE-DP-34 shows none of these on the copy, so a clean night lists nothing.
  • Refusal: none: the unique_violation (23505) of rentals_one_live_per_vehicle and rentals_one_live_per_driver (R-RNT-20, R-RNT-21) is what the step avoids.
  • Who: the migration's rentals step (data phase row 5).
  • Source: the CTO's brief on #302 (check 4: "a clash is unmatched, never resolved by picking one"); R-RNT-20, R-RNT-21; D18.

R-RNT-49 · The rentals step never changes a driver's stage, and a rental that disagrees with the stage is a reconcile row

Section titled “R-RNT-49 · The rentals step never changes a driver's stage, and a rental that disagrees with the stage is a reconcile row”
  • Status: planned
  • Example: given a driver the drivers step put on inactive while a Listed row loads them an active rental, when the reconcile runs, then it lists the driver and the rental by v1 id; the step leaves their stage as it is. The stages are the drivers step's (D73, D78, D79, R-DRV-37): a driver who holds a car again in v1 takes the stage their rental gives them there, and an On Process driver stays on_process (R-RNT-37). The pairs that agree are pending with approved, booked with booked, active or paused with listed, and cancelled with any stage that is not approved (R-RNT-33). The first full run of BE-DP-36 on the copy of 2026-10-29 found 355 lines: 294 pending rentals of blacklisted drivers and 61 of resigned drivers; after D83 it finds none from this cause (derived, BE confirms).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: the CTO's brief on #302 and #355; D73, D79; D83.

R-RNT-50 · The rentals step bills no rent and fires no trigger

Section titled “R-RNT-50 · The rentals step bills no rent and fires no trigger”
  • Status: planned
  • Example: given the step has loaded 1,526 active rentals, when the money step has not yet run, then there is no rent charge for them, since rent comes from v1's bills in the money step; the audit log holds one "migrated" entry for each table the step wrote, not one for each row (R-AUD-15, R-AUD-16).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: D52 (the load writes the audit log once per table); the CTO's brief on #302; R-MON-49 (rent is billed from active; the load bills none).

R-RNT-51 · The reconcile compares the active rentals car by car with v1's Listed rows, counting a chain as one

Section titled “R-RNT-51 · The reconcile compares the active rentals car by car with v1's Listed rows, counting a chain as one”
  • Status: planned
  • Example: given v1 rows in Listed with deduction_stopped false, when the reconcile runs, then for each car it checks that v2 has an active rental with the same driver; a car with a different driver, or with none, is listed under the check, once; a car whose rental is a chain of three rows counts once (R-RNT-17). A clean night lists nothing.
  • Refusal: none.
  • Who: the reconcile, as a check the rentals step adds (R-MIG-05).
  • Source: the plan's check for this step; D38 (the "active rentals, car by car" reconcile counts a chain as one); D18.

R-RNT-52 · The reconcile compares rentals per status with v1's onboarding rows per status, through value_map

Section titled “R-RNT-52 · The reconcile compares rentals per status with v1's onboarding rows per status, through value_map”
  • Status: planned
  • Example: given the copy of 2026-10-29, when the reconcile runs, then Approve 758 reads as pending plus cancelled (R-RNT-32, R-RNT-33, D83) as 70 pending plus 652 cancelled (275 on_leave, 22 suspended, 294 blacklisted, 61 resigned), plus the 33 rows with an empty fee name and no rental, which are ignored on purpose (R-RNT-64), plus any row listed as unmatched (the 33 are not among them): 758 - 70 - 652 - 33 leaves 3 unmatched. These counts are derived from BE-DP-36's first full run, which read pending 425 (355 of them for blacklisted and resigned drivers, which D83 turns to cancelled, leaving 70), cancelled 297 (so 652 after D83), unmatched 3 and 33 ignored by the code of #387; BE confirms. An earlier run with a stand-in for R-RNT-64 had read unmatched 35, 32 of them rows with an empty fee name that the rule moves to ignored; Booked 20 as booked, Listed 1,529 as active 1,526 and paused 2 (the third is 2155, which loads nothing and is counted as ignored on purpose, R-RNT-66), and On Process 133 as no rental (R-RNT-37); a count that differs is listed under the check, less the rows already listed as unmatched (R-RNT-47, R-RNT-48), and a chain counts as one rental (R-RNT-17).
  • Refusal: none.
  • Who: the reconcile, as a check the rentals step adds (R-MIG-05).
  • Source: the CTO's brief on #302 (check 2 and the 2026-10-28 ruling on On Process); BE-DP-34, table 1; D18.

R-RNT-53 · A migrated rental's company_daily_cost loads as 0, a placeholder and not a cost, and the reconcile prints how many rentals have "no source in v1"

Section titled “R-RNT-53 · A migrated rental's company_daily_cost loads as 0, a placeholder and not a cost, and the reconcile prints how many rentals have "no source in v1"”
  • Status: planned
  • Example: given 1,526 active rentals loaded, when the rentals step runs, then each has company_daily_cost 0, and the reconcile prints "company_daily_cost: no source in v1" with the count of rentals loaded (every row of the step, chain rows included), so the number is seen and never taken for a cost. A report, a margin or a payout to a rental company must not read a migrated 0 as what the company pays; nothing reads it before payouts exist (D38; R-MON-32 is not in use). The step does not take the car's rental_fee or the pricing group's rate for it.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05). The vehicles step's cars take the same 0 for their cost (zuki, same day); no vehicles rule says so yet.
  • Source: zuki in a lead session, 2026-10-28 (v1 has no field for it, as BE found on #355; v2 implements neither the cost nor the margin yet); D38 (the cost is not part of the rate decision); R-RNT-40.

R-RNT-54 · A migrated contract carries one inactive placeholder template, "Kontrak dari v1", written only when a contract loads

Section titled “R-RNT-54 · A migrated contract carries one inactive placeholder template, "Kontrak dari v1", written only when a contract loads”
  • Status: planned
  • Example: given 100 contracts load, when the rentals step runs, then contract_templates holds one template named "Kontrak dari v1", platform gojek, belonging to the organization's first legal entity by code, with is_active false, and all 100 contracts point to it; on a night with no contract to load, no template is written. Its id is the same on every run (R-MIG-03). It stands for v1's document, which the photo copy keeps as a file, so staff cannot pick it for a new contract.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: BE's choice in #368, signed by zuki on #302 (2026-10-29: keep the placeholder; v1's document is kept as a file by the photo copy); R-MIG-03.

R-RNT-55 · A migrated contract's status follows its rental: active for an active or paused rental, signed for a pending or booked one, terminated for a cancelled one

Section titled “R-RNT-55 · A migrated contract's status follows its rental: active for an active or paused rental, signed for a pending or booked one, terminated for a cancelled one”
  • Status: planned
  • Example: given a loaded active rental with a contract, when the step runs, then the contract is active; a paused rental's too; given a pending or booked rental, then signed; given a cancelled rental (R-RNT-33's 652 on the copy of 2026-10-29, D83), then terminated. A rental in a chain (R-RNT-41) has its contract on the live row.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: BE's choice in #368, signed by zuki on #302 (2026-10-29; v1's contracts table holds no status, and nothing reads the contract's status before M4).

R-RNT-56 · A migrated contract starts on v1's kontrak date, else on the day the contract was saved, else on the day its onboarding row was made

Section titled “R-RNT-56 · A migrated contract starts on v1's kontrak date, else on the day the contract was saved, else on the day its onboarding row was made”
  • Status: planned
  • Example: given an onboarding row with kontrak 2026-03-02, when its contract loads, then effective_on is 2026-03-02; given a row with no kontrak date and a contract saved on 2026-04-10, then 2026-04-10; given neither, the day the onboarding row was created. Days are the pool's date (R-CONV-10); the contract's ends_on is the rental's contract end.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: BE's choice in #368, pending zuki (the lead named the first two; the third is in the step's code). onboarding.kontrak is a date (BE on #355).

R-RNT-57 · A pending or cancelled migrated rental carries no car and no dates; a booked, active or paused one carries v1's assignment and contract end, and its billing_ends_on stays empty

Section titled “R-RNT-57 · A pending or cancelled migrated rental carries no car and no dates; a booked, active or paused one carries v1's assignment and contract end, and its billing_ends_on stays empty”
  • Status: planned
  • Example: given a pending or cancelled rental, then its starts_on, ends_on and billing_ends_on are empty, whatever dates v1's row holds (456 Approve rows carry a contract end). Given an active row assigned on 2026-05-10 with a contract end of 2027-05-09 and a deduction end of 2027-04-30, then the rental's starts_on is 2026-05-10 and ends_on 2027-05-09, its billing_ends_on is empty, and the deduction end is stored nowhere; the same holds for booked and paused. Billing_ends_on is set only when a car comes back (R-RNT-28). In a chain (R-RNT-41) the ended rows before the live one end on the day the rate changed, with billing_ends_on that day, and the live row's billing_ends_on is empty. An empty date stays empty, never filled.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: BE's choice in #368, amended by zuki in a lead session, 2026-10-28 ("go with the recommendation": the deduction end is not carried into billing_ends_on); R-RNT-06 (a rental without a car holds none); R-RNT-28; D67.

R-RNT-58 · A booked, active or paused row whose contract ends before its assignment is listed as unmatched, and loads no rental

Section titled “R-RNT-58 · A booked, active or paused row whose contract ends before its assignment is listed as unmatched, and loads no rental”
  • Status: planned
  • Example: given an active row assigned on 2026-05-10 whose contract end is 2026-05-01, when the rentals step runs, then migration.unmatched lists it by its onboarding id with the reason "its contract ends before it starts" (R-MIG-04), and no rental or contract loads for it.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: BE's choice in #368, pending zuki; R-MIG-04.

R-RNT-59 · Several fee changes on one day merge into one new row at the last rate of the day; a driver whose chain's dates otherwise don't fit is listed as unmatched by v1 driver id, and none of their rows loads

Section titled “R-RNT-59 · Several fee changes on one day merge into one new row at the last rate of the day; a driver whose chain's dates otherwise don't fit is listed as unmatched by v1 driver id, and none of their rows loads”
  • Status: planned
  • Example: given a driver whose rate went from Rp 150.000 to Rp 155.000 and then to Rp 160.000, both on 2026-10-14, when the rentals step runs, then their chain has one new row from 2026-10-15 at Rp 160.000, the last rate of the day, and no row at Rp 155.000, as R-RNT-22 does for a change made the same day. Given a last change whose next day falls after the contract end, when the rentals step runs, then migration.unmatched lists the driver by their v1 id with the reason "the dates of its rate history don't fit its handover and its contract" (R-MIG-04), and no row of their chain loads. A first change that falls before the row's assignment no longer makes the driver unmatched: it is set aside and not carried (R-RNT-41). On the copy of 2026-10-29 the first full run left 22 drivers unmatched; with the rule 19 of them load and 3 stay unmatched, those whose last rate isn't today's fee (R-RNT-42; the ledger's SOL-04 and LED-RNT-07). R-RNT-42 holds for a gap among the remaining changes and a last rate that differs from today's fee. Two changes at an identical timestamp (a dip and its recovery) are ordered by walking back from the fee on the row today, each change fitting the one after it (a recursive chain); a dip and its recovery in one second net to nothing. A tie that no change fits keeps the fee order. The 3 left on the copy of 2026-10-29 were this tie and not a change of vehicle (#404, fixed in #411; SOL-15 of the reconcile ledger).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: BE's choice in #368, amended by zuki on #302 (2026-10-29: several rate changes on one day merge into one new row at the last rate of the day, which replaces the "unmatched" BE chose); R-RNT-42; R-RNT-22; changes before the handover: zuki on #302, 2026-10-29: "I accept your suggested rule".

R-RNT-60 · A row with no fee in v1, or whose tariff has no pricing group, is listed as unmatched and loads no rental

Section titled “R-RNT-60 · A row with no fee in v1, or whose tariff has no pricing group, is listed as unmatched and loads no rental”
  • Status: planned
  • Example: given a loaded row with no rental fee in v1, or one whose fee name maps to no pricing group, when the rentals step runs, then migration.unmatched lists it by its onboarding id with the reason "no rental fee in v1" or "its tariff has no pricing group" (R-MIG-04); an empty fee name stays R-RNT-38's unmapped value. The 33 rows of R-RNT-64, which load no rental, are not this rule's: they are ignored on purpose, not unmatched.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: BE's choice in #368, pending zuki; R-RNT-38, R-RNT-40; amended for the 33 rows of R-RNT-64 by zuki on #369 (2026-10-29).

R-RNT-61 · A contract with no validity in v1 loads with no term, and the reconcile lists it as "no term in v1"

Section titled “R-RNT-61 · A contract with no validity in v1 loads with no term, and the reconcile lists it as "no term in v1"”
  • Status: planned
  • Example: given the v1 contracts whose validity (months) is empty or out of range (6 on the copy of 2026-10-29), when the rentals step runs, then each loads with no term_months, never a default such as 6, and the reconcile prints "no term in v1" with their count, listing each by its v1 contract id (R-MIG-04 style). Once zuki gives each its term in the way R-RNT-67 says, the next run loads it with that term. A contract with a validity in v1 loads with it (R-RNT-13).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: zuki on #302 (2026-10-29: no invented 6; the term is the one zuki gives). BE-DP-36's first full run counted 6 rows. How the term is given is R-RNT-67. Replaces BE's fallback of 6 for a validity that is empty or out of range; a contract end that falls before the start stays R-RNT-58's.

R-RNT-62 · The rentals step reads no booking date, release date or deduction end, and the reconcile does not list them

Section titled “R-RNT-62 · The rentals step reads no booking date, release date or deduction end, and the reconcile does not list them”
  • Status: planned
  • Example: given v1's booking date (Listed 141, Approve 2), release date (Approve 170, Booked 2, Listed 104) and deduction end (Booked 20, Listed 1,103, Approve 474), when the rentals step runs, then no rental or contract column holds any of them, and the reconcile lists none once zuki has signed them in migration.accepted_differences with a reason (R-MIG-10, R-MIG-06). The deduction end is also kept out of billing_ends_on (R-RNT-57).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: zuki on #302 (2026-10-29: signed as ignored); R-MIG-10; BE-DP-34, table 3. The original assignment date is not covered (Not yet a rule).

R-RNT-63 · v1's kontrak_platform is signed as ignored unless a step claims it

Section titled “R-RNT-63 · v1's kontrak_platform is signed as ignored unless a step claims it”
  • Status: planned
  • Example: given kontrak_platform holding Grab on 412 onboarding rows and empty on 2,028, when the rentals step runs, then it reads no value of it and no rentals or contracts column holds one; the reconcile lists the column until zuki signs it in migration.accepted_differences, and stops listing it from then on. If a later step reads it, that step claims it and the signature is not needed (R-MIG-10).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: zuki on #302 (2026-10-29: signed as ignored if no step claims it); BE-DP-34, table 6; R-MIG-10.

R-RNT-64 · A v1 Approve row with an empty rental fee name, whatever its lead's source, loads no rental and no contract, and the reconcile counts it as ignored on purpose

Section titled “R-RNT-64 · A v1 Approve row with an empty rental fee name, whatever its lead's source, loads no rental and no contract, and the reconcile counts it as ignored on purpose”
  • Status: planned
  • Example: given the 33 onboarding rows in Approve that hold no rental fee name, whatever their lead's source and deduction_frequency (R-DRV-55; 32 with it empty and 1803 with it set; BE confirms), when the rentals step runs, then no rental loads for them, since there is no fee to freeze and a pending rental would let an inactive driver book a car, and no contract; nothing of the row is carried into v2 beyond the driver the drivers step loads, and the driver is not deleted. The migration changes nothing in v1. The reconcile prints "33 ignored on purpose" beside the Approve count (R-RNT-52), and lists none of them as unmatched. If any of the cancelled rows of R-RNT-33 (652 on the copy of 2026-10-29) is among the 33 (BE counts the overlap), it loads no rental and no cancelled row: this rule wins, so a driver of this class on leave, or on any stage but approved, has no cancelled row (D82, D83). R-RNT-38, R-RNT-39 and R-RNT-60 do not apply to them. They are not loaded as a pending rental with empty values; a driver who asks to rejoin goes through the normal flow (R-DRV-22) and gets a rental from it.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: zuki on #369 (2026-10-29: "Inactive, no rental, all 33", after BE-DP-36's first run found that the source "Migrasi data lama" matches 1 of the 33 rows; earlier: accept (b)), read by the CTO as accepting the empty tariff and frequency, not as loading empty values; zuki on 1803 (2026-10-29: a resigned driver, "considered data before v1", "just remove anything connected to it for now"); R-DRV-55; D18.

R-RNT-65 · An empty deduction_frequency on a loaded v1 row maps to daily through a value_map row signed by zuki

Section titled “R-RNT-65 · An empty deduction_frequency on a loaded v1 row maps to daily through a value_map row signed by zuki”
  • Status: planned
  • Example: given loaded rows with an empty deduction_frequency, for drivers who left before v1 and rejoined (2 on the copy after the 32 of R-RNT-64 are out: 1170 and 1990; derived from #369's lists, BE confirms), when zuki has signed the value_map row for the empty frequency in a pull request, then each loads with the daily billing_frequency. Without the signed row the run stops under R-RNT-39; the code holds no default. The same answer covers other rows in the same state, but not 2155, which loads nothing (R-RNT-66). 1803 is not in this case: its frequency is set, and its row is old data that loads no rental (R-RNT-64).
  • Refusal: migration.unmapped_values (R-MIG-02) while the row is unsigned.
  • Who: the migration machinery, for the rentals step's value fields.
  • Source: zuki on #369 (2026-10-29: "1170 seems like the old driver and then rejoin, thus Daily; apply the same for others with similar state except 2155"); R-RNT-39; R-MIG-02. 1803 is not covered: its frequency is set and its row is old data that loads no rental (R-RNT-64).

R-RNT-66 · The v1 Listed row with an empty deduction_stopped flag (2155) loads no rental and no contract, and the reconcile counts it as ignored on purpose

Section titled “R-RNT-66 · The v1 Listed row with an empty deduction_stopped flag (2155) loads no rental and no contract, and the reconcile counts it as ignored on purpose”
  • Status: built
  • Example: given the 1 Listed row with an empty flag, onboarding id 2155, when the rentals step runs, then no rental and no contract loads for it, and nothing of the row is carried into v2 beyond the driver the drivers step loads; the driver is not deleted and the step does not change their stage (R-RNT-49). The migration changes nothing in v1. The reconcile prints "1 ignored on purpose" beside the Listed count (R-RNT-52), as it does for the 33 rows of R-RNT-64, and lists it neither as unmatched nor as paused. The value_map row that maps Listed with an empty flag to paused (R-RNT-36) stays signed but covers no loaded row; R-RNT-38 and R-RNT-39 do not apply to this row. This is a rule of its own, not D87's last resort (R-MIG-04). A driver who asks to rejoin goes through the normal flow (R-DRV-22) and gets a rental from it.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: zuki on #369 (2026-10-29: "a deduction stopped", but 2155 "is an anomaly" to check in v1; 2026-11-05: remove 2155, since the driver is not in a rental, checked in v1); R-MIG-04; R-RNT-64. Replaces the hold "held for a v1 check (#369)", under which the row was listed as unmatched.

R-RNT-67 · zuki gives a contract's term in a row of migration.contract_terms, written in a pull request; the step reads it only for a contract whose validity v1 does not give

Section titled “R-RNT-67 · zuki gives a contract's term in a row of migration.contract_terms, written in a pull request; the step reads it only for a contract whose validity v1 does not give”
  • Status: built
  • Example: given a contract with no usable validity in v1 (R-RNT-61), listed as "no term in v1" under lead 731, when zuki adds the row (731, 12, the reason, signed by, signed at) to migration.contract_terms in the rentals migration file, in a pull request that he reviews, then the next run loads that contract with term_months 12 and the reconcile stops listing it; with no row, it loads with no term and stays listed. The key is the lead id the "no term in v1" line prints, one row for each contract. A term must be a whole number of months above 0 (R-RNT-13), and a row names who gave it and when, as an accepted difference does (R-MIG-06). A row for a contract whose v1 validity is usable is not read: v1's validity wins, and the reconcile lists the row as "term given where v1 has one" until zuki removes it. A row for a lead with no loaded contract is listed the same way, "term given for no contract". The table holds no person's value, only ids and months (D15); it is written in the migration file, so every rebuilt run reads it again (D11), and the code holds no default term.
  • Refusal: none: a term of 0 or less is refused by the table's check, and a run does not read a term it cannot place.
  • Who: zuki gives the row, in a pull request (D81); the migration's rentals step reads it, and the reconcile (R-MIG-05) lists the rows it did not use.
  • Source: zuki on #302 (2026-10-29: no invented 6; the term is the one zuki gives); the CTO's session end on #302 (2026-10-29: R-RNT-61 names no mechanism); R-MIG-06 (who signed, when); R-RNT-13. Accepted by zuki on #302, 2026-10-30 ("I accept R-RNT-67"; recorded at the #302 comment).

R-RNT-68 · payment:read, debt_letter:read or repo:read at a rental's pool also lets a user read the rental and its contracts

Section titled “R-RNT-68 · payment:read, debt_letter:read or repo:read at a rental's pool also lets a user read the rental and its contracts”
  • Status: planned
  • Example: given a finance user at PML, who holds payment:read, when they read PML's rentals, then the rentals and their contracts come back; a Collection user with debt_letter:read, and a Repo Leader with repo:read, see them too. Those who assign rentals, do collection or recon read rentals (R-RNT-15 and this rule); a user with none of these codes gets nothing.
  • Refusal: none.
  • Who: the holders of payment:read, debt_letter:read and repo:read (D63), with those of R-RNT-15.
  • Source: the CTO's proposal on #236 (2026-10-26), accepted by zuki on 2026-11-02 ("yes"); R-RNT-15. "Recon" is read as the people who reconcile payments (R-MON-44); the CTO asked zuki to say if it is another team.

v1's audit and contract columns as legacy_ columns

Section titled “v1's audit and contract columns as legacy_ columns”

The rules below carry what v1 knew about each rate change and each contract as legacy_ columns on tables v2 already has, and count the rest as ignored on purpose (D84, #405). A legacy_ column is written by the migration and read by nobody in v2; a later migration may drop it when zuki says so. The figures are counts from the copy named, never a value tied to a person (D15).

R-RNT-69 · A chain row that begins at a v1 fee change keeps that change's audit row in rentals.legacy_data

Section titled “R-RNT-69 · A chain row that begins at a v1 fee change keeps that change's audit row in rentals.legacy_data”
  • Status: built
  • Example: given the driver of R-RNT-41 whose fee went from Rp 150.000 to Rp 160.000 on 2026-10-14, when the rentals step runs, then the driver's second row's legacy_data holds that v_rental_fee_audit row's oleh, detail, plat_before and plat_after as v1 holds them: an object with exactly these four keys, each a string or null, a key kept when its value is null. On a day whose changes merge into one row (R-RNT-59), it holds the day's last change, whose rate the row takes; the earlier changes of that day are counted, not stored (R-RNT-72). legacy_data is null on a chain's first row, on a rental that isn't chained (R-RNT-41) and on every row v2 makes. A check refuses any other shape, and the column holds no inline file, as inspections.legacy_data doesn't (R-STO-05). Nothing in v2 reads it: it is v1 data, not an audit entry, and v2's audit log starts at cutover (R-RNT-43).
  • Refusal: none: check_violation (23514), from the column's shape check.
  • Who: the migration's rentals step (data phase row 5).
  • Source: D84; zuki on #302 (2026-10-30: the audit columns "are kinda necessary", kept on rentals "without adding new table"); D32 (a jsonb column has a page saying what it holds and a check on its shape); the CTO on #405 (2026-11-02: the day's last change for a merged day; the shape).

R-RNT-70 · A migrated contract keeps v1's contracts.updated_at, as v1 holds it, in legacy_updated_at, never in its own updated_at

Section titled “R-RNT-70 · A migrated contract keeps v1's contracts.updated_at, as v1 holds it, in legacy_updated_at, never in its own updated_at”
  • Status: built
  • Example: given a v1 contract edited in place after it was saved, when the rentals step loads it, then its legacy_updated_at holds v1's contracts.updated_at exactly as the night's snapshot holds it, and its updated_at is set by v2 like any row's; a rerun never sets legacy_updated_at to the run's own time. A contract whose v1 row has no updated_at, and every contract v2 makes, has it null. v1 edits the current contract in place, so the value is the time of its last edit, not of its signing.
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5).
  • Source: D84; zuki on #302 (2026-10-30: the contract's updated_at matters because v1 edits the current contract in place); the CTO on #405 (2026-11-02, recording BE: v1's value verbatim; a rerun doesn't refresh it).

R-RNT-71 · No API role can insert or update a legacy_ column, on any table, except drivers.legacy_id

Section titled “R-RNT-71 · No API role can insert or update a legacy_ column, on any table, except drivers.legacy_id”
  • Status: built
  • Example: given a signed-in user (authenticated), or a request with the publishable key (anon) or the secret key (service_role), when it sets rentals.legacy_data, contracts.legacy_updated_at or inspections.legacy_data in an insert or an update, then Postgres refuses it; an insert or update that names no legacy_ column is not refused by this rule, and reading the columns stays granted. The grants are column grants generated by gen_rls.py, as for charges, so a legacy_ column added later is covered when the file is regenerated, and one added without regenerating it fails R-ACC-72's test. drivers.legacy_id is not covered: it is v1's lead number, which v2 reads and keeps unique (R-DRV-03). Only the migration, as the database owner, writes a legacy_ column.
  • Refusal: none: insufficient_privilege (42501).
  • Who: authenticated, anon and service_role.
  • Source: D84 (app roles cannot write a legacy_ column); the CTO on #405 (2026-11-02: column grants from gen_rls.py; every legacy_* column but drivers.legacy_id; writes only); R-DRV-03.

R-RNT-72 · Each v_rental_fee_audit row the chain doesn't carry is counted once, in the first of five kinds ignored on purpose, and the kinds and the rows used add up to the view's rows

Section titled “R-RNT-72 · Each v_rental_fee_audit row the chain doesn't carry is counted once, in the first of five kinds ignored on purpose, and the kinds and the rows used add up to the view's rows”
  • Status: built
  • Example: given the rows of v_rental_fee_audit on a night, when the rentals step runs, then the rentals rate history check prints one line for each kind and a total, even when a count is 0, under the keys 1 activity_log, 2 not an active chain, 3 before the handover, 4 plate only, 5 same-day merge and total (kind 3's line also gives its number of drivers), and counts each row once, in the first kind that fits, in this order: (1) from activity_log (R-RNT-43); (2) its rental isn't loaded as an active chain: pending, booked, paused, cancelled, unmatched, ignored, a chain that doesn't hold together (R-RNT-42), or no onboarding row; (3) dated before the handover (R-RNT-41); (4) a change of the plate alone (R-RNT-41); (5) a same-day merge: an earlier change of a day whose last change makes the row, or any change of a day whose changes net to the fee it began at (R-RNT-59). The rows used are the rest, one for each chain row that begins at a fee change and keeps it in legacy_data (R-RNT-69). The five counts and the rows used equal the view's rows; when they don't, the check prints a line under the key difference naming it (D18). The rows used are counted from the loaded rentals that hold legacy_data, and each kind from v1's rows, so the two sides are counted apart. A change of the plate alone dated before the handover is kind 3. Nothing of an ignored row is stored. On the copy of 2026-10-29 the view held 877 rows: 33 from activity_log, 253 changing the plate alone, and 25 changes of 19 drivers dated before the handover; on the copy of 2026-11-02, BE-DP-36 found 31 changes of 24 drivers before the handover. Those are counts of each kind on its own: with the order, a kind's line may print fewer, since a row an earlier kind takes is not counted again. The lines are listed until zuki signs them (R-MIG-06).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), and the reconcile (R-MIG-05).
  • Source: D84 (ignored on purpose and counted, not stored; its four kinds read as examples of that rule); zuki on #405 (2026-11-02: "Add a 5th kind"); the CTO on #405 (2026-11-02: the order of the kinds; recording BE, the count goes into the existing rentals rate history check, which keeps its name); D18; figures from BE's count on #302 and BE-DP-36.

R-RNT-73 · v1's contracts.nama and v_rental_fee_audit.nama are not carried, and zuki signs both as ignored with the report

Section titled “R-RNT-73 · v1's contracts.nama and v_rental_fee_audit.nama are not carried, and zuki signs both as ignored with the report”
  • Status: built
  • Example: given both columns, each holding a driver's name, when the rentals step runs, then it reads neither, no rentals or contracts column holds either, and legacy_data has no nama key (R-RNT-69); the reconcile lists the two columns as unclaimed (R-MIG-10), BE-DP-36's v1 unclaimed lines, until zuki signs them in migration.accepted_differences when he signs the report (R-MIG-06), and stops listing them from then on. v2 holds a driver's name in drivers, and neither column is published (D15).
  • Refusal: none.
  • Who: the migration's rentals step (data phase row 5), the reconcile (R-MIG-05), and zuki, who signs.
  • Source: D84; zuki on #302 (2026-10-30: "claim it all except contracts.nama", "drop both nama columns"); R-MIG-06, R-MIG-10.