The four JSON Schemas in spec/schemas/ โ the contract every file in a workspace must satisfy. doctor enforces the parts that matter operationally; the schema files are the readable spec of the rest.
Every message, event, and workspace marker in the system validates against one of these four documents.