Human Approval and Control Boundaries › The effect model: classifying actions by reversibility

Michael BrenndoerferDecember 1, 20263 min read
Language AI HandbookAll chapters
Part 49 of 67Long-Horizon Agents and Interoperability
Chapter 379Human Approval and Control Boundaries › The effect model: classifying actions by reversibility
Reading section 3 of 17 · The effect model: classifying actions by reversibility · 3 minSection 3 of 17 · 3 min

Section 3 of 17 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Start with what changes when the call succeeds. A local preview can be discarded. A stored internal draft can be restored from a prior version if the application keeps one. Publishing to a shared board can expose the note to people or processes outside the assistant's immediate control. A correction may fix what readers find on the board without undoing the fact that they were already shown the earlier note.

Read-only is a statement about writes. A read may still involve confidential content, a restricted resource, or a transfer to an external processor. The system needs explicit read and export boundaries even if its approval gate is primarily for writes. A preview that renders only within a private staging area and a preview sent outside it have different effects. Treat the destination as part of the operation.

Use a small effect classification for decisions in this deployment. Class 0 is a local lookup of an already accessible fixture. Class 1 is a local reversible change such as staging a preview. Class 2 is a board publication that deserves a named owner’s decision. Class 3 is an operation the example cannot classify, so the worker refuses it. These ordinal labels organize policy. They do not measure loss, duration, priority, or probability.

PythonIn [3]
CollapseExpand
EFFECT_NAMES = ("Local read", "Local draft", "Publish", "Unknown")
KNOWN_ACTIONS = {"read-note": 0, "stage-preview": 1, "publish-note": 2}


def effect_class(action):
    return KNOWN_ACTIONS.get(action, 3)

The classifier is illustrative. It checks fixed operation names already declared by the implementation. It does not infer that an operation is safe because a caller says its name is “preview.” Only the modeled publish-note operation enters the broker implementation below. In a larger system, resolve the trusted operation and its target from the adapter that will actually perform the side effect. Its metadata should reflect what that adapter can do at a given destination.

PythonIn [4]
CollapseExpand
import numpy as np

operation_names = [
    "Inspect note",
    "Stage private preview",
    "Publish to board",
    "Unrecognized action",
]
operation_classes = np.array(
    [effect_class(a) for a in (*KNOWN_ACTIONS, "new-action")]
)
VisualizationOut [5]
CollapseExpand
Dot plot maps four operations to their named policy categories.
Four synthetic operations map to ordinal policy classes. Unknown operations enter the refusal class. A class is a policy label rather than a measured risk.

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