- How you use it
- You paste it when you need it
- What it can do
- writes files; Shell and network instructions not verified; read the prompt text before running it.
- What's inside
The option
| Option | APrompt · v1.0.0Session work handoff |
|---|---|
| How you use it | You paste it when you need it |
| What it can do | writes files; Shell and network instructions not verified; read the prompt text before running it. |
| What's inside |
What this thread does
Resume the saved Codex session on its original host; for a different machine or cloud task, start a new session with a deliberate work handoff instead of expecting thread migration.
Do first: on the original host, run codex resume and select the intended saved session.
0.166.0 preserves acknowledged approval and permission settings when resuming or forking threads (checked 2026-11-05).
Continue the work
1. On the original host, run codex resume and select the intended saved session. Use codex resume SESSION_ID with the actual ID for deterministic selection. The official CLI reference, checked 2026-10-28, labels resume stable. 2. If the newest local session is missing because you changed directories, codex resume --last --all expands selection beyond the current directory. It selects the newest eligible local session, which might not be the intended one. --all is a directory filter, not cloud synchronization. 3. To work on another PC or a new cloud task, transfer the intended source changes through your normal repository workflow and write a short handoff with the goal, revision, unfinished changes, test results and next action. Include any uncommitted changes deliberately. Ask the new session to inspect the checkout before acting. This is a proposed workflow, not restored conversation history. 4. Proposed acceptance check, untested: compare the destination files/revision and ask the new agent to restate the next action before making changes. A matching repository does not prove that session state moved.
Diagnostic: a local session is absent from web history
Public evidence and status
In Codex issue #51267, xiaofeiyun123 asks about web and second-PC continuation on 2026-10-06. OpenAI contributor etraut-openai answers: “Migration of threads from local to cloud is not supported in the CLI.” The issue was closed as not planned that day; checked 2026-10-28. This establishes the CLI limitation, not a promise about every future app feature.
Mistakes to avoid
Whole-home copying is not an established synchronization procedure in the cited sources; use an explicit work handoff. Do not interpret resume --all, source-control sync or a new cloud task as importing an existing thread. A handoff preserves chosen facts and files, not hidden session state.
Limits
No local resume or cross-machine handoff was run. No supported cloud-import or second-PC session-store migration procedure was established. This answer uses stable resume behavior and excludes experimental remote-control features.
Started from a post by @xiaofeiyun123, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.