How a driver manifest gets built
An optimal route that lives only in a database helps no one. This post is about the handover to the person who actually does the work: how the ordered route becomes a driver manifest — stop by stop, with the address, the access note, and the window for each — rendered once to a PDF, dropped in S3, and sent as a link the driver opens on their phone. And why every line of it is a suggestion, not an order.
Key takeaways
- The optimised route becomes a driver manifest: stops in order, each with address, window, access note, and a phone number.
- It’s rendered once to a PDF, written to S3, and sent to the driver as a link — no app to install.
- Each stop carries a check-off action, so tapping “done” is what later slides everyone else’s ETA.
- The manifest is the suggested order, not a locked instruction — the driver can re-order, skip, or insert a stop.
- One manifest per van per day; a fresh plan (a late order, a cancellation) reissues a new version, the old link expires.
From a route to a round sheet
The optimiser’s output is a list of stop references in an order — correct, but useless to a human as it stands. A driver doesn’t want an array; they want a round sheet they can glance at between stops. The manifest step turns one into the other. It reads the ordered route, joins each reference back to the clean stop record from Part 2 to pull in the human details, and lays them out in sequence: stop 1, stop 2, stop 3, each with the customer name, the full address and postcode, the time window if there is one, the access note, and a tap-to-call phone number. At the top sits the depot and the planned start time; at the bottom, the return.
It’s rendered once, in the morning, to a PDF — a format that opens on any phone, prints if the driver prefers paper, and looks the same offline in a dead-signal lane as it does on wifi. The PDF is written to S3 and the driver is sent a link to it, by SES email or an SMS through SNS, whichever the settings doc names. No app to install, no login to forget; a link, a list, and a phone.
What goes on each line
A manifest line is built for someone glancing at it through a windscreen, so it carries only what the next stop needs and nothing else:
- The position and address. “Stop 7 of 34” and the full address with postcode, so the driver knows where they are in the day and exactly where to point the van. The postcode doubles as a tap-to-navigate link into whatever map app the phone already has.
- The window, if any. Shown plainly — “before noon,” “2–4pm” — so the driver can see at a glance which stops are flexible and which aren’t. The optimiser already guaranteed the order respects them; the line just reminds the human.
- The access note. The single most undervalued field on the sheet. “Side gate, dog,” “ask for Priya at reception,” “leave with number 5 if out” — the local knowledge that turns a failed delivery into a successful one. It comes straight from the stop record and is shown verbatim.
- A check-off action. Each line can be marked done. That tap is not cosmetic: it’s the event that tells the rest of the system the van has left a stop, which is what keeps the downstream ETAs honest in Part 5.
A proposal, not an instruction
This is the post where the series’ central guardrail becomes concrete. The manifest is the order the optimiser thinks is best — but the driver, not the planner, runs the round. A regular customer flags the van down for an unplanned collection; a road is shut; the driver simply knows the area better than the matrix does. In every case they re-order, skip, or insert a stop, and the system follows their actual progress rather than nagging them back onto the original sequence. Marking stop 9 done before stop 8 isn’t an error the system corrects; it’s information the system accepts. The plan exists to save the driver thinking on a normal day, not to override their judgement on an abnormal one.
There is exactly one manifest per van per day, versioned. If the day’s list genuinely changes before the vans leave — a late order lands, a customer cancels — the morning build can be re-run, the optimiser re-orders, and a fresh manifest version is issued; the old link stops working so no one drives yesterday’s plan by accident. Once the van is rolling, though, the manifest is fixed and changes are the driver’s, captured through their check-offs rather than through a reshuffled sheet.
Why this shape
- Built for a glance. Each line shows position, address, window, and access note — nothing the driver doesn’t need mid-round.
- A link, not an app. A PDF in S3 opens on any phone, prints, and works offline; nothing to install or log into.
- The access note earns its place. Local knowledge, shown verbatim, is what turns a failed drop into a completed one.
- Check-off is an event. Marking a stop done is what later moves everyone else’s ETA, not just a tick on a list.
- One versioned manifest per van. A real change reissues it and expires the old link; en route, the driver is in charge.