Ray's Knowledge Base
Unlock

A workflow CLI ends each state-changing command with a short next: line

PreferenceVerified 2 Oct 2026Holds anywhere
Preference. A rule, why it holds, and how to apply it.

Rule#

A workflow CLI used by an agent must give the agent feedback itself, not just run the command. Each state-changing command (accept, confirm --accept|--reject, archive) ends with a short next: line that names the next step. Keep the output to one summary line plus a warning only when something needs attention.

Why#

A long per-task dump makes the chat unreadable, and the agent should not have to wait for its next prompt to learn what to do.

How to apply#

Print one summary line, a warning only when needed, and end with next: <step>.

Also found by searching

  • a workflow CLI must give the agent feedback itself not just run the command
  • each state-changing command ends with a next line naming the next step
  • one summary line plus a warning only when something needs attention
  • long per-task dump makes the chat unreadable