markConversationUnresumableSafe
markConversationUnresumableSafe(
config,conversationId):void
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/recordSession.ts:89
GS2-20 — record, ON DISK, that a conversation can no longer be resumed, by clearing its thread link. Called once per session, the first time a checkpoint write fails after the store opened.
The session itself keeps running and the user is told; this is the half that has to outlive the
process. A checkpoint chain that stopped growing mid-conversation is still a well-formed chain,
so nothing a later --resume could inspect would reveal that it is truncated — the refusal has
to be written down at the moment the writing broke.
Fail-soft, like its neighbours: the session is already degraded, and a failure here must not turn that into a second error.
Parameters
Section titled “Parameters”config
Section titled “config”conversationId
Section titled “conversationId”number
Returns
Section titled “Returns”void