Skip to main content
Version: 1.x

Interface: AgenticCheckpoint

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

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:311

Ordered list of step names that have already completed.


currentStep

readonly currentStep: number

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

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


remainingSteps

readonly remainingSteps: string[]

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

Ordered list of step names yet to execute.


sessionId

readonly sessionId: string

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

Unique session identifier (UUID recommended).


state

readonly state: Record<string, unknown>

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

Arbitrary serializable step state (JSON-safe).


timestamp

readonly timestamp: string

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

ISO 8601 timestamp when this checkpoint was created.