One command, output for whoever reads it
readerly tells a person at a terminal from CI, a coding agent and a program that asked for JSON, and gives each the output and the prompts it can use.
Add readerly to this CLI and send each command's output through createOut, following https://readerly.loadsheet.dev/guide.
Replace console output with out.log, out.error and out.warn, prompts with out.confirm, and the exit with return out.end().
Run each command plain, with AI_AGENT=claude-code, with CI=true and with --format json, and check that each output reads right.acme check
✖ 2 errors, 1 warning in 212 files (0.8s) error ACME001 src/app.ts:14:3 Route handler reads process.env at module scope ├▶ why: The value is fixed at build time ╰▶ fix: Read it inside the handler error ACME004 src/db.ts:3:1 Top-level await in a server entry ╰▶ fix: Move the call into the plugin setup warn ACME010 vite.config.ts:8:5 Alias shadows a workspace package
? Apply 2 safe fixes? (y/N)
reader terminalbecause stdout.isTTY
Agents it knows
Section titled "Agents it knows"readerly finds a coding agent by AI_AGENT or by a variable its harness sets, and gives it a short report that fits a character budget. See every agent and marker.