refactor(app): simplify session directory with direct snapshots and add sessionReady state
Replace subscription-based session accessor pattern with direct snapshot updates in daemon connections context. Add sessionReady flag to connection state to track when initial agent list has been received. Auto-select first ready host in create agent modal. Migrate from app.json to app.config.js. Add android:release script and Playwright testing docs.
This commit is contained in:
@@ -123,7 +123,7 @@ The multi-daemon infrastructure is in place: session directory with daemon-scope
|
||||
|
||||
---
|
||||
|
||||
## Review Summary (2025-11-26, updated)
|
||||
## Review Summary (2025-11-26, final review)
|
||||
|
||||
**Completed:**
|
||||
- Tasks 1–9 are complete
|
||||
@@ -133,6 +133,14 @@ The multi-daemon infrastructure is in place: session directory with daemon-scope
|
||||
- Settings screen retains host status indicators (correct per guiding principles)
|
||||
- Create agent modal availability check fixed (uses `connectionStates` as single source of truth)
|
||||
- Home screen agent list is now a flat list sorted by activity with host badges per row
|
||||
- Typecheck passes
|
||||
- Typecheck passes for both @paseo/server and @paseo/app workspaces
|
||||
|
||||
**All tasks complete.**
|
||||
**Final Review (2025-11-26):**
|
||||
- Verified no duplicate types or code patterns
|
||||
- Confirmed no silent defaults (no `hosts[0]`, `daemonEntries[0]`, or `connectionStates.keys().next()` patterns)
|
||||
- Verified availability logic in create-agent-modal correctly uses `selectedDaemonStatus !== "online"` without timing issues
|
||||
- Confirmed all offline states use neutral passive messaging about auto-reconnection
|
||||
- All user-facing strings properly say "Host" (Settings add form, restart alerts, offline messages)
|
||||
- No regressions or cut corners identified
|
||||
|
||||
**All tasks complete. No follow-up items required.**
|
||||
|
||||
Reference in New Issue
Block a user