Skip to main content
The Harness is xKat’s code validation system. It checks the code in your lessons for syntax and quality issues so problems are caught before a course reaches learners.

What it does

Syntax validation

Confirms lesson and exercise code is syntactically valid.

Quality checks

Flags quality issues so published code meets a consistent bar.

Constraint enforcement

Treats your course constraints as fixed and verifies content respects them.

Early failure

Surfaces errors during creation, not after publishing.

Where it fits

The Harness is a key part of the AI control pipeline. Combined with Golden Templates and structured-output validation, it’s how AI-generated content reaches a publishable, reliable quality.

In your flow

Run the Harness as part of the creation flow, after generating content and before publishing. Fix anything it flags, then proceed.