Consider an illustrative exception at a public service counter. A person's request needs a document they did not bring, so the workflow drafts a follow-up message telling them what to bring and where. The message goes to a real person, so an official must approve it first. The official opens the approval at the end of the day and leaves it unanswered. Overnight the service is redeployed. The next morning the official approves, the workflow resumes, and the person receives the message twice. A week later another person receives a message nobody approved, because a retry after a timeout skipped the approval check.
Neither failure comes from the model. Both come from how the workflow pauses, stores its progress and resumes. Part 5 bounded what tools the agent can reach. This part makes the consequential tool calls wait for a person, and makes the wait survive.
An approval is only as reliable as the resume behind it: pause at a durable checkpoint, show the reviewer the exact proposed action and its evidence, record the decision, and resume from the same state in a way that can neither repeat the side effect nor skip the check.
What a checkpoint holds
In LangGraph, a checkpointer saves a snapshot of the graph's state at each super-step, the tick in which the scheduled nodes run. Snapshots are grouped by a thread_id passed in the invocation config. Without a thread identifier, the checkpointers documentation (accessed 25 November 2026) states, the checkpointer cannot save state or resume after an interrupt. You can read the latest snapshot with get_state, list a thread's history with get_state_history, and replay from an earlier checkpoint.
Three details matter for production:
- Where the checkpoint lives. The docs list
InMemorySaverand SQLite for local work, and Postgres, MongoDB and Azure Cosmos DB libraries for production. The persistence page notes that an in-memory saver loses its checkpoints on restart, which is exactly the overnight redeploy in the opening example. - When it is written. LangGraph offers three durability modes,
"exit","async"and"sync", set through thedurabilityargument. The API reference (accessed 25 November 2026) defines"sync"as persisting changes before the next step starts,"async"as persisting while the next step executes, and"exit"as persisting only when the graph exits. A workflow that holds an approval across a restart should choose deliberately, not inherit whatever the default happens to be. - What is inside it. A checkpoint holds state, and state can include a person's request, a draft message and retrieved evidence. The docs describe an
EncryptedSerializerfor persisted state. Retention matters too: the persistence page warns that checkpoints accumulate and suggests pruning. Treat the checkpoint store as a personal-information store, with the retention and access rules that implies.
At the time of writing, 25 November 2026, PyPI listed langgraph 1.2.24 and langgraph-checkpoint-postgres 3.2.1. Those numbers will have moved by the time you read this. Part 8 explains why you pin them anyway. For why a long-running process needs this at all, see An agent without durable state cannot own a long-running process, and for the difference between this state and the agent's memory, Agent memory is not state.
Pausing is easy; resuming is the design problem
LangGraph pauses a run with interrupt(), called inside a node. The run stops, the value passed to interrupt() goes to the caller, and the graph waits. To resume, the caller invokes the graph again with Command(resume=...) on the same thread_id, and the resume value becomes the return value of the interrupt() call. The interrupts documentation (accessed 25 November 2026) is explicit about one behaviour that surprises most teams: on resume, the node restarts from its beginning, not from the line where it paused. Any code before the interrupt runs again.
That single fact explains the duplicate message. If the node sends anything, writes a record or appends to a list before it calls interrupt(), the action repeats on every resume. The docs recommend keeping side effects after the interrupt or in a separate node, making anything before it idempotent, and re-reading external state after a long pause. They also warn that a retry after a partial failure can still repeat an effect unless the external system removes duplicate writes, and they set some rules: do not wrap interrupt() in a bare try/except, keep interrupts in the same order on every run, and do not loop on interrupt() to validate input.
The shape that follows from this is simple. The approval node only asks. The action node only acts.
# Illustrative; check against the current documentation.
from langgraph.types import interrupt, Command
def request_approval(state):
decision = interrupt({
"action": "send_follow_up",
"draft": state["draft"], # synthetic text only
"evidence": state["source_refs"],
})
return Command(goto="send" if decision == "approve" else "close")
def send(state):
# Idempotency key: the same approved action never sends twice.
outbox.send_once(key=state["action_id"], body=state["draft"])
Here outbox.send_once stands for your own delivery service, which must refuse a second send with the same key. LangGraph does not provide it.
For agents built with LangChain's create_agent, the human-in-the-loop page (accessed 25 November 2026) describes HumanInTheLoopMiddleware, configured with interrupt_on per tool, and four decision types: approve, edit, reject and respond. It states that human-in-the-loop requires checkpointing. The middleware gives you a consistent pause. It does not decide who may approve, what they must see or how long an approval stays valid. Those are your design.
What the reviewer must see
An approval prompt that says "Approve this action?" invites a reflex click. The interrupt payload is where the approval packet is built, and it should carry:
- the exact tool name and arguments, not a summary of them;
- the evidence the proposal relies on, with source references from Part 3;
- the risk tier and why this action needs a person;
- what happens on approve, edit and reject;
- when the approval expires.
The decision record then stores who decided, in what role, when, what they chose, any edited arguments and their reason. Approval is a system, not a button covers risk tiers, separation of duties and expiry in depth. This part is about making that system survive a restart.
The resume safety matrix
The decision tool for this part is a matrix of seven situations. Each row is a test your team should be able to run on demand, not a reassurance in a design document.
| Situation | Required behaviour | Test to demonstrate |
|---|---|---|
| Restart before the decision | Pending approval survives; reviewer sees the same packet | Kill the worker while paused, restart, confirm the interrupt is still pending on the same thread |
| Restart after approval, before the action | Action runs once on resume | Approve, kill before the action node completes, resume, count deliveries |
| Duplicate resume | Second resume does not repeat the action | Send the same approval twice; the idempotency key blocks the second send |
| Stale state | State is re-read after a long pause; changed facts force a new review | Change the underlying record while paused; resume must stop and re-ask |
| Edited arguments | Edited values are validated as strictly as the originals | Edit to an out-of-policy value; the tool boundary rejects it |
| Rejection | No side effect; the case closes or escalates with a reason | Reject; confirm no delivery and a recorded reason |
| Missing or expired approval | No path reaches the action without a valid decision | Retry after a timeout; confirm the action node refuses without a current approval |
The last row is the one most often missing. An approval check that lives only in the user interface can be bypassed by a retry, a replay or a direct API call. Put the check in the action node itself, against the stored decision record.
Replays deserve the same care. The checkpointers documentation explains that invoking from an earlier checkpoint_id re-executes the nodes after it, including model calls and interrupts. Replay is a valuable debugging tool, and Part 7 uses it. Never point a replay at a graph whose action nodes can reach production systems.
What this means for NalaTolika
NalaTolika is a CloudNala concept and reference architecture for governed language interpretation. It has no customers, deployments, pilots, data or results. In its design, the routine path stays a predictable chain: interpret, retrieve approved service information, answer with sources and ask the person to confirm. Approval and checkpoints belong to the exception path, where a case needs a follow-up question, a human review, a handoff or a controlled external action. The design rule from the series applies directly: chains for predictable interpretation, graphs for controlled decisions, humans for accountability. An interpreted follow-up message that a person will rely on is a controlled decision, so it waits for an accountable official.
How CloudNala can help
CloudNala reviews approval flows in agent workflows. We map every side-effecting tool to a risk tier, check where the interrupt and the action sit, choose a checkpoint store and durability mode with your platform team, and run the seven tests in the resume safety matrix with you before any write action reaches production.
Next in the series: Tracing, evaluations and failure reconstruction. Previous: Part 5, Tools and MCP connections need boundaries. All parts are on the series page.
Sources and limits: this article is CloudNala analysis. LangGraph and LangChain behaviour is described from docs.langchain.com and reference.langchain.com pages accessed on 25 November 2026, and package versions from PyPI on the same date; APIs and defaults change between releases. The code is illustrative, uses synthetic data, and outbox.send_once is a placeholder for your own service. The counter scenario is illustrative and describes no real service. NalaTolika is a concept with no deployments. The series started from a third-party manual, LangChain 101 at aiengineeringfromscratch.com, which is not a source for versions here.
Work with CloudNala
CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.
Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.
Book an AI Production Readiness Review or write to us at consult@cloudnala.co.za