AGENCYSCRIPT
CoursesEnterpriseBlog
đź‘‘FoundersSign inJoin Waitlist
AGENCYSCRIPT

Governed Certification Framework

The operating system for AI-enabled agency building. Certify judgment under constraint. Standards over scale. Governance over shortcuts.

Stay informed

Governance updates, certification insights, and industry standards.

Products

  • Platform
  • Certification
  • Launch Program
  • Vault
  • The Book

Certification

  • Foundation (AS-F)
  • Operator (AS-O)
  • Architect (AS-A)
  • Principal (AS-P)

Resources

  • Blog
  • Verify Credential
  • Enterprise
  • Partners
  • Pricing

Company

  • About
  • Contact
  • Careers
  • Press
© 2026 Agency Script, Inc.·
Privacy PolicyTerms of ServiceCertification AgreementSecurity

Standards over scale. Judgment over volume. Governance over shortcuts.

On This Page

Scenario 1: Brevity Versus Completeness in a Support AssistantWhat HappenedWhat Fixed ItScenario 2: A User Request That Violated a Policy RuleThe CollisionWhat Made It WorkScenario 3: Few-Shot Examples Undermining a Tone RuleWhy It FailedThe FixScenario 4: Retrieved Content Treated as InstructionsThe Root CauseThe ResolutionScenario 5: Conflicting Rules Across Conversation TurnsWhat Was HappeningThe CorrectionWhat These Examples Have in CommonThe Transferable SkillScenario 6: Two Hard Constraints That Could Not Both HoldWhy This One Was HarderThe ResolutionScenario 7: A Formatting Rule That Quietly Broke a Tool CallThe CollisionWhat Fixed ItFrequently Asked QuestionsAre these real prompts or illustrations?How do I find collisions like these in my own prompts?Does the most-recent-instruction-wins rule always apply?Why do examples override stated rules so often?Key Takeaways
Home/Blog/Walking Through Prompts Where Instructions Collide
General

Walking Through Prompts Where Instructions Collide

A

Agency Script Editorial

Editorial Team

·March 20, 2022·6 min read
instruction hierarchy and priority conflictsinstruction hierarchy and priority conflicts examplesinstruction hierarchy and priority conflicts guideprompt engineering

Principles about instruction hierarchy stay fuzzy until you watch them operate on a real prompt. The same rule that sounds obvious in the abstract becomes genuinely tricky once it has to coexist with three other rules and a user who is actively pushing against them.

This article walks through specific scenarios drawn from common production patterns. For each, we look at the instructions in play, where they collided, and what determined whether the right one won. The point is not to memorize these exact prompts but to develop an eye for the collision points so you can spot them in your own work.

We move from simple two-rule conflicts to layered multi-source situations, because the diagnostic skill builds the same way. The early scenarios involve a clean pair of instructions you can hold in your head; the later ones add untrusted content, conversation history, and machine-readable output, where the collision is harder to see but resolves on the same principles. By the end you should be able to look at a prompt and predict where it will break before it ever runs.

Scenario 1: Brevity Versus Completeness in a Support Assistant

A support assistant was told to "keep answers under three sentences" and also to "always include the relevant troubleshooting steps." For simple questions this was fine. For a multi-step reset procedure, the two rules collided head-on.

What Happened

On different runs the model alternated: sometimes a terse answer that omitted steps, sometimes a complete answer that blew past the length limit. Users got inconsistent help.

What Fixed It

A single precedence line: "If completeness and the length limit conflict, prioritize completeness and use a numbered list." Output stabilized immediately. The lesson generalizes to the patterns in Seven Ways Conflicting Instructions Quietly Break Your Prompts.

Scenario 2: A User Request That Violated a Policy Rule

A content assistant had a system rule never to generate legal advice. A user asked, plausibly and politely, to "draft the exact wording for my contract dispute letter."

The Collision

The user request was specific and reasonable on its face, but it pulled against a hard policy. Without an explicit precedence order, the model sometimes complied.

What Made It Work

The system prompt was updated to state that policy rules outrank user requests, with the legal-advice rule listed as a hard constraint at the top. The model then reliably offered general guidance and a recommendation to consult counsel, instead of drafting the letter.

Scenario 3: Few-Shot Examples Undermining a Tone Rule

A marketing assistant was instructed to write in a "professional, restrained tone." But its three few-shot examples were energetic and exclamation-heavy, lifted from older copy.

Why It Failed

The model imitated the examples. The stated tone rule lost to the demonstrated tone, and every output came out far more excitable than intended.

The Fix

The examples were rewritten to model the restrained tone, including one example handling an exciting product launch in a measured way. Demonstrated behavior and stated behavior finally agreed. This is the example-alignment principle in action, expanded in A Framework for Instruction Hierarchy and Priority Conflicts.

Scenario 4: Retrieved Content Treated as Instructions

A retrieval-augmented assistant pulled a document that happened to contain the phrase "respond only in French." The model obliged, switching languages mid-conversation for an English-speaking user.

The Root Cause

The retrieved content was concatenated into the prompt without a boundary, so the model could not distinguish data from directives.

The Resolution

Retrieved documents were wrapped in delimiters with an explicit note that their content was reference material, not instructions. The precedence order placed retrieved content below system rules and user requests. The language switching stopped. We compare delimiter strategies in Instruction Hierarchy and Priority Conflicts: Trade-offs, Options, and How to Decide.

Scenario 5: Conflicting Rules Across Conversation Turns

In a long planning conversation, the user said early on "be very detailed" and much later "just give me the bottom line." The model kept producing long answers, ignoring the newer instruction.

What Was Happening

The earlier instruction was anchored in the model's context and the newer one was being treated as lower priority simply because the model had no rule for resolving turn-level conflicts.

The Correction

The system prompt added: "When a user's later instruction conflicts with an earlier one, the most recent instruction wins unless it violates a hard constraint." Behavior aligned with user intent.

What These Examples Have in Common

Across every scenario, the failure was not a model that misunderstood any single instruction. It was a missing rule for what to do when two understood instructions disagreed. The fix was almost always the same shape: name the conflict and state which side wins.

The Transferable Skill

Reading your own prompt while actively hunting for pairs of rules that could collide is the highest-value habit in this whole area. Once you see the collisions, the resolutions are usually short.

Scenario 6: Two Hard Constraints That Could Not Both Hold

A healthcare-adjacent assistant carried two Tier 1 rules: never provide a diagnosis, and always answer the user's medical question completely. A user asked, "What condition causes these three symptoms?" Answering completely meant diagnosing; refusing to diagnose meant not answering completely.

Why This One Was Harder

Unlike earlier scenarios, neither rule could simply yield, because both were marked non-negotiable. The conflict revealed that the second rule was over-scoped: "always answer completely" should never have been a hard constraint when it could force a violation of the diagnosis rule.

The Resolution

The team demoted the completeness rule to a behavioral rule and narrowed it: answer general medical questions completely, but for anything requiring individualized diagnosis, explain why and direct the user to a clinician. The two rules stopped colliding because one was no longer absolute. The lesson is that when two hard constraints conflict, the fix is usually that one of them was never truly a hard constraint, a judgment covered in The Tiered Precedence Model for Untangling Prompt Conflicts.

Scenario 7: A Formatting Rule That Quietly Broke a Tool Call

An agent was told to "always respond in friendly prose" and also to emit a structured JSON object when calling a tool. For most turns the prose rule was fine, but on tool-calling turns it corrupted the JSON with conversational text, breaking the parser downstream.

The Collision

A preference about tone collided with a structural requirement of the system. The tone rule was stated absolutely, so the model applied it even where it broke machine-readable output.

What Fixed It

The prose rule was scoped to user-facing turns only, with an explicit carve-out that tool-call turns must emit valid JSON and nothing else. Scoping a preference to where it applies prevented it from leaking into a context where a higher-priority structural requirement governed.

Frequently Asked Questions

Are these real prompts or illustrations?

They are composites of common production patterns rather than verbatim copies of any one client prompt. The collision dynamics they show are the ones that recur most across teams.

How do I find collisions like these in my own prompts?

Read the assembled prompt as one document and list every instruction. Then check each pair for situations where both cannot be satisfied. The pairs that can collide are your test cases.

Does the most-recent-instruction-wins rule always apply?

Only for user-level instructions, and only when the newer one does not violate a hard constraint. Hard safety and policy rules always outrank conversational instructions regardless of recency.

Why do examples override stated rules so often?

Demonstrated behavior is concrete and the model can pattern-match it directly, whereas a stated rule has to be interpreted and applied. When the two disagree, the concrete signal usually wins.

Key Takeaways

  • Conflicts become legible when you watch them play out on a specific prompt, not in the abstract.
  • The recurring failure is a missing tiebreaker, not a misunderstood instruction.
  • Brevity-versus-completeness and policy-versus-user-request are the two most common collisions.
  • Examples and retrieved content frequently override stated rules unless explicitly subordinated.
  • For user instructions across turns, the most recent wins unless it breaks a hard constraint.
  • The transferable skill is hunting your own prompt for rule pairs that cannot both be satisfied.

Search Articles

Categories

OperationsSalesDeliveryGovernance

Popular Tags

prompt engineeringai fundamentalsai toolsthe difference between AIMLagency operationsagency growthenterprise sales

Share Article

A

Agency Script Editorial

Editorial Team

The Agency Script editorial team delivers operational insights on AI delivery, certification, and governance for modern agency operators.

Related Articles

General

Prompt Quality Decides Whether AI Earns Its Keep

Prompt quality is the single biggest variable in whether AI delivers real work or expensive noise. The model matters, the platform matters — but the prompt you write determines whether you get a first

A
Agency Script Editorial
June 1, 2026·10 min read
General

Counting the Real Cost of Every Token You Send

Tokens and context windows sit at the intersection of AI capability and operational cost—yet most business cases treat them as technical footnotes. That's a mistake that costs real money. Every time y

A
Agency Script Editorial
June 1, 2026·10 min read
General

Rolling Out AI Hallucinations Across a Team

Most teams discover AI hallucinations the hard way — a confident-sounding wrong answer makes it into a client deliverable, a legal brief, or a published report. The damage isn't just to the output; it

A
Agency Script Editorial
June 1, 2026·11 min read

Ready to certify your AI capability?

Join the professionals building governed, repeatable AI delivery systems.

Explore Certification