Skip to content

fix(sandbox): preserve active runtimes during age pruning - #131941

Closed
vyctorbrzezowski wants to merge 5 commits into
mainfrom
fix/fix-sandbox-preserve-active-runtimes-dur
Closed

vyctorbrzezowski wants to merge 5 commits into
mainfrom
fix/fix-sandbox-preserve-active-runtimes-dur

Conversation

@vyctorbrzezowski

@vyctorbrzezowski vyctorbrzezowski commented Aug 28, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Age-based sandbox pruning can terminate real work while it is still running. This change keeps active runtimes owned through execution, stream and finalization settlement, rather than treating age or process exit alone as permission to remove them.

Closes #131935.

User Impact

Active sandbox work is protected across the relevant backends, including filesystem operations and browser response settlement. Automatic pruning skips busy scopes without blocking unrelated provisioning; existing current-config confinement and manual recreation behavior remain intact.

Why This Change Was Made

This PR is deliberately narrowed to active-work lifetime protection. Its additional remote-locator and upgrade redesign has been removed without undoing accepted main behavior. Physical destination binding, mutable remote endpoint identity, reservation cleanup metadata and supported legacy retirement are deferred follow-up work—not a new deletion policy silently introduced here.

Handle-local finalization and scope admission retain ownership through final settlement. Independent review also found and prompted a fix for browser HTTP response backpressure. The CI follow-up extracts unchanged diagnostics and places outcome types in a shared leaf module to satisfy line-count and both dependency-cycle checks without weakening gates.

Evidence

Final head: 9f1ae8f954a56f874a7130e37727a9b020fecf6e
Final tree: 5cf76f819b0e5c579cb383574b7f442d644f7af2

  • Exact-head CI completed successfully, with no failed or pending jobs at closeout.
  • Real Docker red/green: main killed a running five-second command after 75 ms (exit 137); the candidate completed normally (exit 0), retained the container and SQLite row while active, then removed both after settlement.
  • Real-process/SQLite entrypoint coverage and a real paused HTTP client receiving a 16 MiB response exercise lifetime and final-response ownership.
  • Workboard proof exercised the registered dispatch adapter, actual sandbox workspace-authority resolution, SQLite and Docker: current config launched once; aged active stale config refused before launch. Request context and launch hook were synthetic, not model inference or a network Gateway-client proof.
  • Separate qualification phases passed: 283 tests in 15 files on the narrowed implementation; 11 browser tests after its correction; 68 tests in six files for the final diagnostics/shared-type follow-up. These are separate receipts, not one combined test run.
  • Affected lint/types, full architecture checks (both cycle graphs zero), current line-count guard and full builds passed. Fresh independent reviews completed with no accepted actionable findings after repairs.
  • Live SSH/OpenShell integration is not claimed; source contracts and regressions were inspected. There is no visual UI change requiring screenshot proof.

Detailed proof and scope notes. Unchanged Talk/memory timing failures were investigated; the final exact-head CI run passed without relaxing their assertions.

Worked on by: @vyctorbrzezowski. Finishing commits contain the requested co-author trailer. The PR remains open, with its existing review state preserved; no merge, auto-merge, deployment or main push was performed.


View the OpenClaw team session

@vyctorbrzezowski
vyctorbrzezowski requested a review from a team as a code owner August 28, 2026 17:08
@vyctorbrzezowski vyctorbrzezowski self-assigned this Aug 28, 2026
@clawsweeper

clawsweeper Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vyctorbrzezowski
vyctorbrzezowski marked this pull request as draft August 28, 2026 17:09
@vyctorbrzezowski

Copy link
Copy Markdown
Member Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 28, 2026
@clawsweeper

clawsweeper Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed October 7, 2026, 5:37 AM ET / 09:37 UTC (Revision 10).

ClawSweeper review

What this changes

The branch coordinates sandbox commands, filesystem operations, and browser requests with automatic cleanup so runtimes remain available until active work settles.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 4 items remain

This PR remains useful: current main does not provide its active-work lifetime protection, and the previously reported crash-recovery blocker remains unchanged. Its maintainer authorship and protected label also exclude automatic closure.

Likely related people: steipete and Vincent Koc are routing candidates based on recent sandbox history; historical responsibility is unverified.

