/**
 * Canonical prompt templates for literacy-mode evaluations.
 *
 * These are the source-of-truth templates. Previously lived in
 * config/prompts.ts as global templates; now handler-owned so
 * non-literacy modes can define their own prompts without collision.
 */
export const LITERACY_PROMPT_TEMPLATES = {
    "with-docs": {
        id: "with-docs",
        label: "With Documentation",
        template: `You are an expert Sanity.io developer. Use the following documentation to help implement the task.

## Sanity Documentation
{{docs}}

## Task
{{task}}

## Requirements

1. Use ONLY the APIs and patterns shown in the documentation
2. Provide a complete, working implementation
3. Include all necessary imports
4. Follow Sanity best practices as documented

Provide your implementation:
`,
        variables: ["docs", "task"],
    },
    "without-docs": {
        id: "without-docs",
        label: "Baseline (No Docs)",
        template: `You are an expert Sanity.io developer.

## Task
{{task}}

## Requirements

1. Provide a complete, working implementation
2. Include all necessary imports
3. Follow Sanity best practices

Provide your implementation:
`,
        variables: ["task"],
    },
    agentic: {
        id: "agentic",
        label: "Agentic (self-retrieval)",
        template: `You are an expert developer helping implement a Sanity.io feature.
You have access to web search and page fetching tools.

IMPORTANT: Before writing any code, search for and read the relevant
Sanity.io documentation to ensure you are using the latest APIs and
best practices. Do not rely on memory alone.

## Task
{{task}}

## Requirements

1. Search for relevant Sanity documentation before implementing
2. Use ONLY the APIs and patterns from the current official docs
3. Provide a complete, working implementation
4. Include all necessary imports
5. Follow Sanity best practices as documented

Provide your implementation:
`,
        variables: ["task"],
    },
};
