Task
object type
The CsCase chassis reused: caption required (the subject line) + its OWN description field (≤8192 — the task's brief; the conversation is the generic Note thread at note#<taskId>, addNote/notes). priority ∈ {low, normal, high, urgent} (its OWN canned registry — kit-stamped 'normal' when unnamed). createdBy is server-stamped (immutable); reportTo names WHO the work reports to. Assignment is multi: assigneeUserIds ≤8 + teamIds ≤4 (in-tenant + active at set) — each holds a write-once taskbook inbox row while the task lives (terminal transitions remove user/team rows in the same txn: the inbox self-prunes, bounded by open work). labelIds ≤16 (TaskLabel — the work vocabulary). constructRefs ≤16 {type,id} bind live domain constructs ref-only (the CsCase @375 law: validated in-tenant + non-doomed at write, NO doom arms grow, a purged target renders as a tombstone; each holds a taskbook#REF row while the task is non-doomed — the tasksByConstruct lane). dueAt: overdue = computed at read (dueAt < now ∧ live; + the dueBefore filter) — NO sweep lane in v1. 'blocked' is deliberately NOT a state — it is a label (no machine consequence in v1). Searchable by caption. The ops event domain (at.ops.task.* — the facility→ops neighborhood).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like TK-… — stable for the record’s life. |
type | String String! | The kind of record — always Task here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of open, in_progress, postponed, completed or cancelled. |
parentId | ID ID! | The parent org group; for a Task parentId === rootId. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
description | String | The task's own brief. Absent = caption-only. |
priority | String String! | low | normal | high | urgent — kit-stamped 'normal' when the caller names none (its OWN registry — the CS shape, deliberately not shared). |
createdBy | ID | WHO opened the task — server-stamped from the acting principal; immutable. Null exactly when systemOrigin is set. |
systemOrigin | String | Which platform lane minted the task when NO human did. Never caller-suppliable — absent from create/edit inputs by law; immutable at birth; null on every human-created task. |
reportTo | ID | WHO the work reports to — an User (in-tenant + active at set); the notification lane = the deferral. |
assigneeUserIds | ID [ID!]! | The assigned workers. |
teamIds | ID [ID!]! | The assigned Teams (≤4, distinct; in-tenant + active at set; each holds a taskbook#team inbox row while the task lives). |
labelIds | ID [ID!]! | The work labels (≤16, distinct; in-tenant + active TaskLabels at set). |
dueAt | String | The expected-completion instant (ISO-8601) — overdue is computed at read (dueAt < now ∧ live), never stored. |
overdue | Boolean Boolean! | Computed at read via the ONE isTaskOverdue home. |
constructRefs | TaskConstructRef [TaskConstructRef!]! | The bound domain constructs (≤16, distinct by (type,id) — ref-only per the CsCase @375 law: no doom arms grow; a purged target renders as a tombstone). |
linkedFromTaskId | ID | The completed task this one reopens. Immutable at birth; the reopen provenance edge. |
returnAt | String | The boomerang instant: while status=postponed the scheduled-due sweep fires postponed→open AT this instant (re-minting the user/team inbox rows); after the return it stays as honest history (the armed law reads status). Never on the edit face; a re-park restamps it. |
originNoteId | ID | Server-stamped, immutable, all-three-or-none with the anchor pair; null on hand-created tasks. |
originAnchorType | String | The origin note's annotated construct type (the /comments face's anchor — the come-back link is /comments/<originAnchorType>/<originAnchorId>). |
originAnchorId | ID | The origin note's annotated construct id (the polymorphic arm — the sibling names the type; the ApprovalRequest targetType precedent). |