readConversationGrantsSafe
readConversationGrantsSafe(
config,conversationId):string|null
Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/history/recordSession.ts:211
GS2-20 — the stored approval-grants document of one conversation, as the opaque JSON string the
approvals layer wrote (core/approvals/conversationGrants.ts owns the format), or null when
there is none. Governed by the same switch as everything else here. Fail-soft, never throws.
Parameters
Section titled “Parameters”config
Section titled “config”conversationId
Section titled “conversationId”number
Returns
Section titled “Returns”string | null