symfonic.platform.conversation_authority¶
conversation_authority ¶
One authenticated owner for opt-in native HTTP checkpoint transcripts.
This composition owns the configured legacy SQLite store. It admits only native chat;
legacy invocation and continuation families must refuse at HTTP ingress.
Unowned historical checkpoints are never adopted from a caller's session id.
Use one authority per saver/writer process; distributed writers use
conversation_pg.PostgresConversationAuthority instead.
ConversationAuthority ¶
Checkpoint-backed owner with final-only, revision-checked publication.
Compose transcript_reader() over this owner's saver for the selected
root. compatibility_reader remains for compositions that still inject
the facade's reader; an authority holds exactly one reader of either kind.
create is the only way to issue new sessions; prepare never
registers an unknown id. close belongs to the composition lifetime.
The factory must represent an exclusively owned local saver; sharing the
saver with another writer is refused when a checkpoint revision changes.
authorize
async
¶
compatibility_reader ¶
Compose the existing facade's transcript reader over this same file.
The selected HTTP root refuses every legacy invocation family. This facade supplies the existing public transcript read, not model execution. Legacy configuration belongs to the injected factory, not this owner.
create
async
¶
discard_empty
async
¶
list_sessions
async
¶
prepare
async
¶
Read authorized history; publish only a usable completed exchange.