Skip to content

v1.0.8: Scope Boundary Rule

Choose a tag to compare

@khgs2411 khgs2411 released this 02 Oct 09:30
· 178 commits to master since this release

🚨 Critical Feature: AI Scope Control

Prevents AI from fixing out-of-scope issues without explicit user permission.

What This Fixes

Problem: While working on Pre-Implementation Task 2, AI discovers unrelated bug in Test 3 and "helpfully" fixes it without asking, causing:

  • Untracked changes outside current scope
  • Confusion in code review ("why are these changes here?")
  • Loss of user's ability to prioritize work
  • Violation of Flow's principle of intentional, focused iterations

Solution: AI now STOPS immediately, notifies user, discusses options (add to brainstorm, create pre-task, defer, or fix now), and ONLY proceeds with explicit approval.

Changes

  • ✅ Core Principle #6 added to DEVELOPMENT_FRAMEWORK.md - Scope Boundary Rule (CRITICAL)
  • ✅ Framework-wide Rule - Added to all 5 workflow commands (phase/task/iteration/brainstorm/implement)
  • ✅ Documented Pattern - Complete example in EXAMPLE_PLAN.md showing proper scope violation handling
  • ✅ README Changelog - Added comprehensive v1.0.8 section with problem/solution explanation
  • ✅ Rebuilt flow.sh - 117KB, 3762 lines (includes all scope boundary checks)

The 4-Step Protocol

When AI discovers a NEW issue outside current scope:

  1. STOP immediately
  2. NOTIFY user of the new issue
  3. DISCUSS what to do (add to brainstorm, create pre-task, defer, or handle now)
  4. ONLY proceed with user's explicit approval

Exception: Syntax errors or blocking issues in files being modified (must document what was fixed)

Files Changed

  • framework/DEVELOPMENT_FRAMEWORK.md (+35 lines)
  • framework/SLASH_COMMANDS.md (+38 lines)
  • framework/EXAMPLE_PLAN.md (+19 lines)
  • README.md (+50 lines)
  • flow.sh (+92 lines)

Total: 225 additions, 9 deletions across 5 files