You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- If a PR has Codex review comments, address + resolve them, then re-request review by commenting `@codex review` on the PR.
70
71
- Prefer `gh` CLI for GitHub interactions over manual web/curl flows.
71
-
-In Orchestrator mode, delegate implementation/verification commands to `exec` or `explore` sub-agents and integrate their patches; do not bypass delegation with direct local edits.
72
-
-In Orchestrator mode, route higher-complexity implementation tasks to `plan` sub-agents so they can research and produce a precise plan before auto-handoff to implementation.
72
+
-When delegation is required by the active mode, use `exec` or `explore` sub-agents as directed and integrate their patches; do not bypass delegation with direct local edits.
73
+
-Keep implementation tasks on `exec` sub-agents; use a top-level plan workspace when you need a separate planning phase before delegation.
73
74
74
75
- User preference: when work is already on an open PR, push branch updates at the end of each completed change set so the PR stays current.
75
76
-**PR creation gate:** Do **not** open/create a pull request unless the user explicitly asks (e.g., "open a PR", "create PR", "submit this"). By default, complete local validation, commit/push branch updates as requested, and let the user review before deciding whether to open a PR.
@@ -81,11 +82,11 @@ Core workflow:
81
82
When a PR exists, you MUST remain in this loop until the PR is fully ready:
82
83
83
84
1. Push your latest fixes.
84
-
2. Run local validation (`make static-check` and targeted tests as needed); in Orchestrator mode, delegate command execution to sub-agents.
85
+
2. Run local validation (`make static-check` and targeted tests as needed); delegate command execution to sub-agents when the active mode requires it.
85
86
3. Request review with `@codex review`.
86
87
4. Run `./scripts/wait_pr_ready.sh <pr_number>` (which must execute `./scripts/wait_pr_checks.sh <pr_number> --once` while checks are pending).
87
-
5. If Codex leaves comments, address them (delegate fixes in Orchestrator mode), resolve threads with `./scripts/resolve_pr_comment.sh <thread_id>`, push, and repeat.
88
-
6. If checks/mergeability fail, fix issues locally (delegate fixes in Orchestrator mode), push, and repeat.
88
+
5. If Codex leaves comments, address them (delegating fixes when required by the active mode), resolve threads with `./scripts/resolve_pr_comment.sh <thread_id>`, push, and repeat.
89
+
6. If checks/mergeability fail, fix issues locally (delegating fixes when required by the active mode), push, and repeat.
89
90
90
91
The only early-stop exception is when the reviewer is clearly misunderstanding the intended change and further churn would be counterproductive. In that case, leave a clarifying PR comment and pause for human direction.
2. Spawn one implementation sub-agent task per subtask with `run_in_background: true` (`exec` for low complexity, `plan` for higher complexity).
529
+
2. Spawn one `exec`implementation sub-agent task per subtask with `run_in_background: true`.
530
530
3. Await the batch via `task_await`.
531
-
4. For each successful implementation task (`exec` directly, or `plan` after auto-handoff to implementation), integrate patches one at a time:
531
+
4. For each successful implementation task, integrate patches one at a time:
532
532
- Treat every successful child task with a `taskId` as pending patch integration, whether the completion arrived inline from `task` or later from `task_await`.
533
533
- Complete each dry-run + real-apply pair before starting the next patch. Applying one patch changes `HEAD`, which can invalidate later dry-run results.
534
534
- Dry-run apply: `task_apply_git_patch` with `dry_run: true`.
@@ -579,7 +579,7 @@ description: Create a plan before coding
579
579
ui:
580
580
color: var(--color-plan-mode)
581
581
subagent:
582
-
runnable: true
582
+
runnable: false
583
583
tools:
584
584
add:
585
585
# Allow all tools by default (includes MCP tools which have dynamic names)
0 commit comments