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;
        RecordPrimaryKey: string | null;
        Sections: FormAgentContextSection[];
    }
    Index

    Properties

    Entity: string
    RecordPrimaryKey: string | null

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