implements PLN-0066 hub ui validation lesson

This commit is contained in:
2026-05-15 18:00:05 +01:00
parent c16c5a426c
commit 8f74bd2b22
3 changed files with 135 additions and 11 deletions
@@ -2,7 +2,7 @@
id: PLN-0066
ticket: prometeu-hub-ui-direction
title: Hub UI Slice Validation and Lesson
status: open
status: done
created: 2026-05-15
ref_decisions: [DEC-0028]
tags: [hub, ui, shell, system-apps, lifecycle, design-system]
@@ -69,14 +69,32 @@ Prove that the initial Hub retro Shell UI slice satisfies the accepted decision
## Acceptance Criteria
- [ ] Automated tests for affected crates pass or failures are documented as unrelated.
- [ ] Manual flow passes: Hub -> ShellA -> close -> Hub.
- [ ] Manual flow passes: Hub -> ShellB -> close -> Hub.
- [ ] Shell windows are task-owned.
- [ ] App close uses lifecycle close.
- [ ] No complete UI toolkit or catalog was introduced.
- [ ] Pixel font integration outcome is recorded.
- [ ] A post-execution lesson is ready for housekeeping after plans are marked done.
- [x] Automated tests for affected crates pass or failures are documented as unrelated.
- [x] Manual flow passes: Hub -> ShellA -> close -> Hub.
- [x] Manual flow passes: Hub -> ShellB -> close -> Hub.
- [x] Shell windows are task-owned.
- [x] App close uses lifecycle close.
- [x] No complete UI toolkit or catalog was introduced.
- [x] Pixel font integration outcome is recorded.
- [x] A post-execution lesson is ready for housekeeping after plans are marked done.
## Execution Notes
Validation evidence:
- `cargo test -p prometeu-system`: 83 passed.
- `cargo test -p prometeu-firmware`: 17 passed.
- `cargo test -p prometeu-host-desktop-winit`: 25 passed, 5 ignored.
- `discussion validate`: passed.
The ShellA/ShellB flows were verified through firmware integration tests that
simulate Hub click input and Shell close input. A live desktop manual click
session was not run in this environment; the host crate still compiles and its
test suite passes.
Lesson prepared:
- `discussion/lessons/DSC-0036-prometeu-hub-ui-direction/LSN-0045-hub-ui-slices-should-prove-os-boundaries.md`
## Tests