Table of Contents

Namespace JD.AI.Core.Agents.Checkpointing

Classes

CheckpointInfo

Metadata about a single checkpoint.

CommitCheckpointStrategy

Checkpoint strategy using git commits with a special prefix. Creates checkpoint commits that can be reverted via git reset.

DirectoryCheckpointStrategy

Checkpoint strategy for non-git directories. Copies tracked files to .jdai/checkpoints/{id}/ for snapshotting.

StashCheckpointStrategy

Checkpoint strategy using git stash. Lightweight, doesn't pollute branch history. Stashes are named "jdai-cp-{label}" and can be listed/restored.

Interfaces

ICheckpointStrategy

Abstraction for creating and managing project state checkpoints before file-mutating tool invocations.