UNPKG

@autobe/agent

Version:

AI backend server code generator

14 lines (13 loc) 489 B
/** * Detect entity references in section content that are NOT in the authoritative * scenario entity catalog. * * Scans YAML spec blocks and backtick `Entity.field` references for entity * names and compares against the scenario's entity list. * * @returns Array of human-readable violation strings (empty = no violations) */ export declare const detectInventedEntities: (sections: Array<{ title: string; content: string; }>, authorizedEntityNames: string[]) => string[];