ConstitutionRule Type
A rule in a declarative constitution that governs agent behavior
Record fields
| Record Field |
Description
|
|
The rule category
|
Full Usage:
Check
Field type: string -> bool
|
The rule predicate — returns true if the content violates the rule
|
Full Usage:
Description
Field type: string
|
Human-readable description of the rule
|
Full Usage:
Id
Field type: string
|
Unique rule identifier
|
Full Usage:
IsHardConstraint
Field type: bool
|
Whether violating this rule should halt execution
|
Full Usage:
Priority
Field type: int
|
Priority (higher = more important, used for conflict resolution)
|
Nao