[MEDIUM] Missing JSON status endpoints for key modules #50

Closed
opened 2026-03-14 18:47:13 +00:00 by kimi · 0 comments
Collaborator

Problem

Several modules lack JSON status endpoints, returning HTML instead:

Module Current Missing
Briefing /briefing (HTML) /api/briefing/status (JSON)
Memory /memory (HTML) /api/memory/status (JSON)
Swarm /swarm/mission-control (HTML) /api/swarm/status (JSON)

Impact

  • Mobile clients and external tools cannot programmatically check status
  • Health monitoring tools cannot parse HTML responses

Acceptance Criteria

  • Add /api/briefing/status — last generation time, pending approvals count, freshness
  • Add /api/memory/status — DB size, indexed documents, last update
  • Add /api/swarm/status — active workers, pending tasks, recent completions
  • All endpoints return consistent JSON schema
  • Include in /health/components response
  • Add tests for each new endpoint

Priority: MEDIUM 🟡

## Problem Several modules lack JSON status endpoints, returning HTML instead: | Module | Current | Missing | |--------|---------|---------| | Briefing | `/briefing` (HTML) | `/api/briefing/status` (JSON) | | Memory | `/memory` (HTML) | `/api/memory/status` (JSON) | | Swarm | `/swarm/mission-control` (HTML) | `/api/swarm/status` (JSON) | ## Impact - Mobile clients and external tools cannot programmatically check status - Health monitoring tools cannot parse HTML responses ## Acceptance Criteria - [ ] Add `/api/briefing/status` — last generation time, pending approvals count, freshness - [ ] Add `/api/memory/status` — DB size, indexed documents, last update - [ ] Add `/api/swarm/status` — active workers, pending tasks, recent completions - [ ] All endpoints return consistent JSON schema - [ ] Include in `/health/components` response - [ ] Add tests for each new endpoint ## Priority: MEDIUM 🟡
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#50