[bug] Dashboard Observations: delete, cleanup, and export capabilities not work
Problem
The Dashboard Observations list (/api/observations) is currently read-only. Users cannot:
- Delete individual observations directly from the dashboard
- Cleanup stale/archived observations in bulk
- Export observations for backup or migration
Context
In the Memorix dashboard, users need to manage their memory observations interactively. The current implementation only supports:
- ✅ Viewing observations (GET
/api/observations) - ❌ Deleting observations
- ❌ Bulk cleanup of observations
- ❌ Exporting observations (e.g., JSON/Markdown)
Thanks for the report. We’ve confirmed this is a real dashboard bug: the observations view currently exposes read-only listing without the expected delete, cleanup, and export management actions.\n\nThis is now on our near-term fix list, and we plan to address it in the next release so these observation management capabilities work properly from the dashboard.\n\nAppreciate you flagging it.
Fixed in v1.0.7 Dashboard delete, cleanup, and export now work. The root cause was that serve-http.ts had its own handleDashApi that was missing DELETE /api/observations/:id and GET /api/export routes (they existed in dashboard/server.ts but not in the serve-http embedded version). Both routes are now implemented in serve-http.ts handleDashApi.