Each closed list of Planning (the kinds of item, the states, the close reasons, the severities, the verdicts, the kinds of link, the capabilities, the authorities of a field, the origins, the kinds of actor, the kinds of locator, the types of event and the bases of a principal) MUST be a union of literals with one registry entry for each case, each entry naming the member of the ontology plan: it is, so that a case with no entry does not compile, a value outside the list is an error value of its parser, and the lists of the code and of the ontology are the same lists (commons 0037-planning FR-002 in part, FR-041).
Enforced (check): .github: cd commons/planning && bun run verify — suite/vocabulary.test.ts: every list has one registry entry for each case and each entry is a member of the ontology plan:, and a value outside a list is an error value
Proved by: planning/suite/vocabulary.test.ts
Written in: planning/src/governance/mod.ts, planning/src/governance/vocab.ts
Tests: passed: suite/vocabulary.test.ts a switch over a list that misses a case does not compile, and one that handles every case ; passed: suite/vocabulary.test.ts a value outside a list is an error value that names the list, and a case is a value of its; passed: suite/vocabulary.test.ts each list has one registry entry for each case, and each entry is a member of the ontology; passed: suite/vocabulary.test.ts the names another standard gives the cases are the ontology's: the SARIF levels, the iCale