Priority: P1
Reviewed head: 9f1ae8f954a56f874a7130e37727a9b020fecf6e

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Strong recorded runtime proof supports the useful repair, but the persistent crash-recovery defect limits patch readiness.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Recorded real Docker comparison exercises sandbox execution and pruning, showing uninterrupted candidate completion and cleanup after settlement; real-process/SQLite entrypoint and paused HTTP-client evidence cover command and browser-response lifetime. SSH/OpenShell live integration is not claimed. Registry generation derives from existing columns without a schema or payload migration.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): Recorded real Docker comparison exercises sandbox execution and pruning, showing uninterrupted candidate completion and cleanup after settlement; real-process/SQLite entrypoint and paused HTTP-client evidence cover command and browser-response lifetime. SSH/OpenShell live integration is not claimed. Registry generation derives from existing columns without a schema or payload migration.
Evidence reviewed 13 items Pinned introduction and remaining blocker: The introduced module uses fail-closed lock recovery for deterministic runtime gates. Admission propagates non-timeout errors, so a definitely dead gate owner still causes admission failure rather than recovery.
Shared lock contract independently confirms failure: The lock adapter identifies definitely dead owners but preserves their sidecars under fail-closed recovery. Existing coverage explicitly expects file_lock_stale and verifies that the dead-owner sidecar remains.
Published lock-provider contract: Inspected @openclaw/fs-safe 0.12.0 directly from its npm tarball in memory without executing it. Package metadata verifies openclaw/fs-safe ownership. package/dist/sidecar-lock-acquire.js lines 295–338 only remove a stale snapshot for remove-if-unchanged; fail-closed throws file_lock_stale. No source commit was supplied by the package metadata.
Findings 1 actionable finding [P2] Recover runtime gates abandoned by dead processes
Security None None.

How this fits together

OpenClaw sandboxes execute agent commands and filesystem operations, with a separate browser bridge handling browser requests. Provisioning and automatic pruning manage those runtimes using the shared SQLite registry.

flowchart TD
  A[Agent commands and file operations] --> B[Runtime activity admission]
  C[Browser requests] --> B
  B --> D[Sandbox runtime]
  E[Age and idle pruning] --> F{Scope free and no active work?}
  G[SQLite runtime registry] --> F
  F -->|Yes| H[Remove runtime and registry entry]
  F -->|No| D
Loading

Before merge

  • Recover runtime gates abandoned by dead processes (P2) - If SIGKILL interrupts admission or mutation while it holds the deterministic gate, the sidecar survives. With staleRecovery: "fail-closed", the shared provider throws file_lock_stale even for a definitely dead owner, and acquireRuntimeGate propagates it. Later exec, filesystem, and browser admissions for that runtime therefore fail across restart. Recover definitely dead gate owners while retaining live and ambiguous-owner exclusion. This repeats the previously raised late finding; the module is unchanged since reviewed head 23ca7a0d241ee9e19833d5b6dece60f68aee54d4.
  • Resolve merge risk (P1) - A crash while holding a deterministic runtime gate can leave the same runtime unavailable across restart until its lock is recovered.
  • Resolve merge risk (P1) - The branch conflicts with current main; the resolved integration must retain the newer registry-worker, generation, and live-authority contracts.
  • Complete next step (P2) - Repair definite-dead-owner runtime-gate recovery and resolve current-main conflicts while retaining the newer registry lifecycle contracts.

Findings

  • [P2] Recover runtime gates abandoned by dead processes — src/agents/sandbox/runtime-activity.ts:39-42
Agent review details

Security

None.

PR surface

Source +722, Tests +1136, Docs +2. Total +1860 across 36 files.

View PR surface stats
Area Files Added Removed Net
Source 21 896 174 +722
Tests 14 1337 201 +1136
Docs 1 3 1 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 36 2236 376 +1860

Review metrics

Metric Value Why it matters
Production versus regression coverage Production net +722 lines; tests and test support net +1,136 lines Production growth is justified by cross-process lifetime coordination and settlement ownership, with substantial focused regression coverage.

Merge-risk options

Maintainer options:

  1. Repair crash recovery and integrate current main (recommended)
    Recover only definitely dead gate owners, retain live and ambiguous-owner exclusion, and validate the conflict-resolved branch against current registry lifecycle contracts.

Technical review

Best possible solution:

Keep lifetime protection in the existing sandbox lifecycle, recover definitely dead gate owners safely, and integrate it with current main's worker-backed registry without changing manual recreation or confinement.

Do we have a high-confidence way to reproduce the issue?

Yes: source and the shared lock regression establish that a dead-owner gate sidecar produces file_lock_stale on subsequent admission. This review did not execute a crash/restart reproduction.

Is this the best way to solve the issue?

Yes, coordinating cleanup with admitted work is the appropriate owner-level repair, but fail-closed gates need definite-dead-owner recovery before the patch is ready.

