Skip to content

Snapshot session records and tokens atomically - #74

Draft
nightlessbaron wants to merge 17 commits into
prodfrom
agent/atomic-session-snapshot
Draft

Snapshot session records and tokens atomically#74
nightlessbaron wants to merge 17 commits into
prodfrom
agent/atomic-session-snapshot

Conversation

@nightlessbaron

Copy link
Copy Markdown

Summary

  • take the legacy session records and accumulated-token checkpoint under one lock
  • prevent GET from returning N records with N+1 turns of tokens during the Phase-3 commit window
  • copy the snapshot before response serialization

Dependency

This is stacked on #66 and temporarily includes #66 in the prod diff. Rebase onto prod after #66 lands.

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.

2 participants