Skip to content

Sandbox snapshot and reattachment checkpoint contract #3222

Closed as not planned
18 of 18 issues completed
Closed as not planned

Description

@ananthsub

Parent issue

Sub-issue of #3024.

Problem

Several agents and resources servers retain provider handles to live sandboxes, workspaces, PTYs, or containers. Raw handles are process-local, while copying files may omit process, terminal, baseline, and provider state required for equivalent continuation.

Scope

Define provider-level snapshot/clone, stable logical-handle rebinding, retirement, and atomic multi-sandbox restore. Child issues adapt concrete sandbox-backed agents and environments.

Acceptance criteria

  • The provider declares exactly what snapshot captures and excludes.
  • Logical handles survive process replacement without reusing stale provider handles.
  • Tracked and untracked files, required baselines, and supported PTY state restore equivalently.
  • Partial clone failure activates no replacement sessions.
  • Restored sandboxes are retired exactly once.
  • Next tool action and final verifier result match the pre-failure execution where equivalence is claimed.

Activity

  1. added
    env-infraInfra related to creating new environments
    featureNew capabilities, enhancements, or enablement work
    area:sandboxSandbox providers, isolation, and sandbox runtime contracts
    on Sep 10, 2026
  2. ananthsub commented on Oct 13, 2026

    @ananthsub
    ContributorAuthor

    Superseded by the partial-rollout checkpointing design in #3882 onward.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:sandboxSandbox providers, isolation, and sandbox runtime contractsenv-infraInfra related to creating new environmentsfeatureNew capabilities, enhancements, or enablement work

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions