Human Approval and Control Boundaries › Failure mode: authority confusion
Language AI HandbookAll chapters A human participant can read a proposal without owning the resource it will change. An authenticated user can own one project and be unable to approve another. Teams may delegate certain decisions to an on-call role for a period, with a separate rule for decisions requiring a second approver. Record the relevant subject and scope in the decision, then check that authority is still current when using it.
PythonIn [17]Expand
authority_broker = make_broker()
try:
authority_broker.decide(birch_intent, "priya", 30, 330, 150, allow=True)
except PermissionError as err:
print("wrong resource owner:", str(err))
authority_id = authority_broker.decide(
birch_intent, "rei", 31, 331, 151, allow=True
)
print(
"wrong requester:",
authority_broker.dispatch(
birch_intent, "other-worker", 32, authority_id
).status,
)
authority_broker.owners["rei"] = frozenset({public_note})
print(
"ownership changed:",
authority_broker.dispatch(
birch_intent, "publisher", 33, authority_id
).status,
)ConsoleOut [17]Expand
wrong resource owner: The approver lacks authority for this scope. wrong requester: requester-outside-policy ownership changed: authority-changed
The invalid actor never gets a decision on Birch. The valid actor can make one while her scope includes Birch. Holding that approval identifier does not grant dispatch to other-worker, and removing Birch from the approver's current authority blocks it even for the correct requester. Owner sets are replaced only through trusted administrative actions; the direct assignment here is a way to simulate such a policy update.
An unsupported operation is also stopped before a decision. It cannot become an approved-looking publication simply because the owner has authority for a board.
PythonIn [18]Expand
unsupported = replace(
first_intent, scope=replace(public_note, effect="archive-note")
)
try:
authority_broker.decide(unsupported, "priya", 34, 334, 154, allow=True)
except PermissionError as err:
print("unsupported operation:", str(err))ConsoleOut [18]Expand
unsupported operation: This operation is outside broker policy.
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!