Skip to content

Make development overlays container-portable and execute cleanup contracts #58

Description

@adrianwebb

Problem

A real API live Compose target could not resolve the active SDK overlay because CLI linked consumer packages to absolute host paths. Inside a containerized development target, that absolute link target is unavailable. Stopping the target also left an exited Compose container because declared cleanup operations were never executed.

Required behavior

  • Create package overlay links relative to each consumer so a consistently mounted workspace remains valid inside containers.
  • Inject explicit session workspace-root and worktree identities into development operations.
  • Execute declared setup before startup and cleanup after bounded process shutdown, including full session stop.
  • Keep cleanup unprivileged, project-owned, and argument-array based.
  • Add command-boundary tests and packed-install evidence.

Discovered by Platform session dev-aeef9dc6-5a2 while proving API #111 and Deployment #174.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions