Human Approval and Control Boundaries › Failure mode: ambiguous acknowledgement

Michael BrenndoerferDecember 1, 20263 min read
Language AI HandbookAll chapters
Part 49 of 67Long-Horizon Agents and Interoperability
Chapter 379Human Approval and Control Boundaries › Failure mode: ambiguous acknowledgement
Reading section 7 of 17 · Failure mode: ambiguous acknowledgement · 3 minSection 7 of 17 · 3 min

Section 7 of 17 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The word “yes” in a conversation may acknowledge an update or agree to keep preparing a draft. It is too ambiguous to authorize an external effect when there are several pending proposals. Resolve the displayed proposal in the UI, collect an explicit decision for its immutable intent, and send that decision through the trusted approval path. A chat turn that does not select an operation remains conversational evidence only.

PythonIn [14]
CollapseExpand
ack_broker = make_broker()
print(
    "plain acknowledgement:",
    ack_broker.dispatch(first_intent, "publisher", 41, None).status,
)
no_id = ack_broker.decide(first_intent, "priya", 42, 342, 162, allow=False)
print(
    "recorded denial:",
    ack_broker.dispatch(first_intent, "publisher", 43, no_id).status,
)
ConsoleOut [14]
CollapseExpand
plain acknowledgement: approval-required
recorded denial: denied

There is a separate ambiguity after dispatch. The caller can time out even though the remote service performed the operation. The safest next step depends on what the service can report about the original operation. If it has a stable receipt identity, look up that instance. If the service promises idempotency for the same principal, key and intent, a retry using those exact values can recover the prior result. Losing a response alone does not establish either success or failure.

The Amazon Builders’ Library account of retries describes caller-provided request identifiers associated with the same caller. It calls for recording the key and making the corresponding changes atomically and durably. That requirement closes two failure cases: creating the effect without its idempotency record, and writing the record without making the effect. This single-threaded fixture models both as one dictionary insertion. It cannot establish the guarantees of an external service.

PythonIn [15]
CollapseExpand
retry_broker = make_broker()
retry_id = retry_broker.decide(first_intent, "priya", 30, 330, 150, allow=True)
unknown = retry_broker.dispatch(
    first_intent, "publisher", 47, retry_id, lose_ack=True
)
known = retry_broker.lookup_receipt(first_intent, "publisher")
repeat_result = retry_broker.dispatch(first_intent, "publisher", 48, retry_id)
print("first response:", unknown.status)
print("lookup:", known.status)
print("same-key retry:", repeat_result.status)
print("simulated publications:", len(retry_broker.committed))
ConsoleOut [15]
CollapseExpand
first response: ack-unknown
lookup: already-committed
same-key retry: already-committed
simulated publications: 1

The response is ambiguous because the demonstration discards the receipt returned to the caller. The committed record still exists. The unchanged retry can recover it while the current dispatch checks pass. After expiry, dispatch refuses the exact same request even when the original receipt still exists. The demo permits a separate lookup by the same requester under the current publication scope, regardless of approval expiry. Losing that scope blocks lookup while leaving the receipt in storage. A deployed service may give an audit owner separate read access. If the downstream cannot safely reconcile an uncertain attempt, keep the status uncertain and escalate it. A fresh key risks creating an independent operation.

A later denial can supersede an approval for the same operation. If the original publication already committed, a denial blocks dispatch and the authorized receipt lookup still returns that effect. In the next block no dispatch has committed yet, so replacing the decision creates a hold and produces no receipt.

PythonIn [16]
CollapseExpand
decision_broker = make_broker()
allow_id = decision_broker.decide(
    first_intent, "priya", 31, 331, 151, allow=True
)
denied_id = decision_broker.decide(
    first_intent, "priya", 32, 332, 152, allow=False
)
print(
    "superseded decision:",
    decision_broker.dispatch(first_intent, "publisher", 33, allow_id).status,
)
print(
    "new denial:",
    decision_broker.dispatch(first_intent, "publisher", 33, denied_id).status,
)
assert not decision_broker.committed
ConsoleOut [16]
CollapseExpand
superseded decision: decision-replaced
new denial: denied

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy