Effect starter, part 2: checks agents can run
Slides for this part are available in English (PDF), and both parts in one Japanese deck (PDF). Part 1 explained why I built the starter. This part describes the checks that keep the code consistent. Agents take shortcuts. Sometimes they cheat. They copy the shape of the codebase. They also make the checks pass without solving the problem. A convention in a document does not stop that. The starter puts its conventions in four places: the typechecker, the linter, the test runner, and the dependency graph. Effect gives the code a model. The checks enforce it, so an agent that copies the shape of the codebase also copies the model. ...