delegateconstno test imports itconst delegate: OperationPasses on some of what one principal may do to another, for a time, never more than the delegator holds and never more than the delegation above it passes on.
The contracts of the operations of agents and delegation (commons data 0042-identity-agent-operations): what each takes, reads and writes, what it records, and who it runs as. They hold no SQL. How they are done is sql/extensions/operations/identity.
delegateconstno test imports itconst delegate: OperationPasses on some of what one principal may do to another, for a time, never more than the delegator holds and never more than the delegation above it passes on.
revokeDelegationconstno test imports itconst revokeDelegation: OperationEnds a delegation and every delegation below it, at once.
recordToolCallconstno test imports itconst recordToolCall: OperationDecides and records a call of a tool by an agent in a run: allowed only if the agent holds the tool, the delegation allows it, the run's budget has room, and a person has…
decideApprovalconstno test imports itconst decideApproval: OperationA person approves or refuses one action of an agent; only a person decides, and only one who may do the action themselves.
killAgentconstno test imports itconst killAgent: OperationSwitches an agent off: it can do nothing, its runs stop, its delegations end, its credentials are revoked and what waits for approval is cancelled, in one transaction.
agentOperationsconstconst agentOperations: readonly [Operation, Operation, Operation, Operation, Operation]The operations of the agent model: delegate, revoke a delegation, record a tool call, decide an approval and kill an agent.