specs/task_consent/shared/v0_1/task_consent
library
Classes
-
Effect
-
One consequence of executing the pending task, authored by the executor that is
about to run it. An effect is produced by dry-running the real handler against the
executor's own prior state โ never by the requester, and never by re-implementing
the handler's semantics elsewhere. A consent surface renders ONLY effects it
received under the executor's signature.
-
Exposure
-
The authoritative SPEC ยง7.3 item 14 exposure class of the pending task, derived by
the executor from the compiled handler it is about to invoke โ never from the
registry's declared value.
-
StatePin
-
The prior state the effects were computed against. A human in the loop makes the
approval window minutes wide, so the state can move underneath a pending approval.
The executor asserts this pin still holds at execution and refuses otherwise โ
without it, a lost update silently executes against state the approver never saw.
Extension Types
-
Decision
-
The approver's answer.
deny aborts the pending request; a subsequent submit of
the same task starts a fresh one.
-
ExposureDiscloses
-
Sensitivity of data the task returns to its caller.