Status vocabularies are closed sets of strings
The rule
Normative: this is the rule
- Job, pipeline, session, message and interrupt status MUST each take their value from a closed vocabulary.
- The job and pipeline (run) vocabularies are listed in PIPE-10, and the interrupt vocabulary in INT-24.
- An implementation MUST NOT persist a status outside its vocabulary.
- A status MUST be a string, and one spelling MUST serve everywhere: what is persisted is what every JSON payload carries and what every event carries.
- An implementation MUST NOT persist one spelling and publish another.
Why
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0 · STORE-11 · changed in spec 1.1