Skip to content

GPS · GPS devices, positions and the fleet monitor

A car has up to two GPS devices, a primary and a backup, and one of them is active (R-VEH-11, R-VEH-23). Every GPS vendor has an adapter that fetches its positions and hands them to one provider-neutral ingest function in Postgres, the only writer of positions (D113, draft). Easygo offers a REST API only, so its adapter is polled by pg_cron and pg_net, with its key in Supabase Vault, which zuki sets at L0 as <EASYGO_API_KEY>. A webhook or an MQTT provider adds an adapter and no rule here. Code GPS.

Open for zuki. It gets a rule with a new ID, or a change here, once it is answered.

  • GPS open 1 · The Easygo payload. The element's fields are assumed until zuki gives a credential-free sample; R-GPS-04 and R-GPS-09 name the normalized fields, not Easygo's.
  • gps_positions.raw: one element exactly as the provider's API sent it for that position, a JSON object. Nothing filters, joins or limits access by a key in it; a key that starts to be used is promoted to a column (D32).
  • gps_pulls.body: the response body of one pull as it arrived, for finding a fault in a provider; deleted with the pull at 90 days (R-GPS-13).

R-GPS-01 · A position is written only by the ingest function, never by an app user

Section titled “R-GPS-01 · A position is written only by the ingest function, never by an app user”
  • Status: built
  • Example: given an admin_fleet at PML, when they insert, update or delete a gps_positions row, then it is refused or changes nothing; the ingest function writes one.
  • Refusal: none: insufficient_privilege (42501) on insert; no effect on update and delete.
  • Who: every writer except the ingest function.
  • Source: zuki, 2026-11-30 (#466); D113 (draft).

R-GPS-02 · The ingest function is called only by the pull job, and an app user who calls it is refused

Section titled “R-GPS-02 · The ingest function is called only by the pull job, and an app user who calls it is refused”
  • Status: built
  • Example: given an admin at PML, when they call the ingest with a batch, then it is refused and no position is stored; only the database role the pull job runs as may run it, and it is in a schema the app does not expose.
  • Refusal: none: insufficient_privilege (42501) from Postgres.
  • Who: the pull job; no app role.
  • Source: zuki, 2026-11-30 (#466); D113 (draft), D3.

R-GPS-03 · The ingest refuses a provider it does not know

Section titled “R-GPS-03 · The ingest refuses a provider it does not know”
  • Status: built
  • Example: given the provider "acme" is not a provider of the system, when the job calls the ingest with a batch for it, then it is refused and the batch stores nothing.
  • Refusal: gps.unknown_provider (P0001), with {provider} in its detail.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft: providers sit behind adapters, the ingest is provider-neutral).

R-GPS-04 · The ingest stores a position for a car's active device

Section titled “R-GPS-04 · The ingest stores a position for a car's active device”
  • Status: built
  • Example: given a car whose active device has external id "E1", when the ingest gets an element for provider easygo, device "E1", with its recorded_at, latitude, longitude and speed, then a gps_positions row exists for that device with those values.
  • Refusal: none.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft), R-VEH-23.

R-GPS-05 · The ingest does not store a position for a device on standby

Section titled “R-GPS-05 · The ingest does not store a position for a device on standby”
  • Status: built
  • Example: given a car whose backup device is on standby, when the ingest gets an element for the backup, then no position is stored for it and the pull counts the element as skipped; once the backup is activated (R-GPS-22), the next element is stored.
  • Refusal: none.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-23 (the backup's positions aren't used until it is activated).

R-GPS-06 · The ingest does not store a position for a device the pull's organization does not hold, or one linked to no car

Section titled “R-GPS-06 · The ingest does not store a position for a device the pull's organization does not hold, or one linked to no car”
  • Status: built
  • Example: given an element for an external id that no gps_devices row of the pull's organization holds, or for a device unlinked from its car (R-GPS-26), when the ingest runs, then no position is stored and the pull counts the element as skipped. Given organizations A and B that each hold a device with external id "E1" (before R-GPS-24 refuses it, as a migrated row might), then a batch pulled for B never stores a position for A's "E1".
  • Refusal: none.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft).

