Interface: Ticket
Defined in: packages/orchestration/src/types.ts:64
Extends
Properties
acceptance?
optionalacceptance?:string[]
Defined in: packages/orchestration/src/types.ts:46
How the caller will judge the work done, one check per entry.
Inherited from
activeRunId?
optionalactiveRunId?:string
Defined in: packages/orchestration/src/types.ts:72
The run holding the ticket: in progress, or paused on a question.
assignee?
optionalassignee?:string
Defined in: packages/orchestration/src/types.ts:53
Unset, the scheduler can auto-assign.
Inherited from
brief?
optionalbrief?:TicketBrief
Defined in: packages/orchestration/src/types.ts:44
The structured brief, when the work was delegated with one.
Inherited from
budget?
optionalbudget?:object
Defined in: packages/orchestration/src/types.ts:50
Spend ceiling for this ticket's runs, checked while they run.
usd?
optionalusd?:number
Inherited from
createdAt
createdAt:
number
Defined in: packages/orchestration/src/types.ts:69
deadline?
optionaldeadline?:Date
Defined in: packages/orchestration/src/types.ts:59
Inherited from
deliverableSchema?
optionaldeliverableSchema?:Record<string,unknown>
Defined in: packages/orchestration/src/types.ts:48
JSON Schema the deliverable must match.
Inherited from
TicketConfig.deliverableSchema
dependsOn?
optionaldependsOn?:string[]
Defined in: packages/orchestration/src/types.ts:55
Tickets that must be done first.
Inherited from
description
description:
string
Defined in: packages/orchestration/src/types.ts:42
The worker's input. A ticket created from a brief carries the rendered
brief here (see renderTicketBrief), so workers that read only
description still get all of it.
Inherited from
error?
optionalerror?:string
Defined in: packages/orchestration/src/types.ts:76
Set when failed.
groupChatId?
optionalgroupChatId?:string
Defined in: packages/orchestration/src/types.ts:61
For filtering Realtime subscriptions; set by the host, not the model.
Inherited from
id
id:
string
Defined in: packages/orchestration/src/types.ts:67
metadata?
optionalmetadata?:Record<string,unknown>
Defined in: packages/orchestration/src/types.ts:56
Inherited from
priority?
optionalpriority?:"critical"|"high"|"medium"|"low"
Defined in: packages/orchestration/src/types.ts:51
Inherited from
questions?
optionalquestions?:HumanQuestion[]
Defined in: packages/orchestration/src/types.ts:66
Durable questions; only done resolves dependencies, never needs_input.
result?
optionalresult?:unknown
Defined in: packages/orchestration/src/types.ts:74
Set when done.
status
status:
"needs_input"|"backlog"|"queued"|"in_progress"|"review"|"done"|"failed"|"cancelled"
Defined in: packages/orchestration/src/types.ts:68
tags?
optionaltags?:string[]
Defined in: packages/orchestration/src/types.ts:58
For filtering and capability matching.
Inherited from
title
title:
string
Defined in: packages/orchestration/src/types.ts:36
Inherited from
updatedAt
updatedAt:
number
Defined in: packages/orchestration/src/types.ts:70