*Continent · 3 territory* ## Summary A single specification dated Oct 19, 2026 lays out the rulebook format for a governance engine: the required fields (kinds, authorities, actions, roles, rules, builtin), the optional plan rules, and the conditions under which an implementation must reject a rulebook. ## Explanation - In Neuroverseos-governance:doc:SPEC.md, the rulebook field kinds is a required string[] of participant kinds (robot, person, agent, …) and must include every kind any role or action names. - The rulebook field kinds is a required string[] of participant kinds (robot, person, agent, …) and MUST include every kind any role or action names. - The rulebook field authorities is a required list of at least one { id, name? }, highest first, with unique IDs. - The rulebook field authorities is a required list of at least one { id, name? }, highest first, with unique IDs. - The rulebook field actions is a required list of { id, name?, kinds (≥1), tags?, requires?, effects?, synonyms? }, where requires names fact IDs that must be present when the action is requested and effects say what the action does to the facts when a plan is projected (§ 2.1), unused by the single-action decision. - The rulebook field actions is a required list of { id, name?, kinds (≥1), tags?, requires?, effects?, synonyms? }, where requires names fact IDs that MUST be p… - The rulebook field roles is a required list of at least one { id, name, kind, actions, inherits?, tags?, synonyms? }, where actions is the full list with inheritance already resolved and every listed action must declare the role's kind in its kinds. - The rulebook field roles is a required list of at least one { id, name, kind, actions, inherits?, tags?, synonyms? }, where actions is the full list (inheritan… - The rulebook field rules is a required Rule[] (§ 3) with IDs unique across rules and planRules. - The rulebook field rules is a required Rule[] (§ 3) with IDs unique across rules and planRules. - The rulebook field planRules is an optional PlanRule[] (§ 3.5), present only when non-empty. - The rulebook field planRules is an optional PlanRule[] (§ 3.5), present only when non-empty. - An implementation must reject a rulebook with a derived never rule missing or altered, or with findings that do not match the check (§ 2.2). - An implementation MUST reject a rulebook with a derived never rule missing or altered, or with findings that do not match the check (§ 2.2). - An implementation must reject a rulebook with empty or duplicate authorities. - An implementation MUST reject a rulebook with empty or duplicate authorities. - An implementation must reject a rulebook with a rule referencing an undeclared role, action, area, tag, kind, fact, limit or authority. - An implementation MUST reject a rulebook with a rule referencing an undeclared role, action, area, tag, kind, fact, limit or authority. - An implementation must reject a rulebook with a rule whose conditions on one fact can never all hold. - An implementation MUST reject a rulebook with a rule whose conditions on one fact can never all hold. - An implementation must reject a rulebook with a never rule that does not deny. - An implementation MUST reject a rulebook with a never rule that does not deny. - An implementation must reject a rulebook with a rule conditioning on a fact that is neither required nor defaulted. - An implementation MUST reject a rulebook with a rule conditioning on a fact that is neither required nor defaulted. - An implementation must reject a rulebook with a trusted key with a malformed public key or an undeclared authority or role. - An implementation MUST reject a rulebook with a trusted key with a malformed public key or an undeclared authority/role. - An implementation must reject a rulebook with an effect on an undeclared fact or of the wrong type. - An implementation MUST reject a rulebook with an effect on an undeclared fact or of the wrong type. - An implementation must reject a rulebook with a plan rule that is malformed or shares an ID with a rule (§ 3.5). - An implementation MUST reject a rulebook with a plan rule that is malformed or shares an ID with a rule (§ 3.5). - An implementation must reject a rulebook with an empty planRules list. - An implementation MUST reject a rulebook with an empty `planRules` list. - The specification does not say what an implementation does with a rulebook that fails several of these conditions at once, or which condition is checked first. - An implementation MUST reject a rulebook with a derived never rule missing or altered, or with findings that do not match the check (§ 2.2). - An implementation MUST reject a rulebook with empty or duplicate authorities. - An implementation MUST reject a rulebook with a rule referencing an undeclared role, action, area, tag, kind, fact, limit or authority. - An implementation MUST reject a rulebook with a rule whose conditions on one fact can never all hold. - An implementation MUST reject a rulebook with a never rule that does not deny. - …and 5 more ## Threads - The required rulebook fields: kinds, authorities, actions, roles, rules and builtin checks. - The rulebook field kinds is a required string[] of participant kinds (robot, person, agent, …) and MUST include every kind any role or action names. - The rulebook field authorities is a required list of at least one { id, name? }, highest first, with unique IDs. - The rulebook field actions is a required list of { id, name?, kinds (≥1), tags?, requires?, effects?, synonyms? }, where requires names fact IDs that MUST be p… - The rulebook field roles is a required list of at least one { id, name, kind, actions, inherits?, tags?, synonyms? }, where actions is the full list (inheritan… - The rulebook field rules is a required Rule[] (§ 3) with IDs unique across rules and planRules. - …and 1 more - Plan rules as an optional field present only when non-empty. - The rulebook field planRules is an optional PlanRule[] (§ 3.5), present only when non-empty. - The conditions under which an implementation must reject a rulebook. - An implementation MUST reject a rulebook with a derived never rule missing or altered, or with findings that do not match the check (§ 2.2). - An implementation MUST reject a rulebook with empty or duplicate authorities. - An implementation MUST reject a rulebook with a rule referencing an undeclared role, action, area, tag, kind, fact, limit or authority. - An implementation MUST reject a rulebook with a rule whose conditions on one fact can never all hold. - An implementation MUST reject a rulebook with a never rule that does not deny. - …and 5 more ## Consultant **Where it shows up** — The rulebook format keeps coming up as a set of required fields — kinds, authorities, actions, roles, rules, builtin — paired with a long list of conditions that force an implementation to reject a rulebook. **A way forward** — Keep the rejection list as it is and add one line to the specification fixing the order in which conditions are checked, so a failing rulebook gets one named reason. ## Ideas - A rulebook that conditions on a fact which is neither required nor defaulted should be refused. - A never rule that does not deny should cause the rulebook to be refused. - A rulebook whose conditions on one fact can never all hold should be refused. - A rulebook with empty or duplicate authorities should be refused. - A rulebook with a malformed trusted key or an undeclared authority or role should be refused. - An empty plan rules list should cause the rulebook to be refused. ## Territories - [[Bevia/World/Territories/Rulebook fields and their required-or-optional status|Rulebook fields and their required-or-optional status]] - [[Bevia/World/Territories/Rulebook rejection conditions in a governance specification|Rulebook rejection conditions in a governance specification]] - [[Bevia/World/Territories/Required rulebook fields- kinds, actions, roles|Required rulebook fields: kinds, actions, roles]]