Consultation
object type
A Consultation: the verbatim transcript is the record (bounded turn rows — read via consultationTurns) and the memory is the stored rolling summary ON this record — auditable, purgeable, merchant-visible, never hidden model state. Each ask composes the summary + the last 12 turns verbatim + the asked materials' stored extractions (extract-then-compose — raw content is read exactly once, at material confirm). Aldric may attach a drafted plan to a reply; taking a drafted plan (takeConsultationPlan) mints a Scratchpad through the live spine (origin consultation) and the walk proceeds under the taker's own capability (the hardened-Aldric law — the chat holds zero mutation authority). Outgrowing the 200-turn transcript refuses honestly naming the cure: a follow-on consultation linked via followOnOfId (never silent middle-loss). User-parented (the consulter owns the chat), group-rooted. The ops event domain (at.ops.consultation.*).
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 CI-… — stable for the record’s life. |
type | String String! | The kind of record — always Consultation 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, archived or discarded. |
parentId | ID ID! | The consulting User; parentId ≠ rootId by construction (the org group is the root). |
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. |
turnCount | Int Int! | The transcript length. |
summary | String | The stored rolling summary. |
summarizedThroughSeq | Int Int! | Turns below this seq live inside the summary; turns from it onward compose verbatim into each ask. |
followOnOfId | ID | The outgrowth link — the consultation this one continues. |
idleArchiveAt | String | System-stamped at birth, at every ask and at reopen = the last activity + 30 days — the scheduler archives the conversation at this instant if it is still open; a parked row keeps its last stamp as history. |
turnsTierAt | String | System-stamped when the conversation archives (by you or by the idle sweep) = the archive instant + 90 days — the scheduler moves the transcript to the archive bucket at this instant if the conversation is still archived; reopen removes it; a tiered row carries none. |
turnsTier | String | Present (archive) once the transcript has moved to the archive bucket after 90 days archived — consultationTurns still reads it whole (the tier is transparent); taking a drafted plan then needs a reopen first; reopen brings the rows back and clears this. Absent while the rows are hot. |