diff --git a/server/src/routes/openapi.ts b/server/src/routes/openapi.ts index 8e88c8f941e..9e9714f3f41 100644 --- a/server/src/routes/openapi.ts +++ b/server/src/routes/openapi.ts @@ -2083,6 +2083,7 @@ registry.registerPath({ path: "/api/companies/{companyId}/timeline", tags: ["companies"], summary: "Get company work timeline", + description: "Read-only company-scoped progress history for a requested time window. Inspect visible work spans and saved ownership or delegation events, then follow source issue activity for recorded actors and status transitions. Comments and run outcomes alone do not establish who reassigned work or why it paused. A failed verification command can occur within a successful run. Preserve the requested window, source links and task visibility boundaries.", request: { params: z.object({ companyId: z.string() }), query: workTimelineQuerySchema, @@ -4618,6 +4619,7 @@ registry.registerPath({ path: "/api/issues/{id}/comments", tags: ["issues"], summary: "List issue comments", + description: "Lists discussion comments, not complete status or assignment history. For progress walkthroughs and handoff attribution, use GET /api/companies/{companyId}/timeline for the requested interval and GET /api/issues/{id}/activity for saved transitions and their recorded actors. Do not infer prior ownership from the current assignee or from successful runs.", request: { params: z.object({ id: z.string() }) }, responses: { 200: r.ok(), 401: r.unauthorized }, });