Design decisions

245. cpl's exit codes are the binary's: 1 errors, 2 usage, 3 the program failed (2026-11-22)

The spec said 1 program or test failure, 2 compile error, 3 usage error; the binary has always used EXIT_ERRORS 1, EXIT_USAGE 2, EXIT_FAILED 3 (crates/cpl-cli/src/lib.rs), and editors, cpl test, cpl stress and the emitted C++ (which exits 3 on a trap) read them. Pending tools-4, the recommended default A is applied: the spec states the binary's codes. 2 for usage matches POSIX tools and getopt. Measured: a failing cpl test case exits 1, cpl run on print(xs[5]) exits 3, cpl check on a type error exits 1, cpl stress with no file exits 2. Reverse: swap the three constants and the exit(3) in the C++ runtime, and the sentence in spec/tools/cli.md.