You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TL-20 | Driver sees the registered address for the assigned job #40
A (view) with D (driver screen) • P0 • Demo step 5: "The driver screen shows the address and the job."
driver_jobs carries householdId, route, asset, ETA and status, but no address. The address only lives in the private profile row from enrollPreparedness (TL-09), which only the resident and coordinators can read. As a result, the driver phone can show "H17: deliver BAT-01" but not where to go.
A: expose the delivery address (and backup device, which is useful for the swap) of the household on a job, to that job's assigned driver only, while the job is active. Either add columns to driver_jobs or add a driver_stops view. Never expose the medical need text or any contact details. A household without a profile shows "No address on file; call the coordinator."
D: show the address and device on the live driver phone job card.
Done when Ana's phone shows H17's synthetic address after reserve, Ben's session and a session without a role can't read it, and it disappears from Ana's view after release.
Activity