Build the OpenCARL injection content for system prompt integration.
Combines domain rules from matched domains, always-on domains, and command domains
into a structured XML block that can be injected into the system prompt.
Handles special rendering for the CONTEXT domain with bracket-based filtering.
Build the OpenCARL injection content for system prompt integration.
Combines domain rules from matched domains, always-on domains, and command domains into a structured XML block that can be injected into the system prompt. Handles special rendering for the CONTEXT domain with bracket-based filtering.