t1-p1-05draft3–5h

Generation endpoint with a structured prompt

requires: t1-p1-04

POST /answer feeding retrieved chunks and the question into an LLM call using a structured prompt template - system instructions, a retrieved-context block, the question, and an explicit instruction to cite sources. Return the answer plus the source chunks used.

Returning the chunks alongside the answer is not a nicety. It is the seam that makes the next task possible, and it is what separates a system you can audit from one you must trust blindly.

No result yet. Run `learn verify t1-p1-05` locally, or push to trigger CI.

contractcontract: t1_p1_05_generation
unrun