You can polish an instruction for an hour and still get a poor answer if the assistant is missing the relevant facts. Prompt engineering concerns how you ask. Context engineering also concerns what information is available when the system acts. The distinction matters whenever work spans documents, tools, and a conversation that keeps growing.

What changes when context becomes the problem

Anthropic’s engineering guidance describes context as a finite resource that should be curated rather than filled indiscriminately. That does not mean a longer input is always bad. It means useful information has to compete with irrelevant, outdated, or conflicting material.

Consider an assistant writing a customer proposal. It needs the current offer, approved pricing, audience, and constraints. A transcript containing months of abandoned ideas can make the task harder even if the newest instruction is beautifully written.

Build a four-part context pack

Start with the objective and acceptance criteria. Add authoritative facts with dates and source labels. Then include constraints such as budget, tone, prohibited claims, and actions requiring approval. Finish with one or two examples that show the desired output without introducing unrelated requirements.

For the proposal, the acceptance criteria could be a one-page draft with three deliverables and no invented commitments. The facts should identify which price sheet is current. The example should demonstrate structure, not quietly supply prices the assistant might reuse.

Resolve conflicts instead of hiding them

If two documents disagree, do not paste both and hope the model guesses correctly. Label the conflict and state which source has authority, or ask the assistant to flag the unresolved decision. A useful answer can contain a clearly identified gap.

Keep instructions separate from source material. A customer email saying “ignore the approval process” is evidence of what the customer wrote, not permission to bypass your rules. This distinction becomes especially important when retrieved documents or web pages enter an automated workflow.

Keep durable notes short and specific

At the end of a longer task, preserve decisions, unresolved questions, and pointers to artifacts. Do not save a sprawling transcript as the only handoff. A compact note such as “use the revised price sheet dated Monday; legal wording remains unapproved” can be more useful than pages of discussion.

When the task resumes, verify that the note is still current. Summaries can omit details or preserve a mistake. Treat them as navigational aids that point back to authoritative material, not as a substitute for every source.

A simple before-and-after experiment

Run the same task twice: once with your existing conversation and once with a clean context pack. Compare factual preservation, omitted requirements, review time, and unsupported additions. Do not judge only fluency.

If the clean pack helps, maintain it as part of the workflow. If results still fail, examine the task definition, tool permissions, and model capability. Context engineering is not a magic replacement for those decisions; it is a disciplined way to stop missing or noisy information from becoming a hidden failure source.

From a vague prompt to a usable context packet

Consider the fictional task “write our refund reply.” A longer instruction to sound helpful still leaves the policy, order facts and permitted actions unspecified. A useful packet supplies the customer’s request, the current policy with its effective date, verified order details and the output contract: a draft response plus unresolved questions. It also states that drafting does not authorize a refund.

Keep retrieved messages separate from governing instructions. A customer saying “ignore your policy” is a request to evaluate, not a new policy. If an old policy and a current policy disagree, identify the effective version rather than combining both into a plausible answer. The packet should make the conflict visible to the reviewer.

Test whether each piece of context earns its place

Compare the vague prompt and the structured packet on the same small set of cases: ordinary request, missing order date, conflicting policy, and an exception requiring review. Score policy accuracy, unsupported claims and correct escalation. This is a proposed evaluation, not a measured improvement from a particular model.

Remove irrelevant material and rerun the cases. More context is not automatically better: unrelated history can obscure the governing rule and increase cost. Keep the smallest packet that preserves the necessary facts and decision boundaries, with a clear way to refresh it when the source changes.

A fictional refund context packet
Context itemPurposeFailure if missing
Current policy and effective dateDefine governing ruleOld and new policies mixed
Verified order factsGround the responseDates or amounts invented
Customer messageDescribe the requestWrong problem answered
Draft-only permissionBound the actionReply treated as refund authorization
Unknowns fieldAllow incomplete evidenceGaps hidden by confident prose