Document todo subtask API usage in Basecamp skill

Merged
BJ
5mo ago
+74-0

What

Document Basecamp todo subtask/checklist-step handling in skills/basecamp/SKILL.md:

  • Todo subtasks are represented as Kanban::Step records even when parented to a normal Todo.
  • Add raw API examples for creating, reading, editing, assigning, setting due dates, completing/reopening, and trashing todo subtasks.
  • Note practical agent gotchas discovered during testing: preserve title when updating metadata, use assignee_ids instead of basecamp assign --step for todo-backed steps, and use recordings trash rather than DELETE to remove the subtask from the todo UI.

Why

The existing skill documents card steps, but todo-backed subtasks are not exposed through the normal todos commands and can be easy for agents to miss or handle incorrectly. This gives agents a verified workflow for managing these subtasks through the raw API until/if first-class CLI commands exist.

Testing

  • Manually verified against a real Basecamp todo subtask:
    • Created and read todo subtasks through the card_tables/steps API.
    • Assigned a subtask and set due_on via raw step update with assignee_ids.
    • Confirmed basecamp assign --step returned Bad Request for a todo-backed step.
    • Trashed a subtask with basecamp recordings trash and confirmed it disappeared from the todo UI while direct reads returned status: "trashed".
  • make check passes

Summary by cubic

Documents how to manage Basecamp to‑do subtasks (checklist steps) in skills/basecamp/SKILL.md using raw card_tables/steps APIs, with explicit basecamp recordings list (filter by parent.id, use --status trashed/--status archived) and recordings trash examples, plus create/read/update, assignment + due dates, complete/reopen (/completions.json), and trash.

Clarifies subtasks are Kanban::Step records, the create path /card_tables/cards/<parent_todo_id>/steps.json, numeric bucket IDs, fields like status: "trashed"/inherits_status: false, known GET routes that return not_found, and update gotchas (preserve title, prefer assignee_ids, and note assignee_ids replaces the full assignee list).