Overview
The AddCommentCommand creates a new comment on a task with optional @mentions and attachments.
Example
{ "commandId": "cmd_comment_123", "commandType": "AddCommentCommand", "timestamp": "2025-12-11T18:00:00Z", "version": "1.0.0", "data": { "taskId": "task_12345", "workspaceId": "ws_acme_corp", "author": { "userId": "usr_john_doe", "name": "John Doe" }, "content": "Great progress! @jane-smith can you review?", "attachments": [] }}Results
Success: CommentAdded event is published
If mentions present: UserMentioned events are also published