Navigation

πŸ“ Sequential Thinking

Three Weeks In, You Realize You Solved the Wrong Problem.

Complex problems have stages. Define the problem before researching. Research before analyzing. Analyze before synthesizing. Skip a stage, and your conclusion rests on assumptions you never examined.

The Shortcut That Costs You Later

You have a problem. You ask your AI for help. Within seconds, you have a solution.

But what problem did the AI actually solve? The one you described β€” which was your first articulation, before you'd really thought it through. The solution is optimized for a problem definition you'd revise if you spent five more minutes on it.

This is the hidden cost of instant answers: you never discover whether you asked the right question.

Senior engineers know this intuitively. They spend more time on problem definition than juniors do, because they've learned that most "implementation problems" are actually "problem definition problems" in disguise.

AI lets you skip that stage. Which means AI lets you solve the wrong problem faster than ever before.

Thinking in Stages

Sequential Thinking enforces stage gates. You can't jump to synthesis until you've done analysis. You can't analyze until you've researched. Each stage builds on the previous one with explicit handoffs.

1

1. Problem Definition

"What exactly are we trying to solve?"

β†’ Bounded problem statement with explicit constraints and success criteria
2

2. Research

"What do we know? What don't we know?"

β†’ Landscape of existing solutions, prior art, and knowledge gaps
3

3. Analysis

"What patterns emerge? What trade-offs exist?"

β†’ Structured breakdown of options with pros, cons, and dependencies
4

4. Synthesis

"Given the analysis, what's the answer?"

β†’ Recommendation with reasoning chain back to problem definition
5

5. Conclusion

"What did we decide and why?"

β†’ Decision documentation with key assumptions and review triggers

Our Story β€” The Authentication Design

Early in development, we needed to figure out authentication. Our first instinct: "Should we use Cognito or roll our own?" We almost started implementing Cognito.

Then we forced ourselves through Sequential Thinking.

Stage 1: Problem Definition

We asked: What are we actually trying to achieve? The answer wasn't "authenticate users." It was "let people pay us, then access the API, with minimal account friction." Authentication was a means, not the goal.

Stage 2: Research

We mapped the landscape: Cognito, Auth0, Clerk, custom JWT, anonymous tokens with payment binding. We also researched our actual constraint: we're a solo founder who doesn't want to manage user accounts.

Stage 3: Analysis

The trade-off matrix revealed something we'd missed: the more "user account" features we added, the more support burden we'd create. Password resets. Account recovery. Email changes. Each feature was a future ticket.

Stage 4: Synthesis

The insight: "Anonymous SSO" β€” bind auth to payment method, not email. Stripe becomes the identity provider. No passwords. No account recovery. Pay β†’ get token β†’ use API.

Stage 5: Conclusion

If we'd jumped straight to "Cognito vs. roll our own," we'd have built traditional user accounts and inherited a support burden we didn't want. The staged approach surfaced a different option we hadn't considered.

How It Actually Works

Sequential Thinking tracks your progress through stages with these tools:

tools = [
    process_thought,         # Add a thought to the current stage
    transition_stage,        # Move to next stage (with validation)
    revisit_stage,           # Go back to refine earlier thinking
    mark_assumption,         # Flag assumptions for later review
    generate_summary,        # Synthesize all stages into conclusion
]

Stage Gates

You can't skip stages. The system tracks what each stage produced and uses it as context for the next. If you try to synthesize without analysis, it'll ask: "What options are you synthesizing between?"

Flexible Ordering

While the default flow is linear, you can revisit earlier stages when new information emerges. Realized during Analysis that your Problem Definition was wrong? Go back and refine it. The system tracks what changed and why.

Assumption Tracking

Throughout the process, you can mark assumptions explicitly. These get collected in the final summary as "things that need to be true for this conclusion to hold" β€” making your reasoning auditable and reviewable.

When to Reach for This

Use Sequential Thinking when:

  • βœ“Complex multi-stage problems where skipping steps leads to errors
  • βœ“Need to show reasoning to stakeholders or future self
  • βœ“Unsure if you're solving the right problem
  • βœ“Research required before analysis makes sense
  • βœ“Decision needs documentation with clear reasoning chain

Don't use it for:

  • βœ—Well-defined problems with clear solutions
  • βœ—Quick decisions that don't need structure
  • βœ—When you need to explore laterally (use Structured Reflection)
  • βœ—Comparing known options (use Decision Matrix)

Use Cases

Technical Architecture Design

The scenario:You need to design a new system. There are multiple possible architectures. Each has different trade-offs that depend on requirements you haven't fully enumerated.

Why Sequential Thinking: Stage 1 forces you to define requirements before evaluating architectures. Stage 2 maps the solution landscape. Stage 3 analyzes trade-offs against your specific requirements. Stage 4 synthesizes.

What you get:An architecture decision with clear reasoning from requirements to choice. When someone asks "why not microservices?", you can point to the specific stage where that option was evaluated and rejected.

Strategic Planning

The scenario:You need to develop a go-to-market strategy. There's competitive analysis to do, market research to consider, and internal capabilities to assess.

Why Sequential Thinking:Prevents jumping to "let's target enterprise" before you've defined what success means, researched the competitive landscape, or analyzed your actual capabilities.

What you get: A strategy document with explicit reasoning at each stage. Assumptions are tracked. When the market changes, you know which assumptions to revisit.

Research Projects

The scenario:You're investigating a complex topic β€” maybe a technology evaluation, market analysis, or investigative deep-dive.

Why Sequential Thinking:Stage gates prevent premature conclusions. You can't synthesize until you've analyzed. You can't analyze until you've researched. The structure keeps you honest.

What you get: Research with clear methodology. Conclusions that trace back to evidence. Assumptions explicitly called out for future validation.

Your AI Jumps to Conclusions. This Won't Let You.

$20/month for stage-gated reasoning. Catch skipped steps before the code is written.