Operational Rules are the highest level of authority in 2501. If a rule conflicts with a specialty or a ticket instruction, the rule wins.
Two kinds of rules
The specialty makes the agent a competent AWS operator in general. The operational rule tells it that in your AWS, Terraform-managed resources must go through a PR.
Writing a good constraint
A constraint describes what is forbidden or required, plus why, so the agent can apply the spirit of the rule in situations you didn’t anticipate.Writing a good procedure
A procedure describes the correct sequence of steps for a recurring task in your environment. Only useful when your setup differs from standard practice.What does NOT belong in an operational rule
Examples:
Scoping with tags
Rules are scoped with tags (OS, Type, Tech, Procedure,app:*). Tags drive matching: a rule with os:linux + tech:nginx + procedure:restart only applies to Linux nginx hosts on restart actions.
Two reasons to scope well:
- Important rules reach the right tasks. Tag matching is programmatic; the agent doesn’t have to guess.
- Irrelevant rules stay out. A rule that doesn’t match isn’t injected, so the agent’s context stays focused.
Maintaining rules
Rules go stale faster than specialties — they’re tied to your infrastructure.- One rule, one concern. A rule covering network policy + deployment + backup retention is three rules pretending to be one.
- Include the reason. A rule without a why gets worked around. A rule with one gets respected.
- Review on environment changes. A rule about a system that no longer exists is noise that degrades agent judgment.