R-GPS-07 · A position the ingest already has is skipped, so a repeated pull adds nothing

Section titled “R-GPS-07 · A position the ingest already has is skipped, so a repeated pull adds nothing”
  • Status: built
  • Example: given a stored position of device E1 at 10:00:00, when the ingest gets the same batch again, then no row is added and the pull counts the elements as skipped; the pair of device and recorded_at is unique.
  • Refusal: none: unique_violation (23505) is the table's backstop, which the ingest never reaches.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft).

R-GPS-08 · A position keeps the element it arrived as, in a raw column that must be a JSON object

Section titled “R-GPS-08 · A position keeps the element it arrived as, in a raw column that must be a JSON object”
  • Status: built
  • Example: given an element stored by the ingest, when its row is read, then raw holds the element as the provider sent it; a raw that is an array or a string is refused.
  • Refusal: none: check_violation (23514).
  • Who: every writer.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); D32 (raw payloads from outside systems). See what the raw columns hold.

R-GPS-09 · The ingest rejects an element whose latitude, longitude or speed is out of range, and stores the rest of the batch

Section titled “R-GPS-09 · The ingest rejects an element whose latitude, longitude or speed is out of range, and stores the rest of the batch”
  • Status: built
  • Example: given a batch of three elements where one has latitude 95, when the ingest runs, then two positions are stored and the pull counts one element as rejected; longitude must be from -180 to 180, speed not below 0, and a missing field is rejected too.
  • Refusal: none: the bad element is counted, not raised.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft: the ingest knows devices, positions and duplicates); the column check on speed_kmh.

R-GPS-10 · Each pull is recorded in gps_pulls with its start, status (pending, succeeded or failed), body, counts of rows ingested, skipped and rejected, and error

Section titled “R-GPS-10 · Each pull is recorded in gps_pulls with its start, status (pending, succeeded or failed), body, counts of rows ingested, skipped and rejected, and error”
  • Status: built
  • Example: given the job runs a pull for easygo, when it is sent, then one gps_pulls row holds started_at and the status pending; when the answer is collected, the status is succeeded or failed, and the row holds the body the provider answered with, the number of positions ingested, skipped and rejected and, for a failure, its error text.
  • Refusal: none.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft), D32.

R-GPS-11 · A pull that fails stores no position and is recorded as failed

Section titled “R-GPS-11 · A pull that fails stores no position and is recorded as failed”
  • Status: built
  • Example: given a configured provider that answers 500 or does not answer, when the job pulls, then the gps_pulls row is failed with the error text and no gps_positions row is added; the next scheduled pull runs as usual.
  • Refusal: none.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft: the key is in Vault, set by zuki at L0 as <EASYGO_API_KEY>).

R-GPS-12 · Each provider has its own pull interval, and only a configured provider is pulled, on that interval

Section titled “R-GPS-12 · Each provider has its own pull interval, and only a configured provider is pulled, on that interval”
  • Status: built
  • Example: given easygo configured (its base_url set and its key in Vault) with no interval set, when the scheduler is read, then one job pulls easygo every 15 seconds; set to 5 minutes, that job pulls every 5 minutes and no other provider's job changes; given a provider with no base_url or with no key in Vault, then it has no job and no gps_pulls row is written for it, until it is configured.
  • Refusal: none.
  • Who: the pull job. No app function changes an interval in this slice: it is a provider row, which zuki updates at L0.
  • Source: zuki, 2026-11-30 (#466); D113 (draft: a fixed one-minute cron is not ideal). Easygo's default is 15 seconds. A provider is scheduled only once configured: the lead, 2026-11-30, from be's question.

R-GPS-13 · Positions and pulls older than 90 days are deleted by a scheduled job

Section titled “R-GPS-13 · Positions and pulls older than 90 days are deleted by a scheduled job”
  • Status: built
  • Example: given a position recorded 91 days ago and one recorded 89 days ago, when the retention job runs (daily at 03:00 Asia/Jakarta), then the first is gone and the second stays; a gps_pulls row started more than 90 days ago is deleted the same way, with its body.
  • Refusal: none.
  • Who: the retention job.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); D15: sets OQ18's answer for GPS positions only. gps_positions is append-only and not audited (R-AUD-10), so a rolling delete is not a business-row delete (P13); the pulls go with them because a body holds positions too.

R-GPS-14 · An organization has a stale threshold in minutes, 15 for a new organization, and an admin may change it

Section titled “R-GPS-14 · An organization has a stale threshold in minutes, 15 for a new organization, and an admin may change it”
  • Status: built
  • Example: given a new organization, when its settings are read, then gps_stale_minutes is 15; an admin sets it to 30 and the view of R-GPS-16 uses 30 for that organization only.
  • Refusal: none.
  • Who: every holder of master_data:write, through the functions of R-SET-17.
  • Source: zuki, 2026-11-30 (#466); D113 (draft).

R-GPS-15 · A stale threshold below 1 minute, or above what its column holds, is refused

Section titled “R-GPS-15 · A stale threshold below 1 minute, or above what its column holds, is refused”
  • Status: built
  • Example: given an admin, when they set gps_stale_minutes to 0 or to 40000, then it is refused and the setting stays as it was.
  • Refusal: settings.out_of_range, with {field, min, max} in its detail (as R-SET-18).
  • Who: every holder of master_data:write.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-SET-18 (a number setting; the least is 1, the most 32767 for an int2).

R-GPS-16 · The position view returns each car's latest position from its active device, with last_seen and is_stale

Section titled “R-GPS-16 · The position view returns each car's latest position from its active device, with last_seen and is_stale”
  • Status: built
  • Example: given a car whose active device recorded positions at 10:00 and 10:05, when v_vehicle_position is read, then its row shows the 10:05 position and last_seen 10:05; the positions of the standby device never appear (R-VEH-23).
  • Refusal: none.
  • Who: vehicle:read and fleet_monitor:read holders, within R-GPS-20.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-23.

R-GPS-17 · A position older than the threshold is stale, and one exactly at it is not

Section titled “R-GPS-17 · A position older than the threshold is stale, and one exactly at it is not”
  • Status: built
  • Example: given gps_stale_minutes 15 and a last position 15 minutes old, when the view is read, then is_stale is false; at 15 minutes and one second it is true.
  • Refusal: none.
  • Who: vehicle:read and fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft), D3 (the rule is in Postgres, the page holds no number).

R-GPS-18 · A car with an active device and no position has no data

Section titled “R-GPS-18 · A car with an active device and no position has no data”
  • Status: built
  • Example: given a car with an active device that has never reported, when the view is read, then its row has last_seen empty and is_stale empty, which the page reads as no data.
  • Refusal: none.
  • Who: vehicle:read and fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft).

R-GPS-19 · A car with no active device has no row in the position view

Section titled “R-GPS-19 · A car with no active device has no row in the position view”
  • Status: built
  • Example: given a car with no device, or a car whose only device is unlinked or on standby, when the view is read, then it has no row.
  • Refusal: none.
  • Who: vehicle:read and fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-23.

R-GPS-20 · A user reads devices, positions and the view only for the cars they may read

Section titled “R-GPS-20 · A user reads devices, positions and the view only for the cars they may read”
  • Status: built
  • Example: given a user holding vehicle:read or fleet_monitor:read at PML and limited to rental company A, when they read gps_devices, gps_positions and v_vehicle_position, then they get the rows of PML's cars of company A; a user holding neither at PML gets none, and one without the flag and with no company gets none (R-ACC-169).
  • Refusal: none: hidden.
  • Who: super_admin, admin, admin_fleet, maintenance, asuransi, checker and viewer, through fleet_monitor:read; vehicle:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-14, R-VEH-16, R-ACC-11, R-ACC-43, R-ACC-44.
  • Status: built
  • Example: given any app user, when they read gps_pulls, then the read is refused.
  • Refusal: none: insufficient_privilege (42501).
  • Who: no app role.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); the pulls are read from the database by whoever runs the system, not through the app.

