Skip to content

Stream framed checkpoints from the shared engine - #229

Merged
chaoz23 merged 3 commits into
mainfrom
agent/156-engine-native-checkpoint-streaming
Sep 6, 2026
Merged

chaoz23 merged 3 commits into
mainfrom
agent/156-engine-native-checkpoint-streaming

Conversation

@chaoz23

@chaoz23 chaoz23 commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • adds a runtime-branded, callback-scoped shared-engine checkpoint source and writes framed-v2 checkpoints directly from the paused engine
  • keeps the logical checkpoint schema and stable ID unchanged while avoiding a materialized checkpoint graph and monolithic checkpoint JSON on the source-native write path
  • hardens source lifetime, mutable-callback isolation, structural restore, bounded framed reuse verification, effective read limits, file-descriptor teardown, and Windows recovery-slot contention
  • records a preregistered matched six-cell checkpoint-v2 proof on Heresy II and The Intercept

Evidence

  • implementation commit: 9312811be8f0e79b8f05ce7e0d09a2626063b8ea
  • proof-record commit: 416305c7a49e0670914dcc9116005890616c3e4a
  • proof result SHA-256: 0443af81a3aa3312101ccbbf14161e7162d3332a613e14b5d27cbb94ee880088
  • full test suite: 410 total / 407 passed / 0 failed / 3 expected skips
  • package dry run: 122 entries, version 0.7.2
  • Heresy II: exact 100,000 → 150,000 split/resume parity for legacy-v1 and framed-v2
  • The Intercept: exact framed-v2 600,000 → 650,000 split/resume parity; legacy-v1 readback reaches the typed, non-destructive 536,870,888-byte decompression boundary
  • both framed proof writes report zero materialized checkpoint graphs and preserve the existing logical checkpoint identity

Scope

Related: #156, #215, #216

@chaoz23
chaoz23 marked this pull request as ready for review September 6, 2026 08:45
@chaoz23
chaoz23 merged commit 4f756c8 into main Sep 6, 2026
10 checks passed
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.

1 participant