AI Content — Model Output Is Validated Before Use
RULES.md
Wherever a model produces content or decisions in HAX (haxcms-mcp tools, AI features in app-hax, PRAW skills and agents), its response is checked against a schema before anything uses it: known ids, allowed values, length limits. A reference to an id that does not exist is dropped, never trusted, and dropping it does not fail the whole step. The reference implementation for this rule and the other AI Content rules is the Course Consultant in <https://github.com/djfusco/hax-ai-canvas>, which keeps each one in code and tests. Tracking: <https://github.com/haxtheweb/issues/issues/3353>. In PRAW RULES.md (scope: global). Nothing enforces this yet. A check would be a test per AI feature that feeds it a response with unknown ids, disallowed values and over-long fields and asserts they are dropped without failing the step.
Status: gap
Connects to
- AI-Generated Content includes this
- Applies to AI in HAX
- Applies to HAX MCP
- Applies to Agent skills