プロンプト全文を表示 · Claude Code、Codex など任意のコーディングエージェントに貼り付け
I'm moving this repository from Conductor to Orchestrator. Set up its Conductor settings in this Orchestrator project. Only read Conductor's files; never change them.
1. Run `ao project get $AO_PROJECT_ID --json` and `ao cue list --project $AO_PROJECT_ID --json`. Keep everything the project already has.
2. Read these, each later file overriding the earlier ones key by key: ~/.conductor/settings.toml (ignore models), conductor.json in the repository (only if .conductor/settings.toml is missing), .conductor/settings.toml, .conductor/settings.local.toml.
3. Map each setting:
- scripts.setup -> a Setup step (--post-create)
- scripts.archive -> a Cleanup step (--pre-remove)
- each scripts.run action -> a command Cue: ao cue create --project $AO_PROJECT_ID --name <name> --command '<command and its args>' (when cwd is set, work out any port first, then add "cd -- <options.cwd> &&"; skip hidden actions)
- environment_variables -> --env KEY=VALUE
- prompts.general -> --agent-rules
- the ignored files Conductor copies into each workspace (.worktreeinclude, else file_include_globs, else .env*) -> a first Setup step that copies them from "$AO_SOURCE_TREE_PATH" into the new worktree
- anything else (cloud variables, git branch naming, run mode, other prompts) -> skip it and tell me
4. Orchestrator doesn't set CONDUCTOR_* variables. In Setup and Cleanup steps, replace $CONDUCTOR_ROOT_PATH with $AO_SOURCE_TREE_PATH, $CONDUCTOR_WORKSPACE_PATH with $AO_WORKTREE_PATH and $CONDUCTOR_WORKSPACE_NAME with $(basename "$AO_WORKTREE_PATH"). In a Cue, start the command with WT_ROOT=$PWD (the worktree root) before any cd, and use $WT_ROOT for the workspace path; if the action or the project environment already uses WT_ROOT or WT_PORT, pick other names. Replace $CONDUCTOR_DEFAULT_BRANCH with the branch name written out (the project's default branch; ask me if a command means another one). Replace $CONDUCTOR_PORT with a port worked out from the worktree root: in a Cue, also set WT_PORT=$((10000 + $(printf %s "$WT_ROOT" | cksum | cut -d' ' -f1) % 2270 * 10)) before any cd, and use $WT_PORT where the command used $CONDUCTOR_PORT; in a step, use the same expression with "$AO_WORKTREE_PATH". Both then give the same port for a worktree.
5. Show me the plan first: the Setup and Cleanup steps, Cues, variable names (not their values), agent rules and what you skip. Wait for my OK.
6. --post-create, --pre-remove and --env replace the whole list and --agent-rules the whole text, so pass the existing values together with the new ones in one `ao project set-config $AO_PROJECT_ID` call. Then create the Cues, and tell me to check Project settings -> Scripts, Environment and Cues.