Skip to content

[Phase 3] Implement or explicitly defer cage run --continue session resume #29

Description

@Saber5656

Background

PRD §11.5 defines cage run --continue (resume the previous conversation in the same directory, modeled on claude-docker --continue), and the CLI UX spec lists the flag. No current issue covers it. Session persistence (#13) provides the metadata and volumes needed, so the gap is the resume flow itself. Leaving the flag undefined risks another parse-only flag like the ones that shipped in the legacy CLI.

Scope

  • Decide the pre-alpha stance: implement a minimal resume, or defer with a clear unimplemented error (either is acceptable; it must be explicit).
  • If implemented:
  • Define interaction with --cleanup (a cleaned-up session cannot be resumed) and with crashed sessions (resume vs sync --from-volume recovery).

Acceptance Criteria

  • cage run --continue either resumes the latest session or fails with an explicit, documented unimplemented error — never a silent no-op.
  • When implemented, credential re-injection on resume keeps the same security guarantees as first start.
  • --continue with no prior session yields a clear error, not a panic.
  • Interaction with --cleanup and crashed sessions is documented.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions