feat(FN-1456): add explicit abandon flow for planning and subtask AI sessions
- Add abandon action to useBackgroundSessions hook for deterministic session cleanup - Make background dismissal deterministic instead of relying on 7-day TTL expiration - Update PlanningModeModal to include abandon button in header actions - Add comprehensive tests for abandon behavior and session lifecycle - Update dashboard guide with session lifecycle documentation
This commit is contained in:
@@ -114,6 +114,12 @@ Features:
|
||||
- Two final actions: **Create Task** or **Break into Tasks**
|
||||
- Multi-task creation uses key deliverables and dependency linking
|
||||
|
||||
### Session Lifecycle
|
||||
|
||||
- **Send to Background** — Hides the modal but preserves the session server-side. The session continues running and can be resumed from the Background Sessions panel.
|
||||
- **Close (X button or Escape)** — Explicitly abandons the session on the server. The AI stops processing and the session is terminated. Use this when you want to cancel without saving progress.
|
||||
- **Session Persistence** — Planning sessions that are actively running (generating, awaiting input, complete, or error) appear in the Background Sessions panel and can be resumed.
|
||||
|
||||
## Subtask Breakdown Dialog
|
||||
|
||||
The subtask dialog supports structured decomposition before creation.
|
||||
@@ -125,6 +131,11 @@ Features:
|
||||
- Keyboard reordering controls
|
||||
- Dependency linking constrained to earlier items
|
||||
|
||||
### Session Lifecycle
|
||||
|
||||
- **Send to Background** — Hides the modal but preserves the session server-side. The session continues running and can be resumed from the Background Sessions panel.
|
||||
- **Close (X button or Cancel)** — Explicitly abandons the session on the server. The AI stops processing and the session is terminated. Confirmation is shown if there are unsaved changes.
|
||||
|
||||
## Settings Modal
|
||||
|
||||
Central place for model/provider config, execution behavior, notifications, backups, and UI preferences.
|
||||
|
||||
Reference in New Issue
Block a user