R-GPS-22 · activate_gps_device makes a device the car's active one and puts the car's other device on standby, in one call

Section titled “R-GPS-22 · activate_gps_device makes a device the car's active one and puts the car's other device on standby, in one call”
  • Status: built
  • Example: given a car whose primary is active and whose backup is on standby, when an admin_fleet at PML activates the backup, then the backup is active and the primary is on standby; activating the primary again swaps them back; the car never has two active devices.
  • Refusal: gps.device_already_active, gps.device_not_found and gps.device_not_linked (P0001); vehicle.not_allowed (42501) as R-GPS-27 says.
  • Who: vehicle:write holders at the car's home pool (R-GPS-27).
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-23, R-VEH-11.
Section titled “R-GPS-23 · link_gps_device links a device to a car, in the slot asked”
  • Status: built
  • Example: given a PML car with no devices, when an admin_fleet links easygo device "E1" as primary, then the car has a primary device; a device linked as backup to a car that has a primary makes a second device on the car.
  • Refusal: gps.slot_taken (P0001) when the car has a device in that slot; the table's unique constraints stay the backstop (R-VEH-11).
  • Who: vehicle:write holders at the car's home pool (R-GPS-27).
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-11, R-VEH-23.

R-GPS-24 · A device that is linked in any organization is refused

Section titled “R-GPS-24 · A device that is linked in any organization is refused”
  • Status: built
  • Example: given easygo device "E1" linked to car A, when an admin_fleet of the same organization, or of another one, links "E1" to car B, then it is refused and A keeps it; it is linked again only after it is unlinked. The other organization is not named.
  • Refusal: gps.device_in_use (P0001), with {provider, external_id} in its detail: never the other car, which the caller may not read.
  • Who: vehicle:write holders.
  • Source: zuki, 2026-11-30 (#466); the unique constraint of provider and external id; the lead's security review, 2026-11-30 (a device id from another tenant must not receive that tenant's positions).
Section titled “R-GPS-25 · link_gps_device registers a device it has not seen, and finds the one it has”
  • Status: built
  • Example: given easygo device "E9" that no gps_devices row holds, when an admin_fleet links it, then a row is made for it; given "E1" that an earlier unlink left with no car, then that same row is linked again and keeps its positions.
  • Refusal: none.
  • Who: vehicle:write holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); D39 (nothing is deleted in the app).
Section titled “R-GPS-26 · unlink_gps_device takes a device off its car and keeps the device and its positions”
  • Status: built
  • Example: given a car with an active primary and a backup on standby, when an admin_fleet unlinks the primary, then the device has no car and is not active, its positions stay until the retention job (R-GPS-13) and are read by no app user, as they are read through the car's pool; the backup stays on standby: unlinking never activates it, staff do.
  • Refusal: gps.device_not_found and gps.device_not_linked (P0001); vehicle.not_allowed (42501) as R-GPS-27 says.
  • Who: vehicle:write holders at the car's home pool (R-GPS-27).
  • Source: zuki, 2026-11-30 (#466); D113 (draft); D39, R-VEH-23.

R-GPS-27 · The three device functions need vehicle:write at the car's home pool

Section titled “R-GPS-27 · The three device functions need vehicle:write at the car's home pool”
  • Status: built
  • Example: given a maintenance user at PML, when they activate, link or unlink a PML car's device, then it is refused; an admin_fleet at PML may; a car outside the user's rental companies is refused the same way.
  • Refusal: vehicle.not_allowed (42501).
  • Who: super_admin, admin and admin_fleet hold vehicle:write.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-12 (and R-VEH-47's key).
Section titled “R-GPS-28 · Every link, unlink and activation writes an audit row”
  • Status: built
  • Example: given an admin_fleet who activates a backup, when audit_log is read for the two devices, then each has one row naming the member, source app and the changed is_active; a link and an unlink are audited alike. gps_devices is a watched table; gps_positions is not (R-AUD-10).
  • Refusal: none.
  • Who: every writer.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); D52, R-AUD-01.

R-GPS-29 · /fleet-monitor opens with fleet_monitor:read at the current pool

Section titled “R-GPS-29 · /fleet-monitor opens with fleet_monitor:read at the current pool”
  • Status: built
  • Example: given the E2E checker, who holds fleet_monitor:read, when they open /fleet-monitor, then the page opens; the E2E satpam, who does not, is refused the page as for any page without its permission.
  • Refusal: none: the page is refused.
  • Who: super_admin, admin, admin_fleet, maintenance, asuransi, checker and viewer.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-16, R-APP-26.

R-GPS-30 · /fleet-monitor shows the cars with a position on a MapLibre map over OpenStreetMap tiles, needing no key

Section titled “R-GPS-30 · /fleet-monitor shows the cars with a position on a MapLibre map over OpenStreetMap tiles, needing no key”
  • Status: built
  • Example: given PML has 3 cars with a position, when a user at PML opens /fleet-monitor, then the map has 3 markers at those places; the page loads no tile or script that needs a key.
  • Refusal: none.
  • Who: fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft).

