Artifacts and audit
Turnkey emits four complementary artifact layers:
run.jsonsays what was resolved and intended;cases.jsonlsays what happened per example;events.jsonlsays how runtime stages progressed;metrics.jsonsays how case outcomes were aggregated.
No single layer is sufficient. A metric without cases is hard to recompute; a case without run identity is hard to reproduce; a run description without events cannot explain an interrupted transition.
Audit recomputes and cross-checks these relationships. Its role is not only schema validation. It detects contradictions such as aggregate counts that do not match cases or referenced identities that do not match resolved input.