Skip to content

feat(schemas): add checkpoint and fork schemas + architecture docs - #203

Merged
telleroutlook merged 1 commit into
mainfrom
fix/169-checkpoint-fork-schemas
Aug 5, 2026
Merged

feat(schemas): add checkpoint and fork schemas + architecture docs#203
telleroutlook merged 1 commit into
mainfrom
fix/169-checkpoint-fork-schemas

Conversation

@telleroutlook

Copy link
Copy Markdown
Contributor

Fixes #169

Changes

  • schemas/aep/checkpoint.schema.json — Checkpoint object (snapshot of execution state). Required: checkpoint_id, state_digest, created_at. Optional: parent_run_id, fork_of.
  • schemas/aep/fork.schema.json — Fork object (new lineage from checkpoint). Required: fork_id, source_checkpoint_id, fork_reason, created_at. Optional: target_branch, parent_run_id.
  • docs/checkpoint-fork-architecture.md — Concept definitions, field semantics, digest computation, relationship to CheckpointEvidence.
  • schemas/index.json — Registers both schemas at checkpoint/v0.1 and fork/v0.1.

Tests

  • bun test: 18/18 pass
  • bun run drift: no drift detected (19 schemas verified)
  • python3 tests/conformance.py: pre-existing failure unrelated to this change (jsonschema registry arg incompatibility)

Implements #169. Adds:
- schemas/aep/checkpoint.schema.json — snapshot of execution state
  (checkpoint_id, state_digest, created_at, optional parent_run_id/fork_of)
- schemas/aep/fork.schema.json — new lineage from an existing checkpoint
  (fork_id, source_checkpoint_id, fork_reason, created_at, optional target_branch)
- docs/checkpoint-fork-architecture.md — concept definitions, field semantics,
  relationship to CheckpointEvidence
- schemas/index.json — registers both schemas (checkpoint/v0.1, fork/v0.1)

bun test: 18/18 pass. npm run drift: no drift.
@telleroutlook
telleroutlook merged commit 7065b04 into main Aug 5, 2026
3 of 5 checks passed
@telleroutlook
telleroutlook deleted the fix/169-checkpoint-fork-schemas branch August 5, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement checkpoint/fork architecture docs and core data structure schemas

1 participant