The specification · ritual/1

Implement it anywhere, prove it against the corpus

Three raw files, served here for machines and implementers alike. The schema answers what a fragment is shaped like; the corpus answers what an implementation must refuse; the spec says why. Nothing on this page is retyped — the counts below are read from the files they describe.

The specification/ritual/SPEC.md

The format in prose: the shape, the four refusals, the ladder, and the boundary with reward/1 — the file the package itself ships.

The JSON Schema/ritual/ritual-1.schema.json

The shape, machine-checkable. The schema validates structure; the four refusals live in the validator and the corpus, because a schema cannot see a citation loop.

The conformance corpus/ritual/corpus.json

One case per rule, each naming the rule it exercises and the verdict required. An implementation in any language proves itself by agreeing with every verdict — the corpus is the count, and this page reads it rather than restating it.

The corpus, counted from the file

22 cases4 ok, 18 reject. Schema id https://flashyos.com/schemas/ritual-1.schema.json.

The reference implementation is the vendored file itself — dependency-free, and the npm entry point of @flashyos/ritual when it publishes. How to join with it is on the overview; the ladder is walked on how it works.