*Worldview · 2 continents*
## Summary
What do the schema documents in spec/ leave unsettled about how a governance record is checked against an expectation?
## Explanation
- In AGENTS.md, spec/ holds JSON Schemas, draft 2020-12: the /3 set and governance-{rulebook,request,decision,plan,approval,backtest}.schema.json and tool-call.schema.json.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- In CHANGELOG.md, the schemas are spec/governance-{rulebook,request,decision,plan,approval,backtest}.schema.json and spec/tool-call.schema.json.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- In README.md, spec/ holds JSON Schemas (draft 2020-12) for both formats: rulebook, request, decision, plan, plan evaluation, findings, approvals, backtest, and the adapter's tool-call input.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- A rulebook is one JSON object (spec/rulebook.schema.json).
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- A /1 rulebook (spec/governance-rulebook.schema.json) has format, id, name, kinds, authorities (highest first), tools[], scopes[], roles[] (with tools, inheritance resolved), facts, limits, tags { tools, scopes, roles }, otherwise, trustedKeys?, rules, planRules?, mission? (§ 16.7), builtin (MUST include the eight /1 IDs), findings, and fingerprint (SHA-256 over canonical JSON of everything but findings, § 8).
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- validateRulebook(rulebook) gives the problems, in plain words, for a rulebook received as JSON; this is what the spec calls rulebook validation.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- The plan evaluation result is { status, steps, planChecks, firstViolation?, approvalRequests, approvalsUsed, finalFacts, finalArea, planDigest, fingerprint } (spec/plan-evaluation.schema.json).
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- The changelog entry dated Oct 18, 2026 says SPEC.md § 12, spec/plan.schema.json and spec/plan-evaluation.schema.json cover whole plans.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- The changelog entry dated Oct 18, 2026 says SPEC.md § 13, spec/backtest.schema.json and spec/backtest-report.schema.json cover the backtest.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- For a Decision, status is compared exactly, reasons are an ordered list checked on ruleId, status and setBy with the reason text free-form and never compared, and trace is checked the same way, while limits and approvalsUsed are deep-equal when present and must be absent when the expectation has none, then is exact when present and absent otherwise, approvalRequests are an ordered list checked on ruleId, by, rulebookFingerprint, participantId, action, areaId and setBy with reason free-form, and fingerprint is exact.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- For a Plan, status, finalArea, finalFacts, planDigest, approvalsUsed and fingerprint are exact, steps are ordered and each is checked on index, action, areaId and its decision as above with the step's facts and note not compared, planChecks are ordered and checked on ruleId, status, setBy and stepIndex, firstViolation is checked on stepIndex, ruleId, setBy and from with absent meaning absent, and approvalRequests are as for a decision.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- The two README sections leave open how a step's facts and note are judged, since they are named as not compared, and how a reason's text is judged, since it is named free-form.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- AGENTS.md and CHANGELOG.md list six governance schema files while README.md also names plan evaluation and findings, and no document says whether those two have their own schema files in spec/.
- [[Bevia/World/Continents/JSON Schemas in spec for governance formats|JSON Schemas in spec for governance formats]]
- One may be asking whether the schema inventory and the comparison rules together settle which parts of a governance record are fixed and which are left to the writer.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- [[Bevia/World/Continents/JSON Schemas in spec for governance formats|JSON Schemas in spec for governance formats]]
- It would be refuted if the documents named a schema file for plan evaluation and findings, or gave a comparison rule for a step's facts and note or a reason's text.
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- [[Bevia/World/Continents/JSON Schemas in spec for governance formats|JSON Schemas in spec for governance formats]]
## Two sides
The comparison rules name fields as not compared while the inventory lists formats without saying whether every named format has its own schema file.
- One side
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- The other side
- [[Bevia/World/Continents/JSON Schemas in spec for governance formats|JSON Schemas in spec for governance formats]]
## Continents
- [[Bevia/World/Continents/JSON Schemas in spec for formats and results|JSON Schemas in spec for formats and results]]
- [[Bevia/World/Continents/JSON Schemas in spec for governance formats|JSON Schemas in spec for governance formats]]