Skip to main content
PROMPT-ENGINEERING-ADVANCED5 MIN READ

Find the Leaky XML Boundary

Identify when XML structure is failing to separate role, instructions, examples, and live input.

Priya's model is obeying customer notes as instructions. Which part shows the leaky XML boundary? Role area The role area is not the issue. A role can focus tone and expertise, but the leakage is where variable data touches authority. Live notes mixed with instructions Correct. This is the boundary failure: customer input is visually and structurally mixed with instructions, so the model may treat data as command. Examples tray The examples tray is separated. Examples still need labels, but the visible problem is not example leakage here. Output contract The output contract controls format. It does not fix authority…

Read the full lesson

Sign up free — one personalized lesson every day, matched to your role and goals.

Already have an account? Sign in

← Back to library
Contact us