feat(sandbox): teleport snapshots and GC leftover tars - #677
Closed
justrach wants to merge 1 commit into
Closed
Conversation
Close the leftover #554 gaps: /teleport restores a docker_image_tar on the Apple Container CLI (same wire, different binary), and /snapshot gc keeps the newest n snapshots. Missing dest CLIs stay explanations.
justrach
marked this pull request as ready for review
August 29, 2026 17:41
cursor Bot
pushed a commit
that referenced
this pull request
Aug 31, 2026
#677 leftover of #554: /teleport restores a snapshot tar onto another CLI backend; /snapshot gc keeps the newest n trees. ADR 0051 (their 0042 collided with TUI claims). #675: lean -p bounces prose-only first "done"; short Codegraff flakes retry twice; DeepSeek thinking off at default low; lean bash auto-backgrounds at 15s. ADRs remapped 0048-0051 -> 0052-0055. Suite floor 1861. Keep-alive-only bodies share the short-flake retry so the request-scratch split stays. Co-authored-by: yxlyx <85774423+yxlyx@users.noreply.github.com>
Owner
Author
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.
Closes the leftover half of #554.
What changed
/teleport <id> [docker|container]restores a captureddocker_image_taronto a different CLI backend. Apple Container (container) is the second backend — same wire as Docker, differentbin_name. Dest defaults tocontainerwhen the live backend is docker or nothing is attached./snapshot gc [n]keeps the newest n snapshot trees (default 1) and deletes the rest. Missing dest CLIs stay explanations, not crashes.Why
#554 shipped the seam, Docker CLI backend,
/snapshot, and/rewind <id>. Teleport and snapshot GC were the two exo misses left open. Conversation rewind is still never implied — every restore reprints the filesystem-only note.Verification
scripts/eval-tier1.shvia pre-push: fmt, 600-line ceiling, reachability, build, 1759 unit tests (was 1753 on main; +6), TUI suite, PTY probes, invariants, SDK sync.#554filter: 61/61 including the new gc / teleport / missing-CLI cases.