Criterion

@tomymaritano | Product | 2025 · 1 minSame input, same output, and a reason.

Problem#

Business-critical decisions hide in if/else across a codebase. You cannot test them. When someone asks why, you cannot show a reason.

What I built#

Decisions as pure functions. Schemas. An audit trail. Same input, same output. Every result includes why. Packages for React, Express, tRPC, a CLI, and a VS Code extension that does not run the engine.

One hard decision#

Keep it a micro engine. Not a workflow product. Not a model. Not a marketplace. Small core, strict boundaries.

Docs at tomymaritano.github.io/criterionx.

CriterionSame input, same output, and a reason.