Member Junction
    Preparing search index...

    The form the user is looking at, as an agent sees it in AppContext.AdditionalContext.Form.

    Every value of AdditionalContext goes into every agent prompt, so this carries only what identifies the form and its sections. The rest (fields, rail, contribution details) stays in the full FormCompositionSnapshot, which the apply flow reads from the FormCompositionRegistry, and the Get Form Composition For Entity and Get Form Contributions For Entity actions report it to an agent that needs it. Keep field names stable.

    interface FormAgentContext {
        Entity: string;
        FormChoice: FormCompositionChoice;
        Links?: FormAgentLinksSummary;
        RecordPrimaryKey: string | null;
        RecordState?: FormAgentRecordState;
        Sections: FormAgentContextSection[];
    }
    Index

    Properties

    Entity: string

    Optional bidirectional record links summary for AI context.

    RecordPrimaryKey: string | null

    The record, as CompositeKey.ToURLSegment(); null for a record not saved yet.

    RecordState?: FormAgentRecordState

    Optional active record field/dirty state for AI context.