Skip to content
Discussion options

You must be logged in to vote

Independent service-level reproduction on c389f96bf3a9b6807cb71ed6bdad5849be0df6d8 (macOS arm64, Node 22.23.1, Vitest 4.1.8).

The test uses two fresh Cordis Context / SDK server instances, real JSONL persistence, and a loopback mock model endpoint:

  1. The first prompt finishes; the first server and Context are disposed.
  2. The second Context reads the stored header and confirms the same session ID exists.
  3. Prompting that ID through the new SDK server throws SessionAlreadyExistsError: session "main" already exists from JsonlSessionPersistence.create.

The failure occurs in server-side session acquisition, before the second prompt receives an inbox receipt. No Python receipt guard was changed. Th…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by lijikai1206
Comment options

You must be logged in to vote
1 reply
@MbappeWU
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants