diff --git a/agentydragon/prompts/developer.md b/agentydragon/prompts/developer.md index d4cb435ecc..569863e17d 100644 --- a/agentydragon/prompts/developer.md +++ b/agentydragon/prompts/developer.md @@ -12,6 +12,8 @@ Then proceed directly to implement the full functionality in the codebase as a s Do not pause to seek user confirmation after editing the Markdown; only ask clarifying questions if you encounter genuine ambiguities in the requirements. +At any point, you may set the task’s **Status** to any valid state (e.g. Not started, Started, Needs input, Needs manual review, Done, Cancelled) as appropriate. Use **Needs input** to request further clarification or resources before proceeding. + When you have completed the implementation and updated the task file: - set the task’s **Status** to "Done". - stage and commit all changes (including your code and the updated Markdown) with a commit message prefixed `agentydragon(tasks):`, summarizing the work performed. You **MUST** commit these changes **BEFORE** pausing or stopping. diff --git a/agentydragon/tasks/create-task-worktree.sh b/agentydragon/tasks/create-task-worktree.sh index 1d957d7ea3..117b316df3 100755 --- a/agentydragon/tasks/create-task-worktree.sh +++ b/agentydragon/tasks/create-task-worktree.sh @@ -9,6 +9,7 @@ set -euo pipefail agent_mode=false tmux_mode=false +interactive_mode=false while [[ $# -gt 0 ]]; do case "$1" in -a|--agent) @@ -20,11 +21,19 @@ while [[ $# -gt 0 ]]; do shift ;; -h|--help) - echo "Usage: $0 [-a|--agent] [-t|--tmux] [...]" - echo " -a, --agent after creating/reusing, launch a codex agent in the task workspace" - echo " -t, --tmux launch each agent review in a tiled tmux session (implies --agent)" + echo "Usage: $0 [-a|--agent] [-i|--interactive] [-t|--tmux] [...]" + echo " -a, --agent after creating/reusing, launch a codex agent in the task workspace" + echo " (by default runs 'codex exec' if --interactive is not given)" + echo " -i, --interactive launch codex agent in interactive mode (implies --agent)" + echo " (uses normal 'codex', do not exec)" + echo " -t, --tmux launch each agent review in a tiled tmux session (implies --agent)" exit 0 ;; + -i|--interactive) + interactive_mode=true + agent_mode=true + shift + ;; *) break ;; @@ -123,5 +132,9 @@ if [ "$agent_mode" = true ]; then exit 1 fi cd "$worktree_path" - codex "$(<"$prompt_file")" -fi \ No newline at end of file + if [ "$interactive_mode" = true ]; then + codex "$(<"$prompt_file")" + else + codex exec "$(<"$prompt_file")" + fi +fi diff --git a/agentydragon/tasks/task-template.md b/agentydragon/tasks/task-template.md index 3d269c9660..4bf6e8f3a7 100644 --- a/agentydragon/tasks/task-template.md +++ b/agentydragon/tasks/task-template.md @@ -11,7 +11,7 @@ goal: | # Task Template -# Valid status values: Not started | Started | Needs manual review | Done | Cancelled +# Valid status values: Not started | Started | Needs input | Needs manual review | Done | Cancelled > *This task is specific to codex-rs.*