comment
Post typed entries to a Linear issue: evidence, correction, ask, answer, or closure. It applies validated description patches and links answers or closure relations.
Instructions
Post a typed comment. evidence: a finding, optionally with an Observed patch. correction: must carry the description patch that makes the description say the corrected thing. ask: adds an OPEN row to Open questions. answer: must name the row it closes (answers: "Q3") and flips it to ANSWERED with a link. closed_by: this ticket's work landed under another ticket; names it (closed_by), sets the Linear relation (relation "duplicate" or "fixed_there") and records it under Fix. Move the state separately with set_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Required with patch. description_sha of the description this patch was written against: from get_issue, or from your last write to this ticket. The write is refused, with what changed, if the description has moved since. | |
| body | Yes | Comment text. For ask, the first line becomes the question row. | |
| kind | Yes | ||
| issue | Yes | Issue identifier (e.g. ENG-123) or UUID | |
| patch | No | Description sections to change. Impact is the one plain-language line at the top saying who notices this work (mode replace). Observed lines must be "YYYY-MM-DD · <source: command, SHA or query> · <what it showed>". Done when lines must be checklist items ("- [ ] <check that proves it>"). Open questions changes only through comment kinds ask and answer. | |
| ask_to | No | For kind ask: who should answer | |
| answers | No | For kind answer: the question id, e.g. Q3 | |
| relation | No | For kind closed_by: duplicate (same problem) or fixed_there (a different ticket whose change fixed this one) | |
| closed_by | No | For kind closed_by: the ticket that carried the work | |
| author_label | No | Agent name for the comment header, e.g. the model. With a personal API key the header reads "<author_label> via <you>"; with an agent (app) token it defaults to the agent identity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||