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
feat(codex-plan): add file references and wait-for-plan step
- Add "File references" section in Step 4 for Codex context
- Include template for listing important files to read
- Change Step 5 to save prompt instead of executing
- Add Step 7: Wait for user to send the generated plan
- Update task flow to reflect new workflow
Read these files FIRST to understand existing patterns before creating the plan.
114
+
```
115
+
116
+
Adapt this list based on what you discovered in Step 3 (Gather Context). Include:
117
+
- Config files relevant to the task
118
+
- Existing code that will be modified or extended
119
+
- Documentation about architecture/patterns
120
+
- Type definitions or schemas
121
+
- Test files showing testing patterns used
88
122
89
123
**Critical instruction to include:** Tell Codex to NOT ask any further clarifying questions - it has all the information it needs and should just write the plan and save the file.
90
124
91
-
## Step 5: Execute Codex
125
+
## Step 5: Save Prompt for Manual Execution
126
+
127
+
Save the crafted prompt to `prompt_to_codex.md` for manual execution.
128
+
129
+
The user will execute Codex manually using:
92
130
93
131
```bash
132
+
# --full-auto: Executa automaticamente sem interação humana
133
+
# --skip-git-repo-check: Pula verificação se está em um repositório git
134
+
# -c model=gpt-5.2-codex: Usa o modelo GPT-5.2 Codex (mais avançado)
135
+
# -c model_reasoning_effort=high: Ativa raciocínio de alto nível (deep thinking)
136
+
# --output-last-message: Salva a última mensagem do Codex em arquivo
7.**STOP and wait** - Ask the user to send you the final plan (`codex-plan.md`) when Codex finishes. Do NOT do anything else until the user sends the plan.
307
+
308
+
## Step 7: Wait for the Plan
309
+
310
+
After showing the execution command, you MUST:
311
+
312
+
1.**Ask the user to send the plan** - Say something like:
313
+
> "Quando o Codex terminar, me envie o conteúdo do arquivo `codex-plan.md` para eu revisar."
314
+
315
+
2.**Do NOT proceed** - Do not take any other action
316
+
3.**Do NOT assume** - Do not guess what the plan contains
317
+
4.**Just wait** - The user will paste or send the plan when ready
318
+
319
+
**IMPORTANT:** Your job is DONE after step 6. Just wait for the user to send the generated plan.
0 commit comments