Skip to content

Adopt reads a shell registry status as idle - #618

Open
barelyworkingcode wants to merge 1 commit into
mainfrom
fix/609-adopt-shell
Open

barelyworkingcode wants to merge 1 commit into
mainfrom
fix/609-adopt-shell

Conversation

@barelyworkingcode

Copy link
Copy Markdown
Owner

Closes #609

Claude writes status: "shell" while a background command runs between turns. The row already reads that as Idle; Check refused it as registry_busy. shell now counts as idle in Check. The stale, open-tool and child vetoes still apply. The 409 message now says what vetoed (for example "a turn is running") and keeps the code.

Side finding: TestAdoptReasonsOnRows and TestAdoptNoProjectPiCodexKeepReason fail on main in this environment too. Not touched.

Fix attempts: 1. Tokens: not metered.
Review: none run in this pass
Red on main: TestAdoptShellStatusReadsIdle fails at "the adopt door answered 409, want 201"; TestAdoptRefusalNamesVeto fails at the missing wording.
Real-app check: needs a devbox pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt refuses an idle-looking session whose registry status is "shell"

1 participant