*Continent · 3 territory*
## Summary
This is about how a rulebook's two derived parts are checked: the area role-limit never rules, built from each area's allowed and denied roles, and the findings, built from the rules. Validation recomputes both and compares them, so a rulebook with either part stripped or altered is invalid even when the fingerprint is recomputed, while reworded findings are fine. A deliberate change to the rules themselves with the fingerprint recomputed is caught only by a pinned Ed25519 rulebook signature, so the boundary note says to deploy with both. What a reworded finding is compared against is not stated.
## Explanation
- A governance specification sets out how each area's allowed and denied roles become never rules, and how validation re-derives those rules and requires them present and unchanged.
- The rulebook field areas is a required list of at least one { id, name, tags?, allowRoles?, denyRoles?, synonyms? }, and allowRoles/denyRoles compile to the ne…
- Validation re-derives the area role-limit rules from the areas and requires them present and unchanged, and the id prefix area_role_limits: is reserved for the…
- Rule identifiers are non-empty strings and may contain a colon.
- Rule IDs are non-empty strings and may contain :, as area_role_limits:<area> does.
- The rulebook's areas field is a required list of at least one entry, each with an id, a name, optional tags, allowed roles, denied roles and synonyms, and the allowed and denied roles compile into never rules under a reserved identifier prefix.
- The rulebook field areas is a required list of at least one { id, name, tags?, allowRoles?, denyRoles?, synonyms? }, and allowRoles/denyRoles compile to the ne…
- For each area with denied roles, a never rule is derived naming the roles that may never act in that area, with the declaration authority as the setter, a wildcard action, the area as the place, an answer of deny, and a source pointing at the area's denied-roles declaration.
- For each area with denyRoles, the rule { id: "area_role_limits:<area>:deny", never: true, setBy: <declaration authority>, text: "<role names> may never act in…
- For each area with allowed roles and at least one other role, a never rule is derived saying the area is limited to those roles, listing every role not allowed in declaration order, with a wildcard action, the area as the place, an answer of deny, and a source pointing at the area's allowed-roles declaration.
- For each area with allowRoles and at least one other role, the rule { id: "area_role_limits:<area>", never: true, setBy, text: "<area name> is limited to: <all…
- Each derived area role-limit rule must be present in the rules and equal, as canonical JSON, to the derived one, and no other rule may use that prefix.
- Each derived area role-limit rule MUST be present in rules and equal (as canonical JSON) to the derived one, and no other rule may use the area_role_limits: pr…
- Validation re-derives the area role-limit never rules from the areas' allowed and denied roles, roles and authorities, and re-derives the findings from the rules, then compares them, so an attacker who recomputes the fingerprint and drops either part is caught.
- Two parts of a rulebook are derived from the rest: the area role-limit never rules (derivable from areas[].allowRoles/denyRoles, roles and authorities) and the…
- For integrity of derived content (item 4), validateRulebook re-derives the area role-limit never rules from areas[].allowRoles/denyRoles and the findings from…
- A rulebook with either derived part stripped or altered is invalid even with a recomputed fingerprint, while reworded findings are fine.
- integrity.json proves validation re-derives the area role-limit never rules and the findings: a rulebook with either stripped or altered is invalid even with a…
- Validation catches an accidental change to anything the fingerprint covers and a deliberate change to the two derived parts even with the fingerprint recomputed, while a deliberate change to the rules themselves with the fingerprint recomputed is caught only by a pinned Ed25519 rulebook signature, so deploy with both.
- Validation catches an accidental change to anything the fingerprint covers and a deliberate change to the two derived parts (the role-limit never rules, the fi…
- In SPEC.md, validation re-derives the area never rules and the findings, and § 2 already said findings must not be hidden and the areas' effect is the never rules.
- Validation re-derives the area never rules and the findings (§ 2 already said findings MUST NOT be hidden and the areas' effect is the never rules).
- In PRINCIPLES.md, a rulebook never hides its findings and validation re-derives them.
- A rulebook never hides its findings: validation re-derives them.
- The records do not say what a reworded finding is compared against, so how rewording passes while alteration fails is left unstated.
- integrity.json proves validation re-derives the area role-limit never rules and the findings: a rulebook with either stripped or altered is invalid even with a…
- Two parts of a rulebook are derived from the rest: the area role-limit never rules (derivable from areas[].allowRoles/denyRoles, roles and authorities) and the…
## Threads
- How each area's allowed and denied roles compile into never rules under a reserved identifier prefix.
- The rulebook field areas is a required list of at least one { id, name, tags?, allowRoles?, denyRoles?, synonyms? }, and allowRoles/denyRoles compile to the ne…
- For each area with denyRoles, the rule { id: "area_role_limits:<area>:deny", never: true, setBy: <declaration authority>, text: "<role names> may never act in…
- For each area with allowRoles and at least one other role, the rule { id: "area_role_limits:<area>", never: true, setBy, text: "<area name> is limited to: <all…
- Each derived area role-limit rule MUST be present in rules and equal (as canonical JSON) to the derived one, and no other rule may use the area_role_limits: pr…
- Validation recomputing the area role-limit never rules and the findings and comparing them.
- Two parts of a rulebook are derived from the rest: the area role-limit never rules (derivable from areas[].allowRoles/denyRoles, roles and authorities) and the…
- For integrity of derived content (item 4), validateRulebook re-derives the area role-limit never rules from areas[].allowRoles/denyRoles and the findings from…
- Validation re-derives the area role-limit rules from the areas and requires them present and unchanged, and the id prefix area_role_limits: is reserved for the…
- What validation catches with a recomputed fingerprint, and the pinned Ed25519 signature that covers the rest.
- Validation catches an accidental change to anything the fingerprint covers and a deliberate change to the two derived parts (the role-limit never rules, the fi…
- integrity.json proves validation re-derives the area role-limit never rules and the findings: a rulebook with either stripped or altered is invalid even with a…
- The principle that a rulebook never hides its findings.
- Validation re-derives the area never rules and the findings (§ 2 already said findings MUST NOT be hidden and the areas' effect is the never rules).
- A rulebook never hides its findings: validation re-derives them.
## How it formed
The changelog entry on Oct 18, 2026 records the re-derivation of the area role-limit never rules and the findings; the specification, boundary note, readme and principles on Oct 19, 2026 set out the derived rules, the comparison and the signature requirement.
- For integrity of derived content (item 4), validateRulebook re-derives the area role-limit never rules from areas[].allowRoles/denyRoles and the findings from…
- Two parts of a rulebook are derived from the rest: the area role-limit never rules (derivable from areas[].allowRoles/denyRoles, roles and authorities) and the…
- Validation catches an accidental change to anything the fingerprint covers and a deliberate change to the two derived parts (the role-limit never rules, the fi…
- integrity.json proves validation re-derives the area role-limit never rules and the findings: a rulebook with either stripped or altered is invalid even with a…
- A rulebook never hides its findings: validation re-derives them.
## What's still open
What a reworded finding is compared against, so that rewording passes while alteration fails, is not stated.
- integrity.json proves validation re-derives the area role-limit never rules and the findings: a rulebook with either stripped or altered is invalid even with a…
- Two parts of a rulebook are derived from the rest: the area role-limit never rules (derivable from areas[].allowRoles/denyRoles, roles and authorities) and the…
## Consultant
**Where it shows up** — The same check keeps coming up across the specification, the boundary note, the readme and the principles: validation recomputes the area role-limit never rules and the findings and compares them. The boundary note adds that a recomputed fingerprint does not protect the rules themselves.
**A way forward** — Keep the re-derive-and-compare pattern and extend it: write down, next to the findings check, what a reworded finding is compared against, so the boundary note's claim about rewording is pinned to a rule.
## Ideas
- Area role limits should be recomputed from the areas rather than trusted as stored rules, and validation should require the recomputed ones present and unchanged.
- A rulebook should be deployed with both validation and a pinned Ed25519 signature, because validation alone does not catch a deliberate change to the rules themselves once the fingerprint is recomputed.
- Validation should recompute the derived parts of a rulebook and compare them rather than trust the fingerprint alone, so a recomputed fingerprint cannot hide a stripped or altered derived part.
- Validation should recompute a rulebook's findings rather than trust them as stored, so a rulebook cannot hide them.
- A rulebook should be judged invalid when its derived rules or findings have been stripped or altered, even if the fingerprint was recomputed.
## Territories
- [[Bevia/World/Territories/Derived area role-limit rules and findings integrity|Derived area role-limit rules and findings integrity]]
- [[Bevia/World/Territories/Area role limits derived as never rules|Area role limits derived as never rules]]
- [[Bevia/World/Territories/Validation re-derives findings; rulebooks never hide them|Validation re-derives findings; rulebooks never hide them]]