Full review comments:

  • [P2] Recover runtime gates abandoned by dead processes — src/agents/sandbox/runtime-activity.ts:39-42
    If SIGKILL interrupts admission or mutation while it holds the deterministic gate, the sidecar survives. With staleRecovery: "fail-closed", the shared provider throws file_lock_stale even for a definitely dead owner, and acquireRuntimeGate propagates it. Later exec, filesystem, and browser admissions for that runtime therefore fail across restart. Recover definitely dead gate owners while retaining live and ambiguous-owner exclusion. This repeats the previously raised late finding; the module is unchanged since reviewed head 23ca7a0d241ee9e19833d5b6dece60f68aee54d4.
    Confidence: 0.99
    Late finding: first raised on code an earlier review cycle already covered.

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5077ad4f99aa.

Labels

Label changes:

No label changes.

Label justifications:

  • P1: Age pruning can interrupt real agent work, making the underlying sandbox reliability repair urgent.
  • merge-risk: 🚨 availability: The introduced fail-closed runtime gates can keep a runtime unusable after its owning process crashes.
  • merge-risk: 🚨 compatibility: The accepted lifetime repair adds optional sandbox and browser SDK parameters; existing callers and confinement behavior must remain compatible.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦞 diamond lobster and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Sufficient (live_output): Recorded real Docker comparison exercises sandbox execution and pruning, showing uninterrupted candidate completion and cleanup after settlement; real-process/SQLite entrypoint and paused HTTP-client evidence cover command and browser-response lifetime. SSH/OpenShell live integration is not claimed. Registry generation derives from existing columns without a schema or payload migration.
  • proof: sufficient: Contributor real behavior proof is sufficient. Recorded real Docker comparison exercises sandbox execution and pruning, showing uninterrupted candidate completion and cleanup after settlement; real-process/SQLite entrypoint and paused HTTP-client evidence cover command and browser-response lifetime. SSH/OpenShell live integration is not claimed. Registry generation derives from existing columns without a schema or payload migration.

Evidence

