Skip to main content

Interface: AgenticCheckpoint

Defined in: src/ai/types.ts:374

Checkpoint state for long-running agentic test generation sessions.

Remarks​

Serializable to JSON for persistence across process restarts. state holds arbitrary step-specific data.

Intent​

Enable resumable multi-step AI test generation workflows.

Example​

const checkpoint: AgenticCheckpoint = {
sessionId: 'sess-001',
currentStep: 2,
completedSteps: ['discover', 'plan'],
remainingSteps: ['generate', 'validate'],
state: { pageUrl: 'https://my.app/launchpad' },
timestamp: new Date().toISOString(),
};

Properties​

completedSteps​

readonly completedSteps: string[]

Defined in: src/ai/types.ts:380

Ordered list of step names that have already completed.


currentStep​

readonly currentStep: number

Defined in: src/ai/types.ts:378

Index of the currently executing step (0-based).


remainingSteps​

readonly remainingSteps: string[]

Defined in: src/ai/types.ts:382

Ordered list of step names yet to execute.


sessionId​

readonly sessionId: string

Defined in: src/ai/types.ts:376

Unique session identifier (UUID recommended).


state​

readonly state: Record<string, unknown>

Defined in: src/ai/types.ts:384

Arbitrary serializable step state (JSON-safe).


timestamp​

readonly timestamp: string

Defined in: src/ai/types.ts:386

ISO 8601 timestamp when this checkpoint was created.