Skip to content

AnthonyPAlicea/cascade-methodology

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cascade Methodology: Software Development in the AI Age

Definition

Cascade Methodology is replacement for software development methodologies like Agile and Waterfall in the age of AI. It is designed to leverage AI-Assisted Software Development in a modern SDLC, taking advantage of LLM benefits, and mitigating LLM risks.

Cascades are rapid AI-driven development cycles that flow from detailed specifications through interactive prototypes to production code, with verification gates that scale based on business risk (entropy) tolerance.

It includes concepts such as Minimum Solved Problems (MSP), a problem-focused replacement for MVP, LLM-generated prototypes and user research as first-class citizens, and an awareness at all levels that AI requires good context to generate useful code, but at the same time that code can never be truly trusted.

To adopt Cascade Methodology means embracing and understanding both the benefits and the dangers of AI-assisted development, and using it to your greatest advantage.

Learn More

Discuss

Guiding Principles

Here are the 7 guiding principles of Cascade Methodology:

  1. Everyone has a seat at the table in writing specs.
  2. Understand the underlying user and business problems the software should solve.
  3. Build the least amount of software possible to solve those problems.
  4. Prototyping and user research are first-class citizens.
  5. AI-generated code is not to be trusted.
  6. The density of code quality checks needed to deploy code is a function of the entropy tolerance of the business process the code is supporting.
  7. Scope and timelines are functions of entropy tolerance and understanding the problems to be solved.

The Cascade Structure

A cascade is a complete development cycle from specification to deployment, consisting of five phases:

1. SPEC ←──────────────┐
   ↓                   │
2. EXPERIMENT ─────────┘
   ↓
3. IMPLEMENT ←─────┐
   ↓               │
4. VERIFY ─────────┘
   [porous or dense]
   ↓
5. DEPLOY

Phase 1: Specification

Creation of detailed requirements that serve as both human documentation and AI context. Specifications are hypotheses about user needs and technical solutions.

Phase 2: Experiment

AI-generated interactive prototypes enable rapid user research, stakeholder validation, and technical feasibility assessment. Experimentation may iterate back to specification refinement.

Phase 3: Implementation

Production code generation using specification and experimental findings as context. AI implements validated designs with human oversight.

Phase 4: Verification

Risk-appropriate quality assurance based on the entropy tolerance of the supported business process. Verification gates range from porous (basic functionality) to dense (comprehensive security and compliance review).

Phase 5: Deployment

Release of verified code through established deployment pipelines. Teams should implement Verified Integration / Continuous Deployment (VI/CD), where only code that passes entropy-appropriate verification gates is integrated and deployed.

Key Concept: Why Down and Minimum Solved Problems (MSP)

Defining what to build begins with understanding the underlying problems rather than jumping to solutions.
The Why Down technique reduces proposed solutions into root problem statements, and the Minimum Solved Problems (MSP) framework ensures each release addresses the smallest set of real problems possible.

Definition

  • Why Down: A structured process of repeatedly asking "why?" to distill proposed features or requests into the true underlying problem.
  • MSP: A release strategy that focuses on solving the minimum set of problems necessary, instead of delivering a “minimum viable product” defined by feature lists.

The Agile manifesto says that "working software is the primary measure of progress". In Cascade Methodology, we say that "problems solved is the primary measure of progress". Even if no software is created!

Assessment Criteria

  • Clarity of problem statements: Does the statement avoid prescribing a solution?
  • Cross-disciplinary input: Were multiple “seats at the table” involved in defining the problems and solutions?
  • Problem prioritization: Which problems, if left unsolved, block meaningful progress?
  • Scope reduction: Does the MSP shrink to the least software needed?
  • Business alignment: Do the chosen problems reflect real user and organizational needs?

Example

  • MVP approach: “We need to send email summaries of data to users.”
  • MSP approach:
    • Problem: Users need a fast way to share data.
    • Solution: Add a Share button to data screens that generates unique URLs. Less software, same problem solved.

Benefits

  • Provides strong context for LLM generation.
  • Reduces scope creep by focusing on problems, not features.
  • Reduced scope shrinks LLM context window usage, improving reliability of code generation.
  • Builds team alignment by involving all disciplines in defining problems.
  • Encourages simpler, faster solutions that avoid unnecessary complexity.
  • Improves user satisfaction by solving real needs from the first release.

Key Concept: Entropy Tolerance

Recognizing that AI code is fundamentally untrustworthy requires a metric to then safely determine the dangers of 'vibe coding' a feature.

Definition

Entropy tolerance measures how much uncertainty a business process can safely accommodate from AI-generated solutions.

Assessment Criteria

  • Impact of errors on business operations
  • Regulatory requirements and compliance needs
  • Data sensitivity and privacy implications
  • User safety and security considerations
  • Financial risk exposure

Verification Gate Types

Generated code requires a degree of verification relative to the entropy tolerance of the underlying process the code is supporting.

Porous Gates (High Entropy Tolerance)

  • Marketing content and visual elements
  • Internal tools and dashboards
  • Experimental features
  • Non-critical user interface components

Medium Gates (Medium Entropy Tolerance)

  • Performance-sensitive components
  • Customer support ticket routing and responses
  • Product recommendation engines
  • User onboarding workflows

Dense Gates (Low Entropy Tolerance)

  • Financial transaction processing
  • Personal data handling systems
  • Security and authentication mechanisms
  • Regulatory compliance features
  • Safety-critical functionality

Velocity and Estimation

In Cascade Methodology, velocity is "the number of problems solved within a time period."

Traditional estimation practices (story points, detailed task sizing, poker sessions) are potential time wasters and morale reducers. Instead of focusing on numeric guesswork, teams classify effort at a high level based on Entropy Tolerance.

Most Scrum ceremonies around estimation are overhead. That time is better spent on problem and spec writing and on user research. With Cascade, teams shift more effort upfront, clarifying problems and refining specs, so that coding time is reduced and accelerated through LLM assistance. The mindset feels superficially like Waterfall, but the speed and adaptability are closer to Agile.

Are We Building the Right Thing?

Cascade Methodology rejects the idea that meeting cadence is the key to software success. The real gateway is problem definition and user research.

Every Cascade includes the core questions: does this problem need to be solved with software and, if so, are we building the right thing?

Answering these requires continuous user research and cognitive walkthroughs that can be performed even without direct users. By embedding this check into every cycle, teams generate a constant stream of insight and feedback, keeping focus on solving the right problems, not just delivering features.

Organizational Adoption

Shifting organizational culture where needed is a challenge of it's own, so Cascade Methodology includes recommendations on how to accomplish it.

Here are some culture and support goals to successfully implement the methodology:

Cultural Requirements

  • Embrace "problems to be solved" (MSP) over features (MVP)
  • Embrace iterative specification refinement
  • Value experimentation and user research
  • Accept AI collaboration with appropriate skepticism

Prerequisites

  • AI development tool integration
  • User research capabilities
  • Risk assessment frameworks
  • Flexible verification processes

Conclusion

Cascade Methodology recognizes that large language models fundamentally change software development economics. By structuring development around AI strengths while mitigating AI risks through entropy-scaled verification, teams can achieve both higher learning velocity and appropriate quality assurance.

Cascades serve teams seeking to harness AI capabilities responsibly while maintaining software quality and business risk management.

About

Cascade Methodology: A Replacement for Agile in the Age of AI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors