Member Junction
    Preparing search index...

    The context handed to the room TurnModerator for ONE decision: the roster, the recent diarized lookback (incl. the triggering turn), and the bookkeeping the moderator needs to honor progress/observability.

    interface TurnModeratorContext {
        AgentRunID?: string;
        ConsecutiveAgentOnlyTurns: number;
        ContextUser?: UserInfo;
        LatestTurn: ModeratorLookbackTurn;
        Lookback: ModeratorLookbackTurn[];
        Provider?: IMetadataProvider;
        RepAgentSessionID?: string;
        RoomKey: string;
        Roster: ModeratorRosterAgent[];
    }
    Index

    Properties

    AgentRunID?: string

    A representative co-agent run id to tie the moderator prompt run to (observability).

    ConsecutiveAgentOnlyTurns: number

    Consecutive agent-only turns since the last human turn (for the optional ping-pong backstop).

    ContextUser?: UserInfo

    The context user + provider for the moderator's own metadata/prompt operations.

    The turn that triggered this decision (also the last element of TurnModeratorContext.Lookback).

    Recent diarized turns oldest→newest (the engine's bounded buffer; the moderator narrows per its config).

    RepAgentSessionID?: string

    The representative (scribe) bridge's AIAgentSession id — the plugin uses it to resolve the co-agent run id for observability when TurnModeratorContext.AgentRunID is absent.

    RoomKey: string

    The external room key.

    Every agent currently in the room.