Lumen
Reference

Events

Generated durable-envelope fields and normalized typed event vocabularies.

The fixed attempt runtime and model/tool providers normalize into this product-owned vocabulary. A durable product event wraps semantic payload in the generated envelope below; replay cursors are opaque and callers never perform cursor arithmetic.

Durable domain-event envelope

FieldRequiredTypeConstraint
actoryesEventActorunknown fields forbidden
aggregate_idyesstring—
aggregate_typeyesstring—
aggregate_versionyesintegerminimum 1.0
causation_idyesstring—
correlation_idyesstring—
cursoryesCursorpattern ^c2_[A-Za-z0-9_-]{32}$
event_idyesEventIdpattern ^eve_[0-9a-f]{32}$
event_typeyesstringpattern ^[a-z][a-z0-9_.-]+$
occurred_atyesstringformat date-time
payloadyesobject—
project_idyesProjectIdpattern ^prj_[0-9a-f]{32}$
schema_versionno1fixed value 1
trace_idyesstring—
workspace_idyesWorkspaceIdpattern ^wsp_[0-9a-f]{32}$

Normalized attempt events

Event typeContractEvent-specific fields
approval.requestedApprovalEventapproval_id, decision
approval.resolvedApprovalEventapproval_id, decision
artifact.publishedArtifactPublishedEventartifact_id
attempt.cancelledAttemptLifecycleEventdetail
attempt.completedAttemptLifecycleEventdetail
attempt.failedAttemptLifecycleEventdetail
attempt.pausedAttemptLifecycleEventdetail
attempt.provisioningAttemptLifecycleEventdetail
attempt.queuedAttemptLifecycleEventdetail
attempt.resumedAttemptLifecycleEventdetail
attempt.startedAttemptLifecycleEventdetail
checkpoint.createdCheckpointCreatedEventcheckpoint_id
claim.proposedClaimProposedEventclaim_id
message.completedMessageEventcontent, message_id
message.deltaMessageEventcontent, message_id
message.startedMessageEventcontent, message_id
reasoning.summaryReasoningSummaryEventsummary
task.proposedTaskProposedEventobjective, title
tool.completedToolEventdetail, status, tool_call_id, tool_name
tool.deltaToolEventdetail, status, tool_call_id, tool_name
tool.requestedToolEventdetail, status, tool_call_id, tool_name
tool.startedToolEventdetail, status, tool_call_id, tool_name
usage.updatedUsageUpdatedEventestimated_cost_micros, input_tokens, output_tokens

Unknown event types fail closed at the typed boundary. message.delta and tool.delta may be presentation-only; completed semantic outcomes are the durable source for recovery.

On this page