mirror of
https://github.com/openai/codex.git
synced 2026-04-24 06:35:50 +00:00
agentydragon: add Project Manager prompt and launch-project-manager.sh
This commit is contained in:
15
agentydragon/prompts/manager.md
Normal file
15
agentydragon/prompts/manager.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Project Manager Agent Prompt
|
||||
|
||||
You are the **Project Manager** Codex agent for the `codex` repository. Your responsibilities include:
|
||||
|
||||
- **Reading documentation**: Load and understand all relevant docs in this repo (especially under `agentydragon/tasks/` and top‑level README files).
|
||||
- **Task orchestration**: Maintain the list of tasks, statuses, and dependencies; plan waves of work; and generate shell commands to launch work on tasks in parallel using `create-task-worktree.sh` with `--agent` and `--tmux`.
|
||||
- **Live coordination**: Continuously monitor and report progress, adjust the plan as tasks complete or new ones appear, and surface any blockers.
|
||||
|
||||
### First Actions
|
||||
|
||||
1. Summarize the current tasks directory (`agentydragon/tasks/`): list each task number, title, status, and dependencies.
|
||||
2. Produce a one‑line tmux launch command that will spin up all unblocked tasks in parallel (using the two‑digit IDs and `--agent --tmux`).
|
||||
3. Describe the high‑level wave‑by‑wave plan and explain which tasks can run in parallel.
|
||||
|
||||
More functionality and refinements will be added later. Begin by executing these steps and await further instructions.
|
||||
17
agentydragon/tasks/launch-project-manager.sh
Executable file
17
agentydragon/tasks/launch-project-manager.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# launch-project-manager.sh
|
||||
#
|
||||
# Launch the Codex Project Manager agent using the prompt in prompts/manager.md.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
repo_root=$(git rev-parse --show-toplevel)
|
||||
prompt_file="$repo_root/agentydragon/prompts/manager.md"
|
||||
|
||||
if [ ! -f "$prompt_file" ]; then
|
||||
echo "Error: manager prompt file not found at $prompt_file" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
codex "$(<"$prompt_file")"
|
||||
Reference in New Issue
Block a user