> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# CognitionAcp.RuleTrigger

> How a rule is activated (i.e.

How a rule is activated (i.e. when its content is injected).

A rule's on-disk activation can in principle set more than one of these,
so the agent collapses them to a single representative trigger using the
precedence documented on \[`RuleInfo::trigger`].

```typescript
type RuleTrigger = "always_on" | "glob" | "agent_decided" | "manual"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.