mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
agentydragon(tasks): clarify interactive vs exec behavior in help text
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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] <task-slug|NN> [<task-slug|NN>...]"
|
||||
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] <task-slug|NN> [<task-slug|NN>...]"
|
||||
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
|
||||
if [ "$interactive_mode" = true ]; then
|
||||
codex "$(<"$prompt_file")"
|
||||
else
|
||||
codex exec "$(<"$prompt_file")"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -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.*
|
||||
|
||||
Reference in New Issue
Block a user