Interface: GroupPolicy
Defined in: packages/agentos/src/io/channels/types.ts:254
Group-chat safety policy. Evaluated by evaluateGroupPolicy() (./group-policy.ts) before inbound group messages reach the agent — enforced in ChannelRouter and reusable by host security gates.
Properties
activation
activation:
GroupActivation
Defined in: packages/agentos/src/io/channels/types.ts:256
When the agent engages in group conversations. Recommended default for new bindings: 'mention'.
allowFrom?
optionalallowFrom:string[]
Defined in: packages/agentos/src/io/channels/types.ts:260
Only these sender IDs may activate the agent (empty/undefined = everyone).
botLoopProtection?
optionalbotLoopProtection:boolean
Defined in: packages/agentos/src/io/channels/types.ts:266
Drop messages from bot senders (loop protection). Default true.
denyFrom?
optionaldenyFrom:string[]
Defined in: packages/agentos/src/io/channels/types.ts:262
These sender IDs are always dropped (wins over allowFrom).
ownerIds?
optionalownerIds:string[]
Defined in: packages/agentos/src/io/channels/types.ts:258
Extra owner user IDs honored by 'owner-only' (the binding's ownerUserId always counts).
toolRestrictions?
optionaltoolRestrictions:string[]
Defined in: packages/agentos/src/io/channels/types.ts:264
Tool names blocked for turns originating from this group (host-enforced).