feat(subtasks): add the Subtasks service and repin to bc3 5daa0911d3

Merged
ZA
2mo ago
+10897-1513

bc3 #12659 documented subtasks as a first-class resource with flat canonical routes, shaped after comments: a to-do or card advertises subtasks_count, subtasks_completed_count and subtasks_url, and the index paginates. This models it as a Subtasks service in all seven SDKs — list, get, create, update, complete, uncomplete, reposition, delete — reusing the CardStep structure, because the wire shape did not change: type stays "Kanban::Step", only the routes and the parent's accounting are new. Todo, Card and the generic Recording carry the three accounting members. CardSteps stays as it was; bc3 keeps the card-scoped /steps spellings served indefinitely as aliases of the same records.

Absorbing documented routes means moving the provenance pin, so this advances it from c680233ba0e to 5daa0911d33 and triages the range in spec/api-gaps/README.md. Client users had already been absorbed ahead of the repin. The three other documented additions — the unscoped recording show (#10158), backlinks (#13121) and bulk enrollment (#9962) — are registered as addressed-in-bc3-pr briefs for follow-up absorption rather than modelled here, with matching dispositions in the route allowlist, and the client-route waivers the repin makes redundant are deleted.

The breaking label is for one behaviour change, in Go: CardStepsService.Reposition now rejects 0. bc3's card_table_steps.md called the reposition position "Zero indexed" until #12659 fixed it to 1-based; the server always counted from 1, so a caller sending 0 was outside the documented range all along, and the member doc and Go's lower bound now say so (MIGRATING has the note). A second correction rode along but changes nothing at runtime: PUT /my/unreads refuses batches over 500 readables with a 422, so MarkAsRead declares ValidationError and a @length(max: 500). No generator enforces the length on the client, so callers get the same 422 from the server they always did; that part is documentation.