Skip to content

refactor: remove checkpoint persistence and pending replacement flow#203

Merged
rlippmann merged 5 commits into
mainfrom
codex/checkpoint-runtime-removal
Jul 24, 2026
Merged

refactor: remove checkpoint persistence and pending replacement flow#203
rlippmann merged 5 commits into
mainfrom
codex/checkpoint-runtime-removal

Conversation

@rlippmann

@rlippmann rlippmann commented Jul 24, 2026

Copy link
Copy Markdown
Owner

What changed

  • Removed checkpoint persistence as a supported runtime workflow.
  • Updated persistence guidance and runtime behavior to use export_json() / import_json() as the authoritative state persistence contract.
  • Removed checkpoint-related public runtime APIs and migrated preview, regression, fixture, and test workflows away from checkpoint artifacts.
  • Updated conformance fixtures and regression coverage to validate authoritative state restoration instead of checkpoint serialization.
  • Changed missing-source replacement semantics so use <new> instead of <old> applies deterministically when <old> is absent and there is no semantic conflict.
  • Removed the obsolete pending/clarification flow for missing-source replacement while preserving clarification for actual semantic conflicts.
  • Updated examples, demos, README guidance, and AGENTS expectations to reflect the simplified persistence and clarification model, including renaming the state-restore example.

Why

  • Checkpointing was introduced to support pending continuation, but the remaining supported semantics no longer require persisted continuation state.
  • export_json() / import_json() already provide the necessary authoritative state persistence boundary.
  • Missing-source replacement does not require user clarification because the intended resulting state is deterministic; clarification should remain reserved for genuine semantic conflicts.
  • This keeps the core engine authoritative and avoids duplicating hidden runtime behavior in consumers such as directive drafters.

Closes #187

@rlippmann
rlippmann merged commit a25390f into main Jul 24, 2026
18 checks passed
@rlippmann
rlippmann deleted the codex/checkpoint-runtime-removal branch July 24, 2026 06:42
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.

Reconsider yes/no replacement-intent clarifications when either item is prohibited

1 participant