Skip to content

Add external worker lifecycle supervision #98

Description

@superposition

Parent: #12

Goal

Add a first runnable supervision layer for external worker processes so Leash can own process lifecycle without folding every adapter into the core runtime.

Acceptance Criteria

  • Define a small external-worker spec with command, args, env, restart policy, and health metadata.
  • Add a supervisor that can start workers, report running/exited state, and stop them cleanly.
  • Keep defaults simulation-safe: no physical actuation, no network requirement, and no worker process started unless explicitly configured.
  • Expose worker state through an existing CLI or stack/module introspection path.
  • Add focused unit/smoke coverage that does not require hardware.

Notes

This should build on the existing module graph and stream-hub work rather than becoming a full distributed runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions