Skip to content
Context Engineering

Name the Concept a Request Must Not Break: Putting Goal Ranking Inside the Prompt

Updated

Knowledge on this page was mainly distilled from Do LLMs Understand Context? Context Rot Doesn't Explain Why Your Goals Get Ignored.

Before any request that could reshape your product, name the concept the request must not break, in one sentence inside the request itself: "Reduce overwhelm without removing X, because X is why the app exists." That sentence does up front what a corrective reminder would otherwise do after the model has already suggested a change that breaks your goal.

Where the technique comes from

I asked a model to help reduce overwhelm for users of an app he was building. An intent file describing what the app exists to do loaded into every session before he typed a word, so the goal was in the context window. Every suggestion made sense, and some of them cut the very things the app exists to do. When he reminded the model of the part of the goal those suggestions were cutting into, the next answer respected it. The reminder restated what the model had already been given and added length, yet it fixed the answer.

Why one sentence works

The reminder did two things.

  • Position. It put the goal at the end, right next to the request, and models favor what sits near the end of their input. Anthropic's documentation reports that putting the question after long documents can improve answers by up to 30% in its tests.
  • Ranking. Something was missing after all, just not a fact: which part of the goal comes first for this request. A person who thinks in hierarchical concepts knows that without effort. The model holds the goal as text and decides again, for every answer, how much it matters. The sentence supplies the ranking directly.

Why the obvious alternatives fail

Pasting the whole intent file into every request

If a reminder works, it is tempting to paste everything. But every extra passage competes for the model's attention, and in Boolean's test, material related to the task (its own tools and code) was the kind that hurt both models tested. Bury the request under the whole file and you are back where you started: the goal is present, and the model still has to work out which part of it matters here. The reminder worked because of what it pointed at, the specific part of the goal the suggestions were breaking.

Writing "purpose comes first" in the intent file

That line is text too. It has to win the same match against the request as the rest of the file, so the model will still ignore it sometimes. A request about clutter matches material about clutter, not a standing statement of priority.

The ranking has to come from you, every time

Look at who does the work in the sentence. To name the concept a request could break, you have to know which one is at risk, and knowing that is the ranking itself, the part the model never had. No intent file can do this for you, because which part of the purpose matters depends on the request, and the request does not exist yet when the file is written. Seen this way, the reminder is not a trick. The model never forgot the goal; it never knew which part of it comes first. The request is the only place it can learn that, and it has to learn it again each time.

Q&A

What should go in the place of X?

X should be the specific part of the goal that this particular request could damage, not a restatement of the whole purpose. The reminder that fixed my answer pointed at the part of the goal the suggestions were cutting into. Adding the reason, as in "because X is why the app exists," makes clear why that part outranks the changes being requested.

Which requests need this sentence?

Requests that could reshape your product. My example is a request to reduce overwhelm: it is about screens, steps and clutter, so it invites cuts that can quietly remove what the app exists to do. The risk is highest when the wording of the request shares little with the wording of your purpose.

Why put the sentence in the request instead of a system prompt or intent file?

Because the ranking is request-specific. Which part of the purpose matters depends on the request, which does not exist when a file is written. Placing it in the request also puts the goal at the end, next to the question, where models use information most reliably.

What if the model has already suggested something that breaks the goal?

Remind it of the specific part of the goal its suggestions are cutting into. That is exactly what fixed my answer: the reminder told the model nothing new, but it placed the goal next to the request and said which part comes first. The technique is simply doing that step before the request instead of after.