The reaped session's id.
Whether to mark the run(s) Completed (true) or Failed (false).
OptionalcontextUser: UserInfoThe user the writes run as (required — skipped without it).
Optionalprovider: IMetadataProviderThe metadata provider (required — skipped without it).
The bridge-engine session-run finalizer (matches
BridgeSessionRunFinalizerin@memberjunction/ai-bridge-server). Bind this ontoAIBridgeEngine.SetSessionRunFinalizer(...)at startup so a bridge reaped WITHOUT a live session (a prior-boot orphan, a cross-host teardown) still finalizes its co-agent observability run — the only path where theClose()-wrapped finalizer can't run. Lives here (in ai-agents, which owns the realtime runtime) so the engine stays decoupled from it.