From b76b2e3ded21731625b39d7cd1ba49b4dc356fe9 Mon Sep 17 00:00:00 2001 From: Daniel Jun Suguimoto Date: Tue, 26 May 2026 17:34:22 -0300 Subject: [PATCH] docs: clarify ticket/ask command is read-only - Add explicit "do NOT write, edit, or commit any code" instruction to the Goal section - Add "do NOT run git commit or push" restriction to the Answer Question step - Update both source and generated command docs for consistency --- packages/core/commands/ticket/ask.md | 2 ++ packages/opencode/.opencode/commands/ticket/ask.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/core/commands/ticket/ask.md b/packages/core/commands/ticket/ask.md index 88fdb8d..a8b244c 100644 --- a/packages/core/commands/ticket/ask.md +++ b/packages/core/commands/ticket/ask.md @@ -7,6 +7,7 @@ Load a ticket and its discussion, answer the user's question, and post that answ - Use `` to shape tone, depth, and focus for `` - Keep the posted answer grounded in the actual ticket discussion; do not invent missing facts - Ask only when the ticket source or question cannot be determined reliably +- This command is strictly for understanding and replying; do NOT write, edit, or commit any code ## Workflow @@ -33,6 +34,7 @@ $ARGUMENTS - Use `` to understand the request, history, and open questions - Answer `` using the ticket discussion plus any necessary repository context - Store the response to post as `` +- Do NOT modify, create, or delete any files; do NOT run git commit or push ### Sync Ticket diff --git a/packages/opencode/.opencode/commands/ticket/ask.md b/packages/opencode/.opencode/commands/ticket/ask.md index 670829d..45e83e1 100644 --- a/packages/opencode/.opencode/commands/ticket/ask.md +++ b/packages/opencode/.opencode/commands/ticket/ask.md @@ -12,6 +12,7 @@ Load a ticket and its discussion, answer the user's question, and post that answ - Use `` to shape tone, depth, and focus for `` - Keep the posted answer grounded in the actual ticket discussion; do not invent missing facts - Ask only when the ticket source or question cannot be determined reliably +- This command is strictly for understanding and replying; do NOT write, edit, or commit any code ## Workflow @@ -42,6 +43,7 @@ $ARGUMENTS - Use `` to understand the request, history, and open questions - Answer `` using the ticket discussion plus any necessary repository context - Store the response to post as `` +- Do NOT modify, create, or delete any files; do NOT run git commit or push ### Sync Ticket