Engineering with AI · Prompt 02 · Discover & Challenge

One of the things I’ve become increasingly aware of when working with AI is how easy it is to have a productive conversation without ever really challenging my own thinking.

I can describe a problem, explain what I believe is causing it, and suggest how I think we should address it. AI can take that information and produce a well-reasoned explanation of why my approach makes sense, complete with an implementation plan and supporting technical details.

The problem is that I haven’t necessarily learned whether my reasoning was sound. I’ve learned that AI can construct a reasonable argument in support of it.

Those aren’t the same thing.

In the previous article, Understand the Problem Before Solving It, I explored using AI to better understand an engineering problem before deciding how to solve it.

This time, I want to explore what happens when we’ve developed an understanding of the problem and formed an opinion about what we should do.

How do we determine whether that opinion is worth acting on?

The Problem with Asking for Agreement

Consider the difference between these two questions:

I think we should move our deployment pipelines to a centralized, reusable template architecture. Does that make sense?

And:

I’m considering moving our deployment pipelines to a centralized, reusable template architecture. What assumptions am I making, and under what circumstances would this be the wrong approach?

Both questions describe the same architectural direction, but they’re asking AI to do fundamentally different things.

The first invites agreement. AI might explain the benefits of standardization, reduced duplication, consistent security controls, and simplified maintenance.

These are legitimate benefits, but they don’t necessarily establish that centralization is appropriate for our environment.

The second question invites examination of the reasoning behind the decision.

Are our applications similar enough to benefit from shared templates? Do teams have different release requirements? Who will maintain the centralized templates? How will changes be versioned? What happens when an application needs behavior that the shared template doesn’t support?

Those questions might reveal that centralization is exactly what we need. They might also reveal that we’re introducing a dependency that will make deployments more difficult to manage.

I’d rather understand those possibilities before we start implementing.

Experience Can Become an Assumption

As engineers, we bring our previous experiences into almost every technical discussion.

When we’ve encountered a particular problem before, it’s natural to recognize similarities and consider solutions that have worked for us in the past. That experience is valuable, and I wouldn’t want to disregard it.

But experience can also cause us to overlook differences between the problem we solved previously and the one we’re dealing with now.

A centralized deployment architecture that worked well for one organization might be inappropriate for another. An architectural pattern that made sense when supporting hundreds of customers might introduce unnecessary complexity when supporting a handful of internal applications.

The conditions that made a previous decision appropriate aren’t necessarily present in the current situation.

AI doesn’t automatically know which parts of my reasoning are based on current evidence and which are based on previous experience. Unless I provide that distinction, it may treat both as equally applicable.

This is where I think AI can provide a useful counterpoint.

I’m not asking it to disregard my experience. I’m asking it to help me determine whether that experience applies.

Prompt 02: Challenge My Assumptions

The purpose of this prompt is to establish a more deliberate review of the reasoning behind an engineering decision.

I want AI to identify the assumptions that influence my thinking, evaluate the evidence supporting them, and help me understand what would need to be true for my proposed approach to be appropriate.

I also want it to recognize when my reasoning is sound. Challenging assumptions shouldn’t mean manufacturing objections simply because I’ve asked for criticism.

The Prompt

I want you to critically examine my reasoning about an
engineering problem or proposed decision.

Context:
[Describe the problem, relevant system context, constraints,
and what has already been established.]

My current position:
[Describe what you believe, why you believe it, and the
approach you're considering.]

Your role is to challenge my reasoning constructively,
not to validate my position or disagree for the sake
of disagreement.

1. Restate my position and the reasoning behind it.
   Identify any conclusions I've reached that aren't
   explicitly supported by the information provided.

2. Identify the explicit and implicit assumptions that
   materially influence my position.

   For each assumption, explain:
   - Why it matters.
   - What evidence supports it.
   - What evidence contradicts it, if any.
   - What remains unknown.
   - What would happen if the assumption were wrong.

3. Examine whether my reasoning depends on previous
   experience, preferences, conventional practices,
   or architectural patterns that may not apply to
   the current situation.

4. Present the strongest reasonable counterargument
   to my position. Ground it in the available evidence
   and established constraints.

   Don't invent requirements, risks, or system behavior
   to make a counterargument more convincing.

5. Identify alternative interpretations or approaches
   that deserve consideration. Explain the conditions
   under which each might be more appropriate.

6. Identify the evidence that would help distinguish
   between my current position and the alternatives.

   Prioritize investigations that could materially
   change the decision.

7. Acknowledge the parts of my reasoning that are
   well supported. Don't manufacture uncertainty
   where sufficient evidence already exists.

If additional information is needed, ask focused
questions one at a time.

When your review is complete, summarize:

- Assumptions that are adequately supported.
- Assumptions that require further investigation.
- Assumptions contradicted by available evidence.
- The strongest counterargument to my position.
- What would cause us to reconsider the decision.
- Whether the available evidence supports proceeding.

Distinguish established facts from interpretations,
hypotheses, and recommendations throughout your review.

Do not modify established requirements, make
architectural decisions on my behalf, or begin
implementation.

The objective is to improve the quality of my
reasoning, not to replace my judgment.

How I Would Use It

Let’s return to the deployment pipeline example from the previous article.

For this discussion, suppose we’ve completed an initial investigation and established the following:

  • We maintain twelve application repositories.
  • Each repository maintains its own Azure DevOps pipeline.
  • Several deployment failures have been traced to inconsistent artifact paths.
  • Some applications have different deployment and release requirements.
  • We haven’t established how much of the deployment process is common across all twelve applications.

I might approach AI with the following position:

We’ve identified inconsistencies in artifact handling across our Azure DevOps pipelines. I believe maintaining separate pipelines is contributing to these inconsistencies, and I’d like to move all twelve applications to a centralized, reusable pipeline architecture. This should reduce duplication and improve deployment reliability.

There are reasonable arguments in support of that position. But there are also several assumptions embedded within it.

An illustrative review might look something like this:

Assumption Assessment Potential consequence if incorrect
Inconsistent artifact handling is responsible for all deployment failures. Partially supported; several failures have been traced to it. Other deployment failures may remain unresolved.
Separate pipeline definitions are the primary cause of the inconsistencies. Requires investigation. Centralization may address the symptom rather than the cause.
All twelve applications can use a common pipeline architecture. Not established. Application-specific exceptions may make shared templates unnecessarily complex.
Centralization will reduce maintenance effort. Plausible but unverified. Maintenance effort may shift from application teams to template maintainers.
Shared templates will improve deployment reliability. Conditional on design and adoption. Changes to shared templates could affect multiple applications simultaneously.

What I find useful about this exercise is that none of these observations requires us to abandon the proposed architecture.

Instead, they help us understand the conditions under which the architecture would be appropriate.

Perhaps we discover that the actual problem is a lack of a consistent artifact contract between build and deployment stages. We could establish and validate that contract without centralizing every aspect of the deployment process.

Alternatively, we might discover that ten of our twelve applications have nearly identical deployment requirements. In that case, shared templates could provide substantial benefits while allowing the remaining applications to retain their specialized workflows.

We could also discover that centralization is the appropriate approach for all twelve applications.

The purpose of the review isn’t to arrive at a different answer. It’s to arrive at an answer we can better justify.

These are hypothetical outcomes, not the results of an actual pipeline investigation.

What I’m Trying to Accomplish

There are several deliberate choices in this prompt.

Separate the Assumption from Its Consequence

Identifying an assumption isn’t particularly useful if we don’t understand why it matters.

Every engineering decision involves assumptions. Some are well supported, some are reasonable given the circumstances, and others introduce considerable risk.

I don’t need AI to produce an exhaustive inventory of everything that might be uncertain. I need it to identify the uncertainties that could change the decision.

Asking what happens if an assumption is wrong helps establish that distinction.

Ask for the Strongest Counterargument

There’s a difference between finding something to criticize and presenting a credible alternative.

I want AI to examine my position and identify the most compelling reason I might be wrong. That requires more than listing generic disadvantages associated with an architectural pattern.

The counterargument should be relevant to the system, the available evidence, and the constraints we’ve established.

Establish What Would Change Our Minds

One of the more important questions in an engineering discussion is what evidence would cause us to reconsider a decision.

If I believe centralizing our deployment pipelines will improve reliability, what would convince me otherwise?

If an alternative approach is proposed, what evidence would help us determine whether it’s better?

Without those questions, an architectural discussion can become a comparison of preferences rather than an examination of evidence.

I want the model to help identify investigations that can resolve those differences.

Preserve the Decision Boundary

I’ve written previously about engineering intent and the importance of maintaining clear boundaries when working with AI.

That applies here as well.

AI can identify a weakness in my reasoning. It can propose alternatives and explain their tradeoffs. It can even recommend that I reconsider a decision.

What it shouldn’t do is silently replace my decision with its own.

There may be organizational constraints, business priorities, or historical decisions that influence the approach we’re taking. Some of those constraints might not be obvious from the technical problem alone.

The model should help me understand the implications of those decisions, not assume it has the authority to change them.

Where This Prompt Might Fall Short

Asking AI to challenge my assumptions doesn’t guarantee that the resulting criticism will be useful.

A model might interpret the request as an obligation to disagree with everything I say. It might introduce hypothetical risks that have little relevance to the system or recommend alternatives based on generic architectural guidance.

There’s also the possibility that AI will continue to agree with my position while presenting its agreement as an independent assessment.

Both outcomes are problematic.

This is why I’ve included instructions to ground counterarguments in evidence and acknowledge reasoning that is already well supported.

I also think there’s value in occasionally conducting this review in a separate conversation or with a different model. When AI has participated extensively in developing an approach, the accumulated conversation may influence how it evaluates that approach.

Starting with the original evidence, established constraints, and proposed decision may provide a different perspective. That doesn’t make the review inherently correct, but it can help expose reasoning that the original conversation hasn’t explored.

Finally, there are times when the cost of further investigation exceeds the value of resolving an uncertainty.

Not every decision requires absolute confidence. Some decisions are inexpensive, easily reversible, and appropriate to make with incomplete information.

The goal isn’t to eliminate uncertainty. It’s to understand enough of it to make a responsible engineering decision.

What Comes Next

The first prompt focused on understanding the problem. This prompt focuses on examining the reasoning we use to make decisions about that problem.

Both depend on something we haven’t explored in much detail yet: the information we’re treating as authoritative.

When working with AI across an engineering project, we may have requirements, architecture documents, source code, tests, previous conversations, and existing implementation behavior. Those sources don’t always agree.

What happens when the documentation says one thing, the implementation does another, and AI proposes a third interpretation?

Which source should influence the decision, and who has the authority to resolve the discrepancy?

That’s what I’d like to explore in the next prompt: Establish What Is Authoritative.