gsxdsm
2f13a31e13
feat(dashboard): add draft planning sessions with debounced auto-creation
...
Introduce a draft lifecycle for planning sessions: typing into the
PlanningModeModal textarea now creates a server-side draft after a
300ms debounce, persisted with status='draft' so the user's in-flight
plan survives modal close/reopen and shows up immediately in the
session list.
- planning.ts: new createDraftSession path; persistSession status
union widened to include 'draft'; Session gains an explicit title
field so subsequent updates don't clobber it.
- register-planning-subtask-routes.ts: wires the createPlanningDraft
POST endpoint that the modal calls on debounce.
- ai-session-store.ts: tracks the draft status across queries so the
session list and locks behave the same as any active session.
- legacy.ts: client wrapper for createPlanningDraft.
- PlanningModeModal styling, tests, and ModalReentry coverage updated
for the new flow.
- docs/architecture.md notes the expanded ai_sessions.status lifecycle.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-02 15:56:29 -07:00
..
2026-04-29 14:23:58 -07:00
2026-04-28 14:25:55 -07:00
2026-05-02 11:19:39 -07:00
2026-04-30 18:28:01 -07:00
2026-04-27 19:59:52 -07:00
2026-05-02 04:41:31 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-29 13:29:00 -07:00
2026-05-02 02:07:12 -07:00
2026-04-17 09:16:08 -07:00
2026-04-22 09:56:26 -07:00
2026-04-30 21:20:56 -07:00
2026-04-28 18:21:17 -07:00
2026-04-27 19:59:52 -07:00
2026-05-02 03:53:38 -07:00
2026-05-02 04:41:31 -07:00
2026-04-25 00:07:19 -07:00
2026-05-02 07:59:06 -07:00
2026-05-02 07:59:06 -07:00
2026-04-25 01:45:29 -07:00
2026-04-30 23:24:29 -07:00
2026-04-27 12:45:53 -07:00
2026-04-29 09:21:30 -07:00
2026-04-29 09:46:16 -07:00
2026-05-02 00:48:06 -07:00
2026-05-02 10:20:44 -07:00
2026-04-27 04:05:25 -07:00
2026-04-18 12:21:14 -07:00
2026-05-02 00:37:57 -07:00
2026-04-28 19:20:10 -07:00
2026-04-25 17:44:55 -07:00
2026-04-25 19:35:47 -07:00
2026-04-29 20:15:05 -07:00
2026-04-30 05:14:03 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 13:29:48 -07:00
2026-04-22 16:31:30 -07:00
2026-04-22 15:53:08 -07:00
2026-04-25 11:28:33 -07:00
2026-04-24 08:55:02 -07:00
2026-05-02 11:25:08 -07:00
2026-04-25 10:50:32 -07:00
2026-05-01 08:56:10 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 19:09:55 -07:00
2026-04-24 19:39:20 -07:00
2026-04-18 07:36:57 -07:00
2026-04-28 16:20:24 -07:00
2026-04-27 04:05:25 -07:00
2026-05-02 13:24:37 -07:00
2026-04-29 00:09:39 -07:00
2026-04-29 16:25:30 -07:00
2026-05-02 14:18:56 -07:00
2026-04-27 02:24:21 -07:00
2026-04-28 19:20:10 -07:00
2026-04-27 19:59:52 -07:00
2026-05-02 05:09:04 -07:00
2026-04-24 09:38:16 -07:00
2026-05-02 00:37:57 -07:00
2026-05-02 00:37:57 -07:00
2026-05-02 11:25:08 -07:00
2026-05-02 11:25:08 -07:00
2026-05-01 13:00:37 -07:00
2026-04-24 19:39:20 -07:00
2026-05-02 13:24:37 -07:00
2026-05-02 15:56:29 -07:00
2026-04-17 05:36:02 -07:00
2026-05-02 01:23:54 -07:00
2026-04-26 12:25:10 -07:00
2026-04-28 18:21:17 -07:00
2026-04-27 19:59:52 -07:00
2026-05-01 08:56:10 -07:00
2026-04-27 19:59:52 -07:00
2026-05-02 11:19:39 -07:00
2026-05-02 11:19:39 -07:00
2026-04-28 23:23:34 -07:00
2026-04-24 19:39:20 -07:00
2026-04-17 08:01:38 -07:00
2026-05-01 05:15:19 -07:00
2026-04-25 07:04:50 -07:00
2026-04-24 08:55:02 -07:00
2026-05-02 15:56:29 -07:00
2026-04-27 19:59:52 -07:00
2026-05-01 16:49:30 -07:00
2026-05-01 23:46:43 -07:00
2026-04-25 07:04:50 -07:00
2026-04-27 19:59:52 -07:00
2026-04-28 23:23:34 -07:00
2026-04-18 03:08:00 -07:00
2026-05-01 03:47:10 -07:00
2026-04-23 10:58:36 -07:00
2026-05-02 00:25:21 -07:00
2026-05-02 02:54:26 -07:00
2026-04-30 18:48:59 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 12:12:05 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-05-02 05:38:34 -07:00
2026-05-02 07:36:28 -07:00
2026-04-29 20:15:05 -07:00
2026-04-19 20:48:13 -07:00
2026-04-28 21:13:30 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 12:40:32 -07:00
2026-04-27 04:05:25 -07:00
2026-04-29 23:54:29 -07:00
2026-05-02 02:01:52 -07:00
2026-04-29 11:42:37 -07:00
2026-04-26 22:21:18 -07:00
2026-05-02 10:20:44 -07:00
2026-04-22 08:04:24 -07:00
2026-04-28 16:24:22 -07:00
2026-04-28 19:20:10 -07:00
2026-04-30 21:26:54 -07:00
2026-04-30 18:24:30 -07:00
2026-04-30 22:55:48 -07:00
2026-05-02 07:59:06 -07:00
2026-05-01 13:27:53 -07:00
2026-05-02 07:59:06 -07:00
2026-04-29 21:33:18 -07:00
2026-05-02 01:20:55 -07:00
2026-04-27 19:59:52 -07:00
2026-04-25 12:18:55 -07:00
2026-05-02 05:09:04 -07:00