All prompts live in prompts/v1/ and are selected by config — a prompt
change is a versioned, reviewable diff, never a hotfix in a running pod.
| Prompt | Purpose | Consumed by |
|---|---|---|
| system.md | grounded-assistant ground rules (evidence-only, cite everything) | generator context |
| answer-generation.md | the [N]-marker answer template with abstention contract | src/agents/generator.py |
| citation_verification.md | claim-level citation judge | src/agents/citation_validator.py |
| evidence_sufficiency.md | is the evidence enough to answer? | src/agents/evidence_validator.py |
| intent_classification.md | query routing (7 classes) | src/agents/classifier.py |
| planning.md | decompose into tool steps | src/agents/planner.py |
| memory_extraction.md | what to remember from a turn | src/memory/long_term.py |
| abstention.md | the safe “I don’t have enough evidence” contract | eval + generation |
| safety.md | unsafe-content refusal rules | security layer |
Guards: tests/unit/test_prompt_files_present.py pins presence and
substance; the CI eval gate re-measures behavior when prompts change.