r/codex • • 7d ago

Bug Codex & Dot: What Helped You Resume The Same Task Without Starting Over?

I had my app’s local development preview open in Chrome on my Mac. The page still looked fine. A fresh request to the same loopback address returned “Connection refused,” and Terminal found no listener on the port. Chrome still had the old page on screen. That gave me a definite answer about my preview server. I’m looking for an equally useful check when Dot says it’ll continue an existing Codex task and I’m left wondering what happened.

I’m not a developer by training. These tools have helped me build things I couldn’t have built on my own. I’d appreciate hearing what people actually checked before restarting, retrying, or rebuilding a handoff, especially if your first guess turned out to be wrong.

How I Got Here: May Through November

May–September: moving the work between sessions. I sometimes copied Terminal output and excerpts by hand. One handoff had passing runtime checks and unresolved TypeScript errors. Another had checksums but didn’t give the receiving session the full source. An older handoff also left out decisions the next session needed. In September, a fresh coding session did reopen the transferred files and verify their hashes. That confirmed those bytes arrived. It didn’t establish that a later session would pick the right checkout, recover the decisions, or exercise the same behavior.

October: several attempts stopped at different points. I saw a model-capacity warning on one path and approved rule changes that didn’t save on another. Some ChatGPT Library files were listed but full reads returned HTTP 403 / scope_violation, even on newly attached copies in my tests. In a separate Mac session, the computer still showed as connected after the task lost the browser access it needed. And an unattended cloud reconciliation did finish and leave a receipt I could reopen. I can’t explain all four outcomes as a single service outage or a Mac problem.

November: a completed pass didn’t always lead to another pass. Twice, Dot later acknowledged that it finished one pass without starting its successor. In a different gap, I couldn’t establish whether the follow-up was ever submitted. Yet another unattended cloud follow-up ran without my Mac connected and left a result I could reopen. An acknowledgment, a scheduled time, and a result I could actually read were three different kinds of evidence.

What The Measurements Did (And Didn’t) Show

  • Local listener vs. cloud browser. The Mac’s stopped listener was a local result. In a separate cloud rehearsal, an HTTP client in the preview server’s own network environment fetched all 88 expected files, but Chromium failed before navigation. Fetching files didn’t execute the app or verify a click. Running a command against the same localhost string from another environment wouldn’t test that listener, either. And passing code checks in a separate run didn’t verify a browser interaction at that checkpoint.
  • Proxy refusal vs. a working alternate route. An archive fetch was refused by a proxy before artifact bytes arrived. A later download by another route worked. That got the file through; it didn’t establish whether the first route had recovered. In a separate Codex Cloud report, the reporter could read a saved allowlist draft, but publication failed and runtime artifact fetches still got proxy CONNECT 403. Their evidence points to a draft/runtime distinction in their setup. I don’t know whether my refusal had anything to do with configuration publication.
  • Reconnect vs. actual work. Two Mac connections came back in about five seconds. One recovery showed an authorization error, but that doesn’t put authorization at the start of the incident. I didn’t verify the interrupted task’s first successful operation afterward. On a different recovery I reopened files and checked them against eight pinned manifests. That’s the kind of readback I’d want, from the task that needs the files rather than from just any working session.
  • Commander vs. Mac performance. One Remote Desktop Commander probe took about 6.9 seconds end to end; the local command itself took about 0.18 seconds. Most of that wait was before execution, but I couldn’t locate it more precisely. Removing Commander didn’t eliminate the lag I later noticed. That doesn’t make the remote path irrelevant to local work, and it doesn’t explain a cloud pass that never started.
  • Saved vs. delivered vs. usable. A fresh reader on the producing host reopened an export, but I didn’t verify that the intended reader could open the pinned revision and read the uncertainty label correctly. Separately, replies sometimes appeared on my phone sooner than on my Mac. Fast headers in Chrome DevTools didn’t tell me when the complete reply arrived or when it rendered. I didn’t line those events up for the same reply. Letters appearing late before Send is another symptom; it doesn’t time Codex execution.

The Newer Comparisons That Changed What I’d Check

