Knight-Ware Labs All Articles
Technology Strategy

Collection Day Is a Promise: Temporal Interfaces for Schedules That Bend

By Knight-Ware Labs Technology Strategy
Collection Day Is a Promise: Temporal Interfaces for Schedules That Bend

Photo: Dave Spicer, CC BY-SA 2.0, via Wikimedia Commons

Few public digital services are trusted as quietly as a bin calendar. Residents do not admire the interface. They simply expect it to be right. When the collection is missed, the failure is not experienced as a software defect. It is experienced as a broken promise, often with a full bin outside the house.

That makes the humble collection schedule a useful design case. It combines recurrence rules, local exceptions, bank holidays, operational changes, and notifications. It also sits close to local politics. A council reorganisation or a change of contractor can alter the rules without altering the underlying streets. The technical challenge is to keep the interface truthful while the schedule bends.

Separate the plan, the occurrence, and the communication

A common failure is to store one mutable date per property and overwrite it whenever anything changes. That destroys history and makes contradictory notifications almost inevitable. A better model has three layers.

The policy layer describes the recurrence rule: which collection service applies to which property, on which weekday, under which effective dates. The planned occurrence layer expands that policy into dated events after known exceptions have been applied. The actual layer records what operations believe will happen or did happen, including suspensions and catch-up collections. A communication layer then records what was sent to which resident, when, and against which version of the plan.

These layers should not be collapsed. Residents need the next reliable occurrence, but support staff need to explain why it changed. Planners need to see the rule. Auditors need to see the communication. Each audience is asking a different temporal question.

Exceptions need explicit precedence

Bank holiday logic is often written as a simple rule: if the collection falls on a holiday, move it to the next day. That rule is not universally true. Some councils shift forward, some shift back, some suspend, and some run Saturday catch-ups. Contract terms vary. Even within one authority, different waste streams may follow different practices.

Store exceptions as first-class objects with scope, reason, source, approval, and effective dates. Define precedence explicitly. A one-off suspension for a single street should outrank a service-wide bank holiday rule. A contractor instruction should not silently override a published civic calendar without an approval step. Where rules conflict, the system should surface the conflict rather than choose invisibly.

Recurrence standards are helpful for expressing patterns, but they are not a complete schedule model. They describe repetition. They do not describe governance, communication, or operational reality. Use them as one component, not as the whole design.

The communication contract matters as much as the data

A schedule change is not complete when the database is updated. It is complete when residents have received a clear, consistent message. Notifications should be idempotent, revisioned, and tied to a material change. Do not send a new message for every internal recalculation. Do send a correction when a previously communicated date is withdrawn.

Every notification should carry an as-of timestamp and a route back to the current schedule. If a resident receives two messages, the later one should clearly supersede the earlier one. Keep a notification log so support staff can answer the only question that matters during a dispute: what did we tell this household, and when?

Test date logic before residents test it for you

Date logic deserves the same rigour as payment logic. Build a test matrix around time zones, daylight saving transitions, leap years, bank holidays, and local exception precedence. Use golden calendars for known authority areas. Simulate a council reorganisation by changing tenant boundaries and effective dates without rewriting historical records. Test that notifications are deduplicated and that corrections supersede rather than contradict.

Property-based tests are useful for recurrence expansion, but they must be paired with concrete examples agreed by operations. A rule that is mathematically consistent can still be civically wrong.

Govern the calendar as a public asset

The bin calendar is a small interface with a large trust footprint. Publish change windows. Require approval for exceptions that affect published dates. Keep an audit trail from policy to occurrence to communication. Design for rollback, because operational instructions will sometimes be wrong.

The principle extends beyond waste. Any service that promises a recurring event, from appointments to inspections, needs a temporal model that distinguishes plan from occurrence and communication from truth. Collection day is a promise. Treat the schedule as a contract, not a spreadsheet.