Human Approval and Control Boundaries › Failure mode: stale plan
Language AI HandbookAll chapters A queue gives the planner time to change its mind. The same release might be regenerated with a later section, a different project, a new destination, or a revised audience. Treat a changed operation as a changed intent. In particular, the actor's approval binds the old note digest and the destination shown at the time of review. It should fail even when the high-level description remains “publish Acorn's release note.”
PythonIn [13]Expand
stale_broker = make_broker()
stale_id = stale_broker.decide(first_intent, "priya", 30, 330, 150, allow=True)
rewritten = replace(
first_intent, artifact=b"Acorn 1.4 preview is available tomorrow."
)
print(
"changed artifact:",
stale_broker.dispatch(rewritten, "publisher", 41, stale_id).status,
)
print(
"original action:",
stale_broker.dispatch(first_intent, "publisher", 42, stale_id).status,
)ConsoleOut [13]Expand
changed artifact: intent-changed original action: committed
Changing one field and preserving the previous record is useful as a test. The rejected request should have no new receipt. A subsequent call containing the approved bytes can still commit while the original approval is valid. This distinction lets the caller diagnose which alternative was rejected without quietly carrying over the approval.
If it is useful to authorize a narrow class of changes, state that class in the policy and in the approval UI. For example, a person may authorize the publication of a fixed set of assets under a defined destination and cutoff. The worker must still check membership of the final choice. The notebook uses a single exact intent rather than a field-omitting digest that could make an unrelated change invisible. A later section shows why a second approval for changed bytes does not allow reuse of the original operation key after commit.
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!