docs: add agent-safe CLI fallback guidance

main

Commit

pfleidi2mo ago

Document that CLI features must expose their useful output through a non-interactive path (JSON, list+show, selector flag, or a non-TTY text fallback), not only through a TUI, picker, confirmation, or stdin prompt. The guidance lives under Code Patterns in CLAUDE.md (AGENTS.md symlinks to it).

Entire-Checkpoint: 9587f9abf6b3

Checkpoints

Add Agent-Safe CLI Fallback Guidance

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1