R-GPS-31 · /fleet-monitor lists every car the user may read, each with its state: live, stale, no data or no device, as the database computes it

Section titled “R-GPS-31 · /fleet-monitor lists every car the user may read, each with its state: live, stale, no data or no device, as the database computes it”
  • Status: built
  • Example: given a car reporting 2 minutes ago, one 40 minutes ago, one with an active device and no position, and one with no active device (none, or only a standby backup), when the page is opened, then they read live, stale (with its last seen time), no data and no device; only the first two have a marker. v_fleet_monitor returns the state, and the page does not work it out.
  • Refusal: none.
  • Who: fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-GPS-16 to R-GPS-19.

R-GPS-32 · /fleet-monitor hides inactive cars unless the user asks for them

Section titled “R-GPS-32 · /fleet-monitor hides inactive cars unless the user asks for them”
  • Status: built
  • Example: given an inactive car with a stored position, when a user opens /fleet-monitor, then it is not listed and has no marker; when they switch on "show inactive", then it is.
  • Refusal: none.
  • Who: fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); D39.

R-GPS-33 · /fleet-monitor shows the current driver's name beside a car only to a user who also holds driver:read at the car's pool

Section titled “R-GPS-33 · /fleet-monitor shows the current driver's name beside a car only to a user who also holds driver:read at the car's pool”
  • Status: built
  • Example: given PML car A on an open rental, when a checker holding driver:read at PML opens the page, then the driver's name is beside A; for an admin_fleet without driver:read, v_fleet_monitor returns no name, so none reaches the browser, and the car shows with no name; a car on no open rental shows no name.
  • Refusal: none: the name is left out.
  • Who: holders of fleet_monitor:read who also hold driver:read; R-ACC-46 still limits a member without the flag to drivers of their rental companies' cars.
  • Source: zuki, 2026-11-30 (#466); D113 (draft), D15.

R-GPS-34 · /fleet-monitor changes nothing

Section titled “R-GPS-34 · /fleet-monitor changes nothing”
  • Status: built
  • Example: given any user, when they use /fleet-monitor, then no row changes; it offers no device action, and a car's device actions are on its vehicle sheet (R-GPS-35).
  • Refusal: none.
  • Who: fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); activate stays on the vehicle sheet only (R-GPS-35).

R-GPS-35 · The vehicle sheet has a GPS tab that lists the car's devices with slot, state and last position time

Section titled “R-GPS-35 · The vehicle sheet has a GPS tab that lists the car's devices with slot, state and last position time”
  • Status: built
  • Example: given a car with an active primary and a backup on standby, when a vehicle:read holder opens its sheet, then the tab lists both with their provider, external id, slot, active or standby and the time of each one's last position, and says the car has no device when it has none.
  • Refusal: none.
  • Who: vehicle:read holders at the car's pool.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-11, R-VEH-23.