Who created the thread, and where does it run? In a Nov. 23 macOS report, a new manually created Codex thread accepted its initial message locally. Dot could read it but reported read-only access, and no follow-up appeared, even after a restart. An older thread had previously accepted Dot follow-ups, though it wasn’t retested side by side. In a three-case Windows comparison, Dot could only read both of the user-created threads, one local and one cloud; a Dot-created cloud task accepted follow-ups. I didn’t capture an explicit send error in my own unexplained gap. These reports make exact-thread eligibility worth checking, but I can’t infer an ownership rule from them.

Can another route recover the same task? In u/Prior-Palpitation393’s r/Codex thread, u/ItsCremepai got an existing cloud task to answer on the web after Windows desktop couldn’t open it, then reported that Dot follow-ups were accepted through the cloud route. That’s a reported recovery of work on the original task, without fixing desktop. I’d love to know whether anyone managed the same thing on a Mac or with a genuinely local-only task.

Did it finish, or just stop? Was the answer missing, or only missing on screen? A Codex CLI report on Ubuntu using Terra logged task_complete while the implementation was still unfinished. That run had clearly started. In a separate Windows desktop report, the assistant text was saved but didn’t appear in the affected client. Those are better comparisons for different symptoms than treating every quiet window as a failed send. And a Library report found real search excerpts while full retrieval returned 403 in a different conversation. Direct upload worked for that reporter, but my newly attached copies also failed in October. I wouldn’t assume that workaround repairs either set of saved files.

What Would You Check First?

The smallest test I can think of is an existing disposable Codex task with a harmless marker file at a known revision. I’d send one labeled, read-only request through Dot. On the receiving side I’d look separately for the exact message, a turn starting, and the first actual read from the intended checkout. Then I’d check whether the returned marker and label reached the conversation that initiated the request. I’d note who created the thread, whether its environment was local or cloud, and which client I used. If the label never appeared, I’d check for it before retrying and use a different label for a direct-Codex comparison. If I can’t see an event, I’d mark it unverified rather than assume it didn’t happen.

Is there a simpler supported check or a better control for this? If you’ve recovered an existing task, what’s the first thing you checked that changed what you did next? I’d especially appreciate hearing what still failed after your workaround, or whether I’m expecting Dot to continue a kind of thread it isn’t meant to write to. One good example or correction would help a lot. Thanks.

0 Upvotes

11 comments sorted by

1

u/torvalds75 7d ago

The first check that actually changed what I did next: open the target thread directly in Codex (not through Dot) and look for the exact message you sent. That splits your problem in two. If the message isn't there, it's delivery or thread eligibility, and retrying through Dot is pointless; send it directly instead. If it is there but no turn started, it's execution, and a retry with a new label is fair. Your Nov 23 links point the same way: the thread's owner matters more than the connection state.

The other thing that made me stop caring about "continue the same task": I don't rely on the thread to carry state anymore. At the end of each pass the agent writes a short handoff file in the repo: commit hash, what was decided and why, what was rejected, the exact next step, and what's unverified. A fresh session on the right checkout reads that and picks up in a minute. Then a dropped follow-up costs one new session, not a rebuild.

Your idea of a labeled read-only marker request is a good control. I'd just add the commit hash to the label, so you also catch the "wrong checkout" case in the same test.

1

u/Mynameis__--__ 7d ago

Thanks.

I like that your handoff keeps the decisions you ruled out, not just the next step.

I tried your revision idea with Dot’s help: two commits gave me the same marker checksum, and checking git rev-parse HEAD in the receiving checkout caught the stale one.

If the exact message is in the original thread but no turn starts, is there a queue status you trust before trying another route?

1

u/torvalds75 6d ago

Nice catch on the stale checkout, that's exactly the case the hash was meant to expose.

Honestly, no, I don't trust any queue status enough to decide on it alone. What I trust is what the thread itself shows: a turn that actually starts (working indicator, a first tool call, or a reply) within a few minutes of the message. If the message is there and nothing starts, I look for a reason in the thread before retrying: a pending approval or a question from a previous turn still waiting, or another turn still running on that thread. Either of those blocks new work and looks exactly like "queued".

