Tasks are addressable events with a title, optional description, assignees, due date, and targets (any event or addressable event). Status and priority are tracked separately via Status events, keeping the task event itself clean and covering todos, project management, git issues, and similar use cases.
Task Event (kind:37060)
An addressable event representing a task.
Required Tags
| Tag | Description |
|---|---|
d |
Deterministic unique identifier for the task |
title |
Task title |
Optional Tags
| Tag | Description |
|---|---|
e |
Related event by id (one per target) |
a |
Addressable event target: kind:pubkey:d-identifier (one per target). Common targets: repos (30617), apps (32267), projects (30315), milestones (30316), other tasks (37060) |
p |
Pubkey with optional role (one per person): assignee, reviewer, client, or empty for mention |
due |
Due date as Unix timestamp |
t |
Category tag (one per tag) |
Content
Task description. Follows Nostr Markdown.
Event Structure
{
"kind": 37060,
"pubkey": "<author-pubkey>",
"tags": [
["d", "implement-user-auth"],
["title", "Implement User Authentication"],
["a", "30617:repo-owner-pubkey:repo-identifier", "<relay-url>"],
["a", "30316:pubkey:beta", "<relay-url>"],
["p", "b3e392b11f5d4f28321cedd09303a748acfd0487aea5a7450b3481c60b6e4f87", "assignee"],
["p", "a1b2c3d4e5f6789012345678901234567890123456789012345678901234567890", "reviewer"],
["due", "1703980800"],
["t", "frontend"]
],
"content": "## Requirements\n\n- Login/logout functionality\n- Password reset\n- OAuth integration",
"created_at": 1700000000
}
Sub-tasks
If a task’s a tag references another task (37060:pubkey:parent-d), it is treated as a sub-task of that parent. There is no dedicated sub-task tag.
Status and Priority
Task status is tracked via Status events (kind:1983). The same event MAY include an optional priority tag (urgent, high, medium, low). If a status event has a priority tag, that sets the task’s priority; omitting it leaves priority unchanged.
See Also
- Status — status and priority tracking
- Project — projects tasks can target
- Milestone — milestones tasks can target
- Nostr Markdown — content format
Comments
Public conversation about this article.
No comments yet.
Article metadata
About this entry
Event Id
Raw event
Other authors
No one else has published this topic yet.