Section titled “R-GPS-36 · The sheet offers activate, link and unlink only to a vehicle:write holder at the car's home pool”
  • Status: built
  • Example: given a car with a backup on standby, when an admin_fleet at PML opens its GPS tab, then it offers to activate the backup, to unlink either device and to link a device in a free slot; a maintenance user or a viewer is offered none; the sheet offers no link in a slot that is taken.
  • Refusal: none: an action not offered isn't shown; the functions still refuse it (R-GPS-22, R-GPS-23, R-GPS-26, R-GPS-27).
  • Who: vehicle:read holders at the car's pool; super_admin, admin and admin_fleet hold vehicle:write.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); R-VEH-12, R-VEH-101.

R-GPS-37 · After a device action the tab shows the new state, and a refused action shows its error key's message and leaves the car as it was

Section titled “R-GPS-37 · After a device action the tab shows the new state, and a refused action shows its error key's message and leaves the car as it was”
  • Status: built
  • Example: given an admin_fleet who activates the backup, when the call returns, then the tab shows the backup active and the primary on standby; given a link of device "E1" already on car B, then the tab shows the message for gps.device_in_use and nothing changed.
  • Refusal: none: the key is the function's.
  • Who: vehicle:write holders at the car's home pool.
  • Source: zuki, 2026-11-30 (#466); D113 (draft); D10, R-VEH-103.

R-GPS-38 · /fleet-monitor re-reads the position view every 15 seconds while it is open

Section titled “R-GPS-38 · /fleet-monitor re-reads the position view every 15 seconds while it is open”
  • Status: built
  • Example: given a user with /fleet-monitor open and a car whose position changes in the database, when 15 seconds have passed, then the car's marker and its state show the new position without a reload; the page makes no further reads once it is closed.
  • Refusal: none.
  • Who: fleet_monitor:read holders.
  • Source: zuki, 2026-11-30 (#466); R-GPS-16.
Section titled “R-GPS-39 · link_gps_device refuses a blank external id or slot”
  • Status: built
  • Example: given an admin_fleet at PML, when they link a device with an empty external id, or with no slot, then it is refused and nothing is linked.
  • Refusal: gps.field_required (P0001), with {field} in its detail.
  • Who: vehicle:write holders at the car's home pool.
  • Source: zuki, 2026-11-30 (#466); be's review, D10.

R-GPS-40 · A device linked as primary is active only when the car has no active device; a device linked as backup is on standby

Section titled “R-GPS-40 · A device linked as primary is active only when the car has no active device; a device linked as backup is on standby”
  • Status: built
  • Example: given a car with no device, when an admin_fleet links a primary, then it is active; given a car whose backup is active after its old primary was unlinked, when a new primary is linked, then it is on standby, and so is any device linked as backup; staff activate one by R-GPS-22.
  • Refusal: none.
  • Who: vehicle:write holders at the car's home pool.
  • Source: zuki, 2026-11-30 (#466); R-VEH-23 (a backup stays on standby until it is activated), be's review.

R-GPS-41 · A provider belongs to one organization, and the ingest stores positions only for that organization's devices

Section titled “R-GPS-41 · A provider belongs to one organization, and the ingest stores positions only for that organization's devices”
  • Status: built
  • Example: given the easygo provider, one row with one organization A, one base_url and one Vault key (one account per provider for now), when the job pulls it, then the ingest is called with A's organization and a batch for it, and every position it stores belongs to a device of A; an external id that is another organization's device stores nothing for it (R-GPS-06). Given easygo device "E1" linked in organization A, when an admin_fleet of organization B links "E1", then the link is refused with gps.device_in_use (R-GPS-24). A provider with no organization is not configured, and is not pulled (R-GPS-12).
  • Refusal: none: an element for another organization's device is skipped.
  • Who: the pull job.
  • Source: zuki, 2026-11-30 (#466); the lead's security review, 2026-11-30; D113 (draft: the ingest owns devices and positions), D3.