Skip to content

feat(sandbox): long-running workload sandbox lifecycle engine (devops sandbox) #106

Closed

Description

@dan-petty

Problem Statement

Testing active builds and ephemeral services locally requires automated, isolated container environments with strict resource constraints and managed lifecycles.

Proposed Changes

  1. Implement devops sandbox deploy|status|stop|exec orchestration engine for rootless Docker containers and ephemeral namespaces (sandbox-<app>-<timestamp>).
  2. Implement dynamic host port allocation (10000-60000), cgroup v2 resource limits (pids_limit=256, cpu_limit, memory_limit), read-only root filesystems, /tmp tmpfs, and cap_drop=["ALL"].
  3. Manage daemon tracking in .data/sandbox/instances.json recording instance ID, container ID, assigned ports, and uptime.

Acceptance Criteria

  • 100% clean process teardown on stop or SIGINT.
  • Zero host port conflicts.
  • Strict containment preventing host root or .git escapes.
  • Passes all CI quality gates with >=90% test coverage.

Activity

  1. added this to the v0.2.16 milestone on Sep 10, 2026
  2. added
    type/feature
    scope/cli
    priority/p0-critical
    on Sep 10, 2026
  3. added
    status/in-progress
    status/in-review
    and removed
    status/in-progress
    on Sep 11, 2026
  4. removed
    status/in-review
    on Oct 30, 2026
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

    priority/p0-criticalscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions