← All work

Design pattern

Config-driven use-case engine

Use cases stored as versioned database records. New use cases ship with no code changes, and deterministic steps skip the LLM.

The problem

Each new review type was a hard-coded workflow. Adding one meant new code, a new deploy and more tokens, even for steps that only needed a fixed query.

The approach

What I learned