Shared control contract
Agent-addressable components
A control can publish a stable contract without containing an agent or a model.
An agent is a governed caller of the same component contract that a person uses. The contract keeps meaning, state, consent, and refusal explicit.
Released surfaces
createControlInteractionRegistryFormInputSelectSwitch
Scripted demonstration · released registry
A proposal succeeds. A protected change fails.
This scripted adapter uses real controls, validation, classification, staging, and confirmation policies. No language model runs in this demo.
Small example object
- Subject
- Profile · 42
- Form ID
profile-demo
Permitted proposal
- Find and explainRead stable identity, label, constraints, and policy.
- Validate the proposalUse the same rule as the visible form.
- Stage separatelyKeep the proposal apart from the live value.
- ReviewCompare the live and proposed values.
- Confirm and applyA real click supplies the confirmation an agent cannot send.
- UndoRestore the previous registry-held value.
Policy refusal
Awareness is not authority
The registry can identify the recovery-key control. Its secret classification removes read and mutation authority.
Choose the first step to run the permitted proposal.
Person sees
A person sees labels, choices, current state, validation, and controls for staged or live changes.
Agent discovers
An agent can find a control by stable form and control IDs. Metadata describes its meaning, options, constraints, sensitivity, state, and commands.
Agent operates
An adapter can request focus, reveal, highlight, explain, validate, stage, apply, clear, or undo operations. Each request identifies its command source.
Confirmation boundary
An agent can stage a value without changing the live value. An agent apply operation is always refused by default; only a human, through a real local click, can apply it.
Failure behavior
The default policy refuses writes to non-writable, disabled, read-only, or secret controls. Secret controls publish no read or mutation capability.
What this story proves
- Stable form and control IDs
- Meaning, options, and constraints
- Sensitivity and current state
- Command source records
- Stage, validate, apply, and undo