What I checked:

  • Pinned introduction and remaining blocker: The introduced module uses fail-closed lock recovery for deterministic runtime gates. Admission propagates non-timeout errors, so a definitely dead gate owner still causes admission failure rather than recovery. (src/agents/sandbox/runtime-activity.ts:42, 9f1ae8f954a5)
  • Shared lock contract independently confirms failure: The lock adapter identifies definitely dead owners but preserves their sidecars under fail-closed recovery. Existing coverage explicitly expects file_lock_stale and verifies that the dead-owner sidecar remains. (src/plugin-sdk/file-lock.test.ts:142, 9f1ae8f954a5)
  • Published lock-provider contract: Inspected @openclaw/fs-safe 0.12.0 directly from its npm tarball in memory without executing it. Package metadata verifies openclaw/fs-safe ownership. package/dist/sidecar-lock-acquire.js lines 295–338 only remove a stale snapshot for remove-if-unchanged; fail-closed throws file_lock_stale. No source commit was supplied by the package metadata.
  • Re-review continuity: The runtime-activity module has no changes between the earlier reviewed head and the current pinned head. This repeats the existing late finding rather than introducing a new review requirement. (src/agents/sandbox/runtime-activity.ts:42, 9f1ae8f954a5)
  • Current main still needs lifetime protection: Current main selects expired registry entries and invokes runtime removal without this branch's runtime-activity admission mechanism. Its registry and authority checks do not establish that admitted commands or filesystem operations have settled. (src/agents/sandbox/prune.ts:54, 5077ad4f99aa)
  • Merged overlap is distinct: GitHub verifies perf(sandbox): run registry reservation and removal transactions in the executor #165558 merged as 7f4cf34. Its stated scope moves reservation and removal transactions into the executor and explicitly distinguishes this PR's activity/pruning work; it is not a fixing replacement. (7f4cf3466b36)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Add safe dead-owner gate recovery with crash/restart coverage proving admission resumes while live and ambiguous owners remain protected.
  • Resolve current-main conflicts while preserving worker-backed registry and live-authority checks, then validate the resulting integration.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (9 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-28T18:32:21.757Z sha ab32c54 :: found issues before merge. :: [P1] Fence legacy remote registry rows before current-config cleanup
  • reviewed 2026-09-04T20:14:04.938Z sha 0caefec :: blocked before merge. :: none
  • reviewed 2026-09-07T18:54:50.791Z sha 9582481 :: needs real behavior proof before merge. :: [P1] Honor current-config requirements when recycling is blocked | [P1] Keep unknown legacy cleanup locators unknown during refresh
  • reviewed 2026-09-13T07:48:36.575Z sha e685e01 :: needs real behavior proof before merge. :: [P2] Skip contended scope locks during automatic pruning
  • reviewed 2026-09-16T13:08:31.234Z sha 23ca7a0 :: blocked before merge. :: none
  • reviewed 2026-09-16T13:35:16.767Z sha 8cecdee :: blocked before merge. :: [P2] [P2] Provide recovery for runtime gates abandoned by dead processes
  • reviewed 2026-09-16T16:07:57.221Z sha 9f1ae8f :: blocked before merge. :: [P2] [P2] Recover runtime gates abandoned by dead processes
  • reviewed 2026-09-16T18:44:56.057Z sha 9f1ae8f :: blocked before merge. :: [P2] Recover runtime gates abandoned by dead processes

@clawsweeper clawsweeper Bot added status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 28, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the fix/fix-sandbox-preserve-active-runtimes-dur branch from ab32c54 to 0eb47da Compare September 4, 2026 19:58
@openclaw-barnacle openclaw-barnacle Bot added docker Docker and sandbox tooling and removed plugin: mxc labels Sep 4, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the fix/fix-sandbox-preserve-active-runtimes-dur branch from 0eb47da to 0caefec Compare September 4, 2026 20:00
@vyctorbrzezowski
vyctorbrzezowski marked this pull request as ready for review September 4, 2026 20:03
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 4, 2026
@clawsweeper clawsweeper Bot added the status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. label Sep 7, 2026
@vyctorbrzezowski
vyctorbrzezowski force-pushed the fix/fix-sandbox-preserve-active-runtimes-dur branch from 9582481 to e685e01 Compare September 13, 2026 07:41
@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Sep 13, 2026
Keep lifetime protection across sandbox backends while deferring the
remote cleanup locator redesign. Preserve current-main mount admission
and filesystem mappings, skip contended prune scopes, and join execution
finalization and browser response settlement.

Co-authored-by: vyctorbrzezowski <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation and removed extensions: openshell labels Sep 16, 2026
@roboclaw-bot

roboclaw-bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Collaborator

Finishing pass complete — lifetime protection only

Final head: 9f1ae8f; tree: 5cf76f819b0e5c579cb383574b7f442d644f7af2.

Exact-head CI is green: https://github.com/openclaw/openclaw/actions/runs/35119044774 (completed successfully, no failed/pending jobs at closeout). The PR remains open; no landing or auto-merge was performed.

The approved scope split is implemented: preserve active-work lifetime protection across relevant backends and existing main/manual-recreation behavior, while removing this PR’s additional remote-locator/upgrade redesign. Handle-local finalization, nonblocking scope admission and final-settlement ownership remain. The browser response-backpressure gap found during review is fixed.

Evidence

  • Real Docker main/candidate comparison: main killed a running five-second command after 75 ms (exit 137); the candidate completed normally (exit 0), retained the container/SQLite row while active, then cleaned both up.
  • Real-process/SQLite entrypoint coverage and a real paused HTTP client receiving a 16 MiB response cover provisioning independence and response settlement. Negative controls caught the lifetime/mount/pathMappings regressions.
  • Workboard registered-dispatch proof used actual sandbox workspace-authority resolution, SQLite and Docker. Current config launched once; aged active stale config refused before launch. Request context and launch hook were synthetic—not model inference or a network Gateway-client proof.
  • Separate qualification runs: 283 tests/15 files on the narrowed implementation; 11 browser tests after its correction; 68 tests/six files for the final diagnostics/shared-type follow-up. Affected lint/types, full architecture (both cycle graphs zero), current line-count guard and full builds passed.
  • CI follow-up extracted unchanged diagnostics and moved outcome types to the shared leaf module, fixing the line-count and type-only cycle findings without weakening gates. Unchanged Talk/memory timing failures were investigated; final exact-head CI passed without relaxing their assertions.
  • Fresh independent reviews completed with no accepted actionable findings after repairs. Live SSH/OpenShell integration is not claimed; contract inspection and regression coverage are recorded. No visual UI change.

Remote destination binding, mutable endpoint identity, reservation metadata and supported legacy retirement remain an explicit follow-up, not a newly chosen deletion policy. Owned Testbox workloads are terminal. The final finishing report records exact trees, separate test receipts, provenance, review/CI history and cleanup caveats.

Worked on by @vyctorbrzezowski; finishing commits contain the requested co-author trailer. No PR merge, deployment or main push.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 16, 2026
Move the unchanged completion diagnostic projection into a coherent
private sibling so active-work signal propagation does not grow the
grandfathered over-cap runtime module. Preserve all event fields and
callers without changing line-cap budgets or suppressions.

Co-authored-by: vyctorbrzezowski <[email protected]>
@clawsweeper clawsweeper Bot added merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 16, 2026
Move unchanged outcome and failure types into exec-types and update every
internal consumer. Remove the diagnostics type-only back-reference to the
process runtime so both runtime and full import graphs remain acyclic.

Co-authored-by: vyctorbrzezowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docker Docker and sandbox tooling docs Improvements or additions to documentation extensions: browser extensions: codex maintainer Maintainer-authored PR merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(sandbox): preserve active runtimes during age pruning

2 participants