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.
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
Notes
This should build on the existing module graph and stream-hub work rather than becoming a full distributed runtime.