Skip to content

Decisions

These pages are the register of v2 decisions. They moved here from the Google doc [Register] v2 decisions and working rules on 2026-10-07 (D28), with their numbers unchanged. The register's working rules moved to How we work.

Together with the working rules, the accepted decisions outrank every other v2 doc (order of authority). At the start of every working session, read the working rules and every decision newer than the last one you worked to.

  • Oldest first. Each page says what was decided, why, and what it changes. D2 to D9 record decisions made before the register existed.
  • Accepted decisions are in force. Since D28, a decision is accepted when zuki merges the pull request that adds its page (how a decision is made).
  • An accepted page is never rewritten. To change it, a new decision supersedes it, and only the old page's status line changes, to "Superseded by Dn". Typos and broken links can be fixed in place.
Decision Status
D1 Decisions live in this register Accepted 2026-10-02 · Partly superseded by D27 (the register moves at the M0 exit check)
D2 v2 is a rebuild, with a one-shot migration rehearsed nightly Accepted 2026-09-30 · Partly superseded by D17, D19, D20, D21 and D25
D3 Business rules live in Postgres Accepted 2026-09-30
D4 No ORM; the Supabase CLI owns the schema Accepted 2026-10-01
D5 Monorepo, hosting and environments Accepted 2026-10-01
D6 Biome, Lefthook and Conventional Commits Accepted 2026-10-01
D7 Indonesian first, English optional Accepted 2026-10-02
D8 The design system stays inside apps/web Accepted 2026-10-01 · Partly superseded by D88
D9 Schema V13 business rules and loophole fixes Accepted 2026-09-30
D10 Errors from Postgres use stable keys Accepted 2026-10-02
D11 Migration files stay editable until cutover Accepted 2026-10-02
D12 Database tests run on the real Supabase stack Accepted 2026-10-02 · Partly superseded by D25 (the stub clause)
D13 New Supabase keys and session checks Accepted 2026-10-02
D14 Storage paths follow the owning row Accepted 2026-10-02
D15 Personal data: retention and anonymizing Accepted 2026-10-02
D16 Backups and MFA Accepted 2026-10-02
D17 Migration steps before module pages Accepted 2026-10-02 · Partly supersedes D2's module order; Partly superseded by D25
D18 Accepted differences in reconcile Accepted 2026-10-02
D19 Tests sit where the rules are Accepted 2026-10-02 · Partly supersedes the testing guide
D20 Cutover when the gate is met, not on a date Accepted 2026-10-02 · Partly supersedes D2's calendar
D21 Rollback by re-entry, decided on Saturday Accepted 2026-10-02 · Closes OQ15
D22 packages/db-types holds types only Accepted 2026-10-02
D23 Engineering docs move after cutover; product docs stay in Drive Accepted 2026-10-02 · Superseded by D27, except that product and process docs stay in Drive
D24 Sentry: one project per app Accepted 2026-10-02
D25 M0 is rebuilt from an empty folder, on one timeline Accepted 2026-10-05 · Partly supersedes D2 (M0 as delivered), D12 (the stub clause) and D17 (its starting point); Partly superseded by D27 (how docs files enter the repository)
D26 main is guarded locally until the organization moves to GitHub Team Accepted 2026-10-05 · Superseded by D28
D27 apps/docs is the source of truth, written before tests and code Accepted 2026-10-06 · Supersedes D23, except that product and process docs stay in Drive; Partly supersedes D1 (when the register moves) and D25 (how docs files enter the repository); Partly superseded by D28 (the agent fork, and when the register moves)
D28 We work in GitHub: Team plan, agents in the repository, docs in apps/docs Accepted 2026-10-07 · Supersedes D26 and the agent fork in D27; Closes OQ23 · Partly superseded by D77 (where discussion happens; how agents reach the repository)
D29 Indonesian-first text is built in apps/web (option A1) Accepted 2026-10-07 · Closes OQ17
D30 Error keys are a Postgres enum Accepted 2026-10-08 · Closes OQ24
D31 Who sees margin, company amounts, NIK and phone Accepted 2026-10-08 · Closes OQ9
D32 Data gets columns; jsonb only where its shape truly varies Accepted 2026-10-09
D33 A migration's author regenerates the database types Accepted 2026-10-12 · Closes OQ21
D34 v1's balance of record is the instalments inside bills Accepted 2026-10-12 · Closes OQ19 · Partly superseded by D74 (the payments table; the balance of record)
D35 Tailwind CSS for layout in apps/web, the design system unchanged Accepted 2026-10-13 · Partly superseded by D88
D36 The nightly rehearsal runs in GitHub Actions, and may climb to L2 Accepted 2026-10-14 · Closes OQ4 and CR1
D37 A user's sessions end when their access changes Accepted 2026-10-14
D38 A daily-rate change starts a new rental row the next day Accepted 2026-10-14
D39 Vehicles are retired, never deleted in the app Accepted 2026-10-14
D40 Document numbers read type, division, entity and day Accepted 2026-10-14 · Part of OQ6 · Partly superseded by D53 (claim codes)
D41 The higher-ups' General Flow is business input, taken in V13's terms Accepted 2026-10-15
D42 Both background checks open when the admin fee is paid Accepted 2026-10-15 · Retires R-BC-06 · Partly superseded by D85 (when the fee counts as paid)
D43 Drivers gain the stages available and inactive Accepted 2026-10-15 · Partly superseded by D66 (a repossession, and what inactive means) and D79 (available removed)
D44 A handover needs a passed onboarding training Accepted 2026-10-15 · Superseded by D64
D45 A charged damage puts a surat hutang in Collection's hands Accepted 2026-10-15
D46 The overdue limit is three days of the driver's rental fee, for now Accepted 2026-10-15 · Part of #148 · Partly superseded by D76 (its total-balance limit)
D47 The return reason routes the car, and a car is ready only with a valid STNK Accepted 2026-10-15
D48 Sessions also end when a membership is suspended or a role's permissions change Accepted 2026-10-15 · Partly supersedes D37
D49 A SIM number equal to the NIK is kept Accepted 2026-10-15 · Partly supersedes D9
D50 v1's users move with their passwords, and staff join only by invitation Accepted 2026-10-16 · Closes OQ1 and OQ2
D51 Passwords of 8 to 15 characters, 24-hour sessions, and email from no-reply@opleet.com Accepted 2026-10-16 · Closes OQ12
D52 One action is one entry in the activity log, and the migration logs one entry per table Accepted 2026-10-16 · Closes OQ5
D53 Every number Opleet issues follows D40's format, insurance claims included Accepted 2026-10-16 · Closes OQ6 · Partly supersedes D40 (claim codes)
D54 A driver's clearance reads the latest check of each kind Accepted 2026-10-16 · Closes OQ7
D55 The queue asks what v1's queue form asks Accepted 2026-10-16 · Closes OQ8
D56 vehicles.contract_status is renamed supply_status Accepted 2026-10-16 · Closes OQ10
D57 Every charge has a due date that finance can change, defaulting from its charge type Accepted 2026-10-16 · Closes OQ11
D58 The queue TV updates live Accepted 2026-10-16 · Closes OQ13
D59 The E2E organization stays in production, sealed Accepted 2026-10-16 · Closes OQ14
D60 v1's file links become private paths in v2 Accepted 2026-10-16 · Closes OQ16
D61 Driver onboarding, vehicle onboarding and collection must not break at cutover Accepted 2026-10-16 · Closes OQ20
D62 zuki runs the migration, and Syamsul Haris decides go/no-go Accepted 2026-10-16 · Closes OQ22
D63 Roles and permissions for the General Flow's teams Accepted 2026-10-16 · Closes #157 · Partly superseded by D71 (the count of roles and permissions) and D94 (no preparation_leader role)
D64 Training isn't required before handover yet Accepted 2026-10-16 · Supersedes D44
D65 Nobody holds standing write access to a database, and erasing a record is a named function Accepted 2026-10-20 · Closes #147
D66 A repossession makes a driver inactive, and inactive is the way back through rejoin Accepted 2026-10-20 · Closes #159 · Partly supersedes D43 · Partly superseded by D73 (the data phase's drivers step) and D79 (the month; available removed)
D67 A rental returns or is repossessed before it ends, and rent stops when the car is back Accepted 2026-10-20 · Closes #155 · Partly superseded by D69 and D92
D68 The photo copy reads v1's files by public link, or through a read-only v1 login Accepted 2026-10-20 · Closes #218
D69 v1's rentals map by their status; deduction_stopped makes a rental paused only when it has a car Accepted 2026-10-21 · Partly supersedes D67 (how v1's deduction_stopped rows map) · Partly superseded by D82 (an Approve row of a driver on leave or suspended is cancelled)
D70 A v1 file with no v2 record to hold it is kept as a file from v1, on its driver or car Accepted 2026-10-21 · Part of #184 · Second case narrowed by D110
D71 A repossession runs through a request list and repo work orders, with a Repo Leader Accepted 2026-10-22 · Closes #235 · Partly supersedes D63 (the count of roles and permissions) · Partly superseded by D75 (the work order's tables)
D72 v2 suggests splitting a bulk payment oldest due first, and finance decides the split Accepted 2026-10-22 · Closes #148
D73 The drivers step blacklists v1's Resign leads closed for Repo, and a repossessed driver with a car keeps his rental's stage Accepted 2026-10-22 · Partly supersedes D66 (the data phase's drivers step) · Partly superseded by D78 (the 24 with no car)
D74 v1's confirmed payments and its paid bills with no instalment load as paid Accepted 2026-10-23 · Closes #293 and #294 · Partly supersedes D34 (the payments table; the balance of record)
D75 v1 is still developing, so the data phase builds the v2 tables a v1 feature needs before the step that loads it Accepted 2026-10-26 · Partly supersedes the plan's "v1 is frozen", the cutover guide's T − 1 week line and D71 (when the repo work order's tables are built) · Partly superseded by D93 (Stock Opname's flow)
D76 Overdue thresholds per charge type, service type and transmission, set by the Business Team Proposed 2026-11-02 · Refs #264, #158 · Partly supersedes D46 (its total-balance limit) · Partly superseded by D103
D77 Team sessions: the four roles discuss in one Claude Code team, and GitHub keeps the outcomes Accepted 2026-10-27 · Closes #330 · Partly supersedes D28 (where discussion happens; how agents reach the repository) · Partly superseded by D80 (a data-phase slice; the second pilot)
D78 v1's re-approved repossessed drivers with an Approve row are approved, and those on Cuti or Suspend keep their stage Accepted 2026-10-27 · Closes #310 · Partly supersedes D73 (the 24 with no car) · Partly superseded by D82 (the cancelled rows, for every driver on leave or suspended)
D79 A driver in good standing with no car is approved: the stage available is removed Accepted 2026-10-28 · Partly supersedes D43 (available) and D66 (the month; the drivers step)
D80 A data-phase slice that needs no run can be a team session, and row 0i is the second pilot Accepted 2026-10-28 · Partly supersedes D77 (from M1 on; the second pilot) · Partly superseded by D89
D81 Work lands on an integration branch with no CI, and every check runs locally first Accepted 2026-10-28 · Partly supersedes D28 (green checks, into main) and D6 (the title check, into main only)
D82 An Approve row whose driver is on leave or suspended loads as cancelled, for every driver and not only a repossessed one Accepted 2026-10-29 · Partly supersedes D78 (its scope: the 5) and D69 (Approve is pending whatever the stage) · Partly superseded by D83 (every stage that is not approved)
D83 An Approve row loads as pending only when its driver is approved; any other stage loads it cancelled Accepted 2026-10-29 · Partly supersedes D82 (its scope: leave and suspended) and D69 (Approve is pending whatever the stage)
D85 The first payment toward the admin fee opens both background checks, whatever its amount Proposed 2026-11-02 · Refs #236 · Partly supersedes D42 (when the fee counts as paid)
D86 Team sessions may ask Jev which rules a slice needs, within a budget zuki sets Proposed 2026-11-03 · Refs #433
D87 A v1 row dated September 2026 or earlier that investigation shows is faulty may be ignored on purpose, as a last resort Proposed 2026-11-04 · Refs #304
D84 v1's rate-change audit and contract columns are kept as legacy_ columns on rentals and contracts, not as a table Proposed 2026-10-30 · Refs #302, #405 · Amends R-RNT-43 (the audit is not carried)
D88 The design system ships shadcn components, and an FE session imports them straight from its artifact Proposed 2026-11-04 · Partly supersedes D35 (no reset; look only from op-* classes) and D8 (the design system's home)
D89 A data-phase step that reads v1 may run as a team session, when zuki runs every step on the copy and only counts come back Proposed 2026-11-04 · Partly supersedes D80 (the steps that read v1's values stay single-role)
D90 A migrated charge takes its company from the platform, because v1's one contract template says MOP for everyone Proposed 2026-11-05 · Applies to the money step; R-MON-19 stands for v2's own charges
D91 One maintenance status for a car; whether it is TOP's or the insurer's, and where it is, come from its work order and claim Proposed 2026-11-09 · Applies to vehicles.status, R-VEH-28, R-VEH-31 and the work order flow
D92 A car back at the pool without its BASTK is unchecked, and returned once its BASTK is done Proposed 2026-11-09 · Partly supersedes D67 (a voluntary return may go through returned; rent stops the day the car is back)
D93 A stock opname scans the floor against a snapshot of the pool's cars, and each missing car is an alert until the checker team rechecks it Proposed 2026-11-09 · Answers #416 and #321 · Partly supersedes D75 (Stock Opname is no longer rebuilt as v1 has it)
D94 The checker team decides at the inspection: a rented car's repair of one day keeps its rental, a longer one is a return; its leader is admin_fleet Proposed 2026-11-09 · Partly supersedes D63 (no preparation_leader role) · Applies to the work order flow and the inspections
D95 Notifications are in-app events, one row each, seen by permission at their pool, closed by their condition and filtered by severity for the higher-ups Proposed 2026-11-09 · Answers #156's alerts row · Applies to every module that raises one
D96 A car leaves the pool only with a purpose its records allow, and clear or with each failing aspect approved by the team that owns it Proposed 2026-11-10 · Answers #85 · Applies to the gate
D97 A team's leader delegates their approval permissions to members at their pool, with no user:write Proposed 2026-11-10 · Applies to access, D94's preparation:approve and D96's gate approvals
D98 Postgres decides an invitation, one server-only module in apps/web sends it, and its link lasts 24 hours Proposed 2026-11-10 · Applies to access, D13, D37, D48, D50, D51 · Partly superseded by D101
D99 A member sees every rental company only by a flag; no rental company means no cars Proposed 2026-11-13 · Applies to access, migration · Partly superseded by D100, D108
D100 The all-rental-companies flag is its own control, and an empty list is a scope like any other Proposed 2026-11-13 · Applies to access, migration · Partly supersedes D99 · Partly superseded by D108
D101 A removed member comes back by a new invitation to their existing login Proposed 2026-11-16 · Applies to access · Partly supersedes D98 · Partly superseded by D104
D103 A service type is one of four tiers: regular, comfort, luxe and prestige Proposed 2026-11-17 · Applies to master data, drivers, money · Partly supersedes D76
D104 An invitation reaches only a login with no membership anywhere Proposed 2026-11-19 · Refs #650 · Applies to access · Partly supersedes D101
D105 A team session's lead picks each teammate's model by its task Proposed 2026-11-20 · Answers #658 option 1 · Applies to team sessions (D77)
D106 Every session runs the guards, a solo session takes one role and spawns the others, and an independent reviewer reads each change Proposed 2026-11-20 · Answers #707 · Applies to every session, D28, D77, D105
D107 A page is built only from a mockup zuki approved Proposed 2026-11-23 · From #462 · Applies to D77, D88, D106 · Partly superseded by D112
D108 Every car has a rental company, and the operator is one of them Proposed 2026-11-25 · Answers #741 · Applies to access, master data, vehicles, money, migration · Partly supersedes D99, D100
D109 A batch action is one Postgres function per module, with a check-only mode, and a refused save raises one key that lists every refused row Proposed 2026-11-24 · Answers #752 · Applies to vehicles (#746) and every batch action, D3, D10
D110 A car has its own photos, one per side, and KIR and Pajak are not vehicle documents Proposed 2026-11-24 · From #745 · Applies to M2, narrows D70, changes one line of D95
D112 fe sketches a wireframe, zuki designs the mockup in Claude Design, and the version he approves is the mockup Proposed 2026-11-27 · From #779 · Applies to D77, D106 · Partly supersedes D107
D113 GPS providers sit behind an adapter, and all of them feed one ingest in Postgres Proposed 2026-11-30 · From #466 · Applies to M2

They are issues now (D28): open questions, change requests and decision proposals. Those raised before the move keep their register IDs, OQ1 to OQ24 and CR1, in their issue titles.

Closed before the move: OQ3 by D5, OQ15 by D21, OQ17 by D29 and OQ23 by D28; OQ12 in part by D16. The monorepo spec's question about Cloudflare Access for team leads is closed by D23: apps/docs will hold engineering docs only.

The register's history until the move is in its changelog.