From c5f5570dc6c67d91f868ba6dfe597d7e377e856b Mon Sep 17 00:00:00 2001 From: Dotta Date: Mon, 9 Nov 2026 04:19:15 -0600 Subject: [PATCH] fix(status-cards): describe a concurrent finished refresh in the refresh catalog entry Co-Authored-By: Claude Opus 5.5 --- server/src/routes/openapi.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/routes/openapi.ts b/server/src/routes/openapi.ts index a3249e94bd1..d96377a32b6 100644 --- a/server/src/routes/openapi.ts +++ b/server/src/routes/openapi.ts @@ -3491,7 +3491,8 @@ registerCurrentRoute({ summary: "Refresh a status card", description: "Queues a refresh; it does not return a new summary. The card's summarizer agent writes the update in its own generation run, after which the card's lastGeneratedAt and summary change. " + "Do not sleep or poll for it: reply now that the refresh is queued, with the returned card.href as a Markdown link where the person sees the update. " - + "alreadyGenerating means an earlier refresh is still running; enqueued false without alreadyGenerating means the card's refresh policy deferred it, and card.state says why (such as paused_budget or paused_hours).", + + "alreadyGenerating means an earlier refresh is still running. enqueued false without alreadyGenerating means this request started no run: " + + "if card.lastGeneratedAt is newer than before your request, a concurrent refresh already finished; otherwise the card's refresh policy deferred it, and card.state says why (such as paused_budget or paused_hours).", body: refreshStatusCardSchema, });