docs(kanban): name the legacy-attachments cutoff (#35395) in the type comment

Desktop AGENTS.md requires a compat fallback to be 'tied to an identified
older runtime' so a future cleanup knows when it can be deleted. The
original comment said only 'older backend plugins'; name the actual
boundary: backends before #35395 (May 2026) omit the attachments key.

Review follow-up on the salvage of #104529.
This commit is contained in:
kshitijk4poor
2026-09-07 12:51:03 +05:30
committed by kshitij
parent 0d7af8962f
commit 40da71dbb4
+3 -1
View File
@@ -117,7 +117,9 @@ export interface KanbanTaskDetail {
task: KanbanTaskFull
comments: KanbanComment[]
events: KanbanEvent[]
/** Older backend plugins omit this collection and have no attachment endpoints. */
/** Kanban backends before attachments landed (#35395, May 2026) omit this
* key and have no /tasks/{id}/attachments endpoints; absent/null hides the
* section instead of offering uploads the backend would 404 on. */
attachments?: KanbanAttachment[] | null
links: { parents: string[]; children: string[] }
runs: KanbanRun[]