Summary
The /status endpoint should include the lastHeartbeat timestamp so that consumers (monitoring tools, dashboards, other services) can verify the agent is alive and determine how recently it checked in — without needing a separate endpoint or internal access.
Problem
Currently, /status returns basic health info but omits heartbeat timing. This means:
- External monitors can't detect a "running but stale" agent (process up, heartbeat stopped)
- Dashboards have no single source of truth for liveness
Acceptance Criteria
Response Shape (target)
{
"status": "ok",
"uptime": 3600,
"lastHeartbeat": "2026-02-23T13:00:00.000Z"
}
Out of Scope
- Heartbeat history / log
- Alerting or thresholds
- Changes to heartbeat frequency
Labels: enhancement, observability
Estimate: TBD — pending technical assessment from Cody
Summary
The
/statusendpoint should include thelastHeartbeattimestamp so that consumers (monitoring tools, dashboards, other services) can verify the agent is alive and determine how recently it checked in — without needing a separate endpoint or internal access.Problem
Currently,
/statusreturns basic health info but omits heartbeat timing. This means:Acceptance Criteria
GET /statusresponse includes alastHeartbeatfieldlastHeartbeatis an ISO 8601 UTC timestamp (e.g."2026-02-23T13:00:00.000Z")lastHeartbeatisnull/statusresponse fieldsResponse Shape (target)
{ "status": "ok", "uptime": 3600, "lastHeartbeat": "2026-02-23T13:00:00.000Z" }Out of Scope
Labels:
enhancement,observabilityEstimate: TBD — pending technical assessment from Cody