create_constitution
Sign a new AI constitution with named articles and severity levels to get a deterministic hash that every receipt commits to, enabling offline audit against your rules.
Instructions
Sign a new AI constitution. Returns a SignedConstitution whose hash field is the content-addressed identifier. Every receipt produced under this constitution should commit to this hash. The constitution itself is byte-deterministic — anyone can re-derive the hash given the same articles + name + signedBy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable constitution name. | |
| articles | Yes | Array of ConstitutionArticle: { id, title, text, severity (advisory/warning/blocking), measurableCondition (optional { pack, ruleId }), citations (optional string[]) }. | |
| preamble | No | Optional opening explaining the purpose. | |
| signedBy | Yes | Operator identifier (org legal name). |