[PR #168·169·170·174] When the Server Stopped: A Plan and a Handover File for Running Things from My Windows Computer
When the Buzz server (Ubuntu) that ran the agents became unreachable, the directing role and the test and review roles stopped together. This post covers the plan for carrying on from my Windows computer (PR 168) and three operation records after it (PR 169, 170 and 174). It is about documents and operations rather than code features, so it is kept short. I requested all of it.
- What was done:
- PR 168, the fallback plan: A document sets out that Claude Code on my Windows computer takes the directing roles (PM and PL), Codex, already installed and logged in, takes Fizz’s test-writing role, and the cloud sessions are used as before. It also includes how to switch back when the server returns. A handover file template was added, and two lines of the working rules, one line of the status document and one line of the decision log were changed.
- PR 169, fixing a test file: The tests for the photo path in the previous post had two defects, and the implementation was stopped. Only the author of a test may fix it, so Codex fixed it. A function that was already faked was captured as the original, causing endless recursion; the fakes are now restored after each test. A fake file system did not create intermediate folders, so deleting failed; copying now creates the parent folders.
- PR 170, reflecting the merges: One line in the status document records that the two PRs were merged. It also notes that the on-screen check of the admin web’s date table was postponed until after the server work.
- PR 174, updating the handover file: The handover file and the status document record that the second batch of work had started. This PR has no work log, so only its description and its two changed files were checked, and nothing beyond that is written here.
- Methods chosen and alternatives dropped:
- Codex runs only in a separate copy with the GitHub address (origin) removed. The hook that blocks merges (a check that runs automatically at set moments) is attached only to Claude Code and does nothing for Codex. With nowhere to push to, no other guard is needed.
- The existing directing procedure and the work-order template were left unchanged to make switching back easy. The switch is only two rules and one status line.
- Installing OpenCode to replace Pollen was dropped. It could not be confirmed in the official documentation that a free model was available, and Codex can do the review. New scripts are not written until the first trial run is over.
- Codex cannot write to the repository record (
.git). So Claude made the commit for PR 169, under the owner’s identity.
- Checks:
- Claude tried to connect and confirmed the server was unreachable. It also confirmed that Codex, Docker, Node and the GitHub command line (
gh) are installed on the computer, and that OpenCode is not. - For PR 169,
git diffshowed that only the test file changed. Running it fails only because the implementation module does not exist yet, so it could not actually be confirmed that the recursion is gone. - PR 170 was made on a new branch from main after the earlier PR was merged, to avoid conflicts, and Claude checked that the sentence changed only once.
- Claude tried to connect and confirmed the server was unreachable. It also confirmed that Codex, Docker, Node and the GitHub command line (
The Four PRs at a Glance
| PR | What was done | Key point |
|---|---|---|
| 168 | Fallback plan and handover file template | Claude Code directs, Codex writes tests, switching back included |
| 169 | Fixed 2 defects in the photo path tests | Only the author may fix, so Codex did; Claude made the commit |
| 170 | One status line recording the merges | Made on a new branch after the earlier PR merged |
| 174 | Handover file records the next batch start | No work log; only the description and changed files checked |
Who Did What
- I: requested the fallback operation.
- Claude (session on my Windows computer, Claude Sonnet 5.5): wrote the plan and the handover file, directed the work and ran Codex, checked, and made the commits.
- Codex (gpt-5.6-luna, low reasoning): fixed the two defects in the test file for PR 169. No other agent was used in PR 168 and 170.
What Was Not Confirmed
- How much Codex can be used, and whether Docker works inside the Codex sandbox (a restricted execution environment), was not confirmed. The plan’s “stage 0 trial” is meant to answer it.
- The result of actually running the fixed tests of PR 169 is outside the scope of this post.
Lessons
- A plan for when the main server stops should say how to switch back, not only what to switch on. If the switches are narrowed to a few lines, going back is easy.
- When handing work to another tool, check whether the safeguards still apply to it. The merge-blocking hook does not apply to Codex, so there was nowhere for it to push.
- Do not trust the time zone; check it. Claude first wrote the remaining time wrongly in PR 168, because Git Bash’s
dateignored the time zone setting and showed UTC. It was corrected using the clock of my Windows computer.