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
Copy file name to clipboardExpand all lines: README.md
+52-3Lines changed: 52 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,6 +113,10 @@ CodexPro does not bypass, increase, or modify ChatGPT, Codex, or OpenAI rate lim
113
113
-`handoff_to_agent` — write `.ai-bridge/current-plan.md` for Codex, OpenCode, Pi, or a custom local implementation agent without executing local commands.
114
114
-`handoff_to_codex` — compatibility wrapper for `handoff_to_agent` with `agent=codex`.
115
115
116
+
Local-only companion command:
117
+
118
+
-`codexpro execute-handoff` — run a previously written `.ai-bridge/current-plan.md` through a local agent, then collect status, logs, and git diff. This is intentionally a CLI command, not a remote MCP tool.
119
+
116
120
## Visual ChatGPT cards
117
121
118
122
v0.8+ registers a reusable Apps SDK widget resource:
@@ -446,13 +450,58 @@ In handoff mode, ChatGPT can create a plan for a local implementation agent with
446
450
.ai-bridge/execution-log.jsonl
447
451
```
448
452
449
-
Then run your local agent manually against `.ai-bridge/current-plan.md`, for example:
453
+
Then run the implementation locally with `codexpro execute-handoff`:
450
454
451
455
```bash
452
-
opencode run --model provider/cheap-model "$(cat .ai-bridge/current-plan.md)"
Have the implementation agent update `.ai-bridge/agent-status.md`, write the final review diff to `.ai-bridge/implementation-diff.patch` when practical, and then let ChatGPT review those files through `read_handoff` or `codex_context`.
480
+
Template placeholders:
481
+
482
+
```text
483
+
{{model}} model passed with --model
484
+
{{plan_file}} absolute path to .ai-bridge/current-plan.md
485
+
{{plan_text}} full plan text as one argument
486
+
{{root}} workspace root
487
+
```
488
+
489
+
By default, `execute-handoff` asks for local confirmation before running. Use `--yes` only in trusted scripts. After execution, CodexPro writes:
490
+
491
+
```text
492
+
.ai-bridge/agent-status.md
493
+
.ai-bridge/implementation-diff.patch
494
+
.ai-bridge/execution-log.jsonl
495
+
```
496
+
497
+
Then let ChatGPT review those files through `read_handoff` or `codex_context`.
498
+
499
+
Manual fallback:
500
+
501
+
```bash
502
+
opencode run --model provider/cheap-model "$(cat .ai-bridge/current-plan.md)"
0 commit comments