Glossary Term
An opt-in batch pattern for Author Prompts. Activated by declaring three variables in Per Prompt Instructions:
LOOP_INPUT— the source list or query that yields items to iterate over.
LOOP_SHARED_PHASES— numbered phases executed once before the loop begins (context gathering, schema loading, etc.).
LOOP_ITEM_VARIABLE— the name of the variable that holds the current item during each iteration.
The Per Prompt Type Instructions contain the shared loop engine that reads these variables and orchestrates the iteration. Loop Processing is one of the three Prompt Batch Architecture patterns.