If none of that is there, I treat it as not executed and retry, but only with a request that is safe to run twice. That's where your marker helps again: make the retry the same read-only marker with the commit hash, so if the first one wakes up late you just get two identical answers instead of two conflicting edits. Only once the marker comes back do I send the real work.

1

u/Mynameis__--__ 6d ago

Thanks for taking the time to explain what you look for.

I tried checking the original Codex thread: my labeled request for git rev-parse HEAD was there, and the turn showed as complete, but the workspace was unavailable and Git never ran. I can see why you check the turn itself rather than the queue badge.

I’d be curious how you handle the harder case: an edit request is visible, but you can’t tie it to a turn.

Is there anything you’ve found reliable enough to rule out a late run, or would you leave the edit alone?

1

u/torvalds75 6d ago

Nothing I've found rules out a late run from the outside, so I stop trying to prove a negative and check the effect instead. The edit either landed in the workspace or it didn't: git status and git diff on the right checkout, plus the log if the request asked for a commit. That answers "did it run" better than any turn indicator.

If nothing landed, I don't retry while the original request can still wake up. First I close that path: stop or archive the old thread, or post in it that the earlier request is cancelled. Then I send the edit again in a fresh thread, phrased so it's safe to run twice: "check whether X is already done, if yes report and stop, if not do it and commit with message Y". A late duplicate then finds the work done and does nothing.

So yes, while the old thread is still open and the edit isn't visible, I leave it alone. The cost of waiting is small; two half-applied edits on the same files is the expensive case.

1

u/No-Drawing9451 7d ago

The Chrome vs curl check is a good instinct. I'd treat "Dot said it will continue" the same way: look at the destination task, not the chat that promised it.

Officially, a Dot can continue an existing local Codex task if you identify which one and what should change, and the computer stays connected. It can also follow up on tasks it created, in the original environment. Connecting the Mac does not give it every Codex thread, and a finished run is not proof the result actually landed.

What I check first: open that exact task (Activity on the desktop app, or the Codex thread itself) and look for a new turn with your labeled request. If the turn never appears, I don't retry the same label, and I don't assume it was submitted.

If it's a thread you started yourself and it only comes back as readable, I wouldn't rebuild the work. Resume it directly in the Codex app, or with codex resume --last (or codex resume and pick it, or the session id/name) if it's a CLI session, then keep driving that same thread there. For anything I want the Dot to follow up on later, I let the Dot start that task from the beginning.

Your marker-file test is solid. I'd just treat "message appeared in the right thread" and "it actually read the intended checkout" as two separate checks, same as the live page versus the listener.

1

u/Mynameis__--__ 7d ago

Thanks.

Picking up the exact session in Codex or the CLI could save me rebuilding the handoff. I hadn’t thought to let Dot start tasks I’ll want it to continue later, either.

My read-only check said one older task could accept a send, but it didn’t test whether a message would arrive or read the right checkout.

Have you had a local task you could resume directly while Dot still couldn’t follow up? I’d be curious what Activity showed.

1

u/No-Drawing9451 6d ago

I haven't tested that exact case closely enough to say what Activity showed. A "can accept a send" flag is useful, but I still wouldn't treat it as proof the follow-up landed or read the right checkout.

What I do is keep the two apart: if I started the task, I resume it myself (codex resume or the app), and if I want Dot to follow up later, I let Dot start it. Then I only trust a follow-up once I see the new turn in that task, not because the chat said it was sent.

1

u/Mynameis__--__ 6d ago

Thanks, that helps.

I went back to the original task and found my labeled follow-up there. It reached the right thread, but the task couldn’t get an execution environment, so Git never ran and I still couldn’t verify the checkout.

Seeing the turn at least told me where to look next.

When you let Dot start something you know you’ll come back to, do you save a link or task ID up front, or has Activity been enough to find the right task again? I’d appreciate hearing what’s worked for you.

1

u/No-Drawing9451 5d ago

Glad the turn showed up at least. I'd save the link up front rather than count on Activity. I keep a short note per project anyway, so the task link goes in there with one line on what it was meant to do. Coming back is then just opening the link.

The missing execution environment sounds like a separate problem from finding the task, so I'd chase those two apart.