Skip to main content

AgentCheckpointEvent

Typed immutable private project checkpoint event.

type AgentCheckpointEvent implements AgentEventBase {
protocolVersion: String!
eventId: String!
sessionId: String!
seq: BigInt!
type: CrowdyStudioAgentEventType!
runId: String
version: String!
createdAt: DateTime!
checkpointId: String!
projectRevision: BigInt!
contentHash: String!
reason: String!
files: [AgentCheckpointFile!]!
restoredAt: DateTime
}

Fields

AgentCheckpointEvent.protocolVersion ● String! non-null scalar

Event envelope version; always 'crowdy.agent-event/1'.

AgentCheckpointEvent.eventId ● String! non-null scalar

Stable event UUID for deduplication.

AgentCheckpointEvent.sessionId ● String! non-null scalar

Owning session UUID.

AgentCheckpointEvent.seq ● BigInt! non-null scalar

Strictly increasing session sequence as a decimal BigInt.

AgentCheckpointEvent.type ● CrowdyStudioAgentEventType! non-null enum

Stable version 1 event discriminator.

AgentCheckpointEvent.runId ● String scalar

Related run UUID, or null for session-only facts.

AgentCheckpointEvent.version ● String! non-null scalar

Versioned event payload contract.

AgentCheckpointEvent.createdAt ● DateTime! non-null scalar

Commit timestamp.

AgentCheckpointEvent.checkpointId ● String! non-null scalar

Private checkpoint UUID.

AgentCheckpointEvent.projectRevision ● BigInt! non-null scalar

Project revision captured as the immutable pre-image.

AgentCheckpointEvent.contentHash ● String! non-null scalar

sha256 digest of the canonical private snapshot.

AgentCheckpointEvent.reason ● String! non-null scalar

AGENT_WRITE, RESTORE_PREIMAGE, or MANUAL.

AgentCheckpointEvent.files ● [AgentCheckpointFile!]! non-null object

Bounded target/path/hash/byte summaries; never source.

AgentCheckpointEvent.restoredAt ● DateTime scalar

Restore timestamp for CHECKPOINT_RESTORED, or null.

Interfaces

AgentEventBase interface

Common identity/order fields on every typed durable agent event variant.

Implemented By

CrowdyStudioAgentEvent union