Prompting · 2026-11-06

Your app puts stable rules (persona, safety limits, output format) into the same user message as each…

Your app puts stable rules (persona, safety limits, output format) into the same user message as each request’s data. Behavior drifts request to request.

  1. AMove the stable rules into the system prompt, keep only per-request data in the user message
  2. BKeep the rules in the user message but bold and capitalize them and repeat them after the data, so each request restates them loudly
  3. CSend the rules again as a second user message after the data
  4. DLower temperature so the rules are followed more consistently

Answer: A

Move the stable rules into the system prompt, keep only per-request data in the user message

Why

The system role exists for durable instructions that should govern every turn; the user role carries the specific request. Separating the two makes the rules authoritative and stable, and keeps user data from being read as instructions.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path