diff --git a/agentydragon/prompts/commit.md b/agentydragon/prompts/commit.md index 118d94b0e2..1819086866 100644 --- a/agentydragon/prompts/commit.md +++ b/agentydragon/prompts/commit.md @@ -11,3 +11,6 @@ When you run, **output exactly** the desired commit message (with no extra comme - Concisely summarize the work performed as described in the task’s **Implementation** section. Stop immediately after emitting the commit message. An external orchestrator will stage, run hooks, and commit using this message. + +Below, you will get the task description the agent got. But still verify that the agent actually did what it was supposed to, and adjust the commit message according to what is actually implemented, DO NOT just copy what's in the task file. + diff --git a/agentydragon/tasks/create-task-worktree.sh b/agentydragon/tasks/create-task-worktree.sh index a1211c93f4..ccbf8b716e 100755 --- a/agentydragon/tasks/create-task-worktree.sh +++ b/agentydragon/tasks/create-task-worktree.sh @@ -10,6 +10,7 @@ set -euo pipefail agent_mode=false tmux_mode=false interactive_mode=false +shell_mode=false while [[ $# -gt 0 ]]; do case "$1" in -a|--agent) @@ -34,6 +35,12 @@ while [[ $# -gt 0 ]]; do agent_mode=true shift ;; + -s|--shell) + # Launch agent in an interactive shell (no prompt injection, no auto-commit) + shell_mode=true + agent_mode=true + shift + ;; *) break ;;