The problem codes of the anyfs program and what each means (commons anyfs-cli 0002-anyfs-cli-governanceFR-004; commons headless 0003-headless-outputFR-008): every problem a run can raise is one of a closed union of codes, and each code has one explanation (a title, what happened, the likely cause and the fix) that anyfs explain <code> prints and the documentation renders. The registry holds one entry for every code, which the compiler checks.
import { CATALOGUE, isProblemCode } from"./problems.ts";
isProblemCode("E-FILESYSTEM"); // trueCATALOGUE["E-STRICT"].fix; // "run it again without --strict, or give the store the capability it lacks"