Skip to content

Interface: AgentApprovalOptions

@roomful/core


@roomful/core / AgentApprovalOptions

Defined in: packages/core/src/types.ts:1994

Configures the agent-approval engine.

optional canDecide(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.

AgentProposal

The proposal being decided.

Peer

The local peer attempting the decision.

boolean

true when the local peer may decide.