1

Write the smallest document

Save this as run.ocp.json. It records one unit of work and nothing else.
run.ocp.json
2

Install the checker

The reference checker ships with loopmath, which needs Python 3.11 or newer.
3

Validate it

Output
The document conforms. The warning says the producer has not declared what it can record, so a reader cannot tell “this tool does not record cost” from “this run cost nothing”. W180 explains it.
4

Add an attempt, its cost and its outcome

An attempt is one try at a node. Give it the harness, the model as your tool knows it, the reasoning effort, the tokens it used and how it ended. Declare the capabilities you fill.
run.ocp.json
Output
5

Break it on purpose

Change the attempt’s node to implemnt and validate again:
Output
Every finding names a rule code, a JSON path and what is wrong. The exit code is 1. Look the code up in Conformance.

Next

Write OCP from your tool

Where to hook in, and the choices every producer makes.

Examples

Full documents for six workflow shapes.

Privacy