Interface: AgentApprovalOptions
@roomful/core / AgentApprovalOptions
Interface: AgentApprovalOptions
Section titled “Interface: AgentApprovalOptions”Defined in: packages/core/src/types.ts:1994
Configures the agent-approval engine.
Methods
Section titled “Methods”canDecide()?
Section titled “canDecide()?”
optionalcanDecide(proposal,self):boolean
Defined in: packages/core/src/types.ts:2004
Gates who may approve or reject a proposal. Returns true to allow the local peer to decide.
Defaults to allowing everyone. This is a cooperative UI-level gate — the proposer re-checks
decidedBy before it applies an approved action, which is the real enforcement point.
Parameters
Section titled “Parameters”proposal
Section titled “proposal”The proposal being decided.
The local peer attempting the decision.
Returns
Section titled “Returns”boolean
true when the local peer may decide.