Skip to content

Run the draft checks ​

Use Node.js 22 or later. No actor runtime is needed for artifact checks.

sh
npm ci
npm run spec:check

The suite reports valid events, rejected vectors, recorded trace events, and case groups. It writes dist/conformance-report.json. A failure exits with a nonzero status and identifies the failed expectation.

Case groups ​

IDCheck
ART-SHAPESAll 14 core types have valid event examples
ART-NEGATIVEReusable invalid event vectors are rejected
ART-EXTENSIONSOptional scalar CloudEvents extensions remain valid
ART-RELATIONSCounter fixtures preserve identity, sequence, and outcome relationships
ART-PROFILECounter payloads match the illustrative profile
ART-TRACEThe recorded retry and replay trace is consistent; changed traces fail
ART-IDENTITYPublished schema and example bytes match their SHA-256 manifest

Run all project checks with npm run check. This adds public-source checks, the production site build, and internal link and anchor checks.

Limits ​

The invalid-event vectors contain parsed JSON. They cannot test a parser's rejection of duplicate keys or invalid UTF-8. The trace checker compares expected records; it is not a host or a durable client implementation.

Use behavioral cases when building a runtime harness. Keep unsupported cases marked not executed rather than treating them as a pass.