implements PLN-0062 native shell lifecycle wiring

This commit is contained in:
2026-05-15 17:53:10 +01:00
parent f62be06dc5
commit edfac5a99b
9 changed files with 156 additions and 55 deletions
@@ -2,7 +2,7 @@
id: PLN-0062
ticket: prometeu-hub-ui-direction
title: Native Shell Launch and Lifecycle Wiring
status: open
status: done
created: 2026-05-15
ref_decisions: [DEC-0028]
tags: [hub, ui, shell, system-apps, lifecycle, design-system]
@@ -82,13 +82,13 @@ Make the launch/close path architecturally correct before the visual slice depen
## Acceptance Criteria
- [ ] Launching `ShellA` creates a native Shell task/process.
- [ ] Launching `ShellB` creates a native Shell task/process.
- [ ] Each launched Shell app receives a focused `WindowOwner::Task(task_id)` window.
- [ ] Closing the Shell app closes lifecycle state through `os.lifecycle().close_task(task_id)`.
- [ ] Closing the Shell app returns firmware to `HubHome`.
- [ ] Hub visual code does not directly mutate task/process managers.
- [ ] Existing shell liveness behavior remains intact.
- [x] Launching `ShellA` creates a native Shell task/process.
- [x] Launching `ShellB` creates a native Shell task/process.
- [x] Each launched Shell app receives a focused `WindowOwner::Task(task_id)` window.
- [x] Closing the Shell app closes lifecycle state through `os.lifecycle().close_task(task_id)`.
- [x] Closing the Shell app returns firmware to `HubHome`.
- [x] Hub visual code does not directly mutate task/process managers.
- [x] Existing shell liveness behavior remains intact.
## Tests