✦ AI Explained
13 min lesson

Reliability is behaviour

A dependable system has a clear answer for success, failure, delay, duplication and uncertainty.

Happy paths are demonstrations, not designs

The first version of a system usually works when everything responds quickly, every input is tidy, and nothing arrives twice. Production is where those assumptions get a vote.

For the Workbench, reliability means we can answer five questions before a problem happens:

SituationWhat the system should do
Input is invalidReject it clearly and keep the incident unchanged
A read fails temporarilyRetry within a small, visible budget
The same event arrives twiceRecognise it and avoid duplicate work
A rule cannot decideEscalate to a human with the evidence collected
A step takes too longStop waiting, record the timeout and choose the next safe action

Reliability lives in code and policy

The policy decides whether a retry, escalation or stop is allowed. The runtime performs the actual work. The event log tells us what happened.

policy          → says whether an action is allowed
tool/runtime    → attempts the action
state/events    → record success, failure or timeout
control flow    → continues, retries, escalates or stops

That separation will protect us later. An LLM may suggest an action, but it should not get to redefine a timeout or bypass an approval because it wrote a persuasive paragraph.

Try it

Choose Duplicate alert in the Workbench and inspect the event timeline. Two deliveries arrive with the same idempotency key. The report records one investigation and one alert.duplicate-suppressed event.

The second delivery is not a regression test. It is the kind of ordinary network behaviour a reliable workflow plans for before it happens.

Keep this with you

Reliability is not a badge you add after the demo. It is the behaviour your system chooses when the world is inconvenient.

✏ Suggest an edit on GitHub

Reliability is behaviour

Question 1: A duplicate alert arrives for an open investigation. What should the system normally do?
Question 2: Who should decide whether an action is allowed?