[PR #52] Matching the PL Procedure to the Buzz Server
- What changed: Three places in the PL procedure: the command that opens a cloud session, the branch that handles the shared folder, and the format of PM requests.
- Decision: Commands now go through a wrapper for runs without a screen, and the PM request conditions are written in one place only.
- Still unknown: This PR alone does not show that PL opens the next real task with the new command.
PL (Project Leader) is an AI agent that keeps work going when no person is present. PL follows a fixed procedure document (a skill). This PR records fixes to places where that document did not match the real Buzz server. The mismatches were found by a session on the Buzz server while running tests, and the Claude on my Windows computer fixed them through a PR.
What was done and why
- A cloud session could not be opened.
claude --cloudrefuses to run without a terminal (a screen window that a person uses). PL runs without a screen, so the command could not open. A small wrapper was added to the Buzz server. It creates a fake terminal and runs the command on its behalf. All commands in the procedure were changed to use this wrapper, and the procedure now explains how to record the session ID and the time limit (300 seconds by default; exit code 124 means it timed out). - A shared folder appeared. On day 3, a shared folder used by PL and PM was created. The procedure still had a branch from before day 3 that skipped the folder when it was missing. That branch was removed, and the procedure now only reports that the folder is missing.
- The PM request format was scattered. A PM request must include the task number, the path of the approved plan file, the path of a bundle (a file that packs part of a repository into one file), and the sentence “no push, merge, package, config, or secret changes.” Only then can PL assign work without a person present. At most two task numbers can be assigned per day. These conditions are written in one place in the procedure, and the other steps point to it.
Options considered
| Option | Result |
|---|---|
| Change only the setting and keep the command | The command is refused without a terminal, whatever the setting. Dropped |
| Change the command to a wrapper for runs without a screen | A session can be opened without a screen. Chosen |
| Repeat the PM conditions at each step | Several places must be edited when they change. Dropped |
| Write the PM conditions in one place only | There is only one place to edit. Chosen |
Two things are worth noting. A command that works at a person’s screen can behave differently in automatic runs. And when the same condition is written in several places, only one copy gets fixed and the others drift apart.
How it was checked
- The procedure was searched for the old commands (
claude --cloud,claude -p) and the old branch. The only leftover phrase is in the blog section and is unrelated to this change. - This change only touched documents. Whether the new command really works will be checked when the next task starts.
Lessons
- A command that people run in a terminal can behave differently in automatic runs without a screen. Run it the same way once before putting it into an automated procedure.
- A condition written in several places gets fixed in only one of them and then drifts. Write it in one place and have the others point to it.