Repository navigation
Conversation
Signed-off-by: yaoyu-33 <[email protected]>
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Oct 14, 2026
Clarify the cleanup contract for task recipes and shared sandbox sessions, following the [non-blocking approval notes on #3902](#3902 (review)) and the [service-timing comment](#3902 (comment)). - Explain that previously adopted children outside the harness group include unfinished background jobs such as `make &`, which can keep writing during verification. Describe the service-launch timing needed before a forced stop and the cleanup of newly orphaned children. - Correct sandboxed Hermes guidance: its adoption cutoff applies at the harness timeout, not on close, because the runner never signals the supervisor (a stop file only fences delayed launches). - Qualify `SandboxSession`'s service-lifetime docstring, including the natural-exit limitation. - Correct the drain timing: in-flight tools are killed during the drain after the grace period, adoption follows the launching process's exit, and descendants of a preserved process also survive. The associated #3902 description correction scopes the evidence: Pi/Codex/OpenCode certificate runs exercise deadline drain under a real model; preservation of services already adopted before a forced stop is covered only by Linux regressions. Synthetic service controls exercise normal completion. No separate issue is needed for these small corrections to the existing review. Runtime behavior, configuration and benchmark scoring are unchanged. Validation: `pre-commit run --from-ref origin/main --to-ref HEAD` and `git diff --check` pass. A Python AST comparison confirms `sandbox_session.py` has identical executable code to `main` after stripping docstrings. `process_supervisor.py`, `supervisor_client.py` and `hermes_sandboxed_agent/app.py` are unchanged on `main` since the reviewed #3902 head (`30b121d4b`), so the documented behavior still matches the code. Runtime tests and fresh model smoke: N/A for prose-only changes. Supersedes #4604, which closed automatically when #3902 merged and its `pull-request/3902` CI mirror base was deleted. This branch is rebased onto `main` (after the #3902 squash merge, 8bd25f3), so the diff contains only these three files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: yaoyu-33 <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clarify the cleanup contract for task recipes and shared sandbox sessions, following the non-blocking approval notes on #3902 and the service-timing comment.
make &, which can keep writing during verification. Describe the service-launch timing needed before a forced stop and the cleanup of newly orphaned children.SandboxSession's service-lifetime docstring, including the natural-exit limitation.The associated #3902 description correction scopes the evidence: Pi/Codex/OpenCode certificate runs exercise deadline drain under a real model; preservation of services already adopted before a forced stop is covered only by Linux regressions. Synthetic service controls exercise normal completion.
No separate issue is needed for these small corrections to the existing review. Runtime behavior, configuration and benchmark scoring are unchanged.
Validation:
pre-commit run --all-filesandgit diff --checkpass. A Python AST comparison confirms the changed Python file has identical executable code after stripping docstrings. Independent source/evidence review is recorded before publication. Runtime tests and fresh model smoke: N/A for prose-only changes.Dependency: #3902 remains open at
30b121d4bc3c9d137749c997eb76e7205c9b6334. This draft targets its upstreampull-request/3902mirror so the diff contains only these three files. After #3902 merges, rebase this follow-up ontomainand retarget it there; do not merge into the CI mirror.