From b1ea76b286b870bb62a80eebf3fe00feed6f12c1 Mon Sep 17 00:00:00 2001 From: Dotta Date: Tue, 3 Nov 2026 21:02:53 -0600 Subject: [PATCH] fix(agent): discover recorded work progress alongside comments Co-Authored-By: Paperclip --- server/src/routes/openapi.ts | 2 ++ 1 file changed, 2 insertions(+) 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 }, });