From 83ce407baf56f2855dba4737ace108f5d960b223 Mon Sep 17 00:00:00 2001 From: "Rai (Michael Pokorny)" Date: Tue, 24 Jun 2025 13:51:45 -0700 Subject: [PATCH] agentydragon: add Project Manager prompt and launch-project-manager.sh --- agentydragon/prompts/manager.md | 15 +++++++++++++++ agentydragon/tasks/launch-project-manager.sh | 17 +++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 agentydragon/prompts/manager.md create mode 100755 agentydragon/tasks/launch-project-manager.sh diff --git a/agentydragon/prompts/manager.md b/agentydragon/prompts/manager.md new file mode 100644 index 0000000000..2446226eb7 --- /dev/null +++ b/agentydragon/prompts/manager.md @@ -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. \ No newline at end of file diff --git a/agentydragon/tasks/launch-project-manager.sh b/agentydragon/tasks/launch-project-manager.sh new file mode 100755 index 0000000000..0213462ff4 --- /dev/null +++ b/agentydragon/tasks/launch-project-manager.sh @@ -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")" \ No newline at end of file