elenchus_generate_roles
Generate customized Verifier and Critic role prompts through a three-step process: domain detection, verifier generation, and critic generation, to set up an adversarial code verification system.
Instructions
Generate customized Verifier/Critic role prompts based on user requirements. This is a 3-step process:
detect_domain - Detects the verification domain from requirements
generate_verifier - Generates Verifier role (needs domain result)
generate_critic - Generates Critic role (needs verifier role)
Each step returns a prompt to send to an LLM. After all 3 steps, call elenchus_set_dynamic_roles with the results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID to generate roles for | |
| step | Yes | Generation step: detect_domain → generate_verifier → generate_critic | |
| previousResult | No | JSON result from previous step (domain detection result for verifier, verifier role for critic) |