Infrastructure · Data Structures

RuleSet

Immutable collection of constraints

Definition

Mechanism

A structured collection of Constraints and invariants that defines a validity boundary. It serves as the immutable input for validation logic, distinct from a mutable policy or social Constitution.

Invariants

  1. Immutable once bound: a change is a new RuleSet, not an edit to the one already committed to.

Risks

Failure modes

None stated.

Relationships

Builds on

References

Society

Constitution

Ratified rule set, amendable only out of band

Used by

Accepts

References

Society

Ruleflip

Before applying a rule at scale, state how it could be satisfied while defeating its purpose, and watch for it

Reference

Data schema

{
  "type": "object",
  "required": [
    "constraints",
    "invariants"
  ],
  "properties": {
    "constraints": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of constraint hashes"
    },
    "invariants": {
      "type": "array",
      "description": "Invariants the set asserts, alongside its constraints. Named in the mechanism and previously absent."
    }
  }
}

Identity

Ref
RuleSet#7ebf
Sema ID
sema:RuleSet#mh:SHA-256:7ebf36ad0634307d189aa0545d3424f0d0783bf2a0df04dfafdecf64e0cc9146
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:RuleSet#mh:SHA-256:8d85afc9e1f879dc43aaf8c92bd280aa8f1c81ece7dd1bd6f36c6ab47ddc0ecf
  • sema:RuleSet#mh:SHA-256:e91d3830512ca5aa5a8cf7f50ad7d186de4b82aeced94c8cb106258a8663e482
  • sema:RuleSet#mh:SHA-256:29462fee548f58cad67908506e4d68676b5a73ab4a60ca36e0cd71cd01412563
  • sema:RuleSet#mh:SHA-256:8395e6e9e6a221bbfe200335ad0dd145fc2bdaf7f1815704444ad05e08f9b363