Skip to content

Put a Command the User Must Paste Inside the Prompt's Own Question Text #3284

Closed

Description

@ptr727

Problem

GOVERNANCE.md "Communicating with the User" says what to do with a reference that a prompt surface cannot make clickable: the link goes in the message before the prompt, because the prompt blocks on an answer and a message after it is read too late. It says nothing about a command the user has to paste and run, such as a ! script -q -c '<install command>' ~/<name>.log line that the agent cannot run itself because it prompts for a password.

A downstream session applied the link rule to that command. It put the paste-ready line in the message before the prompt, and the prompt said "you pasted the line above". The maintainer pointed out that the message sat among thousands of lines of earlier output, and that the line to paste belongs in the question itself. The two are different: a prompt cannot render a link, but it can show a command as plain text that can be copied.

Proposed rule

Where a question asks the user to run something, the question's own text carries the exact command, complete and ready to paste. A message before the prompt may repeat it, but the question does not point at it. This sits beside the link bullet, which stays as it is, since only a reference that needs rendering moves out of the prompt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions