append_trail
Document a decision, action, or note on a task by posting it to the task's GitHub issue, creating a traceable trail for later sessions. Sync the task first to ensure an issue exists.
Instructions
Append one entry to a task's trail by posting a comment on its GitHub issue, so a later session can backtrack it. Requires the task to have an issue (sync it first).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The task id. | |
| kind | No | decision | action | note (optional tag). | |
| link | No | Where it landed — a file:line, URL, or commit. | |
| note | Yes | What was decided, done, or noticed (the comment body). | |
| branch | No | Branch to scope to (optional; the backend decides its use). | |
| project | No | The project id — an opaque, supplied string, never derived. Omit to use the server's --project-id default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trail | Yes |