Notifying humans from interrupt(): quiet hours, expiry and per-person limits across graphs

interrupt() solves the pausing part of human-in-the-loop well: the graph stops on its checkpointer and waits. What it leaves to you is everything around the human: who gets told, on which channel, what happens at 3 a.m. in their time zone, and what happens if nobody answers for two days. Once several graphs run in the background, there’s a second problem: each one is polite on its own, but together they page the same person over and over.

I maintain Cue, a self-hosted (MIT) service that handles that outbound side, and it has a small LangGraph adapter. The node interrupts as usual:

def delete_accounts(state):
    decision = interrupt({"title": "Delete 1,204 inactive accounts?",
                          "body": "No login since 2024."})
    if not decision["approved"]:
        return {"result": "kept"}
    ...

After invoke, hand any pending interrupts to Cue, which notifies the reviewers on their own channels (Slack, Telegram, email, push or a signed webhook) with a personal one-time link to approve or reject:

from cue_client.langgraph import approval_request, resume

result = graph.invoke(inputs, config)
for pending in result.get("__interrupt__", []):
    cue.request_approval(**approval_request(pending, thread_id, ["lead"]))

When someone decides, Cue posts a signed approval.decided callback; resume the thread with it:

thread_id, command = resume(payload)
graph.invoke(command, {"configurable": {"thread_id": thread_id}})

The node gets {"approved": ..., "status": ..., "comment": ..., "decided_by": ...}. A request nobody decides on before its deadline comes back as expired, so the graph can treat silence as a no instead of waiting forever. The notifications go through Cue’s normal policy: the reviewer’s quiet hours, per-agent budgets per person, and an importance ceiling per agent, so only trusted agents can wake someone up.

Curious how others handle this today. Do you notify from inside the node, from whatever calls invoke, or from a separate service? And how do you deal with interrupts that nobody answers?

to your second question, treating silence as a no at the deadline is the right default, and i’d go one step further for the ones that do get answered late. an approval that comes back after two days was given against whatever the reviewer saw two days ago, so i re-read the facts the action depends on at resume and block if one moved. notifying from a separate service makes sense to me too, the node shouldn’t need to know anyone’s time zone.

the per-person budgets are the part i’m most curious about. do you measure approval fatigue at all, like time to decide shrinking, approve rate creeping toward 100%, or people deciding from the notification without opening the full request? i want to measure re-approval cost in my benchmark and haven’t found anyone tracking it for real.

Agreed on re-reading the facts at resume. Expiry handles silence, but a late “yes” is the riskier case, because it was given against a snapshot.

On fatigue: no, Cue doesn’t measure it today, and I’d rather say that plainly than overstate it. What it stores per approval is enough for two of your three signals, not the third:

  • created_at, decided_at, decided_by and the final status (approved, rejected, expired), so time to decide and approve rate per reviewer are one query each.
  • one single-use review link per reviewer with created_at and used_at.
  • it does not record a view of the full request separately from the decision, so “decided without opening it” can’t be computed. You’d need an “opened” event on the review page, plus a minimum dwell time.

If I were building the benchmark, these are the signals I’d trust most, roughly in order:

  1. Seeded requests that should be rejected. Mix in a small share of requests with a planted problem (wrong target, inflated amount). The miss rate on those is the only direct measure of rubber-stamping; the others are proxies.
  2. Time to decide normalised by request size. Raw time falls naturally as people learn a request type. Seconds per field or per changed line falling while the content stays the same is the fatigue signal.
  3. Approve rate per reviewer and action class, watched as a trend rather than a level. 98% can be correct for a safe class; climbing from 80% to 98% over two weeks with no change in the requests is the warning.
  4. Expiry rate. Rising expiries usually mean disengagement before approve rates move.
  5. Re-approval cost, which is your case: count the re-asks caused by a moved fact at resume and the extra decision time they add. That’s the price of the safety check, and it tells you where to shorten expiry instead of re-asking.

Per-person budgets mostly attack (3) and (4): fewer asks per person per day, with the rest batched or routed to someone else, so each one gets read. I don’t have production numbers on that yet. If your benchmark publishes them, I’d like to read it.

@murtazox04 @rayyanmaan One pattern that cut notification fatigue for our background routines was decoupling tool execution from synchronous interrupts. Background runs stage side-effecting calls (email, calendar, outbound posts) into a persistent batch approval queue (status = staged_for_approval) with an expires_at start-by deadline, so the reviewer sweeps one queue on their own schedule instead of getting paged per graph. To prevent rubber-stamping in batch UIs, we scope Approve (N) strictly to explicitly checked rows (no Approve All button) and track the edit-before-approve rate by auto-detecting whenever a reviewer modifies the staged payload before approving.

@murtazox04 this is the most useful breakdown i’ve gotten on measuring fatigue, thank you. the point that seeded requests which should be rejected are the only direct measure, and everything else is a proxy, is the thing i was missing. i was going to lean on approve rate and time-to-decide, which you’re right both move for innocent reasons. so i’ll make the seeded-reject miss rate the headline fatigue number, with time-to-decide normalised by request size and approve-rate-as-a-trend as supporting signals.

@pdsminer the edit-before-approve rate is a good one i hadn’t considered, a reviewer who never edits a staged payload is either getting perfect requests or not really reading them.

one thing i’m trying to get right on the seeded-rejects: what share of requests can you seed before the seeding itself changes behaviour, reviewers catching on that some are planted, or the extra rejects making them more suspicious than they’d be in production? trying to find the rate that measures rubber-stamping without distorting it.